summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorTristan Van Berkom <tristan.van.berkom@gmail.com>2011-01-05 17:24:33 +0900
committerTristan Van Berkom <tristan.van.berkom@gmail.com>2011-01-05 17:24:33 +0900
commit97975f7e3a13245a773a0157642081a338ca45c4 (patch)
treea9bfc2efcee02a9ed1b0ee8404805106ef24a5be /src
parent3828d64ff44e3b3d0e5d2b9de43cc95082e10d54 (diff)
* gladeui/glade-command.[ch], gladeui/glade-project.c, src/glade-window.c:
Privatized GladeCommand members.
Diffstat (limited to 'src')
-rw-r--r--src/glade-window.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/glade-window.c b/src/glade-window.c
index 8c8e0657..65e6eee8 100644
--- a/src/glade-window.c
+++ b/src/glade-window.c
@@ -2868,11 +2868,11 @@ refresh_undo_redo (GladeWindow *window, GladeProject *project)
change_menu_label
(window, "/MenuBar/EditMenu/Undo", _("_Undo"),
- undo ? undo->description : NULL);
+ undo ? glade_command_description (undo) : NULL);
tooltip =
g_strdup_printf (_("Undo: %s"),
- undo ? undo->description : _("the last action"));
+ undo ? glade_command_description (undo) : _("the last action"));
g_object_set (action, "tooltip", tooltip, NULL);
g_free (tooltip);
@@ -2882,11 +2882,11 @@ refresh_undo_redo (GladeWindow *window, GladeProject *project)
change_menu_label
(window, "/MenuBar/EditMenu/Redo", _("_Redo"),
- redo ? redo->description : NULL);
+ redo ? glade_command_description (redo) : NULL);
tooltip =
g_strdup_printf (_("Redo: %s"),
- redo ? redo->description : _("the last action"));
+ redo ? glade_command_description (redo) : _("the last action"));
g_object_set (action, "tooltip", tooltip, NULL);
g_free (tooltip);