[gnome-control-center] background: Make it possible to use gtkparasite with the test



commit 176e8c3057f737503ffa2eb6ac1582d8134faaba
Author: Debarshi Ray <debarshir gnome org>
Date:   Thu Oct 3 11:47:01 2013 +0200

    background: Make it possible to use gtkparasite with the test
    
    The dialog has to be non-modal for us to be able to inspect it with
    gtkparasite.

 panels/background/test-chooser-dialog.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/panels/background/test-chooser-dialog.c b/panels/background/test-chooser-dialog.c
index 3e0f03a..71b4c18 100644
--- a/panels/background/test-chooser-dialog.c
+++ b/panels/background/test-chooser-dialog.c
@@ -27,6 +27,7 @@ int main (int argc, char **argv)
        gtk_init (&argc, &argv);
 
        dialog = cc_background_chooser_dialog_new ();
+       gtk_window_set_modal (GTK_WINDOW (dialog), FALSE);
        g_signal_connect (G_OBJECT (dialog), "response",
                          G_CALLBACK (on_dialog_response), NULL);
        gtk_widget_show_all (dialog);


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