From 3cc751a30e83efeed8fc9707d2069c545aa005c6 Mon Sep 17 00:00:00 2001 From: Christian Persch Date: Tue, 1 Feb 2005 23:42:48 +0000 Subject: Define variants with startup ID. 2005-02-02 Christian Persch * idl/EphyAutomation.idl: Define variants with startup ID. * lib/ephy-gui.c: (ephy_gui_window_update_user_time): * lib/ephy-gui.h: * src/bookmarks/ephy-bookmarks.c: (redirect_cb): * src/ephy-automation.c: (impl_ephy_automation_loadUrlWithStartupId), (impl_ephy_automation_loadurl), (impl_ephy_automation_addBookmark), (impl_ephy_automation_importBookmarks), (impl_ephy_automation_loadSessionWithStartupId), (impl_ephy_automation_loadSession), (impl_ephy_automation_openBookmarksEditorWithStartupId), (impl_ephy_automation_openBookmarksEditor), (ephy_automation_class_init): * src/ephy-main.c: (get_startup_id), (main): * src/ephy-session.c: (offer_to_resume), (ephy_session_autoresume), (ephy_session_load): * src/ephy-session.h: * src/ephy-shell.c: (open_urls), (ephy_shell_startup), (ephy_shell_new_tab_full), (ephy_shell_new_tab): * src/ephy-shell.h: Implement startup ID forwarding to the already-running ephy instance. Part of bug #150085. --- src/bookmarks/ephy-bookmarks.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/bookmarks') diff --git a/src/bookmarks/ephy-bookmarks.c b/src/bookmarks/ephy-bookmarks.c index b7c4e4993..0043d845a 100644 --- a/src/bookmarks/ephy-bookmarks.c +++ b/src/bookmarks/ephy-bookmarks.c @@ -564,6 +564,9 @@ redirect_cb (EphyHistory *history, (EphyNodeCallback) update_bookmark_destroy_cb, G_OBJECT (dialog)); + /* this dialogue is unexpected */ + gtk_window_set_focus_on_map (GTK_WINDOW (dialog), FALSE); + gtk_window_present (GTK_WINDOW (dialog)); } -- cgit