[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: kdebase/kcontrol/icons
From: Laurent Montel <montell () club-internet ! fr>
Date: 2003-02-07 17:03:36
[Download RAW message or body]
CVS commit by mlaurent:
Fix : regenerate menu when we change icon theme.
M +7 -0 iconthemes.cpp 1.33
--- kdebase/kcontrol/icons/iconthemes.cpp #1.32:1.33
@@ -44,4 +44,5 @@
#include <kio/netaccess.h>
#include <ktar.h>
+#include <dcopclient.h>
#include "iconthemes.h"
@@ -397,4 +398,10 @@ void IconThemesConfig::save()
KIPC::sendMessageAll(KIPC::IconChanged, i);
}
+
+ DCOPClient *dcc = kapp->dcopClient();
+ if ( !dcc->isAttached() )
+ dcc->attach();
+ dcc->send("kded", "kbuildsycoca", "recreate()", QByteArray());
+
m_bChanged = false;
}
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic