Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/data
diff options
context:
space:
mode:
authorNickolay V. Shmyrev <nshmyrev@yandex.ru>2006-11-10 00:56:02 (GMT)
committer Nickolay V. Shmyrev <nshmyrev@src.gnome.org>2006-11-10 00:56:02 (GMT)
commitbd7342aad81904a616ea6948a1e87c59e26af951 (patch)
tree5d52e43a52f594e5a4d3964f2f858df254ce7fe8 /data
parent93d08f703def1edf4786c479ac882c399ae29885 (diff)
Fixes bug #364364 - toolbar editor shows zoom actions again.
2006-11-10 Nickolay V. Shmyrev <nshmyrev@yandex.ru> * cut-n-paste/toolbar-editor/egg-toolbar-editor.c: (setup_editor): * data/Makefile.am: * data/evince-preview-toolbar.xml: * data/evince-toolbar.xml: * shell/ev-application.c: (ev_application_shutdown), (ev_application_init), (ev_application_get_toolbars_model): * shell/ev-application.h: * shell/ev-window.c: (update_chrome_visibility), (ev_window_create_fullscreen_popup), (ev_window_run_preview), (ev_window_cmd_edit_toolbar), (ev_window_init): Fixes bug #364364 - toolbar editor shows zoom actions again.
Diffstat (limited to 'data')
-rw-r--r--data/Makefile.am1
-rw-r--r--data/evince-preview-toolbar.xml25
-rw-r--r--data/evince-toolbar.xml15
3 files changed, 27 insertions, 14 deletions
diff --git a/data/Makefile.am b/data/Makefile.am
index 81322cc..5e05397 100644
--- a/data/Makefile.am
+++ b/data/Makefile.am
@@ -9,6 +9,7 @@ uidir = $(pkgdatadir)
ui_DATA = \
evince-ui.xml \
evince-toolbar.xml \
+ evince-preview-toolbar.xml \
hand-open.png \
$(NULL)
diff --git a/data/evince-preview-toolbar.xml b/data/evince-preview-toolbar.xml
new file mode 100644
index 0000000..23fed0e
--- /dev/null
+++ b/data/evince-preview-toolbar.xml
@@ -0,0 +1,25 @@
+<?xml version="1.0"?>
+<toolbars version="1.0">
+<available>
+ <toolitem name="GoPreviousPage"/>
+ <toolitem name="GoNextPage"/>
+ <toolitem name="PageSelector"/>
+ <toolitem name="ViewZoomIn"/>
+ <toolitem name="ViewZoomOut"/>
+ <toolitem name="ViewBestFit"/>
+ <toolitem name="ViewPageWidth"/>
+</available>
+
+<toolbar name="PreviewTooBar" editable="false">
+ <toolitem name="GoPreviousPage"/>
+ <toolitem name="GoNextPage"/>
+ <separator/>
+ <toolitem name="PageSelector"/>
+ <separator/>
+ <toolitem name="ViewPageWidth"/>
+ <toolitem name="ViewBestFit"/>
+ <toolitem name="ViewZoomIn"/>
+ <toolitem name="ViewZoomOut"/>
+</toolbar>
+
+</toolbars>
diff --git a/data/evince-toolbar.xml b/data/evince-toolbar.xml
index d890276..060b938 100644
--- a/data/evince-toolbar.xml
+++ b/data/evince-toolbar.xml
@@ -19,7 +19,7 @@
<toolitem name="ViewReload"/>
<toolitem name="ViewSidebar"/>
</available>
-<toolbar name="DefaultToolBar">
+ <toolbar name="DefaultToolBar">
<toolitem name="GoPreviousPage"/>
<toolitem name="GoNextPage"/>
<separator/>
@@ -27,17 +27,4 @@
<separator/>
<toolitem name="ViewZoom"/>
</toolbar>
-
-<toolbar name="PreviewTooBar" hidden="true" editable="false">
- <toolitem name="GoPreviousPage"/>
- <toolitem name="GoNextPage"/>
- <separator/>
- <toolitem name="PageSelector"/>
- <separator/>
- <toolitem name="ViewPageWidth"/>
- <toolitem name="ViewBestFit"/>
- <toolitem name="ViewZoomIn"/>
- <toolitem name="ViewZoomOut"/>
-</toolbar>
-
</toolbars>