Timothy Pearson 11 years ago
commit d7defbb78c

@ -422,7 +422,6 @@ void KateMainWindow::readOptions ()
void KateMainWindow::saveOptions () void KateMainWindow::saveOptions ()
{ {
TDEConfig *config = KateApp::self()->config (); TDEConfig *config = KateApp::self()->config ();
config->setGroup("General"); config->setGroup("General");
if (console) if (console)
@ -431,20 +430,16 @@ void KateMainWindow::saveOptions ()
config->writeEntry("Show Console", false); config->writeEntry("Show Console", false);
config->writeEntry("Save Meta Infos", KateDocManager::self()->getSaveMetaInfos()); config->writeEntry("Save Meta Infos", KateDocManager::self()->getSaveMetaInfos());
config->writeEntry("Days Meta Infos", KateDocManager::self()->getDaysMetaInfos()); config->writeEntry("Days Meta Infos", KateDocManager::self()->getDaysMetaInfos());
config->writeEntry("Show Full Path in Title", m_viewManager->getShowFullPath()); config->writeEntry("Show Full Path in Title", m_viewManager->getShowFullPath());
config->writeEntry("Sync Konsole", syncKonsole); config->writeEntry("Sync Konsole", syncKonsole);
config->writeEntry("UseInstance", useInstance); config->writeEntry("UseInstance", useInstance);
fileOpenRecent->saveEntries(config, "Recent Files"); fileOpenRecent->saveEntries(config, "Recent Files");
fileselector->writeConfig(config, "fileselector"); fileselector->writeConfig(config, "fileselector");
filelist->writeConfig(config, "Filelist"); filelist->writeConfig(config, "Filelist");
config->sync();
} }
void KateMainWindow::slotWindowActivated () void KateMainWindow::slotWindowActivated ()

@ -65,7 +65,6 @@ void KatePluginManager::setupPluginList ()
TQString pVersion = ptr->property("X-Kate-Version").toString(); TQString pVersion = ptr->property("X-Kate-Version").toString();
// if ((pVersion >= "2.5") && (pVersion <= KateApp::kateVersion(false)))
if (pVersion == "2.5") if (pVersion == "2.5")
{ {
KatePluginInfo info; KatePluginInfo info;

@ -229,10 +229,13 @@ void MenuTab::save()
} }
} }
c->writeEntry("Extensions", ext); c->writeEntry("Extensions", ext);
c->setGroup("General");
c->setGroup("General");
bool kmenusetting = m_comboMenuStyle->currentItem()==1; bool kmenusetting = m_comboMenuStyle->currentItem()==1;
bool oldkmenusetting = c->readBoolEntry("LegacyKMenu", true); bool oldkmenusetting = c->readBoolEntry("LegacyKMenu", true);
c->writeEntry("LegacyKMenu", kmenusetting);
c->writeEntry("OpenOnHover", m_openOnHover->isChecked());
c->sync();
c->setGroup("KMenu"); c->setGroup("KMenu");
bool oldmenutextenabledsetting = c->readBoolEntry("ShowText", true); bool oldmenutextenabledsetting = c->readBoolEntry("ShowText", true);
@ -241,10 +244,6 @@ void MenuTab::save()
c->setGroup("buttons"); c->setGroup("buttons");
TQFont oldmenufontsetting = c->readFontEntry("Font"); TQFont oldmenufontsetting = c->readFontEntry("Font");
c->writeEntry("LegacyKMenu", kmenusetting);
c->writeEntry("OpenOnHover", m_openOnHover->isChecked());
c->sync();
if (kmenusetting != oldkmenusetting) { if (kmenusetting != oldkmenusetting) {
forceRestart = true; forceRestart = true;
} }

@ -409,7 +409,7 @@ void PanelKMenu::initialize()
#endif #endif
if (displayRepaired == FALSE) { if (displayRepaired == FALSE) {
displayRepairTimer->start(0, FALSE); displayRepairTimer->start(5, FALSE);
displayRepaired = TRUE; displayRepaired = TRUE;
} }

Loading…
Cancel
Save