summaryrefslogtreecommitdiff
path: root/client/gtk.c
diff options
context:
space:
mode:
authorSamuel Lidén Borell <samuel@slbdata.se>2009-10-11 14:00:51 +0200
committerSamuel Lidén Borell <samuel@slbdata.se>2010-01-02 22:30:12 +0100
commit54ea970f50bfe9f82f3e29b546e14dc77c1990dd (patch)
tree8376ef4cd46aaa1ac835840378bc10078927e124 /client/gtk.c
parent6b017ea4d39f79fea66eadbb37ec1bac1cfbc34c (diff)
downloadfribid-54ea970f50bfe9f82f3e29b546e14dc77c1990dd.tar.gz
fribid-54ea970f50bfe9f82f3e29b546e14dc77c1990dd.tar.bz2
fribid-54ea970f50bfe9f82f3e29b546e14dc77c1990dd.zip
Set the modal hint on the dialog using GTK instead of GDK
Diffstat (limited to 'client/gtk.c')
-rw-r--r--client/gtk.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/client/gtk.c b/client/gtk.c
index b4e82e6..bcb6b4d 100644
--- a/client/gtk.c
+++ b/client/gtk.c
@@ -205,7 +205,6 @@ void platform_startSign(const char *url, const char *hostname, const char *ip,
GdkWindow *ourWindow = GTK_WIDGET(signDialog)->window;
if (ourWindow != NULL) {
gdk_window_set_transient_for(ourWindow, parent);
- gdk_window_set_modal_hint(ourWindow, TRUE);
transientOk = true;
//g_object_unref(G_OBJECT(ourWindow));
}
@@ -220,6 +219,7 @@ void platform_startSign(const char *url, const char *hostname, const char *ip,
platform_setMessage(NULL);
validateDialog(NULL, NULL);
+ gtk_window_set_modal(GTK_WINDOW(signDialog), TRUE);
gtk_widget_show(GTK_WIDGET(signDialog));
}