[gnome-applets/wip/muktupavels/async-command: 3/4] command: do not create modal dialog



commit 577c9afb6e5d04c8fdad3e2dfe178c3f36ac8c51
Author: Alberts Muktupāvels <alberts muktupavels gmail com>
Date:   Mon Mar 23 21:37:32 2020 +0200

    command: do not create modal dialog
    
    It prevents using panel while it is open!

 command/src/command.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/command/src/command.c b/command/src/command.c
index eb035e5f4..95e5c11ae 100644
--- a/command/src/command.c
+++ b/command/src/command.c
@@ -139,7 +139,7 @@ command_settings_callback (GSimpleAction *action, GVariant *parameter, gpointer
 
     dialog = GTK_DIALOG (gtk_dialog_new_with_buttons(_("Command Applet Preferences"),
                                                      NULL,
-                                                     GTK_DIALOG_MODAL,
+                                                     0,
                                                      _("_Close"),
                                                      GTK_RESPONSE_CLOSE,
                                                      NULL));


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