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
=== modified file 'src/Switchboard.vala'
--- src/Switchboard.vala 2014-01-02 20:29:12 +0000
+++ src/Switchboard.vala 2014-01-10 13:01:39 +0000
@@ -206,6 +206,9 @@
206 }206 }
207207
208 private void shut_down () {208 private void shut_down () {
209 if (current_plug != null)
210 current_plug.hidden ();
211
209 Gtk.main_quit ();212 Gtk.main_quit ();
210 }213 }
211214

Subscribers

People subscribed via source and target branches

to all changes: