[gedit-latex] Fix completion for more than ten entries.
- From: Jose Aliste <jaliste src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gedit-latex] Fix completion for more than ten entries.
- Date: Wed, 29 Jun 2011 18:42:35 +0000 (UTC)
commit e682d019dd770acdc179e87bb706b72bc9e0f1c6
Author: Josà Aliste <jaliste src gnome org>
Date: Wed Jun 29 14:35:18 2011 -0400
Fix completion for more than ten entries.
latex/base/completion.py | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/latex/base/completion.py b/latex/base/completion.py
index 21893df..d90b956 100644
--- a/latex/base/completion.py
+++ b/latex/base/completion.py
@@ -143,7 +143,7 @@ class ProposalPopup(Gtk.Window):
return
path,column = self._view.get_cursor()
- index = int(path.to_string()[0])
+ index = int(path.to_string())
max = self._store.iter_n_children(None)
index += d
@@ -184,7 +184,7 @@ class ProposalPopup(Gtk.Window):
"""
try:
path,column = self._view.get_cursor()
- index = int(path.to_string()[0])
+ index = int(path.to_string())
proposal = self._store[index][1]
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]