[rhythmbox] shell: fix window unmaximize behavior

commit 09f835576b1778bb4c74ec9c23b29917066bcc31
Author: Lionel Landwerlin <llandwerlin gmail com>
Date:   Thu May 16 02:50:14 2013 +0100

    shell: fix window unmaximize behavior
    When double clicking the title bar of the maximized main window, the
    window is unmaximized and then instantaneously remaximized.
    This is because at the end of rb_shell_window_state_cb() we call
    rb_shell_sync_window_state() which read the window size saved values
    from GSettings and reapplies them to the window. But because the
    window was previously maximized, and the ConfigureNotify event hasn't
    happen yet, the saved values are the ones from the maximized state.

 shell/rb-shell.c |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)
diff --git a/shell/rb-shell.c b/shell/rb-shell.c
index 6048c79..0aed646 100644
--- a/shell/rb-shell.c
+++ b/shell/rb-shell.c
@@ -1786,7 +1786,6 @@ rb_shell_window_state_cb (GtkWidget *widget,
-               rb_shell_sync_window_state (shell, TRUE);
                rb_shell_sync_paned (shell);

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]