Commit 3e9cc04c authored by Tristan Van Berkom's avatar Tristan Van Berkom

Fixed projects menu bug (bug 532156, fix by Pavel Kostyuchenko).


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


svn path=/trunk/; revision=1909
parent 7a250eda
2008-09-16 Pavel Kostyuchenko <ShprotX@gmail.com>
Patch adds support for non GtkWindow toplevel project widgets and handles
carefully properties that reffer to parentless gtkwidgets (bug 532636).
(also fixes GtkMessageDialog ...)
* gladeui/glade-app.c:
Creating toplevel widget through unified glade-palette interface.
Removed error message when pasting non-toplevel widgets without
......@@ -111,6 +115,9 @@
* plugins/gtk+/glade-gtk.c: Made insert/remove column/row on gtktable
take packing property order into account (bug 503355 fix by Eli Collins).
* src/glade-window.c: Fixed projects menu bug (bug 532156, fix by
Pavel Kostyuchenko).
2008-09-15 Juan Pablo Ugarte <juanpablougarte@gmail.com>
......
......@@ -2693,6 +2693,7 @@ change_menu_label (GladeWindow *window,
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 @@ change_menu_label (GladeWindow *window,
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);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment