From c45ba3666d197be9fe93a8858623b6fcabea88cf Mon Sep 17 00:00:00 2001 From: Ricardo Mones Date: Tue, 7 Apr 2015 21:56:08 +0200 Subject: [PATCH] Adjust templates panel of folder properties --- src/prefs_folder_item.c | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/src/prefs_folder_item.c b/src/prefs_folder_item.c index 7997ab5ba..14309f8a6 100644 --- 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 +} -- 2.25.1