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:
@@ -134,6 +134,7 @@ void init_battery()
|
|||||||
g_dir_close(directory);
|
g_dir_close(directory);
|
||||||
if (!battery_dir) {
|
if (!battery_dir) {
|
||||||
fprintf(stderr, "ERROR: battery applet can't found power_supply\n");
|
fprintf(stderr, "ERROR: battery applet can't found power_supply\n");
|
||||||
|
default_battery();
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user