From: Andy Spencer Date: Sun, 16 May 2010 23:05:48 +0000 (+0000) Subject: (Re)Add a workaround for tab positions on Win32 X-Git-Tag: v0.4.1~3 X-Git-Url: http://pileus.org/git/?p=aweather;a=commitdiff_plain;h=99d3fa783dd81b0dbe7cec53a63a66e87fac6e27 (Re)Add a workaround for tab positions on Win32 For some reason some installations of Windows cannot set the radar tabs to be on th left. This appeared to be fixed with Gtk 2.20, but apparently it only fixed the issue on some Windows version. --- diff --git a/src/plugins/radar.c b/src/plugins/radar.c index 73d2759..4b86240 100644 --- a/src/plugins/radar.c +++ b/src/plugins/radar.c @@ -702,7 +702,8 @@ static void gis_plugin_radar_init(GisPluginRadar *self) self->sites = g_hash_table_new_full(g_str_hash, g_str_equal, NULL, (GDestroyNotify)radar_site_free); self->config = gtk_notebook_new(); - gtk_notebook_set_tab_pos(GTK_NOTEBOOK(self->config), GTK_POS_LEFT); + /* Need to position on the top because of Win32 bug */ + gtk_notebook_set_tab_pos(GTK_NOTEBOOK(self->config), GTK_POS_BOTTOM); } static void gis_plugin_radar_dispose(GObject *gobject) {