diff options
author | Christian Persch <chpe@src.gnome.org> | 2007-10-28 22:06:02 +0800 |
---|---|---|
committer | Christian Persch <chpe@src.gnome.org> | 2007-10-28 22:06:02 +0800 |
commit | 7a8d61ebfd3e23715395e6e5955aabc7812c504e (patch) | |
tree | b5adff1a061fec80711daf079260281e469ec83b /src | |
parent | bf46efe23435f5892ddd58b76168e11e3de49834 (diff) | |
download | gsoc2013-epiphany-7a8d61ebfd3e23715395e6e5955aabc7812c504e.tar gsoc2013-epiphany-7a8d61ebfd3e23715395e6e5955aabc7812c504e.tar.gz gsoc2013-epiphany-7a8d61ebfd3e23715395e6e5955aabc7812c504e.tar.bz2 gsoc2013-epiphany-7a8d61ebfd3e23715395e6e5955aabc7812c504e.tar.lz gsoc2013-epiphany-7a8d61ebfd3e23715395e6e5955aabc7812c504e.tar.xz gsoc2013-epiphany-7a8d61ebfd3e23715395e6e5955aabc7812c504e.tar.zst gsoc2013-epiphany-7a8d61ebfd3e23715395e6e5955aabc7812c504e.zip |
Remove EphyTab
svn path=/trunk/; revision=7600
Diffstat (limited to 'src')
-rw-r--r-- | src/popup-commands.c | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/src/popup-commands.c b/src/popup-commands.c index dc6543e8f..45eb6a88b 100644 --- a/src/popup-commands.c +++ b/src/popup-commands.c @@ -44,17 +44,17 @@ popup_cmd_link_in_new_window (GtkAction *action, EphyWindow *window) { EphyEmbedEvent *event; - EphyTab *tab; + EphyEmbed *embed; const GValue *value; - tab = ephy_window_get_active_tab (window); + embed = ephy_window_get_active_tab (window); event = ephy_window_get_context_event (window); g_return_if_fail (event != NULL); value = ephy_embed_event_get_property (event, "link"); - ephy_shell_new_tab (ephy_shell, NULL, tab, + ephy_shell_new_tab (ephy_shell, NULL, embed, g_value_get_string (value), EPHY_NEW_TAB_OPEN_PAGE | EPHY_NEW_TAB_IN_NEW_WINDOW); @@ -65,17 +65,17 @@ popup_cmd_link_in_new_tab (GtkAction *action, EphyWindow *window) { EphyEmbedEvent *event; - EphyTab *tab; + EphyEmbed *embed; const GValue *value; - tab = ephy_window_get_active_tab (window); + embed = ephy_window_get_active_tab (window); event = ephy_window_get_context_event (window); g_return_if_fail (event != NULL); value = ephy_embed_event_get_property (event, "link"); - ephy_shell_new_tab (ephy_shell, window, tab, + ephy_shell_new_tab (ephy_shell, window, embed, g_value_get_string (value), EPHY_NEW_TAB_OPEN_PAGE | EPHY_NEW_TAB_IN_EXISTING_WINDOW); @@ -204,7 +204,7 @@ save_property_url (GtkAction *action, event = ephy_window_get_context_event (window); g_return_if_fail (event != NULL); - embed = ephy_window_get_active_embed (window); + embed = ephy_window_get_active_tab (window); g_return_if_fail (embed != NULL); value = ephy_embed_event_get_property (event, property); @@ -239,7 +239,7 @@ popup_cmd_open_link (GtkAction *action, const GValue *value; EphyEmbed *embed; - embed = ephy_window_get_active_embed (window); + embed = ephy_window_get_active_tab (window); g_return_if_fail (embed != NULL); event = ephy_window_get_context_event (window); @@ -314,7 +314,7 @@ popup_cmd_set_image_as_background (GtkAction *action, event = ephy_window_get_context_event (window); g_return_if_fail (event != NULL); - embed = ephy_window_get_active_embed (window); + embed = ephy_window_get_active_tab (window); g_return_if_fail (embed != NULL); value = ephy_embed_event_get_property (event, "image"); @@ -364,7 +364,7 @@ popup_cmd_open_frame (GtkAction *action, char *location; EphyEmbed *embed; - embed = ephy_window_get_active_embed (window); + embed = ephy_window_get_active_tab (window); g_return_if_fail (embed != NULL); location = ephy_embed_get_location (embed, FALSE); @@ -468,7 +468,7 @@ popup_cmd_open_image (GtkAction *action, event = ephy_window_get_context_event (window); g_return_if_fail (event != NULL); - embed = ephy_window_get_active_embed (window); + embed = ephy_window_get_active_tab (window); g_return_if_fail (embed != NULL); value = ephy_embed_event_get_property (event, "image"); |