Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
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
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.
-rw-r--r--ChangeLog7
-rw-r--r--data/evince-ui.xml1
-rw-r--r--shell/ev-window.c6
3 files changed, 8 insertions, 6 deletions
diff --git a/ChangeLog b/ChangeLog
index d7545f3..215c6c6 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -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);