Merge lp:~straemer/software-properties/fix-for-1058070 into lp:software-properties
Proposed by
Stephen Kraemer
Status: | Merged |
---|---|
Merged at revision: | 824 |
Proposed branch: | lp:~straemer/software-properties/fix-for-1058070 |
Merge into: | lp:software-properties |
Diff against target: |
73 lines (+19/-5) 3 files modified
debian/changelog (+7/-0) softwareproperties/gtk/SimpleGtkbuilderApp.py (+11/-5) softwareproperties/gtk/SoftwarePropertiesGtk.py (+1/-0) |
To merge this branch: | bzr merge lp:~straemer/software-properties/fix-for-1058070 |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Michael Vogt (community) | Approve | ||
Review via email: mp+140075@code.launchpad.net |
Description of the change
Made software-properties only open one instance per session.
To post a comment you must log in.
The improvement looks fine, and it makes software properties a "singleton" app, allowing it to run only one instance per session.
However it does the single-instance handling via a custom dbus interface. Gtk Application [1] can do single-instance handling since gtk 3.6, along with other maybe-useful features, like appmenu, etc. I don't know whether there are any best-practices regarding single-instance apps, but if it has been added to the core gtk platform, maybe we could make use of that (I guess that GObject introspection works with the gtkapplication class too, so it shouldn't be too tricky)
[1] http:// developer. gnome.org/ gtk3/3. 6/GtkApplicatio n.html