From b624be9dfcbc32874d0db82d3ee4c26b65de7c49 Mon Sep 17 00:00:00 2001 From: Tomas Bzatek Date: Tue, 11 Nov 2008 13:53:37 +0100 Subject: Parse GtkRc styles file in memory --- UConfig.pas | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) (limited to 'UConfig.pas') diff --git a/UConfig.pas b/UConfig.pas index 40af4ed..980c387 100644 --- a/UConfig.pas +++ b/UConfig.pas @@ -25,8 +25,8 @@ uses Classes, ULocale; resourcestring ConstAppTitle = 'Tux Commander'; - ConstAboutVersion = '0.6.55-dev'; - ConstAboutBuildDate = '2008-11-09'; + ConstAboutVersion = '0.6.56-dev'; + ConstAboutBuildDate = '2008-11-11'; {$IFDEF FPC} {$INCLUDE fpcver.inc} @@ -68,12 +68,17 @@ const ConfDefaultNormalItemFGColor = '#000000'; ConfTerminalApps: array[1..4] of string = (ConstTerminalCommand_xterm, ConstTerminalCommand_rxvt, ConstTerminalCommand_rxvt2, ConstTerminalCommand_gnometerminal); ConfTerminalAppsWParam: array[1..4] of string = ('xterm', 'rxvt', 'rxvt', 'gnome-terminal'); + const SMOOTH_SCROLL_STEPS = 5; SMOOTH_SCROLL_DURATION = 45; SMOOTH_SCROLL_STEPS_PAGE = 10; SMOOTH_SCROLL_DURATION_PAGE = 120; - +const tuxcmd_rc_file = 'style "treeview-style" {'#10 + + ' GtkTreeView::horizontal_separator = 0'#10 + + ' GtkTreeView::vertical_separator = 0'#10 + + '}'#10 + + 'class "GtkTreeView" style "treeview-style"'; var ConfPanelSep, ConfRowHeight, ConfRowHeightReal, ConfNumHistoryItems, -- cgit v1.2.3