SF.net SVN: geany:[4004] trunk

eht16 at users.sourceforge.net eht16 at xxxxx
Mon Jul 20 23:11:27 UTC 2009


Revision: 4004
          http://geany.svn.sourceforge.net/geany/?rev=4004&view=rev
Author:   eht16
Date:     2009-07-20 23:11:23 +0000 (Mon, 20 Jul 2009)

Log Message:
-----------
Remove underscores from the toolbar items labels.

Modified Paths:
--------------
    trunk/ChangeLog
    trunk/src/toolbar.c

Modified: trunk/ChangeLog
===================================================================
--- trunk/ChangeLog	2009-07-20 23:10:46 UTC (rev 4003)
+++ trunk/ChangeLog	2009-07-20 23:11:23 UTC (rev 4004)
@@ -11,6 +11,8 @@
    src/utils.c and add it to the plugin API.
    Make utils_str_remove_chars() work on a new copy of the input string
    instead of modifying it in place.
+ * src/toolbar.c:
+   Remove underscores from the toolbar items labels.
 
 
 2009-07-20  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>

Modified: trunk/src/toolbar.c
===================================================================
--- trunk/src/toolbar.c	2009-07-20 23:10:46 UTC (rev 4003)
+++ trunk/src/toolbar.c	2009-07-20 23:11:23 UTC (rev 4004)
@@ -615,8 +615,7 @@
 
 		g_object_get(action, "label", &label, NULL);
 		if (label != NULL)
-			/* FIXME strip mnemonics here */
-			label_clean = g_strdup(label);
+			label_clean = utils_str_remove_chars(label, "_");
 	}
 
 	gtk_list_store_set(store, iter,


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.



More information about the Commits mailing list