aboutsummaryrefslogtreecommitdiffstats
path: root/src/ephy-shell.c
diff options
context:
space:
mode:
authorMarco Pesenti Gritti <marco@it.gnome.org>2003-04-30 03:08:25 +0800
committerMarco Pesenti Gritti <mpeseng@src.gnome.org>2003-04-30 03:08:25 +0800
commitb4df6c7d7c84610ecb9808103f7e411d75dfbae2 (patch)
treed3b4707e9e730034e26429a314c6916281a39e9a /src/ephy-shell.c
parentdb1b85b940e4ea707c0fadda76ba79ddec8f697b (diff)
downloadgsoc2013-epiphany-b4df6c7d7c84610ecb9808103f7e411d75dfbae2.tar
gsoc2013-epiphany-b4df6c7d7c84610ecb9808103f7e411d75dfbae2.tar.gz
gsoc2013-epiphany-b4df6c7d7c84610ecb9808103f7e411d75dfbae2.tar.bz2
gsoc2013-epiphany-b4df6c7d7c84610ecb9808103f7e411d75dfbae2.tar.lz
gsoc2013-epiphany-b4df6c7d7c84610ecb9808103f7e411d75dfbae2.tar.xz
gsoc2013-epiphany-b4df6c7d7c84610ecb9808103f7e411d75dfbae2.tar.zst
gsoc2013-epiphany-b4df6c7d7c84610ecb9808103f7e411d75dfbae2.zip
We dont need a _remove api, unrefing the node will work better. Try to
2003-04-29 Marco Pesenti Gritti <marco@it.gnome.org> * embed/ephy-history.c: (remove_obsolete_pages), (pages_removed_cb), (ephy_history_get_last_page): * embed/ephy-history.h: We dont need a _remove api, unrefing the node will work better. Try to remove the host when it's empty. It still doesnt work properly, prolly EphyNode bug. * src/bookmarks/ephy-bookmark-properties.c: (ephy_bookmark_properties_get_node): * src/bookmarks/ephy-bookmark-properties.h: * src/bookmarks/ephy-bookmarks-editor.c: (prop_dialog_destroy_cb), (show_properties_dialog), (cmd_bookmark_properties), (ephy_bookmarks_editor_finalize), (ephy_bookmarks_editor_init): Do not open more than one dialog per node, just present it. Picky picky Dave. * src/ephy-automation.c: (impl_ephy_automation_loadurl): * src/ephy-shell.c: (ephy_shell_new_tab): Ever present the window when opening windows through automation.
Diffstat (limited to 'src/ephy-shell.c')
-rw-r--r--src/ephy-shell.c12
1 files changed, 10 insertions, 2 deletions
diff --git a/src/ephy-shell.c b/src/ephy-shell.c
index 04ac7eb6e..51b53c7d6 100644
--- a/src/ephy-shell.c
+++ b/src/ephy-shell.c
@@ -521,14 +521,22 @@ ephy_shell_new_tab (EphyShell *shell,
{
grouped = TRUE;
}
-
+
tab = ephy_tab_new ();
embed = ephy_tab_get_embed (tab);
gtk_widget_show (GTK_WIDGET(embed));
ephy_window_add_tab (window, tab,
grouped,
jump_to);
- gtk_widget_show (GTK_WIDGET(window));
+
+ if (flags & EPHY_NEW_TAB_RAISE_WINDOW)
+ {
+ gtk_window_present (GTK_WINDOW(window));
+ }
+ else
+ {
+ gtk_widget_show (GTK_WIDGET(window));
+ }
if (flags & EPHY_NEW_TAB_HOMEPAGE)
{