Blob Blame History Raw
--- kdenetwork/kopete/kopete/config/behavior/behaviorconfig.cpp	(Revision 811501)
+++ kdenetwork/kopete/kopete/config/behavior/behaviorconfig.cpp	(Revision 811502)
@@ -100,7 +100,10 @@
 	Kopete::BehaviorSettings::self()->setAutoAwayTimeout( mPrfsAway->mAutoAwayTimeout->value() * 60 );
 
 	// "Chat" TAB ===============================================================
-	Kopete::BehaviorSettings::self()->setViewPlugin(viewPlugins[mPrfsChat->viewPlugin->currentIndex()].pluginName() );
+	if ( viewPlugins.size() > 0 )
+	{
+		Kopete::BehaviorSettings::self()->setViewPlugin(viewPlugins[mPrfsChat->viewPlugin->currentIndex()].pluginName() );
+	}
 
 	Kopete::BehaviorSettings::self()->writeConfig();
 
--- kdenetwork/kopete/kopete/chatwindow/chatwindow.desktop	(Revision 811501)
+++ kdenetwork/kopete/kopete/chatwindow/chatwindow.desktop	(Revision 811502)
@@ -9,29 +9,6 @@
 X-KDE-PluginInfo-Version=0.8.0
 X-KDE-PluginInfo-Website=http://kopete.kde.org
 X-KDE-PluginInfo-Category=Views
-X-KDE-PluginInfo-Category[ca]=Vistes
-X-KDE-PluginInfo-Category[cs]=Pohledy
-X-KDE-PluginInfo-Category[de]=Ansichten
-X-KDE-PluginInfo-Category[el]=Προβολές
-X-KDE-PluginInfo-Category[es]=Vistas
-X-KDE-PluginInfo-Category[et]=Vaated
-X-KDE-PluginInfo-Category[fi]=Näytä
-X-KDE-PluginInfo-Category[fr]=Vues
-X-KDE-PluginInfo-Category[gl]=Vistas
-X-KDE-PluginInfo-Category[it]=Viste
-X-KDE-PluginInfo-Category[ja]=ビュー
-X-KDE-PluginInfo-Category[km]=មើល
-X-KDE-PluginInfo-Category[nds]=Ansichten
-X-KDE-PluginInfo-Category[nl]=Weergaven
-X-KDE-PluginInfo-Category[oc]=Visualizacions
-X-KDE-PluginInfo-Category[pl]=Widoki
-X-KDE-PluginInfo-Category[pt]=Janelas
-X-KDE-PluginInfo-Category[pt_BR]=Janelas
-X-KDE-PluginInfo-Category[sv]=Vyer
-X-KDE-PluginInfo-Category[tr]=Görünümler
-X-KDE-PluginInfo-Category[x-test]=xxViewsxx
-X-KDE-PluginInfo-Category[zh_CN]=查看
-X-KDE-PluginInfo-Category[zh_TW]=檢視
 X-KDE-PluginInfo-Depends=
 X-KDE-PluginInfo-License=GPL
 X-KDE-PluginInfo-EnabledByDefault=true
--- kdenetwork/kopete/kopete/chatwindow/emailwindow.desktop	(Revision 811501)
+++ kdenetwork/kopete/kopete/chatwindow/emailwindow.desktop	(Revision 811502)
@@ -9,29 +9,6 @@
 X-KDE-PluginInfo-Version=0.8.0
 X-KDE-PluginInfo-Website=http://kopete.kde.org
 X-KDE-PluginInfo-Category=Views
-X-KDE-PluginInfo-Category[ca]=Vistes
-X-KDE-PluginInfo-Category[cs]=Pohledy
-X-KDE-PluginInfo-Category[de]=Ansichten
-X-KDE-PluginInfo-Category[el]=Προβολές
-X-KDE-PluginInfo-Category[es]=Vistas
-X-KDE-PluginInfo-Category[et]=Vaated
-X-KDE-PluginInfo-Category[fi]=Näytä
-X-KDE-PluginInfo-Category[fr]=Vues
-X-KDE-PluginInfo-Category[gl]=Vistas
-X-KDE-PluginInfo-Category[it]=Viste
-X-KDE-PluginInfo-Category[ja]=ビュー
-X-KDE-PluginInfo-Category[km]=មើល
-X-KDE-PluginInfo-Category[nds]=Ansichten
-X-KDE-PluginInfo-Category[nl]=Weergaven
-X-KDE-PluginInfo-Category[oc]=Visualizacions
-X-KDE-PluginInfo-Category[pl]=Widoki
-X-KDE-PluginInfo-Category[pt]=Janelas
-X-KDE-PluginInfo-Category[pt_BR]=Janelas
-X-KDE-PluginInfo-Category[sv]=Vyer
-X-KDE-PluginInfo-Category[tr]=Görünümler
-X-KDE-PluginInfo-Category[x-test]=xxViewsxx
-X-KDE-PluginInfo-Category[zh_CN]=查看
-X-KDE-PluginInfo-Category[zh_TW]=檢視
 X-KDE-PluginInfo-Depends=
 X-KDE-PluginInfo-License=GPL
 X-KDE-PluginInfo-EnabledByDefault=true