~ubuntu-branches/ubuntu/oneiric/gwibber/oneiric

« back to all changes in this revision

Viewing changes to libgwibber-gtk/action-box.vala

  • Committer: Bazaar Package Importer
  • Author(s): Ken VanDine
  • Date: 2011-08-23 11:49:50 UTC
  • mfrom: (1.1.58 upstream)
  • Revision ID: james.westby@ubuntu.com-20110823114950-b4pnf3dlihf3okfk
Tags: 3.1.5.1-0ubuntu1
* New upstream release
  - tile sizing fixes, getting rid of wasted space
  - revert back to python-wnck, we can't mix GIR and static 
    bindings (LP: #829186)
  - use subprocess instead of Gio for handling gsettings.  We can't mix GIR 
    and static bindings (LP: #829186)
  - Fixes escaping of html elements properly (LP: #825204)
  - Fixed data type checks that were causing failures (LP: #830839)
  - Make sure we get time from the right json object
  - Lots of json warnings and criticals cleaned up
  - Don't crash the service if notifications fail (LP: #727568)
* debian/control
  - Depend on python-wnck instead of gir1.2-wnck-1.0

Show diffs side-by-side

added added

removed removed

Lines of Context:
104
104
    _image.tooltip_text = tooltip;
105
105
    add (_image);
106
106
    menu = build_menu ();
107
 
    //menu.attach_to_widget (this, null);
108
 
    reparent (menu);
 
107
    if (get_parent() is Gtk.Widget)
 
108
      reparent (menu);
 
109
    else
 
110
      menu.attach_to_widget (this, null);
109
111
 
110
112
    button_press_event.connect((event) => {
111
113
      menu.popup (null, null, null, event.button, event.time);