[Xfce4-commits] [apps/xfce4-terminal] 01/01: Keep the preferences dialog above other windows only in drop-down mode

noreply at xfce.org noreply at xfce.org
Sat Jun 25 11:51:48 CEST 2016


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 <f2404 at yandex.ru>
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.


More information about the Xfce4-commits mailing list