[evince] Remove unused open recent file action
- From: Carlos Garcia Campos <carlosgc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evince] Remove unused open recent file action
- Date: Thu, 19 Jun 2014 14:49:22 +0000 (UTC)
commit 35460fe594a57a4ef2091787c61d0a180ab0a538
Author: Carlos Garcia Campos <carlosgc gnome org>
Date: Thu Jun 19 13:04:55 2014 +0200
Remove unused open recent file action
shell/Makefile.am | 2 -
shell/ev-open-recent-action.c | 101 -----------------------------------------
shell/ev-open-recent-action.h | 52 ---------------------
shell/ev-window.c | 13 -----
4 files changed, 0 insertions(+), 168 deletions(-)
---
diff --git a/shell/Makefile.am b/shell/Makefile.am
index be70999..ac24137 100644
--- a/shell/Makefile.am
+++ b/shell/Makefile.am
@@ -45,8 +45,6 @@ evince_SOURCES= \
ev-properties-fonts.h \
ev-properties-license.c \
ev-properties-license.h \
- ev-open-recent-action.c \
- ev-open-recent-action.h \
ev-recent-view.c \
ev-recent-view.h \
ev-toolbar.c \
diff --git a/shell/ev-window.c b/shell/ev-window.c
index c18291e..aa0a68a 100644
--- a/shell/ev-window.c
+++ b/shell/ev-window.c
@@ -63,7 +63,6 @@
#include "ev-loading-message.h"
#include "ev-message-area.h"
#include "ev-metadata.h"
-#include "ev-open-recent-action.h"
#include "ev-page-action.h"
#include "ev-history-action.h"
#include "ev-password-view.h"
@@ -5992,18 +5991,6 @@ register_custom_actions (EvWindow *window, GtkActionGroup *group)
window->priv->history);
gtk_action_group_add_action (group, action);
g_object_unref (action);
-
- action = g_object_new (EV_TYPE_OPEN_RECENT_ACTION,
- "name", "FileOpenRecent",
- "label", _("_Open…"),
- "tooltip", _("Open an existing document"),
- "stock_id", GTK_STOCK_OPEN,
- NULL);
- g_signal_connect (action, "activate",
- G_CALLBACK (ev_window_cmd_file_open), window);
-
- gtk_action_group_add_action (group, action);
- g_object_unref (action);
}
static void
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]