On 03/04/09 07:23, Joanmarie Diggs wrote:
Hi Michal.
On Mon, 2009-03-02 at 09:38 +0000, Michal Pryc wrote:
Hello,
Webrev at:
http://cr.opensolaris.org/~migi/6982_add_repository_in_combobox
Bug:
6982 Addition of Repository Dropdown
- Have at end of combo a divider and then an Add... on dropdown and
this brings up Manage Repos
My apologies for not taking a look at this when you posted it. With
respect to this:
def __on_repositorycombobox_changed(self, widget):
'''On repository combobox changed'''
+ active_authority = self.__get_active_authority()
+ if self.visible_repository == active_authority:
+ # If we are coming back to the same repository, we do
+ # not want to setup authorities. This is the case when
+ # we are calling Add... then we are firing the event
for
+ # Add... case and imidiatelly coming back to the
+ # previously selected repository.
+ return
Based on using the latest packagemanager, it would seem that something
is emitting the changed signal which you were not planning on. Launch
packagemanager and then click the reload button (i.e. without changing
the active authority). After the 'Refreshing Catalogs' dialog comes and
goes, one expects the category and app trees to be repopulated. Instead,
these trees appears empty -- I assume because the visible repository is
This sounds like http://defect.opensolaris.org/bz/show_bug.cgi?id=7054
the active authority. Replace 'return' with a print statement and the
trees get populated (and your string printed).
Take care.
--Joanie
_______________________________________________
pkg-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/pkg-discuss
_______________________________________________
pkg-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/pkg-discuss