Logo Search packages:      
Sourcecode: wallpaper-tray version File versions  Download package

void Applet::CreateTooltip ( guint  _nCnxn,
Gnome::Conf::Entry  _GconfEntry 
) [private]

Called when the wallpaper changes to update the applets tooltip with its location.

<Applet::CreateTooltip>

Date:
12-11-2006 GAF Written

Definition at line 684 of file Applet.cc.

Referenced by Applet().

{
      std::ostringstream ss;
      ss.imbue(std::locale("")); // use the user's locale for this stream

      // create tip text
      ss << _("Wallpaper Tray") << " ";
      ss << VERSION << " ";
      ss << m_pGconfClient->get_string("/desktop/gnome/background/picture_filename");

      // attach it
      m_GtkTooltips.set_tip(*this, Glib::locale_to_utf8(ss.str()));
}// end Applet::CreateTooltip


Generated by  Doxygen 1.6.0   Back to index