Mercurial > pidgin.yaz
changeset 10973:65c56b8490c5
[gaim-migrate @ 12798]
sf patch #1213669, from Michael R Head
"Vertically center pref labels for dropdowns"
committer: Tailor Script <tailor@pidgin.im>
author | Mark Doliner <mark@kingant.net> |
---|---|
date | Mon, 06 Jun 2005 02:40:01 +0000 |
parents | d5ce9d01f540 |
children | edf34b69dcc1 |
files | COPYRIGHT src/gtkprefs.c |
diffstat | 2 files changed, 8 insertions(+), 7 deletions(-) [+] |
line wrap: on
line diff
--- a/COPYRIGHT Mon Jun 06 02:19:03 2005 +0000 +++ b/COPYRIGHT Mon Jun 06 02:40:01 2005 +0000 @@ -83,6 +83,7 @@ Andy Harrison Andrew Hart (arhart) G. Sumner Hayes +Michael R. Head Mike Heffner Benjamin Herrenschmidt Fernando Herrera
--- a/src/gtkprefs.c Mon Jun 06 02:19:03 2005 +0000 +++ b/src/gtkprefs.c Mon Jun 06 02:40:01 2005 +0000 @@ -973,14 +973,14 @@ _("Left"), GTK_POS_LEFT, _("Right"), GTK_POS_RIGHT, NULL); - gtk_misc_set_alignment(GTK_MISC(label), 0, 0); + gtk_misc_set_alignment(GTK_MISC(label), 0, 0.5); gtk_size_group_add_widget(sg, label); names = gaim_conv_placement_get_options(); label = gaim_gtk_prefs_dropdown_from_list(vbox2, _("New conversation _placement:"), GAIM_PREF_STRING, "/gaim/gtk/conversations/placement", names); gtk_size_group_add_widget(sg, label); - gtk_misc_set_alignment(GTK_MISC(label), 0, 0); + gtk_misc_set_alignment(GTK_MISC(label), 0, 0.5); g_list_free(names); gtk_widget_show_all(ret); @@ -1284,7 +1284,7 @@ label = gaim_gtk_prefs_dropdown_from_list(vbox,_("_Browser:"), GAIM_PREF_STRING, "/gaim/gtk/browsers/browser", browsers); - gtk_misc_set_alignment(GTK_MISC(label), 0, 0); + gtk_misc_set_alignment(GTK_MISC(label), 0, 0.5); gtk_size_group_add_widget(sg, label); hbox = gtk_hbox_new(FALSE, 0); @@ -1295,7 +1295,7 @@ _("New window"), GAIM_BROWSER_NEW_WINDOW, _("New tab"), GAIM_BROWSER_NEW_TAB, NULL); - gtk_misc_set_alignment(GTK_MISC(label), 0, 0); + gtk_misc_set_alignment(GTK_MISC(label), 0, 0.5); gtk_size_group_add_widget(sg, label); gtk_box_pack_start(GTK_BOX(vbox), hbox, FALSE, FALSE, 0); @@ -1587,7 +1587,7 @@ _("No sounds"), "none", NULL); gtk_size_group_add_widget(sg, dd); - gtk_misc_set_alignment(GTK_MISC(dd), 0, 0); + gtk_misc_set_alignment(GTK_MISC(dd), 0, 0.5); hbox = gtk_hbox_new(FALSE, 5); gtk_box_pack_start(GTK_BOX(vbox), hbox, FALSE, FALSE, 5); @@ -1798,7 +1798,7 @@ NULL); gtk_size_group_add_widget(sg, dd); - gtk_misc_set_alignment(GTK_MISC(dd), 0, 0); + gtk_misc_set_alignment(GTK_MISC(dd), 0, 0.5); vbox = gaim_gtk_make_frame (ret, _("Auto-away")); button = gaim_gtk_prefs_checkbox(_("Set away _when idle"), @@ -1815,7 +1815,7 @@ label = gtk_label_new_with_mnemonic(_("Away m_essage:")); gtk_size_group_add_widget(sg, label); - gtk_misc_set_alignment(GTK_MISC(label), 0, 0); + gtk_misc_set_alignment(GTK_MISC(label), 0, 0.5); g_signal_connect(G_OBJECT(button), "clicked", G_CALLBACK(gaim_gtk_toggle_sensitive), label); gtk_box_pack_start(GTK_BOX(hbox), label, FALSE, FALSE, 0);