~njpatel/gwibber/libgwibber-o-client-njpatel

« back to all changes in this revision

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

  • Committer: Neil Jagdish Patel
  • Date: 2011-06-12 14:58:38 UTC
  • Revision ID: neil.patel@canonical.com-20110612145838-rxn4kdj00snosvc1
Some cleanup

Show diffs side-by-side

added added

removed removed

Lines of Context:
86
86
                             string _html,
87
87
                             string _timestring)
88
88
    {
89
 
      Gtk.Allocation alloc;
90
 
 
91
89
      name.set_markup ("<b>" + _sender + "</b>");
92
90
 
93
91
      icon.set_from_file(_icon_uri);
94
92
 
 
93
      //FIXME: Switched this off so I can see the error messages
 
94
      /*
95
95
      try 
96
96
      {
97
97
        message.set_markup (_html);
101
101
        debug ("MESSAGE: fallback to _message");
102
102
        message.set_markup (_message);
103
103
      }
 
104
      */
 
105
      message.set_text (_message);
104
106
 
105
107
      time.set_markup (this.utils.generate_time_string ((uint)_timestamp.to_long()));
106
108
 
107
 
      vbox.get_allocation (out alloc);
108
 
      message.set_size_request (alloc.width, -1);
109
 
 
110
109
      queue_resize ();
111
110
      show ();
112
111
    }