[issue275] add local file channel broken

Mauricio Teixeira (netmask) at Labix Tracker tracker at labix.org
Mon Nov 19 16:56:08 PST 2007


Mauricio Teixeira (netmask) <mteixeira at webset.net> added the comment:

Ok, sorry, I finally got to reproduce the issue. The patch bellow has been
applied to svn revision 896. If you could test it, I would appreciate.

Index: smart/interfaces/gtk/channels.py
===================================================================
--- smart/interfaces/gtk/channels.py    (revisão 895)
+++ smart/interfaces/gtk/channels.py    (cópia de trabalho)
@@ -252,7 +252,7 @@
             elif method == "detectpath":
                 if gtk.pygtk_version > (2,4,0):
                     dia = gtk.FileChooserDialog(
-                        action=gtk.FILE_CHOOSER_ACTION_OPEN,
+                        action=gtk.FILE_CHOOSER_ACTION_SELECT_FOLDER,
                         buttons=(gtk.STOCK_CANCEL, gtk.RESPONSE_REJECT,
                                  gtk.STOCK_OK, gtk.RESPONSE_OK))

----------
assignedto:  -> netmask
status: chatting -> testing

_______________________________________
Labix issue tracker <tracker at labix.org>
<http://tracker.labix.org/issue275>
_______________________________________



More information about the Smart mailing list