diff options
author | Julien Rebetez <julienr@cvs.gnome.org> | 2006-12-14 22:27:21 (GMT) |
---|---|---|
committer | Julien Rebetez <julienr@src.gnome.org> | 2006-12-14 22:27:21 (GMT) |
commit | 6d9c231e3acd42bdf37b310463b9eaccaebe7707 (patch) | |
tree | 5cd36c93295969bb8b2fddb9b458e68c0015b9af | |
parent | 06afa8d63ed51abcfe3316ec94359b79fa4e43f9 (diff) |
GTK_STOCK_SELECT_ALL is used in menu definition, but isn't available with
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.
-rw-r--r-- | ChangeLog | 6 | ||||
-rw-r--r-- | shell/ev-window.c | 4 |
2 files changed, 10 insertions, 0 deletions
@@ -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"), |