diff options
author | Xan Lopez <xan@src.gnome.org> | 2003-04-09 07:13:37 +0800 |
---|---|---|
committer | Xan Lopez <xan@src.gnome.org> | 2003-04-09 07:13:37 +0800 |
commit | 6869072199d751b46f6f7757aee792a9f0eca7fe (patch) | |
tree | c693ac5274c53a931337a1df812a32a2fb50336f /src/ephy-main.c | |
parent | b934ed62cfeb93b86c0f655eff39ff0de63ef7df (diff) | |
download | gsoc2013-epiphany-6869072199d751b46f6f7757aee792a9f0eca7fe.tar gsoc2013-epiphany-6869072199d751b46f6f7757aee792a9f0eca7fe.tar.gz gsoc2013-epiphany-6869072199d751b46f6f7757aee792a9f0eca7fe.tar.bz2 gsoc2013-epiphany-6869072199d751b46f6f7757aee792a9f0eca7fe.tar.lz gsoc2013-epiphany-6869072199d751b46f6f7757aee792a9f0eca7fe.tar.xz gsoc2013-epiphany-6869072199d751b46f6f7757aee792a9f0eca7fe.tar.zst gsoc2013-epiphany-6869072199d751b46f6f7757aee792a9f0eca7fe.zip |
Allow to launch the BME alone, rework some CORBA code, add a .desktop file
Allow to launch the BME alone, rework some CORBA code, add a .desktop
file for the BME. Fixes #102477.
Diffstat (limited to 'src/ephy-main.c')
-rw-r--r-- | src/ephy-main.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/ephy-main.c b/src/ephy-main.c index 8408354e4..e14c4abf3 100644 --- a/src/ephy-main.c +++ b/src/ephy-main.c @@ -55,6 +55,7 @@ static gchar *bookmark_url = NULL; /* the temp bookmark to add static gboolean close_option = FALSE; /* --close */ static gboolean quit_option = FALSE; /* --quit */ static gboolean ephy_server_mode = FALSE; +static gboolean open_as_bookmarks_editor = FALSE; /* --bookmarks-editor */ static gboolean open_as_nautilus_view = FALSE; static BonoboObject *automation_object; @@ -105,6 +106,9 @@ static struct poptOption popt_options[] = { "nautilus-view", 'v', POPT_ARG_NONE, &open_as_nautilus_view, 0, N_("Used internally by the nautilus view"), NULL }, + { "bookmarks-editor", 'b', POPT_ARG_NONE, &open_as_bookmarks_editor, 0, + N_("Launch the bookmarks editor"), + NULL }, /* terminator, must be last */ { NULL, 0, 0, NULL, 0, NULL, NULL } @@ -202,6 +206,12 @@ ephy_main_start (gpointer data) { g_object_ref (G_OBJECT(ephy_shell)); } + /* Launch the bookmarks editor */ + else if (open_as_bookmarks_editor) + { + GNOME_EphyAutomation_openBookmarksEditor + (gaserver, &corba_env); + } /* load the session if requested */ else if (session_filename) { |