aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorCosimo Cecchi <cosimoc@src.gnome.org>2007-12-19 06:50:00 +0800
committerCosimo Cecchi <cosimoc@src.gnome.org>2007-12-19 06:50:00 +0800
commit0bc6ffc2af135696f6c83f995f3a32c863cb0a7a (patch)
treeb51d709619c0b332a0326257b01ba44d7c0c0239 /src
parent673feea53e857516a0e77ab2eefe21aba98708e0 (diff)
downloadgsoc2013-epiphany-0bc6ffc2af135696f6c83f995f3a32c863cb0a7a.tar
gsoc2013-epiphany-0bc6ffc2af135696f6c83f995f3a32c863cb0a7a.tar.gz
gsoc2013-epiphany-0bc6ffc2af135696f6c83f995f3a32c863cb0a7a.tar.bz2
gsoc2013-epiphany-0bc6ffc2af135696f6c83f995f3a32c863cb0a7a.tar.lz
gsoc2013-epiphany-0bc6ffc2af135696f6c83f995f3a32c863cb0a7a.tar.xz
gsoc2013-epiphany-0bc6ffc2af135696f6c83f995f3a32c863cb0a7a.tar.zst
gsoc2013-epiphany-0bc6ffc2af135696f6c83f995f3a32c863cb0a7a.zip
Hide the Toolbar Editor, if active, when switching to Fullscreen mode.
Bug #163762. svn path=/trunk/; revision=7789
Diffstat (limited to 'src')
-rw-r--r--src/window-commands.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/window-commands.c b/src/window-commands.c
index 4ad935c17..fb7438e58 100644
--- a/src/window-commands.c
+++ b/src/window-commands.c
@@ -519,6 +519,17 @@ window_cmd_view_fullscreen (GtkAction *action,
if (gtk_toggle_action_get_active (GTK_TOGGLE_ACTION (action)))
{
+ GtkWidget *toolbar_editor;
+ toolbar_editor = GTK_WIDGET (g_object_get_data (G_OBJECT (window),
+ "EphyToolbarEditor"));
+ if (toolbar_editor != NULL)
+ {
+ /* We don't want the toolbar editor to show
+ * while in fullscreen.
+ */
+ gtk_dialog_response (GTK_DIALOG (toolbar_editor),
+ GTK_RESPONSE_DELETE_EVENT);
+ }
gtk_window_fullscreen (GTK_WINDOW (window));
}
else