diff options
Diffstat (limited to 'src/mainwindow.c')
-rw-r--r-- | src/mainwindow.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/mainwindow.c b/src/mainwindow.c index 6e5ecc6e..8a64541c 100644 --- a/src/mainwindow.c +++ b/src/mainwindow.c @@ -939,7 +939,11 @@ MainWindow *main_window_create(SeparateType type) online_switch = gtk_button_new(); gtk_button_set_relief(GTK_BUTTON(online_switch), GTK_RELIEF_NONE); GTK_WIDGET_UNSET_FLAGS(online_switch, GTK_CAN_FOCUS); +#ifdef G_OS_WIN32 gtk_widget_set_size_request(online_switch, 34, 18); +#else + gtk_widget_set_size_request(online_switch, 34, 24); +#endif gtk_container_add(GTK_CONTAINER(online_switch), online_hbox); g_signal_connect(G_OBJECT(online_switch), "clicked", G_CALLBACK(online_switch_clicked), mainwin); |