[gthumb/ext: 27/79] remove the hide timeout when exiting fullscreen mode
- From: Paolo Bacchilega <paobac src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [gthumb/ext: 27/79] remove the hide timeout when exiting fullscreen mode
- Date: Sun, 2 Aug 2009 20:26:10 +0000 (UTC)
commit f53dc7020627e0618fbdc9e0a44f007e55a1c7dc
Author: Paolo Bacchilega <paobac src gnome org>
Date: Sun Jun 28 00:17:50 2009 +0200
remove the hide timeout when exiting fullscreen mode
gthumb/gth-browser.c | 8 +++++---
1 files changed, 5 insertions(+), 3 deletions(-)
---
diff --git a/gthumb/gth-browser.c b/gthumb/gth-browser.c
index 574ca54..afd7de6 100644
--- a/gthumb/gth-browser.c
+++ b/gthumb/gth-browser.c
@@ -3927,6 +3927,11 @@ gth_browser_fullscreen (GthBrowser *browser)
void
gth_browser_unfullscreen (GthBrowser *browser)
{
+ if (browser->priv->motion_signal != 0)
+ g_signal_handler_disconnect (browser, browser->priv->motion_signal);
+ if (browser->priv->hide_mouse_timeout != 0)
+ g_source_remove (browser->priv->hide_mouse_timeout);
+
browser->priv->fullscreen = FALSE;
gtk_widget_hide (browser->priv->fullscreen_toolbar);
@@ -3937,7 +3942,4 @@ gth_browser_unfullscreen (GthBrowser *browser)
gth_viewer_page_show_pointer (browser->priv->viewer_page, TRUE);
}
gth_browser_update_sensitivity (browser);
-
- if (browser->priv->motion_signal != 0)
- g_signal_handler_disconnect (browser, browser->priv->motion_signal);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]