~njpatel/gwibber/libgwibber-client

« back to all changes in this revision

Viewing changes to libgwibber-gtk/stream-view.vala

  • Committer: Neil Jagdish Patel
  • Date: 2010-12-20 21:49:39 UTC
  • Revision ID: neil.patel@canonical.com-20101220214939-r9w9epiykp563y6s
Make work with latest dee

Show diffs side-by-side

added added

removed removed

Lines of Context:
142
142
              tile.set_details (_position + i,
143
143
                                _model.get_string (iter, StreamModelColumn.SERVICE),
144
144
                                _model.get_string (iter, StreamModelColumn.NAME),
145
 
                                _model.get_uint   (iter, StreamModelColumn.TIMESTAMP),
 
145
                                _model.get_uint32 (iter, StreamModelColumn.TIMESTAMP),
146
146
                                _model.get_string (iter, StreamModelColumn.MESSAGE),
147
147
                                _model.get_string (iter, StreamModelColumn.ICON_URI),
148
148
                                _model.get_string (iter, StreamModelColumn.COLOR));
199
199
 
200
200
    private bool on_layout_exposed (Gdk.EventExpose event)
201
201
    {
202
 
      var cr = Gdk.cairo_create (layout.get_bin_window ());
203
 
 
204
 
      cr.rectangle (event.area.x, event.area.y,
205
 
                    event.area.width, event.area.height);
206
 
      cr.clip ();
207
 
      cr.set_operator (Cairo.Operator.CLEAR);
208
 
      cr.paint ();
209
 
 
210
 
      cr.set_source_rgba (242/255.0f, 241/255.0f, 240/255.0f, 0.85f);
211
 
      cr.set_operator (Cairo.Operator.OVER);
212
 
      cr.paint ();
213
 
 
214
 
      layout.propagate_expose (view_box, event);
215
 
 
216
 
      return true;
 
202
      return false;
217
203
    }
218
204
 
219
205
    private void on_row_added ()