[gimp] Revert "app: force the action search dialog above its parent window..."
- From: Michael Henning <mhenning src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp] Revert "app: force the action search dialog above its parent window..."
- Date: Wed, 1 Apr 2015 17:53:53 +0000 (UTC)
commit 7f67c431b7bc345b1441818df5f31f64662975d4
Author: Michael Henning <drawoc darkrefraction com>
Date: Wed Apr 1 13:52:02 2015 -0400
Revert "app: force the action search dialog above its parent window..."
That commit causes crashes on Windows and OSX (and likely anything
that isn't X11).
This reverts commit 23de02b8c2985b8b0f6c10832ce0ab2a22573919.
app/dialogs/action-search-dialog.c | 13 -------------
1 files changed, 0 insertions(+), 13 deletions(-)
---
diff --git a/app/dialogs/action-search-dialog.c b/app/dialogs/action-search-dialog.c
index b0881f0..17a6ad7 100644
--- a/app/dialogs/action-search-dialog.c
+++ b/app/dialogs/action-search-dialog.c
@@ -123,10 +123,6 @@ action_search_dialog_create (Gimp *gimp)
if (! private)
{
GtkWidget *action_search_dialog = gtk_window_new (GTK_WINDOW_TOPLEVEL);
- GdkScreen *screen = gdk_screen_get_default ();
- GdkWindow *gdk_parent = gdk_screen_get_active_window (screen);
- gpointer parent_widget;
- GtkWindow *parent;
GtkWidget *main_vbox;
private = g_slice_new0 (SearchDialog);
@@ -140,15 +136,6 @@ action_search_dialog_create (Gimp *gimp)
"gimp-action-search-dialog");
gtk_window_set_title (GTK_WINDOW (action_search_dialog),
_("Search Actions"));
- gtk_window_set_modal (GTK_WINDOW (action_search_dialog), TRUE);
- /* The user data for a GdkWindow is its associated widget. */
- gdk_window_get_user_data (gdk_parent, &parent_widget);
- parent = GTK_WINDOW(gtk_widget_get_toplevel (GTK_WIDGET (parent_widget)));
- /* NOTE: gtk_window_set_keep_above() would be easier but would render
- * the search dialog above any windows, even non-GIMP related, which
- * some early testers found annoying.
- * Setting it transient forces it above a single parent instead. */
- gtk_window_set_transient_for (GTK_WINDOW (action_search_dialog), parent);
main_vbox = gtk_box_new (GTK_ORIENTATION_VERTICAL, 2);
gtk_container_add (GTK_CONTAINER (action_search_dialog), main_vbox);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]