diff options
author | Nickolay V. Shmyrev <nshmyrev@src.gnome.org> | 2007-07-02 15:49:11 (GMT) |
---|---|---|
committer | Nickolay V. Shmyrev <nshmyrev@src.gnome.org> | 2007-07-02 15:49:11 (GMT) |
commit | 77da2add741e9745821284c52a46d57837ba07ed (patch) | |
tree | f55d07e2189e90cfc3d0d09909c8e85ceaae8a95 | |
parent | f3c22cad30e8ec3ed2f56dcc3711ac165fda3048 (diff) |
2007-07-02 Nickolay V. Shmyrev <nshmyrev@yandex.ru
* data/evince-toolbar.xml:
* shell/ev-window.c:
Let user add a presentation and fullscreen icons on toolbar.
See bug #449734.
svn path=/trunk/; revision=2538
-rw-r--r-- | ChangeLog | 8 | ||||
-rw-r--r-- | data/evince-toolbar.xml | 2 | ||||
-rw-r--r-- | shell/ev-window.c | 4 |
3 files changed, 12 insertions, 2 deletions
@@ -1,3 +1,11 @@ +2007-07-02 Nickolay V. Shmyrev <nshmyrev@yandex.ru + + * data/evince-toolbar.xml: + * shell/ev-window.c: + + Let user add a presentation and fullscreen icons on toolbar. + See bug #449734. + 2007-07-01 Jaap Haitsma <jaap@haitsma.org> * cut-n-paste/toolbar-editor/update-toolbareditor-from-libegg: diff --git a/data/evince-toolbar.xml b/data/evince-toolbar.xml index 3def58a..71b0639 100644 --- a/data/evince-toolbar.xml +++ b/data/evince-toolbar.xml @@ -12,6 +12,8 @@ <toolitem name="ViewZoomOut"/> <toolitem name="ViewBestFit"/> <toolitem name="ViewPageWidth"/> + <toolitem name="ViewFullscreen"/> + <toolitem name="ViewPresentation"/> <toolitem name="GoPreviousPage"/> <toolitem name="GoNextPage"/> <toolitem name="GoFirstPage"/> diff --git a/shell/ev-window.c b/shell/ev-window.c index 7e7d94c..dec6bd6 100644 --- a/shell/ev-window.c +++ b/shell/ev-window.c @@ -4434,10 +4434,10 @@ static const GtkToggleActionEntry toggle_entries[] = { { "ViewDual", EV_STOCK_VIEW_DUAL, N_("_Dual"), NULL, N_("Show two pages at once"), G_CALLBACK (ev_window_cmd_dual), FALSE }, - { "ViewFullscreen", NULL, N_("_Fullscreen"), "F11", + { "ViewFullscreen", GTK_STOCK_FULLSCREEN, N_("_Fullscreen"), "F11", N_("Expand the window to fill the screen"), G_CALLBACK (ev_window_cmd_view_fullscreen) }, - { "ViewPresentation", NULL, N_("_Presentation"), "F5", + { "ViewPresentation", EV_STOCK_RUN_PRESENTATION, N_("_Presentation"), "F5", N_("Run document as a presentation"), G_CALLBACK (ev_window_cmd_view_presentation) }, { "ViewBestFit", EV_STOCK_ZOOM_PAGE, N_("_Best Fit"), NULL, |