aboutsummaryrefslogtreecommitdiff
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.c21
1 files changed, 21 insertions, 0 deletions
diff --git a/x11/gnome-applets/files/patch-battstat_battstat_applet.c b/x11/gnome-applets/files/patch-battstat_battstat_applet.c
new file mode 100644
index 000000000000..a95b7b569a09
--- /dev/null
+++ b/x11/gnome-applets/files/patch-battstat_battstat_applet.c
@@ -0,0 +1,21 @@
+--- battstat/battstat_applet.c.orig Fri Aug 19 22:13:49 2005
++++ battstat/battstat_applet.c Tue Aug 23 20:37:13 2005
+@@ -430,14 +430,14 @@ battery_full_notify (GtkWidget *applet)
+ static void
+ battery_full_dialog (GtkWidget *applet)
+ {
+- /* first attempt to use libnotify */
+- if (battery_full_notify (applet))
+- return;
+-
+ GtkWidget *dialog, *hbox, *image, *label;
+ GdkPixbuf *pixbuf;
+
+ gchar *new_label;
++ /* first attempt to use libnotify */
++ if (battery_full_notify (applet))
++ return;
++
+ dialog = gtk_dialog_new_with_buttons (
+ _("Battery Notice"),
+ NULL,