~ubuntu-branches/ubuntu/trusty/banshee/trusty-updates

« back to all changes in this revision

Viewing changes to src/Dap/Banshee.Dap/Banshee.Dap.Gui/DapInfoBar.cs

  • Committer: Package Import Robot
  • Author(s): Chow Loong Jin
  • Date: 2014-02-09 23:06:03 UTC
  • mfrom: (1.2.26) (150.1.2 trusty-proposed)
  • Revision ID: package-import@ubuntu.com-20140209230603-7dhbveo058j96ea0
* [fbf05ca] Imported Upstream version 2.9.0+really2.6.1:
  Downgrade to 2.6.1 -- 2.9.x is unstable and 3.0 won't arrive in time for
  release
* [22de440] Revert packaging to 2.6.1-2ubuntu1
* [7357b73] Merge changes from 2.6.1-5
* [a7156c0] Filter out libgpod-cil-dev versions built against gtk#3
* [e7c634d] Update dversionmangle for extracting +really version out

Show diffs side-by-side

added added

removed removed

Lines of Context:
112
112
            });
113
113
        }
114
114
 
115
 
        protected override void OnStyleUpdated ()
 
115
        protected override void OnStyleSet (Style previous_style)
116
116
        {
117
 
            base.OnStyleUpdated ();
 
117
            base.OnStyleSet (previous_style);
118
118
            SetBackground ();
119
119
        }
120
120
 
121
121
        private void SetBackground ()
122
122
        {
123
 
            Cairo.Color light = CairoExtensions.GdkRGBAToCairoColor (StyleContext.GetBackgroundColor (StateFlags.Normal));
 
123
            Cairo.Color light = CairoExtensions.GdkColorToCairoColor (Style.Background (StateType.Normal));
124
124
            Cairo.Color dark = CairoExtensions.ColorShade (light, 0.85);
125
125
 
126
126
            Cairo.LinearGradient grad = new Cairo.LinearGradient (0, Allocation.Y, 0, Allocation.Y + Allocation.Height);