From 86fe239bbd915c9445d0c02368d128bd490b9297 Mon Sep 17 00:00:00 2001 From: marcus Date: Wed, 13 Jul 2005 23:13:18 +0000 Subject: Update to 2.11.2. git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@4234 df743ca5-7f9a-e211-a948-0013205c9059 --- .../files/patch-battstat_battstat.schemas.in | 11 ----------- .../patch-stickynotes_stickynotes_applet_callbacks.c | 18 ++++++++++++++++++ 2 files changed, 18 insertions(+), 11 deletions(-) delete mode 100644 x11/gnome-applets/files/patch-battstat_battstat.schemas.in create mode 100644 x11/gnome-applets/files/patch-stickynotes_stickynotes_applet_callbacks.c (limited to 'x11/gnome-applets/files') 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 @@ - /schemas/apps/battstat-applet/prefs/suspend_command - battstat-applet - string -- /usr/bin/apm -s -+ /usr/sbin/zzz - - Suspend Command - Command to send to suspend the computer 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); -- cgit v1.2.3