diff options
| author | Neil Jagdish Patel <neil.patel@canonical.com> | 2010-05-26 14:49:53 +0100 |
|---|---|---|
| committer | Neil Jagdish Patel <neil.patel@canonical.com> | 2010-05-26 14:49:53 +0100 |
| commit | ff8d7c094080c0fdb352b7039c254f7db12a9761 (patch) | |
| tree | 558f4c26a8fe55bd3438e12b9714ffa0d07f1eaa | |
| parent | c4213bb1baff0fe51e5e1c0faeaf2b71bd670969 (diff) | |
- Make indicator menu highlight match Gtk theme
(bzr r287.3.2)
| -rw-r--r-- | unity-private/panel/panel-indicators.vala | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/unity-private/panel/panel-indicators.vala b/unity-private/panel/panel-indicators.vala index 99aee09a3..4e6173211 100644 --- a/unity-private/panel/panel-indicators.vala +++ b/unity-private/panel/panel-indicators.vala @@ -530,6 +530,10 @@ namespace Unity.Panel.Indicators this.entry.menu.notify["visible"].connect (this.menu_vis_changed); this.bg.animate (Clutter.AnimationMode.EASE_OUT_QUAD, 200, "opacity", 255); + + Clutter.Color col = { 255, 249, 233, 255 }; + this.text.animate (Clutter.AnimationMode.EASE_OUT_QUAD, 200, + "color", ref col); } } @@ -542,6 +546,9 @@ namespace Unity.Panel.Indicators this.bg.animate (Clutter.AnimationMode.EASE_OUT_QUAD, 200, "opacity", 0); + Clutter.Color col = { 233, 216, 200, 255 }; + this.text.animate (Clutter.AnimationMode.EASE_OUT_QUAD, 200, + "color", ref col); this.entry.menu.move_current.disconnect (this.menu_key_moved); this.entry.menu.notify["visible"].disconnect (this.menu_vis_changed); } @@ -592,8 +599,8 @@ namespace Unity.Panel.Indicators cr.line_to (1, height); var pat = new Cairo.Pattern.linear (1, 0, 1, height); - pat.add_color_stop_rgba (0.0, 1.0f, 1.0f, 1.0f, 0.6f); - pat.add_color_stop_rgba (1.0, 1.0f, 1.0f, 1.0f, 0.2f); + pat.add_color_stop_rgba (0.0, 0.8509f, 0.8196f, 0.7294f, 1.0f); + pat.add_color_stop_rgba (1.0, 0.7019f, 0.6509f, 0.5137f, 1.0f); cr.set_source (pat); cr.fill (); |
