aboutsummaryrefslogtreecommitdiff
path: root/x11/gnome-applets/files/patch-battstat_battstat_applet.c
blob: a95b7b569a095b7af901d2c8ad0578cd8e30b7f8 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
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,