diff options
author | Nickolay V. Shmyrev <nshmyrev@src.gnome.org> | 2006-02-16 21:29:06 (GMT) |
---|---|---|
committer | Nickolay V. Shmyrev <nshmyrev@src.gnome.org> | 2006-02-16 21:29:06 (GMT) |
commit | 539606c89eaccdda111d7cee0fcf29ece5589392 (patch) | |
tree | 8cd89b1456d851fca85428c5522a51517ee113b7 | |
parent | d92011c16819e24fddc553b0192c629033e8c799 (diff) |
Allow to add sidebar checkbutton on toolbar. Fix for the bug #144577.
* data/evince-toolbar.xml:
* shell/ev-window.c:
Allow to add sidebar checkbutton on toolbar. Fix
for the bug #144577.
-rw-r--r-- | ChangeLog | 8 | ||||
-rw-r--r-- | data/evince-toolbar.xml | 1 | ||||
-rw-r--r-- | shell/ev-window.c | 2 |
3 files changed, 10 insertions, 1 deletions
@@ -1,3 +1,11 @@ +2006-02-17 Nickolay V. Shmyrev <nshmyrev@yandex.ru> + + * data/evince-toolbar.xml: + * shell/ev-window.c: + + Allow to add sidebar checkbutton on toolbar. Fix + for the bug #144577. + 2006-02-16 Nickolay V. Shmyrev <nshmyrev@yandex.ru> * ps/ps-document.c: (push_pixbuf), (setup_pixmap): diff --git a/data/evince-toolbar.xml b/data/evince-toolbar.xml index eb10114..fdfc695 100644 --- a/data/evince-toolbar.xml +++ b/data/evince-toolbar.xml @@ -17,6 +17,7 @@ <toolitem name="GoFirstPage"/> <toolitem name="GoLastPage"/> <toolitem name="ViewReload"/> + <toolitem name="ViewSidebar"/> </available> <toolbar name="DefaultToolBar"> <toolitem name="GoPreviousPage"/> diff --git a/shell/ev-window.c b/shell/ev-window.c index 60479ba..cd92a57 100644 --- a/shell/ev-window.c +++ b/shell/ev-window.c @@ -2912,7 +2912,7 @@ static const GtkToggleActionEntry toggle_entries[] = { { "ViewToolbar", NULL, N_("_Toolbar"), "<shift><control>T", N_("Show or hide the toolbar"), G_CALLBACK (ev_window_view_toolbar_cb), TRUE }, - { "ViewSidebar", NULL, N_("Side _Pane"), "F9", + { "ViewSidebar", GTK_STOCK_INDEX, N_("Side _Pane"), "F9", N_("Show or hide the side pane"), G_CALLBACK (ev_window_view_sidebar_cb), TRUE }, { "ViewContinuous", EV_STOCK_VIEW_CONTINUOUS, N_("_Continuous"), NULL, |