]> www.fi.muni.cz Git - evince.git/blobdiff - shell/ev-open-recent-action.c
[dualscreen] fix crash on ctrl+w and fix control window closing
[evince.git] / shell / ev-open-recent-action.c
index c57138fb3f5be86064ae7b8638c437bfbf4ba020..557e87a687dd26ada2c06386de7957dce517d922 100644 (file)
  *
  *  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 <gtk/gtk.h>
+#include <config.h>
+
 #include <glib/gi18n.h>
+#include <gtk/gtk.h>
 
 #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;