diff options
author | 2009-01-25 20:01:35 -0500 | |
---|---|---|
committer | 2009-01-25 20:01:35 -0500 | |
commit | dfd5773f2822af13afb5c8fea3ebd0491bca97da (patch) | |
tree | 6d65d89eb527f9d75831120e5c0f1b9f1cc1198f /src | |
parent | fbbbd83847fa32fc3472e6bcace8a7df2997ffb6 (diff) | |
download | textadept-dfd5773f2822af13afb5c8fea3ebd0491bca97da.tar.gz textadept-dfd5773f2822af13afb5c8fea3ebd0491bca97da.zip |
Fixed some GTK-OSX UI resizing issues caused by the statusbar; src/textadept.c
According to the gtk+ Bugzilla, Mac OSX implements its own resize grip. So the
grip the GtkStatusBar has conflicts with the OSX one and weird stuff happens.
This should be fixed in a later version of the GTK-OSX framework.
Diffstat (limited to 'src')
-rw-r--r-- | src/textadept.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/textadept.c b/src/textadept.c index 00e1d4ff..2ab4091c 100644 --- a/src/textadept.c +++ b/src/textadept.c @@ -212,6 +212,9 @@ void create_ui() { docstatusbar = gtk_statusbar_new(); gtk_statusbar_push(GTK_STATUSBAR(docstatusbar), 0, ""); g_object_set(G_OBJECT(docstatusbar), "width-request", 400, NULL); +#ifdef MAC + gtk_statusbar_set_has_resize_grip(GTK_STATUSBAR(docstatusbar), FALSE); +#endif gtk_box_pack_start(GTK_BOX(hboxs), docstatusbar, FALSE, FALSE, 0); gtk_widget_show_all(window); |