~launchpad-p-s/sofastatistics/main

« back to all changes in this revision

Viewing changes to projselect.py

  • Committer: Grant Paton-Simpson
  • Date: 2009-05-22 09:17:43 UTC
  • Revision ID: g@ubuntu-20090522091743-c3pv1cgm110eekgf
Fixed raw table first column display, fixed item config on freq tables, changed misc text.

Show diffs side-by-side

added added

removed removed

Lines of Context:
8
8
import util
9
9
 
10
10
 
 
11
SCRIPT_PATH = util.get_script_path()
11
12
USER_PATH, LOCAL_PATH = util.get_user_paths()
12
13
 
13
14
class ProjSelectDlg(wx.Dialog):
20
21
        self.panel = wx.Panel(self)
21
22
        self.projs = projs
22
23
        self.read_only=False
 
24
        # icon
 
25
        ib = wx.IconBundle()
 
26
        ib.AddIconFromFile(os.path.join(SCRIPT_PATH, 
 
27
                                        "images", 
 
28
                                        "tinysofa.xpm"), 
 
29
                           wx.BITMAP_TYPE_XPM)
 
30
        self.SetIcons(ib)       
23
31
        self.szrMain = wx.BoxSizer(wx.VERTICAL)
24
32
        lblChoose = wx.StaticText(self.panel, -1, "Choose an existing project ...")
25
33
        self.dropProjs = wx.Choice(self.panel, -1, choices=self.projs)