Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ChangeLog6
-rw-r--r--shell/ev-window.c4
2 files changed, 10 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 969c9b7..eecd153 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2006-12-14 Julien Rebetez, <julienr@cvs.gnome.org>
+ * shell/ev-window.c:
+ GTK_STOCK_SELECT_ALL is used in menu definition, but isn't
+ available with GTK < 2.10. Added an ifdef to avoid compilation
+ error.
+
2006-12-14 Carlos Garcia Campos <carlosgc@gnome.org>
* configure.ac:
diff --git a/shell/ev-window.c b/shell/ev-window.c
index 6d9f778..a4a6b6e 100644
--- a/shell/ev-window.c
+++ b/shell/ev-window.c
@@ -3702,7 +3702,11 @@ static const GtkActionEntry entries[] = {
/* Edit menu */
{ "EditCopy", GTK_STOCK_COPY, NULL, "<control>C", NULL,
G_CALLBACK (ev_window_cmd_edit_copy) },
+#ifdef HAVE_GTK_RECENT
{ "EditSelectAll", GTK_STOCK_SELECT_ALL, N_("Select _All"), "<control>A", NULL,
+#else
+ { "EditSelectAll", NULL, N_("Select _All"), "<control>A", NULL,
+#endif /* HAVE_GTK_RECENT */
G_CALLBACK (ev_window_cmd_edit_select_all) },
{ "EditFind", GTK_STOCK_FIND, N_("_Find..."), "<control>F",
N_("Find a word or phrase in the document"),