pidgin: 88f9c072: Rename and re-order the preference sound...

nosnilmot at pidgin.im nosnilmot at pidgin.im
Fri May 23 09:15:42 EDT 2008


-----------------------------------------------------------------
Revision: 88f9c072e0ed10bb5c72deae11b788e28a2570ab
Ancestor: afbef523e127d8e222553204fc5093e6506d1155
Author: nosnilmot at pidgin.im
Date: 2008-05-23T13:04:50
Branch: im.pidgin.pidgin
URL: http://d.pidgin.im/viewmtn/revision/info/88f9c072e0ed10bb5c72deae11b788e28a2570ab

Modified files:
        pidgin/gtkprefs.c

ChangeLog: 

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.

-------------- next part --------------
============================================================
--- pidgin/gtkprefs.c	f31fdda4e32aaa30d21576337d75c2783a8505cc
+++ pidgin/gtkprefs.c	8c2ed56087f9959d97b13d6ad5242001cb5256ac
@@ -2001,16 +2001,16 @@ sound_page(void)
 	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"));
-	g_signal_connect(G_OBJECT(button), "clicked", G_CALLBACK(test_sound), NULL);
+	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_label(_("Reset"));
-	g_signal_connect(G_OBJECT(button), "clicked", G_CALLBACK(reset_sound), NULL);
+	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(_("Choose..."));
-	g_signal_connect(G_OBJECT(button), "clicked", G_CALLBACK(select_sound), NULL);
+	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);
 
 	gtk_widget_show_all(ret);


More information about the Commits mailing list