~ubuntu-branches/ubuntu/saucy/shotwell/saucy-proposed

« back to all changes in this revision

Viewing changes to src/Page.vala

  • Committer: Package Import Robot
  • Author(s): Robert Ancell
  • Date: 2012-03-07 10:27:48 UTC
  • mfrom: (1.2.9)
  • Revision ID: package-import@ubuntu.com-20120307102748-poymprhn45k75l09
Tags: 0.11.93-0ubuntu1
New upstream release

Show diffs side-by-side

added added

removed removed

Lines of Context:
1911
1911
        
1912
1912
        add(viewport);
1913
1913
 
1914
 
        // Work around an Ubuntu Ambiance style change that causes GtkDrawingAreas to have
1915
 
        // transparent backgrounds, causing odd display quirks.  The color we set here is
1916
 
        // arbitrary.
1917
 
        // See https://bugs.launchpad.net/light-themes/+bug/931630 .
1918
 
        canvas.override_background_color(Gtk.StateFlags.NORMAL, parse_color("#000"));
1919
 
        
 
1914
        // We used to disable GTK double buffering here.  We've had to reenable it
 
1915
        // due to this bug: http://redmine.yorba.org/issues/4775 .  
 
1916
        //
1920
1917
        // all painting happens in pixmap, and is sent to the window wholesale in on_canvas_expose
1921
 
        canvas.set_double_buffered(false);
 
1918
        // canvas.set_double_buffered(false);
1922
1919
        
1923
1920
        canvas.add_events(Gdk.EventMask.EXPOSURE_MASK | Gdk.EventMask.STRUCTURE_MASK 
1924
1921
            | Gdk.EventMask.SUBSTRUCTURE_MASK);