diff options
Diffstat (limited to 'Widgets.py')
-rw-r--r-- | Widgets.py | 11 |
1 files changed, 8 insertions, 3 deletions
@@ -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 + |