fixed : battery disabled when needed
git-svn-id: http://tint2.googlecode.com/svn/trunk@438 121b4492-b84c-0410-8b4c-0d4edfb3f3cc
This commit is contained in:
parent
b9544f0fa0
commit
4d5fe440c8
1 changed files with 1 additions and 0 deletions
|
@ -134,6 +134,7 @@ void init_battery()
|
|||
g_dir_close(directory);
|
||||
if (!battery_dir) {
|
||||
fprintf(stderr, "ERROR: battery applet can't found power_supply\n");
|
||||
default_battery();
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue