[banshee/gtk3] Nereid: Complete port of PlayerInterface to GTK 3
- From: Bertrand Lorentz <blorentz src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [banshee/gtk3] Nereid: Complete port of PlayerInterface to GTK 3
- Date: Sun, 17 Jul 2011 13:52:48 +0000 (UTC)
commit e7f8b3adc7b3c6db47fc48b1aa9eb41b7b9d91be
Author: Bertrand Lorentz <bertrand lorentz gmail com>
Date: Sun Jul 17 15:49:36 2011 +0200
Nereid: Complete port of PlayerInterface to GTK 3
src/Clients/Nereid/Nereid/PlayerInterface.cs | 9 +++++----
1 files changed, 5 insertions(+), 4 deletions(-)
---
diff --git a/src/Clients/Nereid/Nereid/PlayerInterface.cs b/src/Clients/Nereid/Nereid/PlayerInterface.cs
index 62e409c..ce95ac8 100644
--- a/src/Clients/Nereid/Nereid/PlayerInterface.cs
+++ b/src/Clients/Nereid/Nereid/PlayerInterface.cs
@@ -290,9 +290,9 @@ namespace Nereid
};
source_scroll.Add (source_view);
- var color = new Gdk.Color ((byte)0xe6, (byte)0xe6, (byte)0xe6);
- Gdk.Colormap.System.AllocColor (ref color, true, true);
- source_view.ModifyBase (StateType.Normal, color);
+ var color = new Gdk.RGBA ();
+ color.Parse ("e6e6e6");
+ source_view.OverrideBackgroundColor (StateFlags.Normal, color);
} else {
Hyena.Widgets.ScrolledWindow window;
if (ApplicationContext.CommandLine.Contains ("smooth-scroll")) {
@@ -417,7 +417,8 @@ namespace Nereid
// UI events
view_container.SearchEntry.Changed += OnSearchEntryChanged;
- views_pane.SizeRequested += delegate {
+ // TODO: Check that this still works, it was using SizeRequested
+ views_pane.SizeAllocated += delegate {
SourceViewWidth.Set (views_pane.Position);
};
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]