all repos — tint2 @ 89c833806790fa8fad0e4ac0bbc27cfb93deaaeb

fork of the tint2 desktop panel for my custom setup - only minimized windows across all desktops for the taskbar

Fix issue 428: Build fails when battery applet is disabled from cmake

git-svn-id: http://tint2.googlecode.com/svn/trunk@684 121b4492-b84c-0410-8b4c-0d4edfb3f3cc
o9000 o9000
commit

89c833806790fa8fad0e4ac0bbc27cfb93deaaeb

parent

3f42584fbd909df75b7598560b5250ca0f4e8667

1 files changed, 2 insertions(+), 0 deletions(-)

jump to
M src/config.csrc/config.c

@@ -694,6 +694,7 @@ panel_items_order = g_strdup("S");

} } } +#ifdef ENABLE_BATTERY else if (strcmp(key, "battery") == 0) { if (new_config_file == 0) { battery_enabled = atoi(value);

@@ -708,6 +709,7 @@ panel_items_order = g_strdup("B");

} } } +#endif else fprintf(stderr, "tint2 : invalid option \"%s\",\n upgrade tint2 or correct your config file\n", key);