summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/fringlib/fringui.py17
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)