summaryrefslogtreecommitdiffstats
path: root/x11/gnome-applets/files/patch-battstat_battstat_applet.c
diff options
context:
space:
mode:
authormarcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059>2005-07-04 05:35:31 +0800
committermarcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059>2005-07-04 05:35:31 +0800
commit34bcee1b7fbce3aedae06dd504c838965a8c5e28 (patch)
tree819711a41ee772ea689f66de6163282757dbed98 /x11/gnome-applets/files/patch-battstat_battstat_applet.c
parent9cb041f482556c75f90abd698ae70997c3924b4a (diff)
downloadmarcuscom-ports-34bcee1b7fbce3aedae06dd504c838965a8c5e28.tar
marcuscom-ports-34bcee1b7fbce3aedae06dd504c838965a8c5e28.tar.gz
marcuscom-ports-34bcee1b7fbce3aedae06dd504c838965a8c5e28.tar.bz2
marcuscom-ports-34bcee1b7fbce3aedae06dd504c838965a8c5e28.tar.lz
marcuscom-ports-34bcee1b7fbce3aedae06dd504c838965a8c5e28.tar.xz
marcuscom-ports-34bcee1b7fbce3aedae06dd504c838965a8c5e28.tar.zst
marcuscom-ports-34bcee1b7fbce3aedae06dd504c838965a8c5e28.zip
Update to 2.11.1, and port cpufreq and the latest battstat code.
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@4157 df743ca5-7f9a-e211-a948-0013205c9059
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 000000000..3bee2ecc8
--- /dev/null
+++ b/x11/gnome-applets/files/patch-battstat_battstat_applet.c
@@ -0,0 +1,21 @@
+--- battstat/battstat_applet.c.orig Sun Jul 3 17:25:06 2005
++++ battstat/battstat_applet.c Sun Jul 3 17:25:36 2005
+@@ -446,14 +446,15 @@ battery_full_notify (void)
+ static void
+ battery_full_dialog( void )
+ {
++ GtkWidget *dialog, *hbox, *image, *label;
++ GdkPixbuf *pixbuf;
++ gchar *new_label;
++
+ /* first attempt to use libnotify */
+ if (battery_full_notify ())
+ return;
+
+- GtkWidget *dialog, *hbox, *image, *label;
+- GdkPixbuf *pixbuf;
+
+- gchar *new_label;
+ dialog = gtk_dialog_new_with_buttons (
+ _("Battery Notice"),
+ NULL,