[Xfce4-commits] [apps/xfce4-terminal] 01/01: Make Preferences Help button work in standalone mode

noreply at xfce.org noreply at xfce.org
Mon Apr 16 23:27:54 CEST 2018


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

f   2   4   0   4       p   u   s   h   e   d       a       c   o   m   m   i   t       t   o       b   r   a   n   c   h       m   a   s   t   e   r   
   in repository apps/xfce4-terminal.

commit c8a2c28e558b729555e605b9fa67c0fd70fcc1ed
Author: Igor <f2404 at yandex.ru>
Date:   Mon Apr 16 17:27:41 2018 -0400

    Make Preferences Help button work in standalone mode
---
 terminal/main.c | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/terminal/main.c b/terminal/main.c
index ec544a3..4038a30 100644
--- a/terminal/main.c
+++ b/terminal/main.c
@@ -229,7 +229,10 @@ main (int argc, char **argv)
       GtkWidget *dialog;
       gtk_init (&argc, &argv);
       dialog = terminal_preferences_dialog_new (TRUE, FALSE);
-      gtk_dialog_run (GTK_DIALOG (dialog));
+      g_signal_connect_after (G_OBJECT (dialog), "destroy",
+          G_CALLBACK (gtk_main_quit), NULL);
+      gtk_window_present (GTK_WINDOW (dialog));
+      gtk_main ();
       return EXIT_SUCCESS;
     }
 

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Xfce4-commits mailing list