aboutsummaryrefslogtreecommitdiffstats
path: root/src/ephy-window.c
diff options
context:
space:
mode:
authorMarco Pesenti Gritti <marco@it.gnome.org>2003-04-05 22:50:05 +0800
committerMarco Pesenti Gritti <mpeseng@src.gnome.org>2003-04-05 22:50:05 +0800
commit86fe205bedd65bbc15d6f2bcbbabeb8cf7e9582d (patch)
treebdcd9d0909a1fe35f02b3a5a76b147f7cb15cb88 /src/ephy-window.c
parentb3b66a73fca6da255a313862b68a147ec7fcf707 (diff)
downloadgsoc2013-epiphany-86fe205bedd65bbc15d6f2bcbbabeb8cf7e9582d.tar
gsoc2013-epiphany-86fe205bedd65bbc15d6f2bcbbabeb8cf7e9582d.tar.gz
gsoc2013-epiphany-86fe205bedd65bbc15d6f2bcbbabeb8cf7e9582d.tar.bz2
gsoc2013-epiphany-86fe205bedd65bbc15d6f2bcbbabeb8cf7e9582d.tar.lz
gsoc2013-epiphany-86fe205bedd65bbc15d6f2bcbbabeb8cf7e9582d.tar.xz
gsoc2013-epiphany-86fe205bedd65bbc15d6f2bcbbabeb8cf7e9582d.tar.zst
gsoc2013-epiphany-86fe205bedd65bbc15d6f2bcbbabeb8cf7e9582d.zip
Rewrite sensitivity code. Should take in account focus now.
2003-04-05 Marco Pesenti Gritti <marco@it.gnome.org> * src/bookmarks/ephy-bookmarks-editor.c: (ephy_bookmarks_editor_update_menu), (ephy_bookmarks_editor_node_selected_cb), (view_focus_cb), (keyword_node_selected_cb), (build_search_box), (ephy_bookmarks_editor_construct), (ephy_bookmarks_editor_init): * src/bookmarks/ephy-bookmarks.c: (ephy_bookmarks_add_keyword): * src/bookmarks/ephy-node-view.c: (ephy_node_view_has_selection): * src/bookmarks/ephy-node-view.h: Rewrite sensitivity code. Should take in account focus now. * src/ephy-window.c: (ephy_window_show): Remove some unused code.
Diffstat (limited to 'src/ephy-window.c')
-rw-r--r--src/ephy-window.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/ephy-window.c b/src/ephy-window.c
index e5dfa26d4..457c4bd8b 100644
--- a/src/ephy-window.c
+++ b/src/ephy-window.c
@@ -923,17 +923,12 @@ void
ephy_window_show (GtkWidget *widget)
{
EphyWindow *window = EPHY_WINDOW(widget);
- EphyTab *tab;
- int w = -1, h = -1;
if (!window->priv->chrome_mask)
{
ephy_window_set_chrome (window, EMBED_CHROME_DEFAULT);
}
- tab = ephy_window_get_active_tab (window);
- if (tab) ephy_tab_get_size (tab, &w, &h);
-
if (!(window->priv->chrome_mask & EMBED_CHROME_OPENASPOPUP) &&
!(window->priv->chrome_mask & EMBED_CHROME_OPENASFULLSCREEN) &&
!GTK_WIDGET_VISIBLE (widget))