[Thunar-workers] CVS: design/ui ChangeLog, 1.26, 1.27 ThunarBookmarksPane.py, 1.6, 1.7

Benedikt Meurer benny at xfce.org
Sat Mar 19 01:03:10 CET 2005


Update of /var/cvs/thunar/design/ui
In directory espresso.foo-projects.org:/tmp/cvs-serv4458

Modified Files:
	ChangeLog ThunarBookmarksPane.py 
Log Message:
2005-03-19	Benedikt Meurer <benny at xfce.org>

	* ThunarBookmarksPane.py: Use 'Home' as well to be consistent with the
	  path bar and the GtkFileChooser.




Index: ChangeLog
===================================================================
RCS file: /var/cvs/thunar/design/ui/ChangeLog,v
retrieving revision 1.26
retrieving revision 1.27
diff -u -d -r1.26 -r1.27
--- ChangeLog	18 Mar 2005 19:06:28 -0000	1.26
+++ ChangeLog	19 Mar 2005 00:03:08 -0000	1.27
@@ -1,3 +1,8 @@
+2005-03-19	Benedikt Meurer <benny at xfce.org>
+
+	* ThunarBookmarksPane.py: Use 'Home' as well to be consistent with the
+	  path bar and the GtkFileChooser.
+
 2005-03-18	Benedikt Meurer <benny at xfce.org>
 
 	* ThunarWindow.py: Remove the Location Toolbar. Add a location bar below

Index: ThunarBookmarksPane.py
===================================================================
RCS file: /var/cvs/thunar/design/ui/ThunarBookmarksPane.py,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -d -r1.6 -r1.7
--- ThunarBookmarksPane.py	15 Mar 2005 22:33:01 -0000	1.6
+++ ThunarBookmarksPane.py	19 Mar 2005 00:03:08 -0000	1.7
@@ -70,7 +70,11 @@
         for path in [home, os.path.join(home, 'Desktop'), '/']:
             try:
                 info = ThunarFileInfo(path)
-                self.model.append([info.get_visible_name(), info.render_icon(self.ICON_SIZE), info])
+                if info.is_home():
+                    name = 'Home'
+                else:
+                    name = info.get_visible_name()
+                self.model.append([name, info.render_icon(self.ICON_SIZE), info])
             except:
                 pass
 




More information about the Thunar-workers mailing list