~osomon/phatch/extract-all-metadata

« back to all changes in this revision

Viewing changes to phatch/pyWx/wxGlade/dialogs.py

  • Committer: spe.stani.be at gmail
  • Date: 2010-03-11 16:02:11 UTC
  • mto: This revision was merged to the branch mainline in revision 1795.
  • Revision ID: spe.stani.be@gmail.com-20100311160211-4i54s0voyymzoi4s
implementing the context modules

Show diffs side-by-side

added added

removed removed

Lines of Context:
4
4
 
5
5
import wx
6
6
from lib.pyWx import folderFileBrowser as ffb
7
 
from lib.desktop import USER_FOLDER
 
7
from lib.desktop import USER_PATH
8
8
 
9
9
class StatusDialog(wx.Dialog):
10
10
    def __init__(self, *args, **kwds):
60
60
class FolderFileBrowser(ffb.PreviewMixin, ffb.Panel):
61
61
    def GetTreeLabel(self, label, parent_label):
62
62
        return label[:-1].replace(parent_label,'')\
63
 
            .replace(USER_FOLDER,'~')
 
63
            .replace(USER_PATH,'~')
64
64
 
65
65
class ImageTreeDialog(wx.Dialog):
66
66
    def __init__(self, data, Data, headers, *args, **kwds):