[epiphany/overview: 22/30] ephy-window: make default actions unsensitive when showing the overview



commit d539814eece7cf428ed41807c0b9eb96ad1eac58
Author: Claudio Saavedra <csaavedra igalia com>
Date:   Wed May 9 19:14:17 2012 +0300

    ephy-window: make default actions unsensitive when showing the overview

 src/ephy-window.c |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)
---
diff --git a/src/ephy-window.c b/src/ephy-window.c
index faa2330..2584bbf 100644
--- a/src/ephy-window.c
+++ b/src/ephy-window.c
@@ -379,7 +379,8 @@ enum
 	SENS_FLAG_DOCUMENT	= 1 << 2,
 	SENS_FLAG_LOADING	= 1 << 3,
 	SENS_FLAG_NAVIGATION	= 1 << 4,
-	SENS_FLAG_IS_BLANK	= 1 << 5
+	SENS_FLAG_IS_BLANK	= 1 << 5,
+	SENS_FLAG_OVERVIEW      = 1 << 6
 };
 
 static GtkWidget *
@@ -3865,6 +3866,7 @@ ephy_window_toggle_overview (EphyWindow *window, gboolean overview_mode)
 		gtk_widget_hide (window->priv->overview);
 		gtk_widget_show (GTK_WIDGET (window->priv->notebook));
 	}
+	_ephy_window_set_default_actions_sensitive (window, SENS_FLAG_OVERVIEW, overview_mode);
 }
 
 void



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]