Skip to content

Trayicon tweaks

Tobias Leupold requested to merge tleupold/neochat:trayicon_tweaks into master

This fixes two minor inconveniences:

  • When closing the chat window and re-showing it from the systray icon, the geometry was not properly restored. The window was always shown in the middle of the screen. Now, one gets the window back with it's actual last position and size.
  • It is now possible to not only show the window from the systray icon, but also to close it. This is the way other chat programs do it (Kopete back in the day, Konversation, Quassel IRC etc.)

Maybe, you want to add this?

I'm not 100 % sure about the difference of trayicon_sni.{cpp,h} and trayicon.{cpp,h}, I changed the showWindow signal name in both. For sure, somebody with more insight of this will know if I did everything corfrectly ;-)

Cheers, Tobias

Merge request reports