*fix* allow minimizing omnipresent windows also on desktop 2-n
*fix* hopefully fixed issue 145 *fix* removed two unused variables git-svn-id: http://tint2.googlecode.com/svn/trunk@262 121b4492-b84c-0410-8b4c-0d4edfb3f3cc
This commit is contained in:
@@ -150,7 +150,6 @@ void init_battery_panel(void *p)
|
||||
{
|
||||
Panel *panel = (Panel*)p;
|
||||
Battery *battery = &panel->battery;
|
||||
FILE *fp;
|
||||
int bat_percentage_height, bat_percentage_height_ink, bat_time_height, bat_time_height_ink;
|
||||
|
||||
if (!battery_enabled)
|
||||
@@ -194,7 +193,7 @@ void update_battery() {
|
||||
FILE *fp;
|
||||
char tmp[25];
|
||||
int64_t energy_now = 0, energy_full = 0, current_now = 0;
|
||||
int i, seconds = 0;
|
||||
int seconds = 0;
|
||||
int8_t new_percentage = 0;
|
||||
|
||||
fp = fopen(path_status, "r");
|
||||
|
||||
Reference in New Issue
Block a user