]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commitdiff
Removed popup when including a package
authorAndrei Dinu <andrei.adrianx.dinu@intel.com>
Fri, 29 Mar 2013 13:26:37 +0000 (15:26 +0200)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 2 Apr 2013 16:50:27 +0000 (17:50 +0100)
Fixed the functionality which made an information
dialog pop up when including any package.

[HOB #4138]

Signed-off-by: Andrei Dinu <andrei.adrianx.dinu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
lib/bb/ui/crumbs/packageselectionpage.py
lib/bb/ui/crumbs/recipeselectionpage.py

index 781d579d6c97f7a3593051f962d67804debc82db..2264116d77c38b14fc34e617e7f293e4d11db47b 100755 (executable)
@@ -203,7 +203,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':'', 'files_list':''}
             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)
index 47bb253309460c3e6ede8f8468fa5cf2a2d46833..670b4f92b6c5a03ede36b4f924c04eb94830295b 100755 (executable)
@@ -218,7 +218,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)