[epiphany/overview: 22/24] ephy-window: make default actions	unsensitive when showing the overview
- From: Claudio Saavedra <csaavedra src gnome org>
 
- To: commits-list gnome org
 
- Cc: 
 
- Subject: [epiphany/overview: 22/24] ephy-window: make default actions	unsensitive when showing the overview
 
- Date: Wed,  9 May 2012 16:28:26 +0000 (UTC)
 
commit b9e72860c3138d221c24a38a6455a02ff38ed0ef
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 292f13b..6828c25 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]