[Commits] [SCM] claws branch, master, updated. 3.11.1-61-g26dabe6

mones at claws-mail.org mones at claws-mail.org
Fri Jan 23 00:54:25 CET 2015


The branch, master has been updated
       via  26dabe64005f7706383c4a67897a95bf60705d05 (commit)
      from  d8846b7338e9318fc1d818ffb4a644ce9c371db4 (commit)

Summary of changes:
 src/plugins/attachwarner/attachwarner_prefs.c |   15 +++++++++------
 1 file changed, 9 insertions(+), 6 deletions(-)


- Log -----------------------------------------------------------------
commit 26dabe64005f7706383c4a67897a95bf60705d05
Author: Ricardo Mones <ricardo at mones.org>
Date:   Fri Jan 23 00:54:12 2015 +0100

    AttachWarner: rearrange checkbox, standardise labels

diff --git a/src/plugins/attachwarner/attachwarner_prefs.c b/src/plugins/attachwarner/attachwarner_prefs.c
index a635d97..e2fa395 100644
--- a/src/plugins/attachwarner/attachwarner_prefs.c
+++ b/src/plugins/attachwarner/attachwarner_prefs.c
@@ -1,7 +1,7 @@
 /*
  * Claws Mail -- a GTK+ based, lightweight, and fast e-mail client
- * Copyright (C) 1999-2012 Hiroyuki Yamamoto and the Claws Mail Team
- * Copyright (C) 2006-2012 Ricardo Mones
+ * Copyright (C) 1999-2015 Hiroyuki Yamamoto and the Claws Mail Team
+ * Copyright (C) 2006-2015 Ricardo Mones
  *
  * 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
@@ -82,14 +82,13 @@ static void attwarner_prefs_create_widget_func(PrefsPage * _page,
 	vbox1 = gtk_vbox_new(FALSE, 6);
 	vbox2 = gtk_vbox_new(FALSE, 6);
 	
-	label = gtk_label_new(_("One of the following regular expressions is matched (one per line):"));
+	label = gtk_label_new(_("One of the following regular expressions is matched (one per line)"));
 	gtk_misc_set_alignment(GTK_MISC(label), 0, 0.5);
-	gtk_box_pack_start(GTK_BOX(vbox1), label, FALSE, FALSE, 0);
+	gtk_misc_set_padding(GTK_MISC(label), 2, 0);
 
 	case_sensitive_checkbox = gtk_check_button_new_with_label(_("Expressions are case sensitive"));
 	gtk_toggle_button_set_active(GTK_TOGGLE_BUTTON(case_sensitive_checkbox),
 	    	 attwarnerprefs.case_sensitive);
-	gtk_box_pack_start(GTK_BOX(vbox1), case_sensitive_checkbox, FALSE, FALSE, 0);
 	gtk_widget_show(case_sensitive_checkbox);
 
 	CLAWS_SET_TIP(case_sensitive_checkbox,
@@ -106,10 +105,14 @@ static void attwarner_prefs_create_widget_func(PrefsPage * _page,
 		 GTK_POLICY_NEVER, GTK_POLICY_AUTOMATIC);
 	gtk_scrolled_window_set_shadow_type
 		(GTK_SCROLLED_WINDOW (scrolledwin), GTK_SHADOW_IN);
+	gtk_container_set_border_width(GTK_CONTAINER(scrolledwin), 3);
 
 	gtk_container_add(GTK_CONTAINER(scrolledwin), page->regexp_text);
 	gtk_widget_set_size_request(page->regexp_text, -1, 100);
+
+	gtk_box_pack_start(GTK_BOX(vbox1), label, FALSE, FALSE, 0);
 	gtk_box_pack_start(GTK_BOX(vbox1), scrolledwin, FALSE, FALSE, 0);
+	gtk_box_pack_start(GTK_BOX(vbox1), case_sensitive_checkbox, FALSE, FALSE, 0);
 	
 	skip_quotes_checkbox = gtk_check_button_new_with_label(_("Lines starting with quotation marks"));
 	gtk_toggle_button_set_active(GTK_TOGGLE_BUTTON(skip_quotes_checkbox),
@@ -149,7 +152,7 @@ static void attwarner_prefs_create_widget_func(PrefsPage * _page,
 	gtk_container_add(GTK_CONTAINER(frame), vbox1);
 
 	PACK_FRAME (vbox, frame, _("Excluding"));
-	gtk_container_set_border_width(GTK_CONTAINER(vbox2), 4);
+	gtk_container_set_border_width(GTK_CONTAINER(vbox2), 6);
 	gtk_container_add(GTK_CONTAINER(frame), vbox2);
 
 	gtk_widget_show_all(vbox);

-----------------------------------------------------------------------


hooks/post-receive
-- 
Claws Mail


More information about the Commits mailing list