Fix incorrectly renamed strings

pull/1/head
Slávek Banko 11 years ago
parent fc598328d5
commit 3433a78d45

@ -95,8 +95,8 @@ const specialOptions[] =
{"lower_window_key", CORE_NAME, "Window Lower", true, OptionKey}, {"lower_window_key", CORE_NAME, "Window Lower", true, OptionKey},
{"toggle_window_maximized_key", CORE_NAME, "Window Maximize", true, OptionKey}, {"toggle_window_maximized_key", CORE_NAME, "Window Maximize", true, OptionKey},
{"minimize_window_key", CORE_NAME, "Window Minimize", true, OptionKey}, {"minimize_window_key", CORE_NAME, "Window Minimize", true, OptionKey},
{"toggle_window_maximized_horizontally_key", CORE_NAME, "Window MaximizeQt::Horizontal", true, OptionKey}, {"toggle_window_maximized_horizontally_key", CORE_NAME, "Window Maximize Horizontal", true, OptionKey},
{"toggle_window_maximized_vertically_key", CORE_NAME, "Window MaximizeQt::Vertical", true, OptionKey}, {"toggle_window_maximized_vertically_key", CORE_NAME, "Window Maximize Vertical", true, OptionKey},
{"show_desktop_key", CORE_NAME, "Toggle Showing Desktop", true, OptionKey}, {"show_desktop_key", CORE_NAME, "Toggle Showing Desktop", true, OptionKey},
{"window_menu_key", CORE_NAME, "Window Operations Menu", true, OptionKey}, {"window_menu_key", CORE_NAME, "Window Operations Menu", true, OptionKey},
{"toggle_window_shaded_key", CORE_NAME, "Window Shade", true, OptionKey}, {"toggle_window_shaded_key", CORE_NAME, "Window Shade", true, OptionKey},
@ -163,7 +163,7 @@ const specialOptions[] =
{"snapoff_maximized", "move", "MoveResizeMaximizedWindows", false, OptionBool}, {"snapoff_maximized", "move", "MoveResizeMaximizedWindows", false, OptionBool},
{"always_show", "resizeinfo", "GeometryTip", false, OptionBool}, {"always_show", "resizeinfo", "GeometryTip", false, OptionBool},
{"allow_wraparound", "wall", "RollOverDesktops", false, OptionBool}, {"allow_wraparound", "wall", "RollOverDesktops", false, OptionBool},
{"autoraise_delay", CORE_NAME, "AutoRaiseInterval", false, OptionInt}, {"autoraise_delay", CORE_NAME, "AutoRaiseInterval", false, OptionInt},
{"flip_time", "rotate", "ElectricBorderDelay", false, OptionInt}, {"flip_time", "rotate", "ElectricBorderDelay", false, OptionInt},
@ -214,7 +214,7 @@ reload (unsigned int,
void *closure) void *closure)
{ {
CCSContext *context = (CCSContext *) closure; CCSContext *context = (CCSContext *) closure;
ccsDisableFileWatch (cFiles->watch); ccsDisableFileWatch (cFiles->watch);
ccsDisableFileWatch (cFiles->twinWatch); ccsDisableFileWatch (cFiles->twinWatch);
ccsDisableFileWatch (cFiles->globalWatch); ccsDisableFileWatch (cFiles->globalWatch);
@ -406,7 +406,7 @@ readIntegratedOption (CCSSetting *setting)
if (result == 0) if (result == 0)
result = cFiles->main->readNumEntry ("snap_distance (Integrated)"); result = cFiles->main->readNumEntry ("snap_distance (Integrated)");
if (result > 0) if (result > 0)
ccsSetInt (setting, result); ccsSetInt (setting, result);
} }
@ -1235,7 +1235,7 @@ writeIntegratedOption (CCSSetting *setting)
cFiles->twin->writeEntry ("BorderSnapZone", iVal); cFiles->twin->writeEntry ("BorderSnapZone", iVal);
else else
cFiles->twin->writeEntry ("BorderSnapZone", 0); cFiles->twin->writeEntry ("BorderSnapZone", 0);
if (window) if (window)
cFiles->twin->writeEntry ("WindowSnapZone", iVal); cFiles->twin->writeEntry ("WindowSnapZone", iVal);
else else
@ -1260,7 +1260,7 @@ writeIntegratedOption (CCSSetting *setting)
cFiles->twin->setGroup ("TabBox"); cFiles->twin->setGroup ("TabBox");
cFiles->twin->writeEntry ("TraverseAll", false); cFiles->twin->writeEntry ("TraverseAll", false);
cFiles->twin->setGroup ("Windows"); cFiles->twin->setGroup ("Windows");
cFiles->twin->writeEntry ("AltTabStyle", "KDE"); cFiles->twin->writeEntry ("AltTabStyle", "KDE");
cFiles->modified = true; cFiles->modified = true;
@ -1281,7 +1281,7 @@ writeIntegratedOption (CCSSetting *setting)
cFiles->twin->setGroup ("TabBox"); cFiles->twin->setGroup ("TabBox");
cFiles->twin->writeEntry ("TraverseAll", true); cFiles->twin->writeEntry ("TraverseAll", true);
cFiles->twin->setGroup ("Windows"); cFiles->twin->setGroup ("Windows");
cFiles->twin->writeEntry ("AltTabStyle", "KDE"); cFiles->twin->writeEntry ("AltTabStyle", "KDE");
cFiles->modified = true; cFiles->modified = true;
@ -1344,7 +1344,7 @@ writeIntegratedOption (CCSSetting *setting)
} }
else else
oVal = 0; oVal = 0;
if (val) if (val)
cFiles->twin->writeEntry ("ElectricBorders", 2); cFiles->twin->writeEntry ("ElectricBorders", 2);
@ -1503,7 +1503,7 @@ writeSetting (CCSContext *c,
cfg->writeEntry (key, list); cfg->writeEntry (key, list);
} }
break; break;
case TypeInt: case TypeInt:
{ {
TQValueList<int> list; TQValueList<int> list;
@ -1617,7 +1617,7 @@ writeSetting (CCSContext *c,
str = val; str = val;
free (val); free (val);
list.append (str); list.append (str);
l = l->next; l = l->next;
} }
@ -1642,7 +1642,7 @@ writeSetting (CCSContext *c,
str = val; str = val;
free (val); free (val);
list.append (str); list.append (str);
l = l->next; l = l->next;
} }
@ -1666,7 +1666,7 @@ writeSetting (CCSContext *c,
str = val; str = val;
free (val); free (val);
list.append (str); list.append (str);
l = l->next; l = l->next;
} }
@ -1696,7 +1696,7 @@ writeSetting (CCSContext *c,
} }
} }
break; break;
case TypeKey: case TypeKey:
{ {
CCSSettingKeyValue keyVal; CCSSettingKeyValue keyVal;
@ -1778,7 +1778,7 @@ readInit (CCSContext *c)
TQString wFile = TDEGlobal::dirs()->saveLocation ("config", TQString wFile = TDEGlobal::dirs()->saveLocation ("config",
TQString(), false) + configName; TQString(), false) + configName;
createFile (wFile); createFile (wFile);
cFiles->main = new KSimpleConfig (configName); cFiles->main = new KSimpleConfig (configName);
ccsRemoveFileWatch (cFiles->watch); ccsRemoveFileWatch (cFiles->watch);
cFiles->watch = ccsAddFileWatch (wFile.ascii(), TRUE, cFiles->watch = ccsAddFileWatch (wFile.ascii(), TRUE,
@ -1813,9 +1813,9 @@ writeInit (CCSContext *c)
TQString wFile = TDEGlobal::dirs()->saveLocation ("config", TQString wFile = TDEGlobal::dirs()->saveLocation ("config",
TQString(), false) + configName; TQString(), false) + configName;
createFile (wFile); createFile (wFile);
cFiles->main = new KSimpleConfig (configName); cFiles->main = new KSimpleConfig (configName);
ccsRemoveFileWatch (cFiles->watch); ccsRemoveFileWatch (cFiles->watch);
cFiles->watch = ccsAddFileWatch (wFile.ascii(), TRUE, cFiles->watch = ccsAddFileWatch (wFile.ascii(), TRUE,

Loading…
Cancel
Save