aboutsummaryrefslogtreecommitdiff
path: root/lumina-desktop/panel-plugins/desktopbar/LDeskBar.h
diff options
context:
space:
mode:
authorKen Moore <moorekou@gmail.com>2015-07-22 11:46:28 -0400
committerKen Moore <moorekou@gmail.com>2015-07-22 11:46:28 -0400
commit9d59ab6020d1d3857a580e73e5d1823b514bf8a7 (patch)
tree6ffdb4965d7c2a4e12bb2b08ec8667af6032eb47 /lumina-desktop/panel-plugins/desktopbar/LDeskBar.h
parentFinish cleaning up the new localization configuration settings in libLumina, ... (diff)
downloadlumina-9d59ab6020d1d3857a580e73e5d1823b514bf8a7.tar.gz
lumina-9d59ab6020d1d3857a580e73e5d1823b514bf8a7.tar.bz2
lumina-9d59ab6020d1d3857a580e73e5d1823b514bf8a7.zip
Make sure that all the interface elements in lumina-desktop actively re-load their text/icons when the system locale is changed.
Diffstat (limited to 'lumina-desktop/panel-plugins/desktopbar/LDeskBar.h')
-rw-r--r--lumina-desktop/panel-plugins/desktopbar/LDeskBar.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/lumina-desktop/panel-plugins/desktopbar/LDeskBar.h b/lumina-desktop/panel-plugins/desktopbar/LDeskBar.h
index 8e624dc2..57d40e4c 100644
--- a/lumina-desktop/panel-plugins/desktopbar/LDeskBar.h
+++ b/lumina-desktop/panel-plugins/desktopbar/LDeskBar.h
@@ -61,8 +61,14 @@ private:
private slots:
void ActionTriggered(QAction* act);
void desktopChanged();
-
+ void updateIcons();
+
public slots:
+ void LocaleChange(){
+ updateIcons();
+ desktopChanged();
+ }
+
void OrientationChange(){
QSize sz;
if(this->layout()->direction()==QBoxLayout::LeftToRight){
bgstack15