Re: [Evolution-hackers] Hide main window plugin
Op dinsdag 28-10-2008 om 12:19 uur [tijdzone +0100], schreef Andre Klapper: You know about existing 3rd party solutions like Alltray? Yes, I do. However, I think it would be much nicer to have an integrated solutions for new mail notification and showing & hiding the application. When new mail arrives while using Alltray, you will have two mail icons in your notification area. Also, a plugin would be easier to setup for a novice user. Jeroen ___ Evolution-hackers mailing list Evolution-hackers@gnome.org http://mail.gnome.org/mailman/listinfo/evolution-hackers
Re: [Evolution-hackers] Hide main window plugin
Am Dienstag, den 28.10.2008, 12:04 +0100 schrieb Jeroen Wouters: > to have the status icon permanently in the system tray GNOME does not have a system tray. It is a notification area. ;-) You know about existing 3rd party solutions like Alltray? andre -- mailto:[EMAIL PROTECTED] | failed http://www.iomc.de/ | http://blogs.gnome.org/aklapper ___ Evolution-hackers mailing list Evolution-hackers@gnome.org http://mail.gnome.org/mailman/listinfo/evolution-hackers
[Evolution-hackers] Hide main window plugin
Hello all, As a first attempt at hacking Evolution, I am trying to rewrite the mail-notification plugin in order to have the status icon permanently in the system tray and to make it possible to hide/show the Evolution main window by clicking the icon. The first part isn't that difficult, but I am having some difficulties with the hiding/showing. Based on the example on [0], I have been able to make a small standalone demo. However, to hide/show the window, it calls gtk_widget_hide() and gtk_window_present(). The problem is that these require a pointer to the window in question. Is it even possible to do this in a plugin and if yes, how do I get a hold of such a pointer to the main Evolution window? Thanks, Jeroen [0] http://yettocome.blogspot.com/2007/08/gtk-system-tray-icon-example.html signature.asc Description: Dit berichtdeel is digitaal ondertekend ___ Evolution-hackers mailing list Evolution-hackers@gnome.org http://mail.gnome.org/mailman/listinfo/evolution-hackers