← Back to team overview

unity-api-bugs team mailing list archive

[Bug 1005828] Re: Text doesn't display in Messaging Menu

 

The messaging menu doesn't use libindicate anymore and the patched vapi
file fixed Daniel's issue. Closing this bug.

** Changed in: libindicate
       Status: Confirmed => Invalid

-- 
You received this bug notification because you are a member of Unity API
bugs, which is subscribed to libindicate.
https://bugs.launchpad.net/bugs/1005828

Title:
  Text doesn't display in Messaging Menu

Status in Libindicate:
  Invalid

Bug description:
  My distro is 12.04, libindicate version is 0.7.
  I use Vala and I try to simply integrate my app with Messaging Menu. Code is compiled fine, signals work correct and indicators are added to Messaging Menu, but the text in each MenuItem is not displayed. When I set property for "count" (or other property) it also not working. Only set property for time work correct (set_property_time) and set property for draw-attention (set_property_bool work, but standard set_property not work).

  Here is piece of code:
  this.server = Indicate.Server.ref_default ();
  this.server.set_type ("message.im");
  this.server.set_desktop_file ("/*path to my_app.desktop*/");
  this.server.server_display.connect (/*callback when server display*/);
  this.server.show ();

  this.update = new Indicate.Indicator.with_server (server);
  this.update.user_display.connect (/*callback when indicator display*/);
  this.update.set_property ("name", _("/*text which is not displayed*/"));
  this.update.show ();

  this.unread = new Indicate.Indicator.with_server (server);
  this.unread.user_display.connect (/*callback when indicator display*/);
  this.unread.set_property ("sender", _("/*text which is not displayed*/"));
  this.unread.set_property_int ("count", 5);
  //this.unread.set_property ("count", "5");
  this.unread.set_property_bool ("draw-attention", true);
  this.unread.show ();

To manage notifications about this bug go to:
https://bugs.launchpad.net/libindicate/+bug/1005828/+subscriptions