From 44a82db00861feb97c7abe799c2314466fb4a072 Mon Sep 17 00:00:00 2001 From: Nickolay V. Shmyrev Date: Sun, 29 Oct 2006 13:25:25 +0000 Subject: Removed garbage from code and ui. 2006-10-29 Nickolay V. Shmyrev * data/evince-ui.xml: * shell/ev-window.c: (set_action_properties): Removed garbage from code and ui. --- diff --git a/ChangeLog b/ChangeLog index d7545f3..215c6c6 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +2006-10-29 Nickolay V. Shmyrev + + * data/evince-ui.xml: + * shell/ev-window.c: (set_action_properties): + + Removed garbage from code and ui. + 2006-10-29 Wouter Bolsterlee * 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 @@ - 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); -- cgit v0.9.1