summaryrefslogtreecommitdiff
path: root/cui
diff options
context:
space:
mode:
authorJan Holesovsky <kendy@suse.cz>2013-01-04 23:43:42 +0100
committerPetr Mladek <pmladek@suse.cz>2013-01-08 16:12:47 +0100
commitf3db27f5747bae6cc61064a02b454e0625cb289b (patch)
tree716972420e53eb42f4bb1cf35ac71e78bf7efd87 /cui
parent28f96fc78df11cd6e5028b65e60f144121afa4d4 (diff)
Personas: Broadcast the information that the Persona has changed.
Change-Id: Ic563204c1a1a64d315e3e73dff30b6a6d05cfd87 Signed-off-by: Cor Nouws <oolst@nouenoff.nl> Signed-off-by: Olivier Hallot <olivier.hallot@documentfoundation.org> Signed-off-by: Adolfo Jayme Barrientos <fitoschido@ubuntu.com> Signed-off-by: Michael Meeks <michael.meeks@suse.com>
Diffstat (limited to 'cui')
-rw-r--r--cui/source/options/personalization.cxx8
1 files changed, 8 insertions, 0 deletions
diff --git a/cui/source/options/personalization.cxx b/cui/source/options/personalization.cxx
index ae8f60572f3d..14e071f2dd8e 100644
--- a/cui/source/options/personalization.cxx
+++ b/cui/source/options/personalization.cxx
@@ -16,6 +16,7 @@
#include <tools/urlobj.hxx>
#include <vcl/edit.hxx>
#include <vcl/msgbox.hxx>
+#include <vcl/svapp.hxx>
#include <com/sun/star/lang/XMultiServiceFactory.hpp>
#include <com/sun/star/system/SystemShellExecute.hpp>
@@ -161,6 +162,13 @@ sal_Bool SvxPersonalizationTabPage::FillItemSet( SfxItemSet & )
batch->commit();
+ if ( bModified )
+ {
+ // broadcast the change
+ DataChangedEvent aDataChanged( DATACHANGED_SETTINGS, NULL, SETTINGS_STYLE );
+ Application::NotifyAllWindows( aDataChanged );
+ }
+
return bModified;
}