Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ChangeLog8
-rw-r--r--data/evince-toolbar.xml2
-rw-r--r--shell/ev-window.c4
3 files changed, 12 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index a2a2010..417341b 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -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,