From dfd5773f2822af13afb5c8fea3ebd0491bca97da Mon Sep 17 00:00:00 2001 From: mitchell <70453897+667e-11@users.noreply.github.com> Date: Sun, 25 Jan 2009 20:01:35 -0500 Subject: 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. --- src/textadept.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/textadept.c') 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); -- cgit v1.2.3