diff options
| author | Tomas Bzatek <tbzatek@tbzatek.englab.brq.redhat.com> | 2008-06-10 18:36:02 +0200 |
|---|---|---|
| committer | Tomas Bzatek <tbzatek@tbzatek.englab.brq.redhat.com> | 2008-06-10 18:36:02 +0200 |
| commit | 675412adbdeb5c743d2dadc4d1b376a8675d771b (patch) | |
| tree | a82d8ed0d0ff4feba59a97747c131d3d48ecf0e3 /UConfig.pas | |
| parent | e57a008756356c17e647d27dc81a123ed23722a6 (diff) | |
| download | tuxcmd-675412adbdeb5c743d2dadc4d1b376a8675d771b.tar.xz | |
Configurable quick search shortcuts [Part I]
Diffstat (limited to 'UConfig.pas')
| -rw-r--r-- | UConfig.pas | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/UConfig.pas b/UConfig.pas index 08719d8..5deb382 100644 --- a/UConfig.pas +++ b/UConfig.pas @@ -81,7 +81,7 @@ var ConfPanelSep, ConfRowHeight, ConfRowHeightReal, ConfNumHistoryItems, ConfMainWindowLeftSortColumn, ConfMainWindowLeftSortType, ConfMainWindowRightSortColumn, ConfMainWindowRightSortType, ConfSizeFormat, ConfSizeGroupPrecision, ConfCmdLineTerminalBehaviour, ConfViewerTerminalBehaviour, ConfEditorTerminalBehaviour, ConfLeftTabBarTabIndex, ConfRightTabBarTabIndex, ConfSwitchOtherPanelBehaviour, - ConfTabMaxLength, ConfDateFormat, ConfTimeFormat, ConfDateTimeFormat: integer; + ConfTabMaxLength, ConfDateFormat, ConfTimeFormat, ConfDateTimeFormat, ConfQuickSearchActivationKey: integer; ConfLeftPath, ConfRightPath, ConfPanelFont, ConfProfileName, ConfViewer, ConfEditor, ConfTerminalCommand, ConfNormalItemFGColor, ConfActiveItemFGColor, ConfInactiveItemFGColor, ConfSelectedItemFGColor, ConfLinkItemFGColor, @@ -242,6 +242,7 @@ begin ConfDateTimeFormat := 0; ConfCustomDateFormat := '%x'; ConfCustomTimeFormat := '%X'; + ConfQuickSearchActivationKey := 0; // Setup default values for colors @@ -464,6 +465,8 @@ begin ConfDateTimeFormat := IniFile.ReadInteger(ConfProfileName, 'DateTimeFormat', ConfDateTimeFormat); ConfCustomDateFormat := IniFile.ReadString(ConfProfileName, 'CustomDateFormat', ConfCustomDateFormat); ConfCustomTimeFormat := IniFile.ReadString(ConfProfileName, 'CustomTimeFormat', ConfCustomTimeFormat); + ConfQuickSearchActivationKey := IniFile.ReadInteger(ConfProfileName, 'QuickSearchActivationKey', ConfQuickSearchActivationKey); + SearchForDefaultApps; @@ -551,6 +554,7 @@ begin IniFile.WriteInteger(ConfProfileName, 'DateTimeFormat', ConfDateTimeFormat); IniFile.WriteString(ConfProfileName, 'CustomDateFormat', ConfCustomDateFormat); IniFile.WriteString(ConfProfileName, 'CustomTimeFormat', ConfCustomTimeFormat); + IniFile.WriteInteger(ConfProfileName, 'QuickSearchActivationKey', ConfQuickSearchActivationKey); except |
