summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--bitbake/lib/bb/ui/crumbs/hig/propertydialog.py22
1 files changed, 11 insertions, 11 deletions
diff --git a/bitbake/lib/bb/ui/crumbs/hig/propertydialog.py b/bitbake/lib/bb/ui/crumbs/hig/propertydialog.py
index bc40741bf2..9ab7d75e14 100644
--- a/bitbake/lib/bb/ui/crumbs/hig/propertydialog.py
+++ b/bitbake/lib/bb/ui/crumbs/hig/propertydialog.py
@@ -187,17 +187,17 @@ class PropertyDialog(CrumbsDialog):
187 self.textWindow.set_policy(gtk.POLICY_AUTOMATIC, gtk.POLICY_AUTOMATIC) 187 self.textWindow.set_policy(gtk.POLICY_AUTOMATIC, gtk.POLICY_AUTOMATIC)
188 self.textWindow.set_size_request(100, 170) 188 self.textWindow.set_size_request(100, 170)
189 189
190 sstatemirrors_store = gtk.ListStore(str) 190 packagefiles_store = gtk.ListStore(str)
191 191
192 self.sstatemirrors_tv = gtk.TreeView() 192 self.packagefiles_tv = gtk.TreeView()
193 self.sstatemirrors_tv.set_rules_hint(True) 193 self.packagefiles_tv.set_rules_hint(True)
194 self.sstatemirrors_tv.set_headers_visible(True) 194 self.packagefiles_tv.set_headers_visible(True)
195 self.textWindow.add(self.sstatemirrors_tv) 195 self.textWindow.add(self.packagefiles_tv)
196 196
197 self.cell1 = gtk.CellRendererText() 197 self.cell1 = gtk.CellRendererText()
198 col1 = gtk.TreeViewColumn('Package files', self.cell1) 198 col1 = gtk.TreeViewColumn('Package files', self.cell1)
199 col1.set_cell_data_func(self.cell1, self.regex_field) 199 col1.set_cell_data_func(self.cell1, self.regex_field)
200 self.sstatemirrors_tv.append_column(col1) 200 self.packagefiles_tv.append_column(col1)
201 201
202 for items in file_list.split(']'): 202 for items in file_list.split(']'):
203 if len(items) > 1: 203 if len(items) > 1:
@@ -223,15 +223,15 @@ class PropertyDialog(CrumbsDialog):
223 items = items[:len(items)/2] + "..." + items[len(items)/2+3:] 223 items = items[:len(items)/2] + "..." + items[len(items)/2+3:]
224 self.tooltip_items[items] = temp 224 self.tooltip_items[items] = temp
225 225
226 sstatemirrors_store.append([str(items)]) 226 packagefiles_store.append([str(items)])
227 227
228 228
229 self.sstatemirrors_tv.set_model(sstatemirrors_store) 229 self.packagefiles_tv.set_model(packagefiles_store)
230 230
231 tips = gtk.Tooltips() 231 tips = gtk.Tooltips()
232 tips.set_tip(self.sstatemirrors_tv, "") 232 tips.set_tip(self.packagefiles_tv, "")
233 self.sstatemirrors_tv.connect("motion-notify-event", self.treeViewTooltip, tips, 0) 233 self.packagefiles_tv.connect("motion-notify-event", self.treeViewTooltip, tips, 0)
234 self.sstatemirrors_tv.set_events(gtk.gdk.POINTER_MOTION_MASK) 234 self.packagefiles_tv.set_events(gtk.gdk.POINTER_MOTION_MASK)
235 235
236 self.vbox.add(self.textWindow) 236 self.vbox.add(self.textWindow)
237 237