UI for new termcap/mapage color definition

parent 2e9ed538
This diff is collapsed.
......@@ -100,6 +100,16 @@ class BashStyleNG(object):
WidgetHandler.InitWidget("alias8", "Alias", "alias_eight", "text", None)
WidgetHandler.InitWidget("alias9", "Alias", "alias_nine", "text", None)
####################### Termcap Colors #############################################
WidgetHandler.InitWidget("termcap_colors", "Termcap", "less_termcap_color", "switch", None)
WidgetHandler.InitWidget("termcap_mb", "Termcap", "less_blink", "combo", dicts.less_foreground_colors)
WidgetHandler.InitWidget("termcap_md", "Termcap", "less_bold", "combo", dicts.less_foreground_colors)
WidgetHandler.InitWidget("termcap_us", "Termcap", "less_underline", "combo", dicts.less_foreground_colors)
WidgetHandler.InitWidget("termcap_rs", "Termcap", "less_reverse", "combo", dicts.less_foreground_colors)
WidgetHandler.InitWidget("termcap_mh", "Termcap", "less_dim", "combo", dicts.less_foreground_colors)
WidgetHandler.InitWidget("termcap_sof", "Termcap", "less_standout_foreground", "combo", dicts.less_foreground_colors)
WidgetHandler.InitWidget("termcap_sob", "Termcap", "less_standout_background", "combo", dicts.less_background_colors)
####################### Advanced Stuff #############################################
WidgetHandler.InitWidget("history_blacklist", "Advanced", "history_ignore", "text", None)
WidgetHandler.InitWidget("separator", "Advanced", "separator", "text", None)
......
......@@ -36,9 +36,9 @@ if FAILED:
iconview_icons = ["bs-ng-style", "bs-ng-alias", "bs-ng-advanced",
"bs-ng-shopts", "bs-ng-git", "bs-ng-readline",
"bs-ng-vim", "bs-ng-nano", "bs-ng-ls", "bs-ng-keys",
"bs-ng-custom", "bs-ng-config", "bs-ng-doc",
"bs-ng-info" ]
"bs-ng-vim", "bs-ng-nano", "bs-ng-ls", "bs-ng-man",
"bs-ng-keys", "bs-ng-custom", "bs-ng-config",
"bs-ng-doc", "bs-ng-info" ]
iconview_labels = {
"bs-ng-style" : _("General Style"),
......@@ -55,6 +55,7 @@ iconview_labels = {
"bs-ng-keys" : _("Keybindings"),
"bs-ng-config" : _("Configuration"),
"bs-ng-doc" : _("Documentation"),
"bs-ng-man" : _("Manpage Colors"),
}
notebook_pages = {
......@@ -66,6 +67,7 @@ notebook_pages = {
_("Vi improved") : 5,
_("GNU Nano") : 6,
_("LS colors") : 7,
_("Manpage Colors") : 15,
_("Custom Prompt Builder") : 8,
_("Shell Options") : 10,
_("Git") : 9,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment