banshee r5146 - in trunk/banshee: . src/Core/Banshee.ThickClient/Banshee.SmartPlaylist.Gui src/Core/Banshee.ThickClient/Resources
- From: gburt svn gnome org
- To: svn-commits-list gnome org
- Subject: banshee r5146 - in trunk/banshee: . src/Core/Banshee.ThickClient/Banshee.SmartPlaylist.Gui src/Core/Banshee.ThickClient/Resources
- Date: Fri, 20 Mar 2009 05:16:18 +0000 (UTC)
Author: gburt
Date: Fri Mar 20 05:16:17 2009
New Revision: 5146
URL: http://svn.gnome.org/viewvc/banshee?rev=5146&view=rev
Log:
2009-03-20 Gabriel Burt <gabriel burt gmail com>
* src/Core/Banshee.ThickClient/Banshee.SmartPlaylist.Gui/Editor.cs:
* src/Core/Banshee.ThickClient/Resources/banshee-dialogs.glade: Patch from
Alexander Kojevnikov fixing bug with predefined smart playlists'
descriptions being so wide they caused ugly horizontal scrolling (BGO
#556887)
Modified:
trunk/banshee/ChangeLog
trunk/banshee/src/Core/Banshee.ThickClient/Banshee.SmartPlaylist.Gui/Editor.cs
trunk/banshee/src/Core/Banshee.ThickClient/Resources/banshee-dialogs.glade
Modified: trunk/banshee/src/Core/Banshee.ThickClient/Banshee.SmartPlaylist.Gui/Editor.cs
==============================================================================
--- trunk/banshee/src/Core/Banshee.ThickClient/Banshee.SmartPlaylist.Gui/Editor.cs (original)
+++ trunk/banshee/src/Core/Banshee.ThickClient/Banshee.SmartPlaylist.Gui/Editor.cs Fri Mar 20 05:16:17 2009
@@ -96,14 +96,16 @@
bool have_any_predefined = false;
foreach (SmartPlaylistDefinition def in primary_source.PredefinedSmartPlaylists) {
list_model.AppendValues (
- String.Format ("<b>{0}</b>\n<i>{1}</i>", def.Name, def.Description), def
+ String.Format ("<b>{0}</b>\n<small>{1}</small>", def.Name, def.Description), def
);
have_any_predefined = true;
}
adv_tree_view.Selection.Mode = SelectionMode.Multiple;
adv_tree_view.Model = list_model;
- adv_tree_view.AppendColumn ("title", new CellRendererText (), "markup", 0);
+ CellRendererText renderer = new CellRendererText ();
+ renderer.Ellipsize = Pango.EllipsizeMode.End;
+ adv_tree_view.AppendColumn ("title", renderer, "markup", 0);
adv_tree_view.Selection.Changed += HandleAdvSelectionChanged;
UpdateAdvButtons (0);
Modified: trunk/banshee/src/Core/Banshee.ThickClient/Resources/banshee-dialogs.glade
==============================================================================
--- trunk/banshee/src/Core/Banshee.ThickClient/Resources/banshee-dialogs.glade (original)
+++ trunk/banshee/src/Core/Banshee.ThickClient/Resources/banshee-dialogs.glade Fri Mar 20 05:16:17 2009
@@ -455,7 +455,7 @@
<widget class="GtkScrolledWindow" id="scrolledwindow1">
<property name="visible">True</property>
<property name="can_focus">False</property>
- <property name="hscrollbar_policy">GTK_POLICY_AUTOMATIC</property>
+ <property name="hscrollbar_policy">GTK_POLICY_NEVER</property>
<property name="vscrollbar_policy">GTK_POLICY_AUTOMATIC</property>
<property name="shadow_type">GTK_SHADOW_IN</property>
<child>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]