Browse Source

Ticket #2170: color of panel header cannot be set in the command line

...using --colors option.

Grammar in default skin description.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
Andrew Borodin 14 years ago
parent
commit
010f3b6c30
5 changed files with 11 additions and 2 deletions
  1. 4 0
      doc/man/mc.1.in
  2. 4 0
      doc/man/ru/mc.1.in
  3. 1 0
      lib/skin/colors-old.c
  4. 1 1
      misc/skins/default.ini
  5. 1 1
      src/args.c

+ 4 - 0
doc/man/mc.1.in

@@ -3431,6 +3431,10 @@ helplink, helpslink, helptitle.  Viewer color are: viewbold, viewunderline, view
 Editor colors are: editnormal, editbold, editmarked, editwhitespace, editlinestate.
 Popup menu colors are: pmenunormal, pmenusel, pmenutitle.
 .PP
+.I header
+determines the color of panel header, the line that contains column titles
+and sort mode indicator.
+.PP
 .I input
 determines the color of input lines used in query dialogs.
 .PP

+ 4 - 0
doc/man/ru/mc.1.in

@@ -3696,6 +3696,10 @@ editnormal, editbold, editmarked, editwhitespace, editlinestate.
 каждым ключевым словом, можно понять из перевода этого ключевого слова.
 Некоторые случаи требуют пояснений.
 .PP
+.I header
+определяет цвет заголовка панели, строку, содержащую заголовки панелей
+и индикатор сортировки.
+.PP
 .I input
 определяет цвета в строке ввода в диалоговых окнах;
 .PP

+ 1 - 0
lib/skin/colors-old.c

@@ -57,6 +57,7 @@ static const mc_skin_colors_old_t old_colors[] = {
     {"markselect", "core", "markselect"},
     {"disabled", "core", "disabled"},
     {"reverse", "core", "reverse"},
+    {"header", "core", "header"},
     {"dnormal", "dialog", "_default_"},
     {"dfocus", "dialog", "dfocus"},
     {"dhotnormal", "dialog", "dhotnormal"},

+ 1 - 1
misc/skins/default.ini

@@ -1,5 +1,5 @@
 [skin]
-    description=Standart skin
+    description=Standard skin
 
 [Lines]
     horiz=─

+ 1 - 1
src/args.c

@@ -325,7 +325,7 @@ mc_args_new_color_group (void)
                                                    _("--colors KEYWORD={FORE},{BACK}\n\n"
                                                      "{FORE} and {BACK} can be omitted, and the default will be used\n"
                                                      "\n Keywords:\n"
-                                                     "   Global:       errors, disabled, reverse, gauge, viewunderline\n"
+                                                     "   Global:       errors, disabled, reverse, gauge, header\n"
                                                      "                 input, inputmark, inputunchanged, commandlinemark\n"
                                                      "                 bbarhotkey, bbarbutton, statusbar\n"
                                                      "   File display: normal, selected, marked, markselect\n"