summaryrefslogtreecommitdiffstats
path: root/x11/gnome-applets/files/patch-battstat_battstat_applet.c
diff options
context:
space:
mode:
Diffstat (limited to 'x11/gnome-applets/files/patch-battstat_battstat_applet.c')
-rw-r--r--x11/gnome-applets/files/patch-battstat_battstat_applet.c26
1 files changed, 0 insertions, 26 deletions
diff --git a/x11/gnome-applets/files/patch-battstat_battstat_applet.c b/x11/gnome-applets/files/patch-battstat_battstat_applet.c
deleted file mode 100644
index 6368545f0..000000000
--- a/x11/gnome-applets/files/patch-battstat_battstat_applet.c
+++ /dev/null
@@ -1,26 +0,0 @@
---- battstat/battstat_applet.c.orig Mon Jul 19 18:31:16 2004
-+++ battstat/battstat_applet.c Mon Jul 19 18:34:41 2004
-@@ -474,7 +474,11 @@
- ) {
- /* Warn that battery dropped below red_val */
- if(battery->lowbattnotification) {
-+#ifdef __FreeBSD__
-+ new_string = get_remaining (apminfo.ai_batt_time);
-+#else
- new_string = get_remaining (apminfo.battery_time);
-+#endif
- new_label = g_strdup_printf (_("Your battery is running low (%d%%, %s). You should recharge your battery to avoid losing your work."), batt_life, new_string);
- g_free (new_string);
- battery->lowbattnotificationdialog = gtk_dialog_new_with_buttons (
-@@ -733,7 +737,11 @@
- }
-
- if (batt_state != 3)
-+#ifdef __FreeBSD__
-+ rem_time = get_remaining(apminfo.ai_batt_time);
-+#else
- rem_time = get_remaining(apminfo.battery_time);
-+#endif
- else
- rem_time = g_strdup(_(status[batt_state]));
-