summaryrefslogtreecommitdiff
path: root/community/tint2/add-power-now-support.patch
diff options
context:
space:
mode:
Diffstat (limited to 'community/tint2/add-power-now-support.patch')
-rw-r--r--community/tint2/add-power-now-support.patch19
1 files changed, 0 insertions, 19 deletions
diff --git a/community/tint2/add-power-now-support.patch b/community/tint2/add-power-now-support.patch
deleted file mode 100644
index 5057043df..000000000
--- a/community/tint2/add-power-now-support.patch
+++ /dev/null
@@ -1,19 +0,0 @@
-diff -rup ../tint2-0.11.orig/src/battery/battery.c ./src/battery/battery.c
---- ../tint2-0.11.orig/src/battery/battery.c 2010-12-02 23:56:11.313403140 +0100
-+++ ./src/battery/battery.c 2010-12-02 23:57:22.266956142 +0100
-@@ -184,8 +184,14 @@ void init_battery()
- }
- g_free(path2);
- }
-- if (path_energy_now && path_energy_full) {
-+
-+ path_current_now = g_build_filename(battery_dir, "power_now", NULL);
-+ if (!g_file_test (path_current_now, G_FILE_TEST_EXISTS)) {
-+ g_free(path_current_now);
- path_current_now = g_build_filename(battery_dir, "current_now", NULL);
-+ }
-+
-+ if (path_energy_now && path_energy_full) {
- path_status = g_build_filename(battery_dir, "status", NULL);
-
- // check file