diff options
-rw-r--r-- | ChangeLog | 7 | ||||
-rw-r--r-- | data/evince-ui.xml | 1 | ||||
-rw-r--r-- | shell/ev-window.c | 6 |
3 files changed, 8 insertions, 6 deletions
@@ -1,3 +1,10 @@ +2006-10-29 Nickolay V. Shmyrev <nshmyrev@yandex.ru> + + * data/evince-ui.xml: + * shell/ev-window.c: (set_action_properties): + + Removed garbage from code and ui. + 2006-10-29 Wouter Bolsterlee <wbolster@cvs.gnome.org> * shell/ev-window.c: (ev_window_cmd_help_about): diff --git a/data/evince-ui.xml b/data/evince-ui.xml index 5fd01d4..9ea8778 100644 --- a/data/evince-ui.xml +++ b/data/evince-ui.xml @@ -38,7 +38,6 @@ <menuitem name="ViewContinuousMenu" action="ViewContinuous"/> <menuitem name="ViewDualMenu" action="ViewDual"/> <menuitem name="ViewZoomInMenu" action="ViewZoomIn"/> - <menuitem name="ViewZoomInMenu" action="ViewZoomIn"/> <menuitem name="ViewZoomOutMenu" action="ViewZoomOut"/> <menuitem name="ViewBestFitMenu" action="ViewBestFit"/> <menuitem name="ViewPageWidthMenu" action="ViewPageWidth"/> diff --git a/shell/ev-window.c b/shell/ev-window.c index 52fdd75..414d320 100644 --- a/shell/ev-window.c +++ b/shell/ev-window.c @@ -3660,9 +3660,9 @@ set_action_properties (GtkActionGroup *action_group) GtkAction *action; action = gtk_action_group_get_action (action_group, "GoPreviousPage"); + g_object_set (action, "is-important", TRUE, NULL); /*translators: this is the label for toolbar button*/ g_object_set (action, "short_label", _("Previous"), NULL); - g_object_set (action, "is-important", TRUE, NULL); action = gtk_action_group_get_action (action_group, "GoNextPage"); g_object_set (action, "is-important", TRUE, NULL); @@ -3672,22 +3672,18 @@ set_action_properties (GtkActionGroup *action_group) action = gtk_action_group_get_action (action_group, "ViewZoomIn"); /*translators: this is the label for toolbar button*/ g_object_set (action, "short_label", _("Zoom In"), NULL); - action = gtk_action_group_get_action (action_group, "ViewZoomIn"); action = gtk_action_group_get_action (action_group, "ViewZoomOut"); /*translators: this is the label for toolbar button*/ g_object_set (action, "short_label", _("Zoom Out"), NULL); - action = gtk_action_group_get_action (action_group, "ViewZoomIn"); action = gtk_action_group_get_action (action_group, "ViewBestFit"); /*translators: this is the label for toolbar button*/ g_object_set (action, "short_label", _("Best Fit"), NULL); - action = gtk_action_group_get_action (action_group, "ViewZoomIn"); action = gtk_action_group_get_action (action_group, "ViewPageWidth"); /*translators: this is the label for toolbar button*/ g_object_set (action, "short_label", _("Fit Width"), NULL); - action = gtk_action_group_get_action (action_group, "ViewZoomIn"); action = gtk_action_group_get_action (action_group, "LeaveFullscreen"); g_object_set (action, "is-important", TRUE, NULL); |