banshee r5046 - in trunk/banshee: . src/Core/Banshee.ThickClient/Banshee.Gui.TrackEditor



Author: blorentz
Date: Wed Feb 18 19:32:30 2009
New Revision: 5046
URL: http://svn.gnome.org/viewvc/banshee?rev=5046&view=rev

Log:
2009-02-18  Bertrand Lorentz  <bertrand lorentz gmail com>

	* src/Core/Banshee.ThickClient/Banshee.Gui.TrackEditor/ExtraTrackDetailsPage.cs:
	Patch from Alexander Kojevnikov fixing auto-growing of the Comment 
	text box on the Edit Track dialog (BGO #553581).



Modified:
   trunk/banshee/ChangeLog
   trunk/banshee/src/Core/Banshee.ThickClient/Banshee.Gui.TrackEditor/ExtraTrackDetailsPage.cs

Modified: trunk/banshee/src/Core/Banshee.ThickClient/Banshee.Gui.TrackEditor/ExtraTrackDetailsPage.cs
==============================================================================
--- trunk/banshee/src/Core/Banshee.ThickClient/Banshee.Gui.TrackEditor/ExtraTrackDetailsPage.cs	(original)
+++ trunk/banshee/src/Core/Banshee.ThickClient/Banshee.Gui.TrackEditor/ExtraTrackDetailsPage.cs	Wed Feb 18 19:32:30 2009
@@ -90,8 +90,11 @@
                 delegate (EditorTrackInfo track, Widget widget) { ((TextEntry)widget).Text = track.Copyright; },
                 delegate (EditorTrackInfo track, Widget widget) { track.Copyright = ((TextEntry)widget).Text; }
             );
-            
-            AddField (this, new TextViewEntry (), 
+
+            TextViewEntry comment_entry = new TextViewEntry ();
+            comment_entry.HscrollbarPolicy = PolicyType.Automatic;
+            comment_entry.TextView.WrapMode = WrapMode.WordChar;
+            AddField (this, comment_entry, 
                 Catalog.GetString ("Set all comments to this value"),
                 delegate { return Catalog.GetString ("Comment:"); },
                 delegate (EditorTrackInfo track, Widget widget) { ((TextViewEntry)widget).Text = track.Comment; },



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