summaryrefslogtreecommitdiffstats
path: root/x11/gnome-applets/files
diff options
context:
space:
mode:
Diffstat (limited to 'x11/gnome-applets/files')
-rw-r--r--x11/gnome-applets/files/patch-battstat_battstat.schemas.in11
-rw-r--r--x11/gnome-applets/files/patch-stickynotes_stickynotes_applet_callbacks.c18
2 files changed, 18 insertions, 11 deletions
diff --git a/x11/gnome-applets/files/patch-battstat_battstat.schemas.in b/x11/gnome-applets/files/patch-battstat_battstat.schemas.in
deleted file mode 100644
index a6bed2361..000000000
--- a/x11/gnome-applets/files/patch-battstat_battstat.schemas.in
+++ /dev/null
@@ -1,11 +0,0 @@
---- battstat/battstat.schemas.in.orig Fri Oct 1 16:22:39 2004
-+++ battstat/battstat.schemas.in Fri Oct 1 16:22:46 2004
-@@ -115,7 +115,7 @@
- <key>/schemas/apps/battstat-applet/prefs/suspend_command</key>
- <owner>battstat-applet</owner>
- <type>string</type>
-- <default>/usr/bin/apm -s</default>
-+ <default>/usr/sbin/zzz</default>
- <locale name="C">
- <short>Suspend Command</short>
- <long>Command to send to suspend the computer</long>
diff --git a/x11/gnome-applets/files/patch-stickynotes_stickynotes_applet_callbacks.c b/x11/gnome-applets/files/patch-stickynotes_stickynotes_applet_callbacks.c
new file mode 100644
index 000000000..718f52a0d
--- /dev/null
+++ b/x11/gnome-applets/files/patch-stickynotes_stickynotes_applet_callbacks.c
@@ -0,0 +1,18 @@
+--- stickynotes/stickynotes_applet_callbacks.c.orig Wed Jul 13 18:57:03 2005
++++ stickynotes/stickynotes_applet_callbacks.c Wed Jul 13 18:57:13 2005
+@@ -153,6 +153,7 @@ gboolean applet_check_click_on_desktop_c
+ {
+ static Window desktop_window = 0;
+ static Display *dpy;
++ XEvent event;
+
+ if (desktop_window == 0) {
+ desktop_window = get_desktop_window ();
+@@ -162,7 +163,6 @@ gboolean applet_check_click_on_desktop_c
+ * at every click on the desktop */
+ XSelectInput(dpy, desktop_window, PropertyChangeMask);
+ }
+- XEvent event;
+
+ if (XCheckWindowEvent(dpy, desktop_window, PropertyChangeMask, &event) == True) {
+ stickynote_show_notes (FALSE);