Mercurial > pidgin
comparison src/gtkpluginpref.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 | 26eac2362c32 |
children | bfbb1798535e |
comparison
equal
deleted
inserted
replaced
11242:01c06e7ae1f6 | 11243:a511b77a368b |
---|---|
63 gtk_size_group_add_widget(sg, gtk_label); | 63 gtk_size_group_add_widget(sg, gtk_label); |
64 | 64 |
65 break; | 65 break; |
66 case GAIM_PLUGIN_PREF_NONE: | 66 case GAIM_PLUGIN_PREF_NONE: |
67 default: | 67 default: |
68 hbox = gtk_hbox_new(FALSE, 6); | 68 hbox = gtk_hbox_new(FALSE, GAIM_HIG_BOX_SPACE); |
69 gtk_widget_show(hbox); | 69 gtk_widget_show(hbox); |
70 gtk_box_pack_start(GTK_BOX(parent), hbox, FALSE, FALSE, 0); | 70 gtk_box_pack_start(GTK_BOX(parent), hbox, FALSE, FALSE, 0); |
71 | 71 |
72 gtk_label = gtk_label_new_with_mnemonic(pref_label); | 72 gtk_label = gtk_label_new_with_mnemonic(pref_label); |
73 gtk_misc_set_alignment(GTK_MISC(gtk_label), 0, 0.5); | 73 gtk_misc_set_alignment(GTK_MISC(gtk_label), 0, 0.5); |
144 g_return_val_if_fail(frame, NULL); | 144 g_return_val_if_fail(frame, NULL); |
145 | 145 |
146 sg = gtk_size_group_new(GTK_SIZE_GROUP_HORIZONTAL); | 146 sg = gtk_size_group_new(GTK_SIZE_GROUP_HORIZONTAL); |
147 | 147 |
148 parent = ret = gtk_vbox_new(FALSE, 16); | 148 parent = ret = gtk_vbox_new(FALSE, 16); |
149 gtk_container_set_border_width(GTK_CONTAINER(ret), 12); | 149 gtk_container_set_border_width(GTK_CONTAINER(ret), GAIM_HIG_BORDER); |
150 gtk_widget_show(ret); | 150 gtk_widget_show(ret); |
151 | 151 |
152 for(pp = gaim_plugin_pref_frame_get_prefs(frame); | 152 for(pp = gaim_plugin_pref_frame_get_prefs(frame); |
153 pp != NULL; | 153 pp != NULL; |
154 pp = pp->next) | 154 pp = pp->next) |