# PanelApplet deprecated?

**URL:** <https://www.ruby-forum.com/t/panelapplet-deprecated/83328>\
**Category:** Ruby-Gnome 2\
**Created:** [January 25, 2007, 7:50am UTC](https://www.ruby-forum.com/t/panelapplet-deprecated/83328 "2007-01-25T07:50:44Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![Grant\_McLean](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/g/87869e/32.png) [@Grant\_McLean](https://www.ruby-forum.com/u/Grant_McLean)\
**Post date:** [January 25, 2007, 7:50am UTC](https://www.ruby-forum.com/t/panelapplet-deprecated/83328/1 "2007-01-25T07:50:44Z")

</div>

My SSHMenu program ( [SSHMenu](http://www.mclean.net.nz/ruby/sshmenu/) ) uses the  
PanelApplet class as follows …

…  
require ‘panelapplet2’

PanelApplet.main(“OAFIID:GNOME\_SSHMenuApplet\_Factory”,  
“SSH Menu Applet”, “0.1”) do |applet, iid|  
…

I’ve just received email from a user pointing out that this page …

[http://ruby-gnome2.sourceforge.jp/hiki.cgi?Ruby-GNOME2+API+Reference](http://ruby-gnome2.sourceforge.jp/hiki.cgi?Ruby-GNOME2+API+Reference)

… says that PanelApplet is deprecated in favour of Gtk::StatusIcon.

That seems odd to me because  
a) they seem to do very different things and  
b) I can’t see any mention of the underlying libpanel-applet c code  
being deprecated:  
[http://developer.gnome.org/doc/API/2.0/panel-applet/libpanel-applet.html](http://developer.gnome.org/doc/API/2.0/panel-applet/libpanel-applet.html)

I also can no longer find the documentation for the PanelApplet class.  
It used to exist because I referred to it while writing my program. I  
thought it was at this URL but it doesn’t seem to be:

[http://ruby-gnome2.sourceforge.jp/hiki.cgi?Ruby/PanelApplet](http://ruby-gnome2.sourceforge.jp/hiki.cgi?Ruby/PanelApplet)

Am I going mad?

Regards  
Grant

* * *

Take Surveys. Earn Cash. Influence the Future of IT  
Join [SourceForge.net](http://SourceForge.net)’s Techsay panel and you’ll get the chance to share  
your  
opinions on IT & business topics through brief surveys - and earn cash  
[http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV](http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV)

---

<div class="post-metadata">

**Author:** ![Grant\_McLean](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/g/87869e/32.png) [@Grant\_McLean](https://www.ruby-forum.com/u/Grant_McLean)\
**Post date:** [January 25, 2007, 8:31am UTC](https://www.ruby-forum.com/t/panelapplet-deprecated/83328/2 "2007-01-25T08:31:47Z")

</div>

Hi,

2007/1/25, Grant McLean [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid):

> [http://ruby-gnome2.sourceforge.jp/hiki.cgi?Ruby-GNOME2+API+Reference](http://ruby-gnome2.sourceforge.jp/hiki.cgi?Ruby-GNOME2+API+Reference)
> 
> … says that PanelApplet is deprecated in favour of Gtk::StatusIcon.

It’s right.

> That seems odd to me because  
> a) they seem to do very different things and  
> b) I can’t see any mention of the underlying libpanel-applet c code  
> being deprecated:  
> [http://developer.gnome.org/doc/API/2.0/panel-applet/libpanel-applet.html](http://developer.gnome.org/doc/API/2.0/panel-applet/libpanel-applet.html)

[http://developer.gnome.org/doc/API/2.0/gtk/GtkStatusIcon.html#id2870112](http://developer.gnome.org/doc/API/2.0/gtk/GtkStatusIcon.html#id2870112)  
and  
[systemtray-spec](http://www.freedesktop.org/wiki/Standards/systemtray-spec)  
may help you.

## Thanks,

kou

* * *

Take Surveys. Earn Cash. Influence the Future of IT  
Join [SourceForge.net](http://SourceForge.net)’s Techsay panel and you’ll get the chance to share  
your  
opinions on IT & business topics through brief surveys - and earn cash  
[http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV](http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV)

---

<div class="post-metadata">

**Author:** ![Grant\_McLean](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/g/87869e/32.png) [@Grant\_McLean](https://www.ruby-forum.com/u/Grant_McLean)\
**Post date:** [January 25, 2007, 8:47am UTC](https://www.ruby-forum.com/t/panelapplet-deprecated/83328/3 "2007-01-25T08:47:49Z")

</div>

Hi

Thanks for your quick reply.

On Thu, 2007-01-25 at 16:30 +0900, Kouhei S. wrote:

> > That seems odd to me because  
> > a) they seem to do very different things and

I’m still confused about this point.

> > b) I can’t see any mention of the underlying libpanel-applet c code  
> > being deprecated:  
> > [http://developer.gnome.org/doc/API/2.0/panel-applet/libpanel-applet.html](http://developer.gnome.org/doc/API/2.0/panel-applet/libpanel-applet.html)
> 
> [http://developer.gnome.org/doc/API/2.0/gtk/GtkStatusIcon.html#id2870112](http://developer.gnome.org/doc/API/2.0/gtk/GtkStatusIcon.html#id2870112)

The page you linked to says that the GtkStatusIcon routines are for  
displaying an icon in the system tray. It says nothing about applets.

On my GNOME desktop, the ‘system tray’ is provided by the “Notification  
Area Applet” and it displays icons that only appear when an event  
happens (eg: a software update is available, battery power is low etc).

The panelapplet library is used for writing applets - tools which can be  
added to the GNOME panel and remain there as visible icons/buttons,  
which you can interact with

I still don’t see how I would use GtkStatusIcon to create an applet and  
if I did, how I would get it to appear on the panel rather than in the  
system tray.

Regards  
Grant

* * *

Take Surveys. Earn Cash. Influence the Future of IT  
Join [SourceForge.net](http://SourceForge.net)’s Techsay panel and you’ll get the chance to share  
your  
opinions on IT & business topics through brief surveys - and earn cash  
[http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV](http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV)

---

<div class="post-metadata">

**Author:** ![Grant\_McLean](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/g/87869e/32.png) [@Grant\_McLean](https://www.ruby-forum.com/u/Grant_McLean)\
**Post date:** [January 25, 2007, 1:04pm UTC](https://www.ruby-forum.com/t/panelapplet-deprecated/83328/4 "2007-01-25T13:04:37Z")

</div>

Hi,

In [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)  
“Re: [ruby-gnome2-devel-en] PanelApplet deprecated?” on Thu, 25 Jan  
2007 20:46:17 +1300,  
Grant McLean [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:

> Area Applet" and it displays icons that only appear when an event  
> happens (eg: a software update is available, battery power is low etc).
> 
> The panelapplet library is used for writing applets - tools which can be  
> added to the GNOME panel and remain there as visible icons/buttons,  
> which you can interact with
> 
> I still don’t see how I would use GtkStatusIcon to create an applet and  
> if I did, how I would get it to appear on the panel rather than in the  
> system tray.

Ah, OK. I understand. You need to create Bonobo object,  
don’t you? I’m sorry for my wrong pointers.

## Thanks,

kou

* * *

Take Surveys. Earn Cash. Influence the Future of IT  
Join [SourceForge.net](http://SourceForge.net)’s Techsay panel and you’ll get the chance to share  
your  
opinions on IT & business topics through brief surveys - and earn cash  
[http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV](http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV)

---

<div class="post-metadata">

**Author:** ![Grant\_McLean](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/g/87869e/32.png) [@Grant\_McLean](https://www.ruby-forum.com/u/Grant_McLean)\
**Post date:** [January 25, 2007, 5:56pm UTC](https://www.ruby-forum.com/t/panelapplet-deprecated/83328/5 "2007-01-25T17:56:02Z")

</div>

Hi,

On Thu, 25 Jan 2007 19:48:52 +1300  
Grant McLean [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:

> [http://developer.gnome.org/doc/API/2.0/panel-applet/libpanel-applet.html](http://developer.gnome.org/doc/API/2.0/panel-applet/libpanel-applet.html)
> 
> I also can no longer find the documentation for the PanelApplet class.  
> It used to exist because I referred to it while writing my program. I  
> thought it was at this URL but it doesn’t seem to be:
> 
> [http://ruby-gnome2.sourceforge.jp/hiki.cgi?Ruby/PanelApplet](http://ruby-gnome2.sourceforge.jp/hiki.cgi?Ruby/PanelApplet)
> 
> Am I going mad?

Ruby/PanelApplet is deprecated in Ruby-GNOME2 project now.  
Because there is no one who maintains it.  
Of course, it doesn’t mean it is deprecated from GNOME2 world.

But also, it is included in Ruby-GNOME2-0.16.0.  
It won’t include to Ruby-GNOME2 tar ball in the future,  
but at least you can use it now and until some releases later.

Now, I consider to reduce our libraries which has been not maintained  
for a long time.  
Actually, I removed Ruby/Libgda and Ruby/GStreamer from 0.16.0.  
I know someone don’t hope it, but I can’t mainatin all of these  
libraries by myself.

* * *

Take Surveys. Earn Cash. Influence the Future of IT  
Join [SourceForge.net](http://SourceForge.net)’s Techsay panel and you’ll get the chance to share  
your  
opinions on IT & business topics through brief surveys - and earn cash  
[http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV](http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV)

---

<div class="post-metadata">

**Author:** ![Grant\_McLean](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/g/87869e/32.png) [@Grant\_McLean](https://www.ruby-forum.com/u/Grant_McLean)\
**Post date:** [January 25, 2007, 8:40pm UTC](https://www.ruby-forum.com/t/panelapplet-deprecated/83328/6 "2007-01-25T20:40:56Z")

</div>

On Fri, 2007-01-26 at 01:54 +0900, Masao M. wrote:

> > 
> 
> but at least you can use it now and until some releases later.  
> Is Ruby/PanelApplet broken? If not, I don’t understand the motivation  
> for removing it.

> Now, I consider to reduce our libraries which has been not maintained for a long time.  
> Actually, I removed Ruby/Libgda and Ruby/GStreamer from 0.16.0.  
> I know someone don’t hope it, but I can’t mainatin all of these libraries by myself.

I certainly appreciate the effort you put into creating and maintaining  
these libraries. I hope I did not appear demanding in my enquiry.

Regards  
Grant

* * *

Take Surveys. Earn Cash. Influence the Future of IT  
Join [SourceForge.net](http://SourceForge.net)’s Techsay panel and you’ll get the chance to share  
your  
opinions on IT & business topics through brief surveys - and earn cash  
[http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV](http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV)

---

<div class="post-metadata">

**Author:** ![Grant\_McLean](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/g/87869e/32.png) [@Grant\_McLean](https://www.ruby-forum.com/u/Grant_McLean)\
**Post date:** [January 26, 2007, 3:28pm UTC](https://www.ruby-forum.com/t/panelapplet-deprecated/83328/7 "2007-01-26T15:28:32Z")

</div>

Hi,

On Fri, 26 Jan 2007 08:39:54 +1300  
Grant McLean [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:

> On Fri, 2007-01-26 at 01:54 +0900, Masao M. wrote:
> 
> > Hi,

> > But also, it is included in Ruby-GNOME2-0.16.0.  
> > It won’t include to Ruby-GNOME2 tar ball in the future,  
> > but at least you can use it now and until some releases later.
> 
> Is Ruby/PanelApplet broken? If not, I don’t understand the motivation  
> for removing it.

It’s my mind, not you.  
If you help us, I may change my mind.

* * *

Take Surveys. Earn Cash. Influence the Future of IT  
Join [SourceForge.net](http://SourceForge.net)’s Techsay panel and you’ll get the chance to share  
your  
opinions on IT & business topics through brief surveys - and earn cash  
[http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV](http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV)
