diff options
author | hiro <hiro@ee746299-78ed-0310-b773-934348b2243d> | 2006-10-12 08:30:36 +0000 |
---|---|---|
committer | hiro <hiro@ee746299-78ed-0310-b773-934348b2243d> | 2006-10-12 08:30:36 +0000 |
commit | bf8d4908c53ee2362de608ad2392b9fd505dfeaa (patch) | |
tree | e3343c3142025d31fb6ab5e051a8475d3ffbd7a6 /src | |
parent | 5946254836d7ac4156e19913f90ec983a8394941 (diff) |
modified UI layout.
git-svn-id: svn://sylpheed.sraoss.jp/sylpheed/trunk@1227 ee746299-78ed-0310-b773-934348b2243d
Diffstat (limited to 'src')
-rw-r--r-- | src/mainwindow.c | 1 | ||||
-rw-r--r-- | src/messageview.c | 6 |
2 files changed, 6 insertions, 1 deletions
diff --git a/src/mainwindow.c b/src/mainwindow.c index 028e6b4a..bf9da7e3 100644 --- a/src/mainwindow.c +++ b/src/mainwindow.c @@ -939,6 +939,7 @@ 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); + gtk_widget_set_size_request(online_switch, 32, 18); gtk_container_add(GTK_CONTAINER(online_switch), online_hbox); g_signal_connect(G_OBJECT(online_switch), "clicked", G_CALLBACK(online_switch_clicked), mainwin); diff --git a/src/messageview.c b/src/messageview.c index 079599ab..872a72ab 100644 --- a/src/messageview.c +++ b/src/messageview.c @@ -374,6 +374,7 @@ MessageView *messageview_create_with_new_window(void) GtkWidget *window; GtkWidget *window_vbox; GtkWidget *body_vbox; + GtkWidget *vspacer; GtkWidget *menubar; GtkItemFactory *ifactory; GtkWidget *statusbar; @@ -408,8 +409,11 @@ MessageView *messageview_create_with_new_window(void) #endif gtk_box_pack_start(GTK_BOX(window_vbox), menubar, FALSE, TRUE, 0); + vspacer = gtk_vbox_new(FALSE, 0); + gtk_box_pack_start(GTK_BOX(window_vbox), vspacer, FALSE, TRUE, + BORDER_WIDTH); + body_vbox = gtk_vbox_new(FALSE, BORDER_WIDTH); - gtk_container_set_border_width(GTK_CONTAINER(body_vbox), BORDER_WIDTH); gtk_box_pack_start(GTK_BOX(window_vbox), body_vbox, TRUE, TRUE, 0); gtk_box_pack_start(GTK_BOX(body_vbox), GTK_WIDGET_PTR(msgview), |