<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Creating a GTK notification area icon using Mono and C#</title>
	<atom:link href="http://www.dijksterhuis.org/creating-gtk-notification-area-icon-mono/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.dijksterhuis.org/creating-gtk-notification-area-icon-mono/</link>
	<description>Information, news about programming in C#</description>
	<lastBuildDate>Sat, 04 Jun 2011 10:24:27 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1.3</generator>
	<item>
		<title>By: Anthony</title>
		<link>http://www.dijksterhuis.org/creating-gtk-notification-area-icon-mono/comment-page-1/#comment-4614</link>
		<dc:creator>Anthony</dc:creator>
		<pubDate>Fri, 05 Nov 2010 04:49:23 +0000</pubDate>
		<guid isPermaLink="false">http://www.dijksterhuis.org/?p=435#comment-4614</guid>
		<description>Hi Martin,

On Windows the notification icon hangs around after the application quits, at least until you mouse over it. You can fix this behaviour with the following small change to your DeleteEvent handler:

protected void OnDeleteEvent(object sender, DeleteEventArgs a)
{
	myStatusIcon.Visible = false; // &lt;-- hide icon before quitting
	Application.Quit();
	a.RetVal = true;
}

Kind regards,
Anthony.</description>
		<content:encoded><![CDATA[<p>Hi Martin,</p>
<p>On Windows the notification icon hangs around after the application quits, at least until you mouse over it. You can fix this behaviour with the following small change to your DeleteEvent handler:</p>
<p>protected void OnDeleteEvent(object sender, DeleteEventArgs a)<br />
{<br />
	myStatusIcon.Visible = false; // &lt;&#8211; hide icon before quitting<br />
	Application.Quit();<br />
	a.RetVal = true;<br />
}</p>
<p>Kind regards,<br />
Anthony.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Martijn</title>
		<link>http://www.dijksterhuis.org/creating-gtk-notification-area-icon-mono/comment-page-1/#comment-298</link>
		<dc:creator>Martijn</dc:creator>
		<pubDate>Wed, 11 Feb 2009 05:20:06 +0000</pubDate>
		<guid isPermaLink="false">http://www.dijksterhuis.org/?p=435#comment-298</guid>
		<description>Hi Ralf, 

You can use a Gdk.Pixbuf if you would just like to load an external image (Pixbuf will accept (png, tiff, jpg, gif, xpm, pcx, ico, xpm, xbm)

&lt;blockquote&gt;
using Gdk;
myStatusIcon = new StatusIcon(new Gdk.Pixbuf(&quot;/home/martijn/Desktop/images.jpeg&quot;));
&lt;/blockquote&gt;

I haven&#039;t yet tried to distribute this in an exe file, so I can&#039;t help you there. 

Cheers,
Martijn</description>
		<content:encoded><![CDATA[<p>Hi Ralf, </p>
<p>You can use a Gdk.Pixbuf if you would just like to load an external image (Pixbuf will accept (png, tiff, jpg, gif, xpm, pcx, ico, xpm, xbm)</p>
<blockquote><p>
using Gdk;<br />
myStatusIcon = new StatusIcon(new Gdk.Pixbuf(&#8220;/home/martijn/Desktop/images.jpeg&#8221;));
</p></blockquote>
<p>I haven&#8217;t yet tried to distribute this in an exe file, so I can&#8217;t help you there. </p>
<p>Cheers,<br />
Martijn</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ralf Kistner</title>
		<link>http://www.dijksterhuis.org/creating-gtk-notification-area-icon-mono/comment-page-1/#comment-287</link>
		<dc:creator>Ralf Kistner</dc:creator>
		<pubDate>Mon, 09 Feb 2009 12:33:58 +0000</pubDate>
		<guid isPermaLink="false">http://www.dijksterhuis.org/?p=435#comment-287</guid>
		<description>Thanks for the tutorial.

However, I would like to add my own icon. How would this be accomplished? What format should the icon be in? Can the icon be stored inside the exe file?</description>
		<content:encoded><![CDATA[<p>Thanks for the tutorial.</p>
<p>However, I would like to add my own icon. How would this be accomplished? What format should the icon be in? Can the icon be stored inside the exe file?</p>
]]></content:encoded>
	</item>
</channel>
</rss>

