gnome-panel r10977 - trunk/applets/clock
- From: vuntz svn gnome org
- To: svn-commits-list gnome org
- Subject: gnome-panel r10977 - trunk/applets/clock
- Date: Wed, 2 Apr 2008 20:31:47 +0100 (BST)
Author: vuntz
Date: Wed Apr 2 20:31:47 2008
New Revision: 10977
URL: http://svn.gnome.org/viewvc/gnome-panel?rev=10977&view=rev
Log:
2008-04-02 Vincent Untz <vuntz gnome org>
* clock-map.c: (clock_map_expose): correctly redraw the map outline in
expose event, instead of painting it inside the map. Fix bug #519246.
Patch by Matthias Clasen <mclasen redhat com>
Modified:
trunk/applets/clock/ChangeLog
trunk/applets/clock/clock-map.c
Modified: trunk/applets/clock/clock-map.c
==============================================================================
--- trunk/applets/clock/clock-map.c (original)
+++ trunk/applets/clock/clock-map.c Wed Apr 2 20:31:47 2008
@@ -252,8 +252,9 @@
/* 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,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]