Mercurial > pidgin.yaz
changeset 23096:f057f9533634
Rename and re-order the preference sound buttons to be "Browse...",
"Preview", "Reset", I think these are better and also match the pounce
sound selection buttons.
author | Stu Tomlinson <stu@nosnilmot.com> |
---|---|
date | Fri, 23 May 2008 13:04:50 +0000 |
parents | 85f13e29cb40 |
children | 56d958e7b7d1 |
files | pidgin/gtkprefs.c |
diffstat | 1 files changed, 6 insertions(+), 6 deletions(-) [+] |
line wrap: on
line diff
--- a/pidgin/gtkprefs.c Fri May 23 13:03:18 2008 +0000 +++ b/pidgin/gtkprefs.c Fri May 23 13:04:50 2008 +0000 @@ -2001,18 +2001,18 @@ gtk_editable_set_editable(GTK_EDITABLE(sound_entry), FALSE); gtk_box_pack_start(GTK_BOX(hbox), sound_entry, FALSE, FALSE, PIDGIN_HIG_BOX_SPACE); - button = gtk_button_new_with_label(_("Test")); + button = gtk_button_new_with_mnemonic(_("_Browse...")); + g_signal_connect(G_OBJECT(button), "clicked", G_CALLBACK(select_sound), NULL); + gtk_box_pack_start(GTK_BOX(hbox), button, FALSE, FALSE, 1); + + button = gtk_button_new_with_mnemonic(_("Pre_view")); g_signal_connect(G_OBJECT(button), "clicked", G_CALLBACK(test_sound), NULL); gtk_box_pack_start(GTK_BOX(hbox), button, FALSE, FALSE, 1); - button = gtk_button_new_with_label(_("Reset")); + button = gtk_button_new_with_mnemonic(_("_Reset")); g_signal_connect(G_OBJECT(button), "clicked", G_CALLBACK(reset_sound), NULL); gtk_box_pack_start(GTK_BOX(hbox), button, FALSE, FALSE, 1); - button = gtk_button_new_with_label(_("Choose...")); - g_signal_connect(G_OBJECT(button), "clicked", G_CALLBACK(select_sound), NULL); - gtk_box_pack_start(GTK_BOX(hbox), button, FALSE, FALSE, 1); - gtk_widget_show_all(ret); g_object_unref(sg);