comparison pyink/comp_dock.py @ 1305:573a51b1eb37

domview_ui_comp as a mix-in to oven comp_dock and domview_ui
author Thinker K.F. Li <thinker@codemud.net>
date Wed, 19 Jan 2011 18:28:16 +0800
parents 94e6594dea59
children 49775feefbcf
comparison
equal deleted inserted replaced
1304:94e6594dea59 1305:573a51b1eb37
11 super(comp_dock, self).__init__() 11 super(comp_dock, self).__init__()
12 12
13 if not fname: 13 if not fname:
14 dirname = os.path.dirname(__file__) 14 dirname = os.path.dirname(__file__)
15 fname = os.path.join(dirname, 'component_dock.glade') 15 fname = os.path.join(dirname, 'component_dock.glade')
16 print fname
17 pass 16 pass
18 17
19 builder = gtk.Builder() 18 builder = gtk.Builder()
20 builder.add_from_file(fname) 19 builder.add_from_file(fname)
21 dock_top = builder.get_object('component_dock_top') 20 dock_top = builder.get_object('component_dock_top')