summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuel Lidén Borell <samuel@kodafritt.se>2014-02-02 18:03:03 +0100
committerSamuel Lidén Borell <samuel@kodafritt.se>2014-02-02 18:03:03 +0100
commit38fc78093e6c2360027d250a6fc37fc7880f7737 (patch)
tree809ea55c4af4c1fe01bf92136823ad57359930b6
parent78905cdd9947e5fae1cc9745032a26e6b714b1f9 (diff)
downloadfribid-38fc78093e6c2360027d250a6fc37fc7880f7737.tar.gz
fribid-38fc78093e6c2360027d250a6fc37fc7880f7737.tar.bz2
fribid-38fc78093e6c2360027d250a6fc37fc7880f7737.zip
Fix window size in recent Firefox versions
-rw-r--r--client/gtk.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/client/gtk.c b/client/gtk.c
index e7a4382..463aabc 100644
--- a/client/gtk.c
+++ b/client/gtk.c
@@ -309,6 +309,8 @@ void platform_startSign(const char *url, const char *hostname, const char *ip,
return;
}
+ activeDialog = signDialog = GTK_DIALOG(gtk_builder_get_object(builder, "dialog_sign"));
+
signButton = GTK_BUTTON(gtk_builder_get_object(builder, "button_sign"));
signButtonLabel = GTK_LABEL(gtk_builder_get_object(builder, "buttonlabel_sign"));
@@ -319,6 +321,7 @@ void platform_startSign(const char *url, const char *hostname, const char *ip,
signLabel = GTK_WIDGET(gtk_builder_get_object(builder, "sign_label"));
signScroller = GTK_WIDGET(gtk_builder_get_object(builder, "sign_scroller"));
signText = GTK_TEXT_VIEW(gtk_builder_get_object(builder, "sign_text"));
+ platform_setMessage(NULL);
// Create a GtkListStore of (displayname, token, filename) tuples
tokens = gtk_list_store_new(3, G_TYPE_STRING, G_TYPE_POINTER, G_TYPE_STRING);
@@ -348,12 +351,9 @@ void platform_startSign(const char *url, const char *hostname, const char *ip,
box = GTK_BOX(gtk_builder_get_object(builder, "vbox1"));
gtk_box_pack_end(box, GTK_WIDGET (info_bar), TRUE, FALSE, 2);
-
- activeDialog = signDialog = GTK_DIALOG(gtk_builder_get_object(builder, "dialog_sign"));
makeDialogTransient(signDialog, parentWindowId);
- platform_setMessage(NULL);
validateDialog(NULL, NULL);
g_signal_connect(G_OBJECT(signDialog), "map-event",