https://bugs.gpodder.org/show_bug.cgi?id=1495

Thomas Perl <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|---                         |3.2

--- Comment #9 from Thomas Perl <[email protected]> 2012-02-09 17:21:43 GMT ---
(In reply to comment #8)
> >> Another Problem is that the gPodder.show() is called before ...
> > But isn't that even better than calling .show() *after* the hooks scripts is
> > inited? Because at that point, even if you have hidden the window from
> > the hook scripts, it would still be shown, right?
> 
> But I could do dirty things in trayicon init like:
> 
> self.cnt = 0
> oldShow = self.window().show
> dev newShow():
>   self.cnt+=1
>   if self.cnt>1:
>     oldShow()
> self.window().show = newShow
> 
> So the your first show would be ignored.

Wow, that's indeed dirty ;) But yeah, that'd do it. Maybe we can come up with a
cleaner solution for this as well, but I'd assume that this should happen only
after 3.1 or even 3.2 - then, the new extensions stuff and the new config
module are in place and we can think of a clean solution to the tray icon
problem. We might need something similar for the AppIndicator stuff on Ubuntu
as well..

-- 
Configure bugmail: https://bugs.gpodder.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.
_______________________________________________
gPodder-Bugs mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/gpodder-bugs

Reply via email to