[gthumb] do not save the window size when closing in fullscreen mode
- From: Paolo Bacchilega <paobac src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gthumb] do not save the window size when closing in fullscreen mode
- Date: Sun, 30 Jun 2013 08:41:39 +0000 (UTC)
commit e27de58d24bd72dc049708ef0974ab8e6cc81610
Author: Paolo Bacchilega <paobac src gnome org>
Date: Fri Jun 28 19:24:47 2013 +0200
do not save the window size when closing in fullscreen mode
gthumb/gth-browser.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gthumb/gth-browser.c b/gthumb/gth-browser.c
index 56dee0f..a46cd5d 100644
--- a/gthumb/gth-browser.c
+++ b/gthumb/gth-browser.c
@@ -2274,7 +2274,7 @@ _gth_browser_close_final_step (gpointer user_data)
state = gdk_window_get_state (gtk_widget_get_window (GTK_WIDGET (browser)));
maximized = (state & GDK_WINDOW_STATE_MAXIMIZED) != 0;
- if (! maximized && gtk_widget_get_visible (GTK_WIDGET (browser))) {
+ if (! maximized && ! browser->priv->fullscreen && gtk_widget_get_visible (GTK_WIDGET
(browser))) {
int width, height;
int size_set = FALSE;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]