From 99d3fa783dd81b0dbe7cec53a63a66e87fac6e27 Mon Sep 17 00:00:00 2001 From: Andy Spencer Date: Sun, 16 May 2010 23:05:48 +0000 Subject: [PATCH] (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. --- src/plugins/radar.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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) { -- 2.43.2