[Pkg-bazaar-commits] ./bzr-gtk/unstable r596: Merge tweak for Olive bookmark list refresh

Jasper Groenewegen colbrac at xs4all.nl
Fri Apr 10 07:50:50 UTC 2009


------------------------------------------------------------
revno: 596
committer: Jasper Groenewegen <colbrac at xs4all.nl>
branch nick: trunk
timestamp: Mon 2008-08-04 23:38:05 +0200
message:
  Merge tweak for Olive bookmark list refresh
modified:
  olive/__init__.py
    ------------------------------------------------------------
    revno: 592.3.1
    committer: Jasper Groenewegen <colbrac at xs4all.nl>
    branch nick: bookmarkrefresh
    timestamp: Mon 2008-08-04 22:13:18 +0200
    message:
      Tweak: Resize column width after bookmark change
      
      Fixes UI annoyance that after a rename of a long bookmark name the column remained the old (too wide) width
    modified:
      olive/__init__.py
-------------- next part --------------
=== modified file 'olive/__init__.py'
--- a/olive/__init__.py	2008-08-04 20:45:30 +0000
+++ b/olive/__init__.py	2008-08-04 21:38:05 +0000
@@ -941,8 +941,9 @@
         for title_item in bookmarks:
             liststore.append(title_item)
         
-        # Add the ListStore to the TreeView
+        # Add the ListStore to the TreeView and refresh column width
         self.window.treeview_left.set_model(liststore)
+        self.window.treeview_left.columns_autosize()
 
     def refresh_right(self):
         """ Refresh the file list. """



More information about the Pkg-bazaar-commits mailing list