<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/css" href="/stylesheets/rss.css"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/">
  <channel>
    <title>Jb in a nutshell: GMail TrayIcon</title>
    <link>http://evain.net/blog/articles/2005/06/08/gmail-trayicon</link>
    <language>en-us</language>
    <ttl>40</ttl>
    <description></description>
    <item>
      <title>GMail TrayIcon</title>
      <description>&lt;p&gt;&lt;br /&gt;&lt;h3&gt;I&amp;#8217;ve played with Lego today&lt;/h3&gt;
&lt;p&gt;
Well, it was some kind of special Lego&amp;#8230; I&amp;#8217;ve taken bricks from :
&lt;/p&gt;
&lt;ul&gt;
  &lt;li&gt;A nice tutorial about &lt;a href="http://mono-project.com/GtkSharpNotificationIcon"&gt;Tray Icons for &lt;span class="caps"&gt;GNOME&lt;/span&gt;&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;An perfect and simple &lt;a href="http://rlove.org/log/2004110201"&gt;example&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;An amazing &lt;a href="http://www.mono-live.com/"&gt;Mono Live&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;span class="caps"&gt;GPL&lt;/span&gt; icons from a nice &lt;a href="http://johnvey.com/features/gmailapi/"&gt;project&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;A simple &lt;a href="http://code.google.com/apis.html#gmail"&gt;&lt;span class="caps"&gt;ATOM&lt;/span&gt; feed&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;
With those bricks, I&amp;#8217;ve made a very simple and totally incomplete &lt;b&gt;GMail Notification Icon for &lt;span class="caps"&gt;GNOME&lt;/span&gt;&lt;/b&gt;. It looks like that:
&lt;/p&gt;
&lt;p align="center"&gt;
&lt;img src="http://evain.net/public/gmailtray_nomail.png" /&gt;
&lt;/p&gt;
&lt;p align="center"&gt;
&lt;img src="http://evain.net/public/gmailtray_mails.png" /&gt;
&lt;/p&gt;
&lt;p&gt;
Yet, it&amp;#8217;s no really usable. Username and password are hard-coded, and you just know if you have, or not, unread mails.
&lt;/p&gt;
&lt;p&gt;
If someone is willing to use my code to produce a better applet, he would not have a lot of things to do. The list is simple:
&lt;/p&gt;
&lt;ul&gt;
  &lt;li&gt;Use GConf to save username and password&lt;/li&gt;
  &lt;li&gt;Write a really simple window to ask user whether or not username and password have to be stored&lt;/li&gt;
  &lt;li&gt;Write another simple window to be shown when a new mail arrives, and then disappears&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;
This nice person will find the code here: &lt;a href="http://evain.net/public/gmailtray.tar.gz"&gt;GMailTray&lt;/a&gt;
&lt;/p&gt;&lt;/p&gt;</description>
      <pubDate>Wed, 08 Jun 2005 20:30:14 +0200</pubDate>
      <guid isPermaLink="false">urn:uuid:ac0c9a70eef045804764d044d7cb3d9a</guid>
      <author>jbevain</author>
      <link>http://evain.net/blog/articles/2005/06/08/gmail-trayicon</link>
      <category>AspectDNG</category>
      <trackback:ping>http://evain.net/blog/articles/trackback/21</trackback:ping>
    </item>
    <item>
      <title>"GMail TrayIcon" by Cr3pE</title>
      <description>&lt;p&gt;Ok. It&amp;#8217;s updated. I don&amp;#8217;t know why the &amp;#8216;Â&amp;#8216; was unvisible :s&amp;#8230;&lt;br /&gt;
Thanks! :)&lt;/p&gt;</description>
      <pubDate>Sat, 11 Jun 2005 12:14:11 +0200</pubDate>
      <guid isPermaLink="false">urn:uuid:</guid>
      <link>http://evain.net/blog/articles/2005/06/08/gmail-trayicon#comment-106</link>
    </item>
    <item>
      <title>"GMail TrayIcon" by Cr3pE</title>
      <description>&lt;p&gt;Hum&amp;#8230; I&amp;#8217;ve the same error when I compile with the command line but nothing when I compile with MonoDevelop&amp;#8230;&lt;br /&gt;
Any idea? (I&amp;#8217;m on ubuntu)&lt;br /&gt;
&lt;/p&gt;</description>
      <pubDate>Fri, 10 Jun 2005 11:40:09 +0200</pubDate>
      <guid isPermaLink="false">urn:uuid:</guid>
      <link>http://evain.net/blog/articles/2005/06/08/gmail-trayicon#comment-108</link>
    </item>
    <item>
      <title>"GMail TrayIcon" by wm_eddie</title>
      <description>&lt;p&gt;I updated my tar.gz with some HIG compliant dialogs.  This is about as far as I&amp;#8217;m going to go with it.&lt;br /&gt;
&lt;br /&gt;
&lt;a href="http://www.wm-eddie.info/pub/gmailtray.tar.gz"&gt;http://www.wm-eddie.info/pub/gmailtray.tar.gz&lt;/a&gt;&lt;/p&gt;</description>
      <pubDate>Fri, 10 Jun 2005 03:02:04 +0200</pubDate>
      <guid isPermaLink="false">urn:uuid:</guid>
      <link>http://evain.net/blog/articles/2005/06/08/gmail-trayicon#comment-107</link>
    </item>
    <item>
      <title>"GMail TrayIcon" by Craig Duquette</title>
      <description>&lt;p&gt;@Cr3pE your source doesn&amp;#8217;t compile, I get these errors&amp;#8230;&lt;br /&gt;
&lt;br /&gt;
syntax error, got token `OPEN_BRACE&amp;#8217;&lt;br /&gt;
Applet.cs(133) error CS1002: Expecting `;&amp;#8217;&lt;br /&gt;
Applet.cs(150) error CS0116: A namespace can only contain types and namespace declarations&lt;br /&gt;
Applet.cs(155) error CS0116: A namespace can only contain types and namespace declarations&lt;br /&gt;
Applet.cs(160) error CS0116: A namespace can only contain types and namespace declarations&lt;br /&gt;
Applet.cs(166) error CS0116: A namespace can only contain types and namespace declarations&lt;br /&gt;
Applet.cs(175) error CS0116: A namespace can only contain types and namespace declarations&lt;br /&gt;
syntax error, got token `CLOSE_BRACE&amp;#8217;&lt;br /&gt;
Applet.cs(186) error CS8025: Parsing error&lt;br /&gt;
&lt;/p&gt;</description>
      <pubDate>Fri, 10 Jun 2005 00:27:17 +0200</pubDate>
      <guid isPermaLink="false">urn:uuid:</guid>
      <link>http://evain.net/blog/articles/2005/06/08/gmail-trayicon#comment-109</link>
    </item>
    <item>
      <title>"GMail TrayIcon" by Cr3pE</title>
      <description>&lt;p&gt;Implemented too. Great in order to learn programming.&lt;br /&gt;
I&amp;#8217;ve added the pop-up window and the base for internationalisation.&lt;br /&gt;
&lt;br /&gt;
&lt;a href="http://membres.lycos.fr/corkmc/Gmailtray.tar.gz"&gt;http://membres.lycos.fr/corkmc/Gmailtray.tar.gz&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
(sorry for my english)&lt;/p&gt;</description>
      <pubDate>Thu, 09 Jun 2005 22:17:15 +0200</pubDate>
      <guid isPermaLink="false">urn:uuid:</guid>
      <link>http://evain.net/blog/articles/2005/06/08/gmail-trayicon#comment-111</link>
    </item>
    <item>
      <title>"GMail TrayIcon" by wm_eddie</title>
      <description>&lt;p&gt;I didn&amp;#8217;t implement the pop-up window though, I don&amp;#8217;t like them.&lt;/p&gt;</description>
      <pubDate>Thu, 09 Jun 2005 20:49:43 +0200</pubDate>
      <guid isPermaLink="false">urn:uuid:</guid>
      <link>http://evain.net/blog/articles/2005/06/08/gmail-trayicon#comment-110</link>
    </item>
    <item>
      <title>"GMail TrayIcon" by wm_eddie</title>
      <description>&lt;p&gt;I&amp;#8217;ve implemented the things you asked for, probably in a bad way, but it was quick.  (I&amp;#8217;m pretty sure it leaks window references.)&lt;br /&gt;
&lt;br /&gt;
I&amp;#8217;ve uploaded it to my website wm-eddie.info/pub/gmailtray.tar.gz&lt;br /&gt;
&lt;br /&gt;
Let me know if anyone else makes any changes.&lt;/p&gt;</description>
      <pubDate>Thu, 09 Jun 2005 20:48:37 +0200</pubDate>
      <guid isPermaLink="false">urn:uuid:</guid>
      <link>http://evain.net/blog/articles/2005/06/08/gmail-trayicon#comment-112</link>
    </item>
    <item>
      <title>"GMail TrayIcon" by Chris</title>
      <description>&lt;p&gt;Hi,&lt;br /&gt;
&lt;br /&gt;
Is it possible for you to extend this app to include support for POP and IMAP? The reason I ask is because mail-notification uses too many resources (&amp;gt;50 MB RAM).&lt;br /&gt;
&lt;br /&gt;
Maybe I can help out.&lt;br /&gt;
&lt;br /&gt;
/Chris&lt;br /&gt;
&lt;br /&gt;
&lt;/p&gt;</description>
      <pubDate>Thu, 09 Jun 2005 09:10:35 +0200</pubDate>
      <guid isPermaLink="false">urn:uuid:</guid>
      <link>http://evain.net/blog/articles/2005/06/08/gmail-trayicon#comment-113</link>
    </item>
    <item>
      <title>"GMail TrayIcon" by Kyle Ambroff</title>
      <description>&lt;p&gt;There is a project called mail-notification which is really nice.  &lt;br /&gt;
&lt;br /&gt;
&lt;a href="http://www.nongnu.org/mailnotify/"&gt;http://www.nongnu.org/mailnotify/&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
Just thought you might like to know.&lt;br /&gt;
-kyle&lt;/p&gt;</description>
      <pubDate>Thu, 09 Jun 2005 08:45:46 +0200</pubDate>
      <guid isPermaLink="false">urn:uuid:</guid>
      <link>http://evain.net/blog/articles/2005/06/08/gmail-trayicon#comment-114</link>
    </item>
    <item>
      <title>"GMail TrayIcon" by Craig Duquette</title>
      <description>&lt;p&gt;Hi! I saw this post at monologue and I&amp;#8217;m intested in getting something started. I didn&amp;#8217;t know Google had &amp;#8220;ATOM&amp;#8221; feeds for Gmail. I made a script for Openbox for gmail using libgmail and was thinking of making a tray icon program, but wasn&amp;#8217;t sure how to call a python lib file in mono. Anyway it seems you did the hard stuff, I think the other stuff would be easier. If anyone is interested in helping also email me. We need a repo, I can get a SVN one if absolutely needed.&lt;/p&gt;</description>
      <pubDate>Thu, 09 Jun 2005 00:57:44 +0200</pubDate>
      <guid isPermaLink="false">urn:uuid:</guid>
      <link>http://evain.net/blog/articles/2005/06/08/gmail-trayicon#comment-115</link>
    </item>
  </channel>
</rss>
