glade3 r1909 - in trunk: . src



Author: tvb
Date: Tue Sep 16 18:39:36 2008
New Revision: 1909
URL: http://svn.gnome.org/viewvc/glade3?rev=1909&view=rev

Log:

	* src/glade-window.c: Fixed projects menu bug (bug 532156, fix by 
	  Pavel Kostyuchenko).



Modified:
   trunk/ChangeLog
   trunk/src/glade-window.c

Modified: trunk/src/glade-window.c
==============================================================================
--- trunk/src/glade-window.c	(original)
+++ trunk/src/glade-window.c	Tue Sep 16 18:39:36 2008
@@ -2693,6 +2693,7 @@
 	GtkBin *bin;
 	GtkLabel *label;
 	gchar *text;
+	gchar *tmp_text;
 
 	g_assert (GLADE_IS_WINDOW (window));
 	g_return_if_fail (path != NULL);
@@ -2704,7 +2705,11 @@
 	if (action_description == NULL)
 		text = g_strdup (action_label);
 	else
-		text = g_strdup_printf ("%s: %s", action_label, action_description);
+	{
+		tmp_text = escape_underscores (action_description, -1);
+		text = g_strdup_printf ("%s: %s", action_label, tmp_text);		
+		g_free (tmp_text);
+	}
 	
 	gtk_label_set_text_with_mnemonic (label, text);
 



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