From 2aedfc4e34a370cbdec09d7a258d60cc4ad63ac3 Mon Sep 17 00:00:00 2001 From: Florian Boor Date: Tue, 5 Dec 2006 15:47:48 +0000 Subject: gpe-what: Add patch to set window type hint. Necessary for compatibility with matchbox > 0.9.5. --- packages/gpe-what/gpe-what-0.43/.mtn2git_empty | 0 packages/gpe-what/gpe-what-0.43/set-wm-hint.patch | 12 ++++++++++++ packages/gpe-what/gpe-what_0.43.bb | 3 ++- 3 files changed, 14 insertions(+), 1 deletion(-) create mode 100644 packages/gpe-what/gpe-what-0.43/.mtn2git_empty create mode 100644 packages/gpe-what/gpe-what-0.43/set-wm-hint.patch diff --git a/packages/gpe-what/gpe-what-0.43/.mtn2git_empty b/packages/gpe-what/gpe-what-0.43/.mtn2git_empty new file mode 100644 index 0000000000..e69de29bb2 diff --git a/packages/gpe-what/gpe-what-0.43/set-wm-hint.patch b/packages/gpe-what/gpe-what-0.43/set-wm-hint.patch new file mode 100644 index 0000000000..1300635197 --- /dev/null +++ b/packages/gpe-what/gpe-what-0.43/set-wm-hint.patch @@ -0,0 +1,12 @@ +Index: gpe-what.c +=================================================================== +--- gpe-what.c (Revision 8874) ++++ gpe-what.c (Arbeitskopie) +@@ -233,6 +233,7 @@ + + gtk_window_set_default_size (GTK_WINDOW (popup), width, height); + gtk_window_set_decorated (GTK_WINDOW (popup), FALSE); ++ gtk_window_set_type_hint (GTK_WINDOW (popup), GDK_WINDOW_TYPE_HINT_MENU); + gtk_label_set_line_wrap (GTK_LABEL (label), TRUE); + gtk_container_set_border_width (GTK_CONTAINER (box), spacing); + diff --git a/packages/gpe-what/gpe-what_0.43.bb b/packages/gpe-what/gpe-what_0.43.bb index 2cc0dc9c2f..b82da4ff7f 100644 --- a/packages/gpe-what/gpe-what_0.43.bb +++ b/packages/gpe-what/gpe-what_0.43.bb @@ -1,8 +1,9 @@ LICENSE = "GPL" DESCRIPTION = "GPE modal help" DEPENDS = "virtual/libx11 gtk+" - +PR = "r1" GPE_TARBALL_SUFFIX= "bz2" inherit autotools gpe +SRC_URI += " file://set-wm-hint.patch;patch=1;pnum=0" -- cgit v1.2.3