Patch reworked based upon proposed changes. Much simpler now. No notification however. <br><br><div class="gmail_quote">On Tue, Oct 20, 2009 at 5:43 PM, Cole Robinson <span dir="ltr"><<a href="mailto:crobinso@redhat.com">crobinso@redhat.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><div><div class="h5">On 10/19/2009 03:10 PM, Jon Nordby wrote:<br>
> Result of me scratching an itch and procrastinating on studies. First time<br>
> using hg and glade so bear with me and give feedback if there is anything<br>
> wrong. Or if there are other things that should/could be improved.<br>
><br>
> I believe this addresses the minimal case for: "System Icon Improvements -<br>
> At the very least, a "Minimize to Tray" type option." on<br>
> <a href="http://virt-manager.et.redhat.com/page/Roadmap" target="_blank">http://virt-manager.et.redhat.com/page/Roadmap</a><br>
> The "Keep running in tray" option should however be grayed out when the<br>
> systray is disabled to not confuse the user. I was not able to find out how<br>
> that's done.<br>
><br>
<br>
</div></div>Thanks for taking a stab at this.<br>
<br>
I regret even adding the systray icon without making your proposed<br>
behavior the default. I think the icon is only useful for people who<br>
plan on having the virt-manager as a long running task, and we shouldn't<br>
require that some top level window stay minimize that whole time.<br>
<br>
So, I don't think this should even be an opt out option, let's just out<br>
right enable it! This will simplify your patch substantially (though it<br>
was fine to begin with).<br>
<br>
The one extra piece to facilitate this will be a notification that<br>
'virt-manager is still running' when the user closes all windows, with a<br>
'Don't show this again' option. Though it's not required to commit this<br>
patch.<br>
</blockquote></div>