diff options
author | Matthias Clasen <mclasen@fedoraproject.org> | 2008-03-04 01:29:05 +0000 |
---|---|---|
committer | Matthias Clasen <mclasen@fedoraproject.org> | 2008-03-04 01:29:05 +0000 |
commit | 9080cee1e38a1c8d92c58e77fee974207287f6f6 (patch) | |
tree | e12f20883aaeef363b716c060121198f13f63f7a | |
parent | 473518cf40c787143c1f949a551810fc31bd99b0 (diff) | |
download | gnome-panel-9080cee1e38a1c8d92c58e77fee974207287f6f6.tar.gz gnome-panel-9080cee1e38a1c8d92c58e77fee974207287f6f6.tar.xz gnome-panel-9080cee1e38a1c8d92c58e77fee974207287f6f6.zip |
fix a redraw problemgnome-panel-2_21_92-5_fc9
-rw-r--r-- | expose.patch | 15 | ||||
-rw-r--r-- | gnome-panel.spec | 7 |
2 files changed, 21 insertions, 1 deletions
diff --git a/expose.patch b/expose.patch new file mode 100644 index 0000000..dd8aa3d --- /dev/null +++ b/expose.patch @@ -0,0 +1,15 @@ +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, diff --git a/gnome-panel.spec b/gnome-panel.spec index 2f49405..3e6140a 100644 --- a/gnome-panel.spec +++ b/gnome-panel.spec @@ -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 @@ Patch23: sunrise.patch 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 @@ Panel Applets using the libpanel-applet library. %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 @@ fi %{_datadir}/gtk-doc/html/* %changelog +* Mon Mar 3 2008 Matthias Clasen <mclasen@redhat.com> - 2.21.92-5 +- Fix a redraw problem with the clock map + * Mon Mar 3 2008 Matthias Clasen <mclasen@redhat.com> - 2.21.92-4 - Make the clock applet handle multiple locations in the same timezone meaningfully |