Hi Jim, thanks for reporting the crash. The attached branch fixes the
issue.

I disagree on allowing to pass desktop filenames. The messaging menu
uses g_desktop_app_info_new, which follows the XDG spec for desktop
files. This is useful for distributors and users to override desktop
files.

Passing paths directly can also be misused easily: only correctly
installed applications should ever be shown in the messaging menu, so
that users can find the same application in the dash.

> We like to be able to build, run, and test our apps from the build
directory.

Easiest would be to copy the desktop file into
~/.local/share/applications/ temporarily. Alternatively, you could
restart indicator-messages-service with XDG_DATA_DIRS set to the source
path of your application.

** Also affects: indicator-messages (Ubuntu)
   Importance: Undecided
       Status: New

** Changed in: indicator-messages (Ubuntu)
       Status: New => Triaged

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1058386

Title:
  segfault if .desktop file is not installed

To manage notifications about this bug go to:
https://bugs.launchpad.net/indicator-messages/+bug/1058386/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to