Skip to contentSkip to conversation

Removed popup when including a package

PATCH Superseded Andrei Dinu 2 participants 2 messages Mar 28, 2013 – Mar 29, 2013

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Removed popup when including a package

Fixed the functionality which made an information
dialog pop up when including any package.

[HOB #4138]

---
 bitbake/lib/bb/ui/crumbs/packageselectionpage.py |    2 +-
 bitbake/lib/bb/ui/crumbs/recipeselectionpage.py  |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
bitbake/lib/bb/ui/crumbs/packageselectionpage.py +1 -1
index ce2deab..70d45ef 100755
@@ -202,7 +202,7 @@ class PackageSelectionPage (HobPage):
     def button_click_cb(self, widget, event):
         path, col = widget.table_tree.get_cursor()
         tree_model = widget.table_tree.get_model()
-        if path: # else activation is likely a removal
+        if path and col.get_title() != 'Included': # else activation is likely a removal
             properties = {'binb': '' , 'name': '', 'size':'', 'recipe':''}
             properties['binb'] = tree_model.get_value(tree_model.get_iter(path), PackageListModel.COL_BINB)
             properties['name'] = tree_model.get_value(tree_model.get_iter(path), PackageListModel.COL_NAME)
bitbake/lib/bb/ui/crumbs/recipeselectionpage.py +1 -1
index aa0cd60..e102b29 100755
@@ -217,7 +217,7 @@ class RecipeSelectionPage (HobPage):
     def button_click_cb(self, widget, event):
         path, col = widget.table_tree.get_cursor()
         tree_model = widget.table_tree.get_model()
-        if path: # else activation is likely a removal
+        if path and col.get_title() != 'Included': # else activation is likely a removal
             properties = {'summary': '', 'name': '', 'version': '', 'revision': '', 'binb': '', 'group': '', 'license': '', 'homepage': '', 'bugtracker': '', 'description': ''}
             properties['summary'] = tree_model.get_value(tree_model.get_iter(path), RecipeListModel.COL_SUMMARY)
             properties['name'] = tree_model.get_value(tree_model.get_iter(path), RecipeListModel.COL_NAME)
Signature · 1 line
1.7.9.5
#1 lore raw
Quoted 10 lines · Andrei Dinu

Fixed the functionality which made an information
dialog pop up when including any package.

[HOB #4138]

---
 bitbake/lib/bb/ui/crumbs/packageselectionpage.py |    2 +-
 bitbake/lib/bb/ui/crumbs/recipeselectionpage.py  |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

Please rebase this on master and your other patch set.

I'd also like to suggest you and Cristiana jointly start generating pull requests based on a git tree alongside the patches, based on the bitbake repository. This will make is easier and faster for me to merge changes.

Cheers,

Richard