summaryrefslogtreecommitdiff
path: root/obconf/preview_c.patch
blob: af69cb510faa94490a5b74d28988d3729ae58d3f (plain)
    1 --- a/obconf/src/preview.c
    2 +++ b/obconf2/src/preview.c
    3 @@ -327,28 +327,28 @@ static GdkPixbuf* preview_window(RrTheme *theme, const gchar *titlelayout,
    4              switch (*layout) {
    5              case 'D':
    6                  a = focus ?
    7 -                    theme->btn_desk->a_focused_unpressed :
    8 -                    theme->btn_desk->a_unfocused_unpressed;
    9 +                    theme->a_focused_unpressed_desk :
   10 +                    theme->a_unfocused_unpressed_desk;
   11                  break;
   12              case 'S':
   13                  a = focus ?
   14 -                    theme->btn_shade->a_focused_unpressed :
   15 -                    theme->btn_shade->a_unfocused_unpressed;
   16 +                    theme->a_focused_unpressed_shade :
   17 +                    theme->a_unfocused_unpressed_shade;
   18                  break;
   19              case 'I':
   20                  a = focus ?
   21 -                    theme->btn_iconify->a_focused_unpressed :
   22 -                    theme->btn_iconify->a_unfocused_unpressed;
   23 +                    theme->a_focused_unpressed_iconify :
   24 +                    theme->a_unfocused_unpressed_iconify;
   25                  break;
   26              case 'M':
   27                  a = focus ?
   28 -                    theme->btn_max->a_focused_unpressed :
   29 -                    theme->btn_max->a_unfocused_unpressed;
   30 +                    theme->a_focused_unpressed_max :
   31 +                    theme->a_unfocused_unpressed_max;
   32                  break;
   33              case 'C':
   34                  a = focus ?
   35 -                    theme->btn_close->a_focused_unpressed :
   36 -                    theme->btn_close->a_unfocused_unpressed;
   37 +                    theme->a_focused_unpressed_close :
   38 +                    theme->a_unfocused_unpressed_close;
   39                  break;
   40              default:
   41                  continue;

Generated by cgit