X-Git-Url: https://www.fi.muni.cz/~kas/git//home/kas/public_html/git/?a=blobdiff_plain;f=shell%2Fev-open-recent-action.c;h=557e87a687dd26ada2c06386de7957dce517d922;hb=a57c4df4be3d2a2acb3d2b8a205cf7b9b49a816d;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..557e87a6 100644 --- a/shell/ev-open-recent-action.c +++ b/shell/ev-open-recent-action.c @@ -13,15 +13,18 @@ * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. * */ -#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;