aboutsummaryrefslogtreecommitdiffstats
path: root/src/ephy-session.c
diff options
context:
space:
mode:
authorXan Lopez <xan@igalia.com>2012-12-10 19:06:14 +0800
committerXan Lopez <xan@igalia.com>2012-12-10 19:06:14 +0800
commitc6252fe89f3c12604f8e71c2cb748e03a5d458fc (patch)
tree0bb47b2df31d62447ac1215d921bc29d82c6d026 /src/ephy-session.c
parentfe170e228b9d8198a78a19acf21dd9ac3cb8416a (diff)
downloadgsoc2013-epiphany-c6252fe89f3c12604f8e71c2cb748e03a5d458fc.tar
gsoc2013-epiphany-c6252fe89f3c12604f8e71c2cb748e03a5d458fc.tar.gz
gsoc2013-epiphany-c6252fe89f3c12604f8e71c2cb748e03a5d458fc.tar.bz2
gsoc2013-epiphany-c6252fe89f3c12604f8e71c2cb748e03a5d458fc.tar.lz
gsoc2013-epiphany-c6252fe89f3c12604f8e71c2cb748e03a5d458fc.tar.xz
gsoc2013-epiphany-c6252fe89f3c12604f8e71c2cb748e03a5d458fc.tar.zst
gsoc2013-epiphany-c6252fe89f3c12604f8e71c2cb748e03a5d458fc.zip
Remove option to launch Web as the bookmarks editor
That thing is on its way out.
Diffstat (limited to 'src/ephy-session.c')
-rw-r--r--src/ephy-session.c16
1 files changed, 0 insertions, 16 deletions
diff --git a/src/ephy-session.c b/src/ephy-session.c
index 8bbfad49a..a8a97d83e 100644
--- a/src/ephy-session.c
+++ b/src/ephy-session.c
@@ -24,7 +24,6 @@
#include "ephy-session.h"
#include "ephy-about-handler.h"
-#include "ephy-bookmarks-editor.h"
#include "ephy-debug.h"
#include "ephy-embed-container.h"
#include "ephy-embed-utils.h"
@@ -246,17 +245,6 @@ session_command_autoresume (EphySession *session,
}
static void
-session_command_open_bookmarks_editor (EphySession *session,
- guint32 user_time)
-{
- GtkWidget *editor;
-
- editor = ephy_shell_get_bookmarks_editor (ephy_shell_get_default ());
-
- gtk_window_present_with_time (GTK_WINDOW (editor), user_time);
-}
-
-static void
session_command_open_uris (EphySession *session,
char **uris,
const char *options,
@@ -357,9 +345,6 @@ session_command_dispatch (EphySession *session)
case EPHY_SESSION_CMD_LOAD_SESSION:
ephy_session_load (session, cmd->arg, cmd->user_time);
break;
- case EPHY_SESSION_CMD_OPEN_BOOKMARKS_EDITOR:
- session_command_open_bookmarks_editor (session, cmd->user_time);
- break;
case EPHY_SESSION_CMD_OPEN_URIS:
session_command_open_uris (session, cmd->args, cmd->arg, cmd->user_time);
break;
@@ -1084,7 +1069,6 @@ ephy_session_queue_command (EphySession *session,
if ((command == EPHY_SESSION_CMD_LOAD_SESSION &&
strcmp (cmd->arg, arg) == 0) ||
- command == EPHY_SESSION_CMD_OPEN_BOOKMARKS_EDITOR ||
command == EPHY_SESSION_CMD_RESUME_SESSION)
{
cmd->user_time = user_time;