Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/Widgets.py
diff options
context:
space:
mode:
Diffstat (limited to 'Widgets.py')
-rw-r--r--Widgets.py11
1 files changed, 8 insertions, 3 deletions
diff --git a/Widgets.py b/Widgets.py
index 90d77f6..e610664 100644
--- a/Widgets.py
+++ b/Widgets.py
@@ -671,8 +671,13 @@ class My_FileChooser(Gtk.FileChooserDialog):
self.show_all()
def __abrir(self, widget):
-
- self.emit('load', self.get_filename())
+
+ direccion = self.get_filename()
+
+ if direccion[:2] == '//':
+ direccion = direccion[0:]
+
+ self.emit('load', direccion)
self.__salir(None)
@@ -1128,4 +1133,4 @@ class ToolbarTerminal(Gtk.Toolbar):
def __emit_pegar(self, widget):
self.emit('accion', 'pegar')
- \ No newline at end of file
+