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



commit 7f59689d6966b88c68f998b34be4a19ffca300d2
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 4fa36cc..54d29dd 100644
--- a/src/ephy-window.c
+++ b/src/ephy-window.c
@@ -383,7 +383,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 *
@@ -4101,6 +4102,7 @@ ephy_window_toggle_overview (EphyWindow *window, gboolean overview_mode)
 	} else {
 		ephy_window_connect_active_embed (window);
 	}
+	_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]