Merge lp://staging/~ris/unity-2d/fix-729478 into lp://staging/unity-2d/3.0

Proposed by Robert Sajdok
Status: Merged
Approved by: Aurélien Gâteau
Approved revision: 493
Merged at revision: 504
Proposed branch: lp://staging/~ris/unity-2d/fix-729478
Merge into: lp://staging/unity-2d/3.0
Diff against target: 109 lines (+24/-1)
8 files modified
launcher/LauncherItem.qml (+1/-1)
launcher/LauncherList.qml (+3/-0)
launcher/UnityApplications/launcherapplication.cpp (+6/-0)
launcher/UnityApplications/launcherapplication.h (+1/-0)
launcher/UnityApplications/launcheritem.cpp (+5/-0)
launcher/UnityApplications/launcheritem.h (+1/-0)
launcher/UnityApplications/trash.cpp (+6/-0)
launcher/UnityApplications/trash.h (+1/-0)
To merge this branch: bzr merge lp://staging/~ris/unity-2d/fix-729478
Reviewer Review Type Date Requested Status
Aurélien Gâteau (community) Approve
Review via email: mp+55000@code.staging.launchpad.net

Commit message

[launcher] Clicking middle mouse button now launches another instance of the application.

To post a comment you must log in.
Revision history for this message
Aurélien Gâteau (agateau) wrote :

Hi Robert,

Thanks for this patch, works well! I just have a few nitpicks:

- Indentation in launcher/LauncherList.qml is wrong: it mixes tabs and spaces

- Since LauncherApplication::newInstance() just calls LauncherApplication::launch(), it is simpler to just call launch(). You only have to make it a public slot.

review: Needs Fixing
492. By Robert Sajdok

Fixed: "Indentation in launcher/LauncherList.qml is wrong: it mixes tabs and spaces"

Revision history for this message
Robert Sajdok (ris) wrote :

> Hi Robert,
>
> Thanks for this patch, works well! I just have a few nitpicks:
>
> - Indentation in launcher/LauncherList.qml is wrong: it mixes tabs and spaces
Done

>
> - Since LauncherApplication::newInstance() just calls
> LauncherApplication::launch(), it is simpler to just call launch(). You only
> have to make it a public slot.
Did you notice that the class: Trash does not have a function: "launch()" ?

Revision history for this message
Aurélien Gâteau (agateau) wrote :

> > - Since LauncherApplication::newInstance() just calls
> > LauncherApplication::launch(), it is simpler to just call launch(). You only
> > have to make it a public slot.
> Did you notice that the class: Trash does not have a function: "launch()" ?

Of course I did not, otherwise I wouldn't have made such a dumb suggestion :)

Can you then just rename newInstance() to launchNewInstance() for consistency?

493. By Robert Sajdok

Rename newInstance() to launchNewInstance() for consistency

Revision history for this message
Robert Sajdok (ris) wrote :

> Can you then just rename newInstance() to launchNewInstance() for consistency?
Of Course, done.

Revision history for this message
Aurélien Gâteau (agateau) wrote :

Thanks a lot Robert!

review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
The diff is not available at this time. You can reload the page or download it.

Subscribers

People subscribed via source and target branches