X-Git-Url: https://www.fi.muni.cz/~kas/git//home/kas/public_html/git/?a=blobdiff_plain;ds=sidebyside;f=shell%2Fev-open-recent-action.c;h=17a1745ad66729e397e53339fb401a557c5719c0;hb=cdba8578739fd46880c53fdacc66c58b38278506;hp=e021c6b2634fff1b7303773cf4a4f600817ce619;hpb=1af6600934d1f723e5b492b8322e52a1144fb0af;p=evince.git diff --git a/shell/ev-open-recent-action.c b/shell/ev-open-recent-action.c index e021c6b2..17a1745a 100644 --- a/shell/ev-open-recent-action.c +++ b/shell/ev-open-recent-action.c @@ -18,11 +18,13 @@ */ #include -#include + #include +#include #include "ev-open-recent-action.h" + enum { ITEM_ACTIVATED, N_SIGNALS @@ -66,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;