[Thunar-workers] CVS: design/ui ChangeLog, 1.32, 1.33 ThunarPathBar.py, 1.1, 1.2
Benedikt Meurer
benny at xfce.org
Thu Mar 24 19:17:43 CET 2005
Update of /var/cvs/thunar/design/ui
In directory espresso.foo-projects.org:/tmp/cvs-serv8018
Modified Files:
ChangeLog ThunarPathBar.py
Log Message:
2005-03-24 Benedikt Meurer <benny at xfce.org>
* ThunarPathBar.py: Don't display forward history as suggested by
botsie.
* ThunarPathBar.py: Use button spacing of 3 (like GtkPathBar does).
Index: ChangeLog
===================================================================
RCS file: /var/cvs/thunar/design/ui/ChangeLog,v
retrieving revision 1.32
retrieving revision 1.33
diff -u -d -r1.32 -r1.33
--- ChangeLog 20 Mar 2005 17:10:19 -0000 1.32
+++ ChangeLog 24 Mar 2005 18:17:40 -0000 1.33
@@ -1,3 +1,9 @@
+2005-03-24 Benedikt Meurer <benny at xfce.org>
+
+ * ThunarPathBar.py: Don't display forward history as suggested by
+ botsie.
+ * ThunarPathBar.py: Use button spacing of 3 (like GtkPathBar does).
+
2005-03-20 Benedikt Meurer <benny at xfce.org>
* thunar.ui, ThunarWindow.py: Support various different layouts, with
Index: ThunarPathBar.py
===================================================================
RCS file: /var/cvs/thunar/design/ui/ThunarPathBar.py,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- ThunarPathBar.py 6 Mar 2005 15:25:56 -0000 1.1
+++ ThunarPathBar.py 24 Mar 2005 18:17:40 -0000 1.2
@@ -34,20 +34,20 @@
class ThunarPathBar(gtk.HBox):
def __init__(self):
gtk.HBox.__init__(self)
- self.set_spacing(2)
+ self.set_spacing(3)
self.__info = None
self.__rebuild_disabled = False
def __clicked(self, info):
- self.__rebuild(self.__info, info)
+ self.__rebuild(info)
self.__rebuild_disabled = True
self.emit('directory-changed', info)
self.__rebuild_disabled = False
- def __rebuild(self, info, selected_info):
+ def __rebuild(self, info):
if self.__rebuild_disabled:
return
@@ -63,7 +63,7 @@
self.__info = info
while info:
- if info.get_path() == selected_info.get_path():
+ if info == self.__info:
button = gtk.ToggleButton()
button.set_active(True)
else:
@@ -97,7 +97,7 @@
else:
name = info.get_visible_name()
- if info.get_path() == selected_info.get_path():
+ if info == self.__info:
text = '<b>%s</b>' % name.replace('&', '&')
else:
text = name.replace('&', '&')
@@ -118,7 +118,7 @@
def set_info(self, info):
- self.__rebuild(info, info)
+ self.__rebuild(info)
More information about the Thunar-workers
mailing list