gnome-settings-daemon r256 - in trunk: . plugins/keybindings



Author: jensg
Date: Mon Mar 31 20:08:37 2008
New Revision: 256
URL: http://svn.gnome.org/viewvc/gnome-settings-daemon?rev=256&view=rev

Log:
2008-03-31  Jens Granseuer  <jensgr gmx net>

	* plugins/keybindings/gsd-keybindings-manager.c:
	(bindings_get_entry), (binding_register_keys): remove trailing newlines
	from messages since g_warning already takes care of those


Modified:
   trunk/ChangeLog
   trunk/plugins/keybindings/gsd-keybindings-manager.c

Modified: trunk/plugins/keybindings/gsd-keybindings-manager.c
==============================================================================
--- trunk/plugins/keybindings/gsd-keybindings-manager.c	(original)
+++ trunk/plugins/keybindings/gsd-keybindings-manager.c	Mon Mar 31 20:08:37 2008
@@ -193,14 +193,14 @@
                         if (!action) {
                                 action = entry_get_string (entry);
                         } else {
-                                g_warning (_("Key Binding (%s) has its action defined multiple times\n"),
+                                g_warning (_("Key Binding (%s) has its action defined multiple times"),
                                            gconf_key);
                         }
                 } else if (strcmp (key_name, "binding") == 0) {
                         if (!key) {
                                 key = entry_get_string (entry);
                         } else {
-                                g_warning (_("Key Binding (%s) has its binding defined multiple times\n"),
+                                g_warning (_("Key Binding (%s) has its binding defined multiple times"),
                                            gconf_key);
                         }
                 }
@@ -209,7 +209,7 @@
         }
 
         if (!action || !key) {
-                g_warning (_("Key Binding (%s) is incomplete\n"), gconf_key);
+                g_warning (_("Key Binding (%s) is incomplete"), gconf_key);
                 goto out;
         }
 
@@ -237,7 +237,7 @@
                 manager->priv->binding_list = g_slist_append (manager->priv->binding_list, new_binding);
                 ret = TRUE;
         } else {
-                g_warning (_("Key Binding (%s) is invalid\n"), gconf_key);
+                g_warning (_("Key Binding (%s) is invalid"), gconf_key);
                 g_free (new_binding->binding_str);
                 g_free (new_binding->action);
         }
@@ -367,7 +367,7 @@
                                 binding->previous_key.state = binding->key.state;
                                 binding->previous_key.keycode = binding->key.keycode;
                         } else
-                                g_warning (_("Key Binding (%s) is already in use\n"), binding->binding_str);
+                                g_warning (_("Key Binding (%s) is already in use"), binding->binding_str);
                 }
         }
         gdk_flush ();



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]