1. Iñigo Serna
  2. lfm

Commits

Iñigo Serna  committed 0b305fe

Fixed bug: pyview goto_bookmark crashed, reported by E.R. Uber

* lfm/pyview.py (FileView.goto_bookmark): fixed a bug. Catched by E.R. Uber

  • Participants
  • Parent commits 3c272a4
  • Branches default

Comments (0)

Files changed (3)

File ChangeLog

View file
  • Ignore whitespace
+Thu Sep 22 16:51:23 2011  Iñigo Serna  <inigoserna@gmail.com>
+
+	* lfm/pyview.py (FileView.goto_bookmark): fixed a bug. Catched by E.R. Uber
+
 Mon May 23 23:51:23 2011  Iñigo Serna  <inigoserna@gmail.com>
 
 	* lfm/messages.py (Tree.__calculate_dims): make tree view fullscreen in PANE_MODE_FULL

File TODO

View file
  • Ignore whitespace
 ============================================================================
-Last update:	Time-stamp: <2011-05-24 00:03:15 inigo>
+Last update:	Time-stamp: <2011-09-22 17:14:52 inigo>
 ============================================================================
 
 
 - prefs.options['num_panes'] -> prefs.options['panes_mode'], update documentation
 
+Bugs:
+- Reported by Oliver Mueller, Mac:
+  File "/Library/Python/2.6/site-packages/lfm/pyview.py", line 356, in init_curses
+    curses.curs_set(0)
+  _curses.error: curs_set() returned ERR
+
 
 General:
 ========
 
 BUGS FIXED:
 - make tree view fullscreen in PANE_MODE_FULL
+- pyview: goto bookmark, reported by E.R. Uber
+
+
+Laurent Humblet: asked how to change a shortcut
+Maximilian Dietrich: open a media file
+Maurício: some questions
+E.R. Uber: catched a bug in pyview.py

File lfm/pyview.py

View file
  • Ignore whitespace
 # -*- coding: utf-8 -*-
 
 # Copyright (C) 2001-11  Iñigo Serna
-# Time-stamp: <2011-05-14 12:12:24 inigo>
+# Time-stamp: <2011-09-22 16:48:21 inigo>
 #
 # This program is free software: you can redistribute it and/or modify
 # it under the terms of the GNU General Public License as published by
         pos = self.bookmarks[no]
         if pos != -1:
             if self.mode == MODE_TEXT:
-                self.line, self.col = self.fc.pos2linecol(pos), 0
+                self.line, self.col = self.fc.pos2linecol(pos)[0], 0
             else:
                 self.pos = pos