[tracker] TST: add Folders category; rename 'Office Documents' to 'Documents'



commit 25f99b2c6dda41116b5c981794003268f5302e65
Author: Tshepang Lekhonkhobe <tshepang gmail com>
Date:   Sat May 1 20:01:32 2010 +0200

    TST: add Folders category; rename 'Office Documents' to 'Documents'

 src/tracker-search-tool/tracker-category-view.gs |    7 ++++++-
 1 files changed, 6 insertions(+), 1 deletions(-)
---
diff --git a/src/tracker-search-tool/tracker-category-view.gs b/src/tracker-search-tool/tracker-category-view.gs
index cf56b6e..bb942c6 100644
--- a/src/tracker-search-tool/tracker-category-view.gs
+++ b/src/tracker-search-tool/tracker-category-view.gs
@@ -49,13 +49,18 @@ class TrackerCategoryView : ScrolledWindow
 
         store = new ListStore (CategoryColumns.NumOfCols, typeof (Gdk.Pixbuf), typeof (string), typeof (string))
         iter : TreeIter
+
         store.append (out iter);
         store.set (iter, CategoryColumns.Icon, GetThemePixbufByName ("system-file-manager", icon_size, get_screen ()), \
                    CategoryColumns.Name, "All", CategoryColumns.DisplayName, N_("All Files") , -1);
 
         store.append (out iter);
+        store.set (iter, CategoryColumns.Icon, GetThemePixbufByName ("folder", icon_size, get_screen ()), \
+                   CategoryColumns.Name, "nfo:Folder", CategoryColumns.DisplayName, N_("Folders") , -1);
+
+        store.append (out iter);
         store.set (iter, CategoryColumns.Icon, GetThemePixbufByName ("x-office-document", icon_size, get_screen ()), \
-                   CategoryColumns.Name, "nfo:Document", CategoryColumns.DisplayName, N_("Office Documents") , -1);
+                   CategoryColumns.Name, "nfo:Document", CategoryColumns.DisplayName, N_("Documents") , -1);
 
         store.append (out iter);
         store.set (iter, CategoryColumns.Icon, GetThemePixbufByName ("image-x-generic", icon_size, get_screen ()), \



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]