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

« back to all changes in this revision

Viewing changes to src/config/Config.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:
128
128
    }
129
129
    
130
130
    public void set_bg_color(Gdk.RGBA color) {
131
 
        bg_color = color.to_string();
 
131
        uint8 col_tmp = (uint8) (color.red * 255.0);
 
132
        
 
133
        bg_color = "#%02X%02X%02X".printf(col_tmp, col_tmp, col_tmp);
132
134
        set_bg_color_name(bg_color);
133
135
        
134
136
        set_text_colors(color);