[Thunar-workers] CVS: design/ui ChangeLog, 1.9, 1.10 ThunarBookmarksPane.py, 1.1, 1.2 ThunarWindow.py, 1.5, 1.6

Benedikt Meurer benny at xfce.org
Thu Mar 3 01:25:20 CET 2005


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

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

	* ThunarWindow.py: Make sure the sidebar doesn't resize when the
	  window is resized.
	* ThunarBookmarksPane.py: Remove the weird selection changed hack.




Index: ChangeLog
===================================================================
RCS file: /var/cvs/thunar/design/ui/ChangeLog,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -d -r1.9 -r1.10
--- ChangeLog	3 Mar 2005 00:16:18 -0000	1.9
+++ ChangeLog	3 Mar 2005 00:25:18 -0000	1.10
@@ -1,5 +1,11 @@
 2005-03-02	Benedikt Meurer <benny at xfce.org>
 
+	* ThunarWindow.py: Make sure the sidebar doesn't resize when the
+	  window is resized.
+	* ThunarBookmarksPane.py: Remove the weird selection changed hack.
+
+2005-03-02	Benedikt Meurer <benny at xfce.org>
+
 	* .cvsignore: Ignore vim swap files.
 	* shortcuts.png, ThunarWindow.py, ThunarSidePane.py, thunar.ui: Rework
 	  the sidebar handling to get rid of the notebook. Remove the home

Index: ThunarBookmarksPane.py
===================================================================
RCS file: /var/cvs/thunar/design/ui/ThunarBookmarksPane.py,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- ThunarBookmarksPane.py	28 Feb 2005 22:04:12 -0000	1.1
+++ ThunarBookmarksPane.py	3 Mar 2005 00:25:18 -0000	1.2
@@ -64,7 +64,6 @@
         self.get_selection().set_mode(gtk.SELECTION_BROWSE)
         self.get_selection().unselect_all()
         self.get_selection().connect('changed', lambda selection: self._selection_changed())
-        self._selection_changed_called = False
 
         self.set_headers_visible(False)
         self.set_rules_hint(False)
@@ -102,10 +101,6 @@
     def _selection_changed(self):
         selection = self.get_selection()
         model, iter = selection.get_selected()
-        if not self._selection_changed_called:
-            self._selection_changed_called = True
-            self.get_selection().unselect_all()
-            return
         if iter:
             info = model.get(iter, self.COLUMN_INFO)[0]
             self.emit('directory-changed1', info)

Index: ThunarWindow.py
===================================================================
RCS file: /var/cvs/thunar/design/ui/ThunarWindow.py,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -d -r1.5 -r1.6
--- ThunarWindow.py	3 Mar 2005 00:16:18 -0000	1.5
+++ ThunarWindow.py	3 Mar 2005 00:25:18 -0000	1.6
@@ -162,7 +162,7 @@
         self.sidepane.select_by_info(self.info)
         self.sidepane_selection_id = self.sidepane.connect('directory-changed', lambda ign, info: self._action_open_dir(info))
         self.sidepane_selection_id = self.sidepane.connect('hide-sidepane', lambda ign: self.action_group.get_action('sidebar-disabled').activate())
-        self.main_hbox.pack1(self.sidepane, True, False)
+        self.main_hbox.pack1(self.sidepane, False, False)
         self.sidepane.show()
 
         self.swin = gtk.ScrolledWindow(None, None)




More information about the Thunar-workers mailing list