Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/Widgets.py
diff options
context:
space:
mode:
authorflavio <fdanesse@gmail.com>2013-07-01 19:58:25 (GMT)
committer flavio <fdanesse@gmail.com>2013-07-01 19:58:25 (GMT)
commit8ded334d29480cc1609a2377bf6b1ffab25619cb (patch)
tree7cdb5b265a44c4e591954146267db530a40e293c /Widgets.py
parent93402a608c328dc7e262e89630fdad85e524d39b (diff)
Corrección
Diffstat (limited to 'Widgets.py')
-rw-r--r--Widgets.py8
1 files changed, 2 insertions, 6 deletions
diff --git a/Widgets.py b/Widgets.py
index 854cdab..e1fdb3f 100644
--- a/Widgets.py
+++ b/Widgets.py
@@ -932,7 +932,7 @@ class DialogoReemplazar(Gtk.Dialog):
self.destroy()
def __reemplazar(self, widget):
-
+
buffer = self.view.get_buffer()
inicio_s, fin_s = buffer.get_selection_bounds()
inicio, fin = buffer.get_bounds()
@@ -945,7 +945,7 @@ class DialogoReemplazar(Gtk.Dialog):
buffer.set_text(texto_nuevo)
- self.__buscar(None)
+ #self.__buscar(None)
class My_FileChooser(Gtk.FileChooserDialog):
"""
@@ -1692,10 +1692,6 @@ class ErroresTreeview(Gtk.TreeView):
elif tipo == "pyflakes":
errores = pyflakes.check(texto, "")
- if type(errores) == int:
- self.get_model().append([str(errores), "Error de sintáxis"])
- return
-
for error in errores:
dat = str(error).split(":")
self.get_model().append([dat[1], dat[2]])