aboutsummaryrefslogtreecommitdiff
path: root/src/mainwindow.c
diff options
context:
space:
mode:
authorhiro <hiro@ee746299-78ed-0310-b773-934348b2243d>2006-10-12 08:47:35 +0000
committerhiro <hiro@ee746299-78ed-0310-b773-934348b2243d>2006-10-12 08:47:35 +0000
commit55692f4e09779ca2e5b898ea328080036d38f9bb (patch)
tree14c20dc840545fa21a22caa2468bb1c9da337290 /src/mainwindow.c
parent6128ee34778a8662d1c693cc288322e92b72904e (diff)
adjusted the size of online button.
git-svn-id: svn://sylpheed.sraoss.jp/sylpheed/trunk@1229 ee746299-78ed-0310-b773-934348b2243d
Diffstat (limited to 'src/mainwindow.c')
-rw-r--r--src/mainwindow.c4
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);