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/ephy-shell.h | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'src/ephy-shell.h') diff --git a/src/ephy-shell.h b/src/ephy-shell.h index 9bc1fe06d..84b86d340 100644 --- a/src/ephy-shell.h +++ b/src/ephy-shell.h @@ -112,6 +112,7 @@ EphyShell *ephy_shell_new (void); gboolean ephy_shell_startup (EphyShell *shell, EphyShellStartupFlags flags, + guint32 user_time, const char **args, const char *string_arg, GError **error); @@ -122,6 +123,13 @@ EphyTab *ephy_shell_new_tab (EphyShell *shell, const char *url, EphyNewTabFlags flags); +EphyTab *ephy_shell_new_tab_full (EphyShell *shell, + EphyWindow *parent_window, + EphyTab *previous_tab, + const char *url, + EphyNewTabFlags flags, + guint32 user_time); + GObject *ephy_shell_get_session (EphyShell *shell); EphyBookmarks *ephy_shell_get_bookmarks (EphyShell *shell); -- cgit v1.2.3