[dash] Support return values for dash Activate method

Bug #764366 reported by Florian Boucault
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Unity
Fix Released
Undecided
Unassigned
unity-2d
Invalid
Medium
Unassigned
unity (Ubuntu)
Fix Released
Undecided
Unassigned
unity-2d (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

From https://wiki.ubuntu.com/Unity/Lenses#com.canonical.Unity.Activation

The activation service exposes a com.canonical.Unity.Activation interface on the same bus name and object path as the place service specified in the [Place] group.

com.canonical.Unity.Activation

  /**
   * Try to activate a URI
   * @uri: The URI to activate
   *
   * Returns: 0 if the URI was not activated, 1 if it was activated and dash
   * should not hide, and 2 if the URI was activated and the dash
   * should hide
   */
  Activate (in s uri, out u handled)

The return value is currently ignored by the dash that always hides.

Changed in unity-2d:
status: New → Confirmed
importance: Undecided → Medium
Revision history for this message
Mikkel Kamstrup Erlandsen (kamstrup) wrote :

Marking FixReleased for U3d where it was fixed a while ago

Changed in unity:
status: New → Fix Released
Changed in unity (Ubuntu):
status: New → Fix Released
tags: added: delta-with-3d
Changed in unity-2d (Ubuntu):
status: New → Confirmed
Changed in unity-2d:
status: Confirmed → Invalid
Changed in unity-2d (Ubuntu):
status: Confirmed → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.