X-Git-Url: https://www.fi.muni.cz/~kas/git//home/kas/public_html/git/?a=blobdiff_plain;ds=inline;f=shell%2Fev-open-recent-action.c;h=17a1745ad66729e397e53339fb401a557c5719c0;hb=03a4afa9aeab342a63530db46888e405ea1c8afc;hp=c57138fb3f5be86064ae7b8638c437bfbf4ba020;hpb=92599dd89bbb969c842981fac80ccf2414866c10;p=evince.git diff --git a/shell/ev-open-recent-action.c b/shell/ev-open-recent-action.c index c57138fb..17a1745a 100644 --- a/shell/ev-open-recent-action.c +++ b/shell/ev-open-recent-action.c @@ -17,11 +17,14 @@ * */ -#include +#include + #include +#include #include "ev-open-recent-action.h" + enum { ITEM_ACTIVATED, N_SIGNALS @@ -65,10 +68,8 @@ ev_open_recent_action_create_tool_item (GtkAction *action) gtk_recent_chooser_set_filter (GTK_RECENT_CHOOSER (toolbar_recent_menu), filter); tool_item = GTK_WIDGET (gtk_menu_tool_button_new_from_stock (GTK_STOCK_OPEN)); -#if GTK_CHECK_VERSION(2,11,6) gtk_menu_tool_button_set_arrow_tooltip_text (GTK_MENU_TOOL_BUTTON (tool_item), _("Open a recently used document")); -#endif gtk_menu_tool_button_set_menu (GTK_MENU_TOOL_BUTTON (tool_item), GTK_WIDGET (toolbar_recent_menu)); return tool_item;