]> www.fi.muni.cz Git - evince.git/commitdiff
Removed garbage from code and ui.
authorNickolay V. Shmyrev <nshmyrev@yandex.ru>
Sun, 29 Oct 2006 13:25:25 +0000 (13:25 +0000)
committerNickolay V. Shmyrev <nshmyrev@src.gnome.org>
Sun, 29 Oct 2006 13:25:25 +0000 (13:25 +0000)
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.

ChangeLog
data/evince-ui.xml
shell/ev-window.c

index d7545f397b30cdd248703782e076459b0a5ab58d..215c6c61aaa7e38651901fdf690e5f28f34c80e3 100644 (file)
--- 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):
index 5fd01d4a695a92521c2ccf82a5bd2a03bf235c7c..9ea8778355568f0b352b2f91af9d347b99797e8c 100644 (file)
@@ -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"/>
index 52fdd7594e9453103ede20bd8c4cfba049978136..414d320b4af574be633fedc4195cda29b26519d3 100644 (file)
@@ -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);