Mercurial > pidgin.yaz
comparison src/gtkdebug.c @ 11243:a511b77a368b
[gaim-migrate @ 13408]
sf patch #1246384, from shiyee
"This patch globally defines
spacings and boreders according to the Gnome Human
Interfaces Guidelines, and uses those defines where
appropriate. No visual changes are made, but the the
intention is that the defines should help promote
uniformness."
committer: Tailor Script <tailor@pidgin.im>
author | Mark Doliner <mark@kingant.net> |
---|---|
date | Fri, 12 Aug 2005 23:53:28 +0000 |
parents | 9be8ac00f27f |
children | bb0d7b719af2 |
comparison
equal
deleted
inserted
replaced
11242:01c06e7ae1f6 | 11243:a511b77a368b |
---|---|
136 gtk_dialog_set_default_response(GTK_DIALOG(win->find), | 136 gtk_dialog_set_default_response(GTK_DIALOG(win->find), |
137 GTK_RESPONSE_OK); | 137 GTK_RESPONSE_OK); |
138 g_signal_connect(G_OBJECT(win->find), "response", | 138 g_signal_connect(G_OBJECT(win->find), "response", |
139 G_CALLBACK(do_find_cb), f); | 139 G_CALLBACK(do_find_cb), f); |
140 | 140 |
141 gtk_container_set_border_width(GTK_CONTAINER(win->find), 6); | 141 gtk_container_set_border_width(GTK_CONTAINER(win->find), GAIM_HIG_BOX_SPACE); |
142 gtk_window_set_resizable(GTK_WINDOW(win->find), FALSE); | 142 gtk_window_set_resizable(GTK_WINDOW(win->find), FALSE); |
143 gtk_dialog_set_has_separator(GTK_DIALOG(win->find), FALSE); | 143 gtk_dialog_set_has_separator(GTK_DIALOG(win->find), FALSE); |
144 gtk_box_set_spacing(GTK_BOX(GTK_DIALOG(win->find)->vbox), 12); | 144 gtk_box_set_spacing(GTK_BOX(GTK_DIALOG(win->find)->vbox), GAIM_HIG_BORDER); |
145 gtk_container_set_border_width( | 145 gtk_container_set_border_width( |
146 GTK_CONTAINER(GTK_DIALOG(win->find)->vbox), 6); | 146 GTK_CONTAINER(GTK_DIALOG(win->find)->vbox), GAIM_HIG_BOX_SPACE); |
147 | 147 |
148 hbox = gtk_hbox_new(FALSE, 12); | 148 hbox = gtk_hbox_new(FALSE, GAIM_HIG_BORDER); |
149 gtk_container_add(GTK_CONTAINER(GTK_DIALOG(win->find)->vbox), | 149 gtk_container_add(GTK_CONTAINER(GTK_DIALOG(win->find)->vbox), |
150 hbox); | 150 hbox); |
151 img = gtk_image_new_from_stock(GAIM_STOCK_DIALOG_QUESTION, | 151 img = gtk_image_new_from_stock(GAIM_STOCK_DIALOG_QUESTION, |
152 GTK_ICON_SIZE_DIALOG); | 152 GTK_ICON_SIZE_DIALOG); |
153 gtk_box_pack_start(GTK_BOX(hbox), img, FALSE, FALSE, 0); | 153 gtk_box_pack_start(GTK_BOX(hbox), img, FALSE, FALSE, 0); |