Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/shell
diff options
context:
space:
mode:
authorNickolay V. Shmyrev <nshmyrev@yandex.ru>2006-10-29 13:25:25 (GMT)
committer Nickolay V. Shmyrev <nshmyrev@src.gnome.org>2006-10-29 13:25:25 (GMT)
commit44a82db00861feb97c7abe799c2314466fb4a072 (patch)
tree79ed881453068276920e6460af94beb15ab620b0 /shell
parent2b8e04a7479f9478989fb0d45b3bf637d1e432de (diff)
Removed garbage from code and ui.
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.
Diffstat (limited to 'shell')
-rw-r--r--shell/ev-window.c6
1 files changed, 1 insertions, 5 deletions
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);