rpms/gnome-panel/devel expose.patch, NONE, 1.1 gnome-panel.spec, 1.272, 1.273

Matthias Clasen (mclasen) fedora-extras-commits at redhat.com
Tue Mar 4 01:29:44 UTC 2008


Author: mclasen

Update of /cvs/extras/rpms/gnome-panel/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv4762

Modified Files:
	gnome-panel.spec 
Added Files:
	expose.patch 
Log Message:
fix a redraw problem


expose.patch:

--- NEW FILE expose.patch ---
diff -up gnome-panel-2.21.92/applets/clock/clock-map.c.expose gnome-panel-2.21.92/applets/clock/clock-map.c
--- gnome-panel-2.21.92/applets/clock/clock-map.c.expose	2008-03-03 20:26:50.000000000 -0500
+++ gnome-panel-2.21.92/applets/clock/clock-map.c	2008-03-03 20:26:55.000000000 -0500
@@ -247,8 +247,9 @@ clock_map_expose (GtkWidget *this, GdkEv
         /* draw a simple outline */
         cairo_rectangle (
                 cr,
-                region.x + 0.5, region.y + 0.5,
-                region.width - 1, region.height - 1);
+                allocation.x + 0.5, allocation.y + 0.5,
+	        gdk_pixbuf_get_width (priv->rotated_map_pixbuf) - 1,
+	        gdk_pixbuf_get_height (priv->rotated_map_pixbuf) - 1);
 
         cairo_set_source_rgb (
                 cr,


Index: gnome-panel.spec
===================================================================
RCS file: /cvs/extras/rpms/gnome-panel/devel/gnome-panel.spec,v
retrieving revision 1.272
retrieving revision 1.273
diff -u -r1.272 -r1.273
--- gnome-panel.spec	4 Mar 2008 00:05:50 -0000	1.272
+++ gnome-panel.spec	4 Mar 2008 01:29:05 -0000	1.273
@@ -22,7 +22,7 @@
 Summary: GNOME panel
 Name: gnome-panel
 Version: 2.21.92
-Release: 4%{?dist}
+Release: 5%{?dist}
 URL: http://www.gnome.org
 Source0: http://download.gnome.org/sources/gnome-panel/2.21/%{name}-%{version}.tar.bz2
 
@@ -115,6 +115,7 @@
 Patch24: gnome-panel-2.21.92-allow-spurious-view-done-signals.patch
 
 Patch25: current.patch
+Patch26: expose.patch
 
 Conflicts: gnome-power-manager < 2.15.3
 
@@ -165,6 +166,7 @@
 %patch23 -p1 -b .sunrise
 %patch24 -p1 -b .allow-spurious-view-done-signals
 %patch25 -p1 -b .current
+%patch26 -p1 -b .expose
 
 . %{SOURCE6}
 
@@ -349,6 +351,9 @@
 %{_datadir}/gtk-doc/html/*
 
 %changelog
+* Mon Mar  3 2008 Matthias Clasen <mclasen at redhat.com> - 2.21.92-5
+- Fix a redraw problem with the clock map
+
 * Mon Mar  3 2008 Matthias Clasen <mclasen at redhat.com> - 2.21.92-4
 - Make the clock applet handle multiple locations in the 
   same timezone meaningfully




More information about the fedora-extras-commits mailing list