[phonemgr] ui: add a title to the status icon



commit f10c8be2a3c09b3e2f12179af5f3503b921a9f1c
Author: Daniele Forsi <dforsi src gnome org>
Date:   Mon Apr 30 12:04:39 2012 +0200

    ui: add a title to the status icon
    
    So that a nicer name will be shown (the already translated string for "Phone
    Manager", instead of the name of the executable, gnome-phone-manager, which
    can't be translated).

 src/icon.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/src/icon.c b/src/icon.c
index 4224ae2..3fc76a3 100644
--- a/src/icon.c
+++ b/src/icon.c
@@ -79,6 +79,7 @@ tray_icon_init (MyApp *app)
 					   DATA_DIR G_DIR_SEPARATOR_S "icons");
 
 	app->tray_icon = gtk_status_icon_new ();
+	gtk_status_icon_set_title (app->tray_icon, _("Phone Manager"));
 	gtk_window_set_default_icon_name ("phone");
 	set_icon_state (app);
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]