From 327d4f1767b06cadcf5f00edaaf4d325ce462dfe Mon Sep 17 00:00:00 2001 From: Frederic Back Date: Tue, 3 Oct 2006 11:04:28 +0000 Subject: * Fixed cursor bug git-svn-id: file:///home/lennart/svn/public/fring/trunk@63 d0d2c35f-0a1e-0410-abeb-dabff30a67ee --- src/fringlib/fringui.py | 17 +---------------- 1 file changed, 1 insertion(+), 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) -- cgit