diff options
author | Frederic Back <fredericback@gmail.com> | 2006-10-03 11:04:28 +0000 |
---|---|---|
committer | Frederic Back <fredericback@gmail.com> | 2006-10-03 11:04:28 +0000 |
commit | 327d4f1767b06cadcf5f00edaaf4d325ce462dfe (patch) | |
tree | 263fcacc3c7f23ef7a1bca8e2e5aac0fd7159e74 | |
parent | 03ad44ccf9bd1fdbc2fd89adb494289d5623d47f (diff) |
* Fixed cursor bug
git-svn-id: file:///home/lennart/svn/public/fring/trunk@63 d0d2c35f-0a1e-0410-abeb-dabff30a67ee
-rw-r--r-- | src/fringlib/fringui.py | 17 |
1 files changed, 1 insertions, 16 deletions
diff --git a/src/fringlib/fringui.py b/src/fringlib/fringui.py index e27c9a2..73294f8 100644 --- a/src/fringlib/fringui.py +++ b/src/fringlib/fringui.py @@ -291,6 +291,7 @@ class UI( gtk.Window ): def __set_cursor(self, cursor): if self.window is None: return if self.cursor == cursor: return + self.cursor = cursor if cursor == CURSOR_NONE: self.window.set_cursor(None) @@ -323,24 +324,8 @@ class UI( gtk.Window ): def __event_click(self, widget, event): f = self.renderer.get_hotspot_at(event.x, event.y) if f and f.sumlist.children: - self.open_folder(f.path) - #if self.scan_active: - # if we are still walking the tree, FORCE a new scan on the path - # because we CANNOT guarantee that the path we point at is ready. - # self.open_folder(f.path) - - #else: - # if we are sure that the sumlist is complete, jump there directly - - # block filechooser callbacks while changing it - # self.filechooserbutton.handler_block(self.filechooserbutton.handler_folderchanged) - # self.uri = f.path - # self.__event_walker_progress(None,f.sumlist) - # self.filechooserbutton.set_current_folder_uri(f.path) - # self.filechooserbutton.handler_unblock(self.filechooserbutton.handler_folderchanged) - def __event_scroll(self, widget, event): if event.direction is gtk.gdk.SCROLL_UP: self.zoom(widget, 0.2) |