[Xfce4-commits] <xfmpc:master> status-icon: Update tooltip with window title

Mike Massonnet noreply at xfce.org
Sat Aug 13 10:54:05 CEST 2011


Updating branch refs/heads/master
         to 642de204b16ca65ffbc5f797413971cfa030b028 (commit)
       from 98a81b44fb1073e4abf4273454da5fcaae6faff3 (commit)

commit 642de204b16ca65ffbc5f797413971cfa030b028
Author: Mike Massonnet <mmassonnet at xfce.org>
Date:   Sun Jul 31 20:34:11 2011 +0200

    status-icon: Update tooltip with window title

 src/main-window.vala |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/src/main-window.vala b/src/main-window.vala
index bf719a6..06a723e 100644
--- a/src/main-window.vala
+++ b/src/main-window.vala
@@ -296,6 +296,8 @@ namespace Xfmpc {
 				title = "[" + _title + "] - " + Config.PACKAGE_NAME;
 			else
 				title = Config.PACKAGE_NAME;
+
+			this.status_icon.set_tooltip_text (title);
 		}
 
 		private void cb_show_statusbar_changed (ParamSpec pspec) {


More information about the Xfce4-commits mailing list