This is an automated email from the git hooks/post-receive script.

f2404 pushed a commit to branch master
in repository apps/xfce4-terminal.

commit dcd840ab0c7b372037a3f803bdb156ce8928b02a
Author: Igor <[email protected]>
Date:   Sat Jun 25 12:51:44 2016 +0300

    Keep the preferences dialog above other windows only in drop-down mode
---
 terminal/terminal-window.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/terminal/terminal-window.c b/terminal/terminal-window.c
index 4011a04..c5e6a70 100644
--- a/terminal/terminal-window.c
+++ b/terminal/terminal-window.c
@@ -1386,7 +1386,8 @@ terminal_window_action_prefs (GtkAction      *action,
   if (window->preferences_dialog != NULL)
     {
       gtk_window_set_transient_for (GTK_WINDOW (window->preferences_dialog), 
GTK_WINDOW (window));
-      gtk_window_set_keep_above (GTK_WINDOW (window->preferences_dialog), 
TRUE);
+      if (window->drop_down)
+        gtk_window_set_keep_above (GTK_WINDOW (window->preferences_dialog), 
TRUE);
       gtk_window_present (GTK_WINDOW (window->preferences_dialog));
     }
 }

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.
_______________________________________________
Xfce4-commits mailing list
[email protected]
https://mail.xfce.org/mailman/listinfo/xfce4-commits

Reply via email to