Merge lp:~tintou/switchboard/switchboard-fix into lp:~elementary-pantheon/switchboard/switchboard

Proposed by Corentin Noël
Status: Merged
Approved by: Rico Tzschichholz
Approved revision: 415
Merged at revision: 415
Proposed branch: lp:~tintou/switchboard/switchboard-fix
Merge into: lp:~elementary-pantheon/switchboard/switchboard
Diff against target: 12 lines (+3/-0)
1 file modified
src/Switchboard.vala (+3/-0)
To merge this branch: bzr merge lp:~tintou/switchboard/switchboard-fix
Reviewer Review Type Date Requested Status
Rico Tzschichholz Approve
Review via email: mp+201178@code.launchpad.net

Commit message

Add call to hidden () for currently opened plug

This functions is here to know when the plug should end to work. So if the app is closed while a plug is opened, it means that it should end to work.

Description of the change

Added a call to hidden () for the current opened plug.
This functions is here to know when the plug should end to work. So if the app is closed while a plug is opened, it means that it should end to work.

To post a comment you must log in.
Revision history for this message
Rico Tzschichholz (ricotz) :
review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'src/Switchboard.vala'
2--- src/Switchboard.vala 2014-01-02 20:29:12 +0000
3+++ src/Switchboard.vala 2014-01-10 13:01:39 +0000
4@@ -206,6 +206,9 @@
5 }
6
7 private void shut_down () {
8+ if (current_plug != null)
9+ current_plug.hidden ();
10+
11 Gtk.main_quit ();
12 }
13

Subscribers

People subscribed via source and target branches

to all changes: