~ubuntu-branches/ubuntu/wily/gnome-do/wily

« back to all changes in this revision

Viewing changes to Do.Interface.Linux.Classic/src/ClassicRenderer.cs

  • Committer: Bazaar Package Importer
  • Author(s): Christopher James Halse Rogers
  • Date: 2009-06-27 10:40:45 UTC
  • mfrom: (1.1.8 upstream) (0.1.5 squeeze)
  • Revision ID: james.westby@ubuntu.com-20090627104045-7st10y1cqr6dpz37
Tags: 0.8.2+dfsg-1
* New upstream release
  + No longer uses a plugin repository.  Fixes many plugin-
    related issues. (LP: #343096, LP: #330025, LP #345001)
  + No longer blocks on "About Do" (LP: #361679)
  + Reacts correctly when a Composite manager is enabled/
    disabled at runtime. (LP: #346347, LP: #390150)
  + Fixes for space reserved by Docky blocking drag and 
    drop operations. (LP: #354729, LP: #347052, LP: #382843)
  + Properly sets "Hidden" key on autostart files in response to 
    "Start on login" option.  (Closes: #526023) (LP: #369988)
* debian/patches/10_application_search_path:
  + Drop; included upstream
* debian/patches/10_sk_translation_update:
  + Import sk translation update from Debian BTS.
    (Closes: #531779)
* debian/patches/11_fix_autostart_when_directory_does_not_exist:
  + Patch from upstream.  Fixes the "Start on login" option when the 
    ~/.config/autostart directory does not exist. (LP: #393729)
* debian/control:
  + Update standards version to 3.8.2; no changes required.
  + Add libtool to Build-Depends; required for autoreconf.
  + Add Recommends: on new gnome-do-docklets package.
* debian/gnome-do.1
  + Fix spelling: GNOME-Do => GNOME Do.
  + Miscelaneous lintian fixes; NAME section, escaping minus signs with \-
* debian/copyright:
  + Update for new copyright holders.
  + Minor update to DEP-5 format

Show diffs side-by-side

added added

removed removed

Lines of Context:
40
40
                        this.parent = parent;
41
41
                }
42
42
                
43
 
                public void RenderElement (Context cr, Gdk.Rectangle drawing_area)
 
43
                public void RenderItem (Context cr, Gdk.Rectangle drawing_area)
44
44
                {
45
45
                        int radius = parent.WindowRadius;
46
46
                        double x = drawing_area.X;
95
95
                        this.parent = parent;
96
96
                }
97
97
                
98
 
                public void RenderElement (Context cr, Gdk.Rectangle render_region, bool focused)
 
98
                public void RenderItem (Context cr, Gdk.Rectangle render_region, bool focused)
99
99
                {
100
100
                        if (sr_active == null || sr_inactive == null || surface_height != Height) {
101
101
                                surface_height = Height;
147
147
                        this.parent = parent;
148
148
                }
149
149
                
150
 
                public void RenderElement (Context cr, Gdk.Rectangle drawing_area)
 
150
                public void RenderItem (Context cr, Gdk.Rectangle drawing_area)
151
151
                {
152
152
                        cr.SetRoundedRectanglePath (drawing_area, parent.WindowRadius, false);
153
153
                        LinearGradient lg = new LinearGradient (0, drawing_area.Y, 0, drawing_area.Height);
175
175
                        this.parent = parent;
176
176
                }
177
177
 
178
 
                public void RenderElement (Context cr, Gdk.Rectangle drawing_area, double overlay)
 
178
                public void RenderItem (Context cr, Gdk.Rectangle drawing_area, double overlay)
179
179
                {
180
180
                        cr.SetRoundedRectanglePath (drawing_area, parent.WindowRadius, false);
181
181
                        cr.Color = new Cairo.Color (parent.Colors.FocusedText.R,