diff options
author | Hisham Muhammad <hisham@gobolinux.org> | 2018-01-28 04:09:06 -0200 |
---|---|---|
committer | Hisham Muhammad <hisham@gobolinux.org> | 2018-02-26 20:13:09 -0300 |
commit | b815e4c7a3cdcc64e3c5a28414ef2450bc9d5ebd (patch) | |
tree | 664a7c3d8366b13e48410cd11df55aa0ccd641a3 /CategoriesPanel.c | |
parent | 4791050ceaf24a32e08505015faf07c43580763c (diff) |
Add support for multiple screens, switchable using Tab
Diffstat (limited to 'CategoriesPanel.c')
-rw-r--r-- | CategoriesPanel.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/CategoriesPanel.c b/CategoriesPanel.c index 64e9933a..9cab3e96 100644 --- a/CategoriesPanel.c +++ b/CategoriesPanel.c @@ -10,7 +10,6 @@ in the source distribution for its full text. #include "AvailableMetersPanel.h" #include "MetersPanel.h" #include "DisplayOptionsPanel.h" -#include "ColumnsPanel.h" #include "ScreensPanel.h" #include "ColorsPanel.h" #include "AvailableColumnsPanel.h" @@ -67,7 +66,7 @@ static void CategoriesPanel_makeColorsPage(CategoriesPanel* this) { static void CategoriesPanel_makeScreensPage(CategoriesPanel* this) { Panel* screens = (Panel*) ScreensPanel_new(this->settings); - Panel* columns = (Panel*) ColumnsPanel_new(this->settings); + Panel* columns = (Panel*) ((ScreensPanel*)screens)->columns; Panel* availableColumns = (Panel*) AvailableColumnsPanel_new(columns); ScreenManager_add(this->scr, screens, 20); ScreenManager_add(this->scr, columns, 20); |