rpms/gnome-panel/devel clock-timezones.patch, NONE, 1.1 gnome-panel.spec, 1.205, 1.206

Matthias Clasen (mclasen) fedora-extras-commits at redhat.com
Thu Jul 12 20:04:35 UTC 2007


Author: mclasen

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

Modified Files:
	gnome-panel.spec 
Added Files:
	clock-timezones.patch 
Log Message:
fix clock applet timezone code


clock-timezones.patch:

--- NEW FILE clock-timezones.patch ---
--- gnome-panel-2.19.5/applets/clock/tz.c	2007-07-08 16:25:50.000000000 -0400
+++ hacked/applets/clock/tz.c	2007-07-12 15:43:48.000000000 -0400
@@ -469,7 +469,7 @@
       locs = tz_get_locations ();
 
       /* try to locate by inode */
-      for (i = 0; i < locs->len; i++)
+      for (i = 0; g_ptr_array_index (locs, i); i++)
         {
           tz_loc = g_ptr_array_index (locs, i);
 


Index: gnome-panel.spec
===================================================================
RCS file: /cvs/pkgs/rpms/gnome-panel/devel/gnome-panel.spec,v
retrieving revision 1.205
retrieving revision 1.206
diff -u -r1.205 -r1.206
--- gnome-panel.spec	9 Jul 2007 04:30:46 -0000	1.205
+++ gnome-panel.spec	12 Jul 2007 20:04:00 -0000	1.206
@@ -22,7 +22,7 @@
 Summary: GNOME panel
 Name: gnome-panel
 Version: 2.19.5
-Release: 1%{?dist} 
+Release: 2%{?dist} 
 URL: http://www.gnome.org
 Source0: http://download.gnome.org/sources/gnome-panel/2.19/%{name}-%{version}.tar.bz2
 Source1: redhat-panel-default-setup.entries
@@ -90,6 +90,8 @@
 # Drop this patch for now, it should have AT LEAST been moved
 # to an upstream bugzilla by now
 #Patch6: gnome-panel-2.16.0-compiz-support.patch
+# http://bugzilla.gnome.org/show_bug.cgi?id=456371
+Patch7: clock-timezones.patch
 
 Conflicts: gnome-power-manager < 2.15.3
 
@@ -122,6 +124,7 @@
 %patch4 -p1 -b .search
 %patch5 -p1 -b .move-suspend-to-menu
 #%patch6 -p0 -b .compiz-support
+%patch7 -p1 -b .clock-timezones
 
 . %{SOURCE4}
 
@@ -302,6 +305,9 @@
 %{_datadir}/gtk-doc/html/*
 
 %changelog
+* Thu Jul 12 2007 Matthias Clasen <mclasen at redhat.com> - 2.19.5-2
+- Fix a crash in the new timezone code in the clock applet
+
 * Sun Jul  8 2007 Matthias Clasen <mclasen at redhat.com> - 2.19.5-1
 - Update to 2.19.5
 




More information about the fedora-extras-commits mailing list