[Libreoffice-commits] .: sfx2/source

Michael Meeks mmeeks at kemper.freedesktop.org
Mon Dec 6 09:23:25 PST 2010


 sfx2/source/appl/shutdowniconunx.cxx |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

New commits:
commit 8a823fef27416821cba001cf3f2748481e188a9c
Author: Michael Meeks <michael.meeks at novell.com>
Date:   Mon Dec 6 17:23:38 2010 +0000

    audit API usage for 2.10 & fix.

diff --git a/sfx2/source/appl/shutdowniconunx.cxx b/sfx2/source/appl/shutdowniconunx.cxx
index ee5979a..3df2800 100644
--- a/sfx2/source/appl/shutdowniconunx.cxx
+++ b/sfx2/source/appl/shutdowniconunx.cxx
@@ -366,8 +366,8 @@ void SAL_DLLPUBLIC_EXPORT plugin_init_sys_tray()
     pTrayIcon = gtk_status_icon_new_from_pixbuf(pPixbuf);
     g_object_unref( pPixbuf );
 
-    gtk_status_icon_set_title(pTrayIcon, aLabel);
-    gtk_status_icon_set_tooltip_text(pTrayIcon, aLabel);
+    g_object_set (pTrayIcon, "title", aLabel.getStr(),
+                  "tooltip_text", aLabel.getStr(), NULL);
 
     GtkWidget *pMenu = gtk_menu_new();
     g_signal_connect (pMenu, "deactivate",


More information about the Libreoffice-commits mailing list