summaryrefslogtreecommitdiffstats
path: root/meta-extras/packages/notification-daemon/files/no-wnck-sexy.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta-extras/packages/notification-daemon/files/no-wnck-sexy.patch')
-rw-r--r--meta-extras/packages/notification-daemon/files/no-wnck-sexy.patch98
1 files changed, 98 insertions, 0 deletions
diff --git a/meta-extras/packages/notification-daemon/files/no-wnck-sexy.patch b/meta-extras/packages/notification-daemon/files/no-wnck-sexy.patch
new file mode 100644
index 0000000000..3367292e1f
--- /dev/null
+++ b/meta-extras/packages/notification-daemon/files/no-wnck-sexy.patch
@@ -0,0 +1,98 @@
1diff -ur notification-daemon-0.3.7.orig/configure.ac notification-daemon-0.3.7/configure.ac
2--- notification-daemon-0.3.7.orig/configure.ac 2007-02-28 05:16:16.000000000 +0000
3+++ notification-daemon-0.3.7/configure.ac 2008-01-18 11:29:28.000000000 +0000
4@@ -82,9 +82,7 @@
5 glib-2.0 >= $REQ_GLIB_VERSION, \
6 dbus-1 >= $REQ_DBUS_VERSION, \
7 dbus-glib-1 >= $REQ_DBUS_VERSION, \
8- libsexy >= $REQ_SEXY_VERSION, \
9- gconf-2.0, \
10- libwnck-1.0 \
11+ gconf-2.0 \
12 "
13 PKG_CHECK_MODULES(NOTIFICATION_DAEMON, $pkg_modules)
14 AC_SUBST(NOTIFICATION_DAEMON_CFLAGS)
15Only in notification-daemon-0.3.7/: configure.ac~
16Only in notification-daemon-0.3.7.orig/: debian
17diff -ur notification-daemon-0.3.7.orig/src/daemon/daemon.c notification-daemon-0.3.7/src/daemon/daemon.c
18--- notification-daemon-0.3.7.orig/src/daemon/daemon.c 2007-02-15 10:47:09.000000000 +0000
19+++ notification-daemon-0.3.7/src/daemon/daemon.c 2008-01-18 11:24:40.000000000 +0000
20@@ -39,9 +39,6 @@
21 #include <X11/Xatom.h>
22 #include <gdk/gdkx.h>
23
24-#define WNCK_I_KNOW_THIS_IS_UNSTABLE
25-#include <libwnck/libwnck.h>
26-
27 #include "daemon.h"
28 #include "engines.h"
29 #include "stack.h"
30@@ -771,37 +768,6 @@
31 static gboolean
32 fullscreen_window_exists(GtkWidget *nw)
33 {
34- WnckScreen *wnck_screen;
35- GList *l;
36-
37- wnck_screen = wnck_screen_get(GDK_SCREEN_XNUMBER(
38- gdk_drawable_get_screen(GDK_DRAWABLE(GTK_WIDGET(nw)->window))));
39- wnck_screen_force_update(wnck_screen);
40-
41- for (l = wnck_screen_get_windows_stacked(wnck_screen);
42- l != NULL;
43- l = l->next)
44- {
45- WnckWindow *wnck_win = (WnckWindow *)l->data;
46-
47- if (wnck_window_is_fullscreen(wnck_win))
48- {
49- /*
50- * Sanity check if the window is _really_ fullscreen to
51- * work around a bug in libwnck that doesn't get all
52- * unfullscreen events.
53- */
54- int sw = wnck_screen_get_width(wnck_screen);
55- int sh = wnck_screen_get_height(wnck_screen);
56- int x, y, w, h;
57-
58- wnck_window_get_geometry(wnck_win, &x, &y, &w, &h);
59-
60- if (sw == w && sh == h)
61- return TRUE;
62- }
63- }
64-
65 return FALSE;
66 }
67
68Only in notification-daemon-0.3.7/src/daemon: daemon.c~
69diff -ur notification-daemon-0.3.7.orig/src/themes/standard/theme.c notification-daemon-0.3.7/src/themes/standard/theme.c
70--- notification-daemon-0.3.7.orig/src/themes/standard/theme.c 2007-01-26 04:20:15.000000000 +0000
71+++ notification-daemon-0.3.7/src/themes/standard/theme.c 2008-01-18 11:34:58.000000000 +0000
72@@ -1,7 +1,6 @@
73 #include "config.h"
74
75 #include <gtk/gtk.h>
76-#include <libsexy/sexy-url-label.h>
77
78 typedef void (*ActionInvokedCb)(GtkWindow *nw, const char *key);
79 typedef void (*UrlClickedCb)(GtkWindow *nw, const char *url);
80@@ -799,7 +798,7 @@
81 gtk_widget_show(vbox);
82 gtk_box_pack_start(GTK_BOX(windata->content_hbox), vbox, TRUE, TRUE, 0);
83
84- windata->body_label = sexy_url_label_new();
85+ windata->body_label = gtk_label_new(NULL);
86 gtk_box_pack_start(GTK_BOX(vbox), windata->body_label, TRUE, TRUE, 0);
87 gtk_misc_set_alignment(GTK_MISC(windata->body_label), 0, 0);
88 gtk_label_set_line_wrap(GTK_LABEL(windata->body_label), TRUE);
89@@ -874,7 +873,7 @@
90 gtk_label_set_markup(GTK_LABEL(windata->summary_label), str);
91 g_free(str);
92
93- sexy_url_label_set_markup(SEXY_URL_LABEL(windata->body_label), body);
94+ gtk_label_set_markup(GTK_LABEL(windata->body_label), body);
95
96 if (body == NULL || *body == '\0')
97 gtk_widget_hide(windata->body_label);
98Only in notification-daemon-0.3.7/src/themes/standard: theme.c~