[Commits] prefs_folder_item.c 1.52.2.91 1.52.2.92

ticho at claws-mail.org ticho at claws-mail.org
Tue Nov 20 18:01:31 CET 2012


Update of /home/claws-mail/claws/src
In directory srv:/tmp/cvs-serv20043/src

Modified Files:
      Tag: gtk2
	prefs_folder_item.c 
Log Message:
2012-11-20 [ticho]	3.9.0cvs15

	* src/prefs_folder_item.c
		Remove useless "Folder" root in page index of folder preferences UI.

Index: prefs_folder_item.c
===================================================================
RCS file: /home/claws-mail/claws/src/prefs_folder_item.c,v
retrieving revision 1.52.2.91
retrieving revision 1.52.2.92
diff -u -d -r1.52.2.91 -r1.52.2.92
--- prefs_folder_item.c	31 Oct 2012 19:27:17 -0000	1.52.2.91
+++ prefs_folder_item.c	20 Nov 2012 17:01:29 -0000	1.52.2.92
@@ -1811,12 +1811,11 @@
 #endif
 static void register_general_page()
 {
-	static gchar *pfi_general_path[3];
+	static gchar *pfi_general_path[2];
 	static FolderItemGeneralPage folder_item_general_page;
 
-	pfi_general_path[0] = _("Folder");
-	pfi_general_path[1] = _("General");
-	pfi_general_path[2] = NULL;
+	pfi_general_path[0] = _("General");
+	pfi_general_path[1] = NULL;
 
         folder_item_general_page.page.path = pfi_general_path;
         folder_item_general_page.page.create_widget = prefs_folder_item_general_create_widget_func;
@@ -1829,12 +1828,11 @@
 
 static void register_compose_page(void)
 {
-	static gchar *pfi_compose_path[3];
+	static gchar *pfi_compose_path[2];
 	static FolderItemComposePage folder_item_compose_page;
 
-	pfi_compose_path[0] = _("Folder");
-	pfi_compose_path[1] = _("Compose");
-	pfi_compose_path[2] = NULL;
+	pfi_compose_path[0] = _("Compose");
+	pfi_compose_path[1] = NULL;
 
         folder_item_compose_page.page.path = pfi_compose_path;
         folder_item_compose_page.page.create_widget = prefs_folder_item_compose_create_widget_func;
@@ -1846,12 +1844,11 @@
 
 static void register_templates_page(void)
 {
-	static gchar *pfi_templates_path[3];
+	static gchar *pfi_templates_path[2];
 	static FolderItemTemplatesPage folder_item_templates_page;
 
-	pfi_templates_path[0] = _("Folder");
-	pfi_templates_path[1] = _("Templates");
-	pfi_templates_path[2] = NULL;
+	pfi_templates_path[0] = _("Templates");
+	pfi_templates_path[1] = NULL;
 
         folder_item_templates_page.page.path = pfi_templates_path;
         folder_item_templates_page.page.create_widget = prefs_folder_item_templates_create_widget_func;



More information about the Commits mailing list