[dev] no more categories patch

Vilius Šumskas vilius at lnk.lt
Wed Nov 3 00:33:49 PST 2004


Correct me if i'm wrong but we don't need categories in prefs.php.dist files
anymore. If so, I made a patch.

Also minor fix for mimp search_sources.

-- 
  Vilius
-------------- next part --------------
Index: config/prefs.php.dist
===================================================================
RCS file: /repository/mimp/config/prefs.php.dist,v
retrieving revision 1.18
diff -u -r1.18 prefs.php.dist
--- config/prefs.php.dist	26 Oct 2004 07:14:03 -0000	1.18
+++ config/prefs.php.dist	3 Nov 2004 08:27:21 -0000
@@ -210,7 +210,7 @@
     'desc' => _("When deleting messages, move them to your Trash folder instead of marking them as deleted?"));
 
 // trash folder selection widget. includes some javascript, so it's
-// specific to IMP.
+// specific to MIMP.
 $_prefs['trashselect'] = array('type' => 'special');
 
 // trash folder
@@ -349,7 +349,7 @@
     'desc' => _("Display confirmation after sending a message?"));
 
 // folder selection widget. includes some javascript, so it's specific
-// to IMP.
+// to MIMP.
 $_prefs['folderselect'] = array('type' => 'special');
 
 // drafts folder
@@ -430,7 +430,7 @@
 // 'value' => "source_one\tsource_two"
 // refer to turba/config/sources.php for possible source values
 $_prefs['search_sources'] = array(
-    'value' => '',
+    'value' => "",
     'locked' => false,
     'shared' => false,
     'type' => 'implicit');
@@ -443,7 +443,7 @@
 // 'field_three' in source_two.
 // refer to turba/config/sources.php for possible source and field values
 $_prefs['search_fields'] = array(
-    'value' => '',
+    'value' => "",
     'locked' => false,
     'shared' => false,
     'type' => 'implicit');
-------------- next part --------------
Index: kronolith/config/prefs.php.dist
===================================================================
RCS file: /repository/kronolith/config/prefs.php.dist,v
retrieving revision 1.62
diff -u -r1.62 prefs.php.dist
--- kronolith/config/prefs.php.dist	28 Oct 2004 10:42:05 -0000	1.62
+++ kronolith/config/prefs.php.dist	3 Nov 2004 08:28:52 -0000
@@ -185,22 +185,6 @@
     );
 }
 
-// user calendar categories
-$_prefs['event_categories'] = array(
-    'value' => sprintf('1:%s|2:%s', _("Personal"), _("Business")),
-    'locked' => false,
-    'shared' => false,
-    'type' => 'implicit'
-);
-
-// category highlight colors
-$_prefs['event_colors'] = array(
-    'value' => '1:#dddddd|2:#ffffcc',
-    'locked' => false,
-    'shared' => false,
-    'type' => 'implicit'
-);
-
 // number of days to generate free/busy information for:
 $_prefs['freebusy_days'] = array(
     'value' => 30,
Index: mnemo/config/prefs.php.dist
===================================================================
RCS file: /repository/mnemo/config/prefs.php.dist,v
retrieving revision 1.22
diff -u -r1.22 prefs.php.dist
--- mnemo/config/prefs.php.dist	19 Oct 2004 15:22:08 -0000	1.22
+++ mnemo/config/prefs.php.dist	3 Nov 2004 08:28:54 -0000
@@ -46,21 +46,6 @@
                     MNEMO_SORT_DESCEND => _("Descending")),
     'desc' => _("Default sorting direction:"));
 
-// user note categories
-$_prefs['memo_categories'] = array(
-    'value' => sprintf('1:%s|2:%s', _("Personal"), _("Business")),
-    'locked' => false,
-    'shared' => false,
-    'type' => 'implicit');
-
-// category highlight colors
-$_prefs['memo_colors'] = array(
-    'value' => '1:#ffffff|2:#ffffff',
-    'locked' => false,
-    'shared' => false,
-    'type' => 'implicit',
-    'desc' => _("Choose Color"));
-
 // default notepad selection widget
 $_prefs['notepadselect'] = array('type' => 'special');
 
Index: nag/config/prefs.php.dist
===================================================================
RCS file: /repository/nag/config/prefs.php.dist,v
retrieving revision 1.40
diff -u -r1.40 prefs.php.dist
--- nag/config/prefs.php.dist	19 Oct 2004 15:22:11 -0000	1.40
+++ nag/config/prefs.php.dist	3 Nov 2004 08:28:54 -0000
@@ -104,14 +104,6 @@
     'desc' => _("Show complete, incomplete, or all tasks in the task list?")
 );
 
-// user task categories
-$_prefs['task_categories'] = array(
-    'value' => sprintf('1:%s|2:%s', _("Personal"), _("Business")),
-    'locked' => false,
-    'shared' => false,
-    'type' => 'implicit'
-);
-
 // default tasklist selection widget
 $_prefs['tasklistselect'] = array('type' => 'special');
 


More information about the dev mailing list