diff options
author | Ken Moore <ken@pcbsd.org> | 2015-04-15 13:43:09 -0400 |
---|---|---|
committer | Ken Moore <ken@pcbsd.org> | 2015-04-15 13:43:09 -0400 |
commit | 9b6800e8acc5dc802f8bd5e31b1892914b568f6e (patch) | |
tree | 9d27d1f66cdf5ab67279803ce249ad15ae8d52cf /lumina-desktop/LPanel.cpp | |
parent | Don't add the "LUMINA" tag to the name of Lumina-specific applications. (diff) | |
download | lumina-9b6800e8acc5dc802f8bd5e31b1892914b568f6e.tar.gz lumina-9b6800e8acc5dc802f8bd5e31b1892914b568f6e.tar.bz2 lumina-9b6800e8acc5dc802f8bd5e31b1892914b568f6e.zip |
Clean up a *lot* of the general XCB warnings that sometimes occur, and also tinker with the session cleanup routine quite a bit to streamline the order in which things are closed down (particularly with system tray apps).
Diffstat (limited to 'lumina-desktop/LPanel.cpp')
-rw-r--r-- | lumina-desktop/LPanel.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/lumina-desktop/LPanel.cpp b/lumina-desktop/LPanel.cpp index f979ea15..1f59ba8b 100644 --- a/lumina-desktop/LPanel.cpp +++ b/lumina-desktop/LPanel.cpp @@ -67,9 +67,7 @@ LPanel::~LPanel(){ void LPanel::prepareToClose(){ //Go through and remove all the plugins for(int i=0; i<PLUGINS.length(); i++){ - if( PLUGINS[i]->type().startsWith("systemtray---") ){ - static_cast<LSysTray*>(PLUGINS[i])->stop(); - } + PLUGINS[i]->AboutToClose(); //any last cleanup for this plugin layout->takeAt(i); //remove from the layout delete PLUGINS.takeAt(i); //delete the actual widget LSession::processEvents(); |