[epiphany/overview: 17/26] 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: 17/26] ephy-window: make default actions unsensitive when showing the overview
- Date: Tue, 17 Jul 2012 10:37:10 +0000 (UTC)
commit dfe55cf632bdcafff843274be8603861f8e4caf3
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 81d0380..3e25592 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 *
@@ -4095,6 +4096,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]