Don't like ads? PRO users don't see any ads ;-)
Guest

Untitled

By: a guest on Feb 8th, 2012  |  syntax: None  |  size: 1.26 KB  |  hits: 38  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. diff --git a/settings.c b/settings.c
  2. index ee88167..0676320 100644
  3. --- a/settings.c
  4. +++ b/settings.c
  5. @@ -501,13 +501,11 @@ set_gui_mode(struct settings *s, char *val)
  6.  {
  7.         if (!strcmp(val, "classic")) {
  8.                 fancy_bar = 1;
  9. -               show_tabs = 1;
  10.                 tab_style = XT_TABS_NORMAL;
  11.                 show_url = 1;
  12.                 show_statusbar = 0;
  13.         } else if (!strcmp(val, "minimal")) {
  14.                 fancy_bar = 0;
  15. -               show_tabs = 1;
  16.                 tab_style = XT_TABS_COMPACT;
  17.                 show_url = 0;
  18.                 show_statusbar = 1;
  19. @@ -627,6 +625,8 @@ add_alias(struct settings *s, char *line)
  20.                 goto bad;
  21.         }
  22.  
  23. +       l += (long)strspn(l, " \t");
  24. +
  25.         a->a_name = g_strdup(alias);
  26.         a->a_uri = g_strdup(l);
  27.  
  28. diff --git a/xxxterm.conf b/xxxterm.conf
  29. index a98bf77..415d9a8 100644
  30. --- a/xxxterm.conf
  31. +++ b/xxxterm.conf
  32. @@ -173,7 +173,6 @@
  33.  # The settings for "gui_mode = classic" are as follows:
  34.  
  35.  # fancy_bar            = 1
  36. -# show_tabs            = 1
  37.  # tab_style            = normal
  38.  # show_url             = 1
  39.  # show_statusbar       = 0
  40. @@ -181,7 +180,6 @@
  41.  # The settings for "gui_mode = minimal" are as follows:
  42.  
  43.  # fancy_bar            = 0
  44. -# show_tabs            = 1
  45.  # tab_style            = compact
  46.  # show_url             = 0
  47.  # show_statusbar       = 1
  48. @@ -189,6 +187,7 @@
  49.  # The following are settings shared between "classic" and "minimal"
  50.  # "gui_mode":
  51.  
  52. +# show_tabs            = 1
  53.  # statusbar_elems      = BP
  54.  # icon_size            = 2
  55.  # cmd_font             = monospace normal 9