banshee r3955 - in trunk/banshee: . src/Core/Banshee.ThickClient/Banshee.Gui.Widgets
- From: jwillcox svn gnome org
- To: svn-commits-list gnome org
- Subject: banshee r3955 - in trunk/banshee: . src/Core/Banshee.ThickClient/Banshee.Gui.Widgets
- Date: Thu, 22 May 2008 14:51:49 +0000 (UTC)
Author: jwillcox
Date: Thu May 22 14:51:49 2008
New Revision: 3955
URL: http://svn.gnome.org/viewvc/banshee?rev=3955&view=rev
Log:
2008-05-22 James Willcox <snorp novell com>
* src/Core/Banshee.ThickClient/Banshee.Gui.Widgets/UserJobTiles.cs:
Set tooltips on the status label since it frequently gets ellipsized
Modified:
trunk/banshee/ChangeLog
trunk/banshee/src/Core/Banshee.ThickClient/Banshee.Gui.Widgets/UserJobTile.cs
Modified: trunk/banshee/src/Core/Banshee.ThickClient/Banshee.Gui.Widgets/UserJobTile.cs
==============================================================================
--- trunk/banshee/src/Core/Banshee.ThickClient/Banshee.Gui.Widgets/UserJobTile.cs (original)
+++ trunk/banshee/src/Core/Banshee.ThickClient/Banshee.Gui.Widgets/UserJobTile.cs Thu May 22 14:51:49 2008
@@ -32,6 +32,7 @@
using Banshee.Base;
using Banshee.ServiceStack;
+using Hyena.Gui;
namespace Banshee.Gui.Widgets
{
@@ -51,6 +52,7 @@
private Button cancel_button;
private uint update_delay_id;
private uint progress_bounce_id;
+ private object tooltips;
Banshee.Widgets.HigMessageDialog cancel_dialog;
@@ -70,6 +72,7 @@
icon = new Image ();
+ tooltips = TooltipSetter.CreateHost ();
title_label = new Label ();
title_label.Xalign = 0.0f;
title_label.Ellipsize = Pango.EllipsizeMode.End;
@@ -177,6 +180,7 @@
status_label.Hide ();
} else {
status_label.Markup = String.Format ("<small>{0}</small>", GLib.Markup.EscapeText (job.Status));
+ TooltipSetter.Set (tooltips, status_label, job.Status);
status_label.Show ();
}
status = job.Status;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]