[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    branches/KDE/3.5/kdelibs/kdeui
From:       Krzysztof Lichota <krzysiek () lichota ! net>
Date:       2007-09-03 0:41:24
Message-ID: 1188780084.235540.14887.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 707799 by klichota:

Fix for "Switch application language" menu entry not appearing in almost all
apps, apart from Konsole. This fixes it for most apps, the only ones
which does not seem fixed are kwrite and kate.

Thanks to Stephan Johach for spotting the problem.



 M  +1 -0      khelpmenu.cpp  
 M  +7 -0      kstdaction.h  


--- branches/KDE/3.5/kdelibs/kdeui/khelpmenu.cpp #707798:707799
@@ -94,6 +94,7 @@
     KStdAction::reportBug(this, SLOT(reportBug()), actions);
     KStdAction::aboutApp(this, SLOT(aboutApplication()), actions);
     KStdAction::aboutKDE(this, SLOT(aboutKDE()), actions);
+    KStdAction::switchApplicationLanguage(this, SLOT(switchApplicationLanguage()), actions);
   }
 }
 
--- branches/KDE/3.5/kdelibs/kdeui/kstdaction.h #707798:707799
@@ -602,6 +602,13 @@
 	*/
 	KDEUI_EXPORT KAction *aboutKDE(const QObject *recvr, const char *slot,
 				KActionCollection* parent, const char *name = 0 );
+
+	/**
+	* Display "Switch application language" dialog.
+	* @since 3.5.8
+	*/
+	KDEUI_EXPORT KAction *switchApplicationLanguage(const QObject *recvr, const char *slot,
+				KActionCollection* parent, const char *name = 0 );
 }
 
 #endif // KSTDACTION_H
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic