/pidgin/main: 660e41d31deb: Message Notification: Drop redundant...

Richard Laager rlaager at pidgin.im
Mon Jul 18 00:33:08 EDT 2016


Changeset: 660e41d31debf19ff622e300e4a7febeceb6b9f7
Author:	 Richard Laager <rlaager at pidgin.im>
Date:	 2016-06-06 22:16 -0500
Branch:	 release-2.x.y
URL: https://hg.pidgin.im/pidgin/main/rev/660e41d31deb

Description:

Message Notification: Drop redundant "Notify for"

The high level section is "Notify For". We do not need to prefix
individual options with "Notify for".

I intentionally gave these two strings the same mnemonic.  Anything
else would have required changing something else.  The only good
candidate was "Prepend _string into window title" becoming _w; in
the end, this seemed like the lesser of two evils.

Reported-by: Bj?rn Voigt <bjoernv at arcor.de>

diffstat:

 pidgin/plugins/notify.c |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (21 lines):

diff --git a/pidgin/plugins/notify.c b/pidgin/plugins/notify.c
--- a/pidgin/plugins/notify.c
+++ b/pidgin/plugins/notify.c
@@ -718,7 +718,7 @@ get_config_frame(PurplePlugin *plugin)
 	                 G_CALLBACK(type_toggle_cb), "type_im");
 
 	ref = toggle;
-	toggle = gtk_check_button_new_with_mnemonic(_("\t_Notify for System messages"));
+	toggle = gtk_check_button_new_with_mnemonic(_("\tS_ystem messages"));
 	gtk_box_pack_start(GTK_BOX(vbox), toggle, FALSE, FALSE, 0);
 	gtk_toggle_button_set_active(GTK_TOGGLE_BUTTON(toggle),
 	                            purple_prefs_get_bool("/plugins/gtk/X11/notify/type_im_sys"));
@@ -746,7 +746,7 @@ get_config_frame(PurplePlugin *plugin)
 	g_signal_connect(G_OBJECT(ref), "toggled",
 	                 G_CALLBACK(pidgin_toggle_sensitive), toggle);
 
-	toggle = gtk_check_button_new_with_mnemonic(_("\tNotify for _System messages"));
+	toggle = gtk_check_button_new_with_mnemonic(_("\tS_ystem messages"));
 	gtk_box_pack_start(GTK_BOX(vbox), toggle, FALSE, FALSE, 0);
 	gtk_toggle_button_set_active(GTK_TOGGLE_BUTTON(toggle),
 	                            purple_prefs_get_bool("/plugins/gtk/X11/notify/type_chat_sys"));



More information about the Commits mailing list