[genius] Wed Dec 21 22:45:28 2016 Jiri (George) Lebl <jirka 5z com>



commit 910a7d2f6799357f32512248218ae8c6a4f9e4eb
Author: Jiri (George) Lebl <jiri lebl gmail com>
Date:   Wed Dec 21 22:45:48 2016 -0600

    Wed Dec 21 22:45:28 2016  Jiri (George) Lebl <jirka 5z com>
    
        * src/gnome-genius.c: do not set parent on the
          dialogs in gel_ask_(buttons|string) functions.  Window managers
          always screw it up, especially if the program uses the graphing
          window as well.

 ChangeLog          |    7 +++++++
 src/gnome-genius.c |    4 ++--
 2 files changed, 9 insertions(+), 2 deletions(-)
---
diff --git a/ChangeLog b/ChangeLog
index 0de3e56..2dc3069 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+Wed Dec 21 22:45:28 2016  Jiri (George) Lebl <jirka 5z com>
+
+       * src/gnome-genius.c: do not set parent on the
+         dialogs in gel_ask_(buttons|string) functions.  Window managers
+         always screw it up, especially if the program uses the graphing
+         window as well.
+
 Tue Dec 20 17:31:08 2016  Jiri (George) Lebl <jirka 5z com>
 
        * NEWS: update
diff --git a/src/gnome-genius.c b/src/gnome-genius.c
index 5d38078..a161658 100644
--- a/src/gnome-genius.c
+++ b/src/gnome-genius.c
@@ -844,7 +844,7 @@ gel_ask_buttons (const char *query, GSList *buttonlist)
 
        d = gtk_dialog_new_with_buttons
                (_("Genius"),
-                GTK_WINDOW (genius_window) /* parent */,
+                NULL /*GTK_WINDOW (genius_window)*/ /* parent */,
                 0 /* flags */,
                 NULL);
 
@@ -889,7 +889,7 @@ gel_ask_string (const char *query, const char *def)
 
        d = gtk_dialog_new_with_buttons
                (_("Genius"),
-                GTK_WINDOW (genius_window) /* parent */,
+                NULL /*GTK_WINDOW (genius_window)*/ /* parent */,
                 0 /* flags */,
                 GTK_STOCK_CANCEL, GTK_RESPONSE_CANCEL,
                 GTK_STOCK_OK, GTK_RESPONSE_OK,


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