rpms/metacity/devel 0001-tooltip-set-window-type-hint-for-self-drawn-tooltips.patch, NONE, 1.1 metacity.spec, 1.198, 1.199

Lennart Poettering lennart at fedoraproject.org
Fri Aug 28 05:39:16 UTC 2009


Author: lennart

Update of /cvs/pkgs/rpms/metacity/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv6603

Modified Files:
	metacity.spec 
Added Files:
	0001-tooltip-set-window-type-hint-for-self-drawn-tooltips.patch 
Log Message:
0001-tooltip-set-window-type-hint-for-self-drawn-tooltips.patch

0001-tooltip-set-window-type-hint-for-self-drawn-tooltips.patch:
 fixedtip.c |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

--- NEW FILE 0001-tooltip-set-window-type-hint-for-self-drawn-tooltips.patch ---
>From 8132127a749b150d188631e03d36462838620a82 Mon Sep 17 00:00:00 2001
From: Lennart Poettering <lennart at poettering.net>
Date: Fri, 28 Aug 2009 07:29:11 +0200
Subject: [PATCH] tooltip: set window type hint for self-drawn tooltips to GDK_WINDOW_TYPE_HINT_TOOLTIP

libcanberra generates specific tooltip popup sounds and for that
recognizes the tooltip windows by the GtkWindowTypeHint set for them.

This trivial patch simply sets the hint for the self-drawn tooltips
metacity uses.
---
 src/ui/fixedtip.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/src/ui/fixedtip.c b/src/ui/fixedtip.c
index d2b95f2..31a6082 100644
--- a/src/ui/fixedtip.c
+++ b/src/ui/fixedtip.c
@@ -71,6 +71,8 @@ meta_fixed_tip_show (Display *xdisplay, int screen_number,
   if (tip == NULL)
     {      
       tip = gtk_window_new (GTK_WINDOW_POPUP);
+      gtk_window_set_type_hint (GTK_WINDOW(tip), GDK_WINDOW_TYPE_HINT_TOOLTIP);
+
       {
         GdkScreen *gdk_screen;
 	GdkRectangle monitor;
-- 
1.6.4



Index: metacity.spec
===================================================================
RCS file: /cvs/pkgs/rpms/metacity/devel/metacity.spec,v
retrieving revision 1.198
retrieving revision 1.199
diff -u -p -r1.198 -r1.199
--- metacity.spec	28 Aug 2009 04:11:49 -0000	1.198
+++ metacity.spec	28 Aug 2009 05:39:15 -0000	1.199
@@ -1,7 +1,7 @@
 Summary: Unobtrusive window manager
 Name: metacity
 Version: 2.27.0
-Release: 6%{?dist}
+Release: 7%{?dist}
 URL: http://download.gnome.org/sources/metacity/
 Source0: http://download.gnome.org/sources/metacity/2.27/metacity-%{version}.tar.bz2
 # http://bugzilla.gnome.org/show_bug.cgi?id=558723
@@ -14,6 +14,8 @@ Patch6: Should-set-RestartStyleHint-to-R
 Patch7: 0001-bell-increase-bell-rate-limit-from-1-s-to-1-100ms.patch
 # http://bugzilla.gnome.org/show_bug.cgi?id=593356
 Patch8: 0001-sound-ask-libcanberra-to-cache-alert-desktop-switch-.patch
+# http://bugzilla.gnome.org/show_bug.cgi?id=593358
+Patch9: 0001-tooltip-set-window-type-hint-for-self-drawn-tooltips.patch
 
 License: GPLv2+
 Group: User Interface/Desktops
@@ -185,8 +187,12 @@ fi
 %{_mandir}/man1/metacity-window-demo.1.gz
 
 %changelog
+* Fri Aug 28 2009 Lennart Poettering <lpoetter at redhat.com> - 2.27.0-7
+- Apply another trivial patch related to sound events
+- http://bugzilla.gnome.org/show_bug.cgi?id=593358
+
 * Fri Aug 28 2009 Lennart Poettering <lpoetter at redhat.com> - 2.27.0-6
-- Apply to trivial patches for bell/sound
+- Apply two trivial patches for bell/sound
 - http://bugzilla.gnome.org/show_bug.cgi?id=593356
 - http://bugzilla.gnome.org/show_bug.cgi?id=593355
 




More information about the fedora-extras-commits mailing list