commit c45ba3666d197be9fe93a8858623b6fcabea88cf
parent 4c0932c6a749c27193a044e50c44e72cbff62e51
Author: Ricardo Mones <ricardo@mones.org>
Date: Tue, 7 Apr 2015 21:56:08 +0200
Adjust templates panel of folder properties
Diffstat:
1 file changed, 6 insertions(+), 6 deletions(-)
diff --git a/src/prefs_folder_item.c b/src/prefs_folder_item.c
@@ -1,6 +1,6 @@
/*
- * Sylpheed -- a GTK+ based, lightweight, and fast e-mail client
- * Copyright (C) 1999-2012 Hiroyuki Yamamoto and the Claws Mail team
+ * Claws Mail -- a GTK+ based, lightweight, and fast e-mail client
+ * Copyright (C) 1999-2015 Hiroyuki Yamamoto and the Claws Mail team
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@@ -1394,6 +1394,7 @@ static void prefs_folder_item_templates_create_widget_func(PrefsPage * page_,
page->item = item;
page_vbox = gtk_vbox_new (FALSE, 0);
+ gtk_container_set_border_width (GTK_CONTAINER (page_vbox), VBOX_BORDER);
gtk_widget_show (page_vbox);
if (!can_save) {
@@ -1404,13 +1405,13 @@ static void prefs_folder_item_templates_create_widget_func(PrefsPage * page_,
gtk_label_set_use_markup(GTK_LABEL(no_save_warning), TRUE);
gtk_label_set_line_wrap(GTK_LABEL(no_save_warning), TRUE);
gtk_misc_set_alignment(GTK_MISC(no_save_warning), 0.0, 0.5);
- gtk_box_pack_start(GTK_BOX(page_vbox), no_save_warning, FALSE, FALSE, 4);
+ gtk_box_pack_start(GTK_BOX(page_vbox), no_save_warning, FALSE, FALSE, 0);
}
/* Notebook */
notebook = gtk_notebook_new();
gtk_widget_show(notebook);
- gtk_box_pack_start(GTK_BOX(page_vbox), notebook, TRUE, TRUE, 0);
+ gtk_box_pack_start(GTK_BOX(page_vbox), notebook, TRUE, TRUE, 4);
/* compose format */
vbox = gtk_vbox_new (FALSE, VSPACING);
@@ -1916,4 +1917,4 @@ void prefs_folder_item_unregister_page(PrefsPage *page, FolderClass *klass)
klass->prefs_pages = g_slist_remove(klass->prefs_pages, page);
else
prefs_pages = g_slist_remove(prefs_pages, page);
-}
-\ No newline at end of file
+}