Hello community, here is the log from the commit of package gedit checked in at Wed May 10 18:41:39 CEST 2006. -------- --- GNOME/gedit/gedit.changes 2006-04-07 17:19:46.000000000 +0200 +++ STABLE/gedit/gedit.changes 2006-05-09 19:30:03.000000000 +0200 @@ -1,0 +2,6 @@ +Tue May 9 19:28:39 CEST 2006 - danw@suse.de + +- Don't crash if one of the recently-used files has an unparsable + URL. #173887 + +------------------------------------------------------------------- New: ---- gedit-recent-files.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ gedit.spec ++++++ --- /var/tmp/diff_new_pack.ErKwyI/_old 2006-05-10 18:39:41.000000000 +0200 +++ /var/tmp/diff_new_pack.ErKwyI/_new 2006-05-10 18:39:41.000000000 +0200 @@ -18,7 +18,7 @@ Group: Productivity/Editors/Other Autoreqprov: on Version: 2.12.1 -Release: 19 +Release: 28 Summary: The Editor for the GNOME 2.x Desktop Source: ftp://ftp.gnome.org/pub/gnome/sources/gedit/2.10/%{name}-%{version}.tar.bz2 URL: http://www.gnome.org @@ -31,6 +31,7 @@ Patch2: gedit-desktop.patch Patch3: gedit-goto-line.patch Patch4: gedit-autodetect-utf-16.patch +Patch5: gedit-recent-files.patch %description Gedit is a small, fast, and reliable editor for the GNOME 2.x Desktop. @@ -67,6 +68,7 @@ %patch2 -p1 %patch3 %patch4 +%patch5 gnome-patch-translation-update %build @@ -134,6 +136,9 @@ %{prefix}/include/* %changelog -n gedit +* Tue May 09 2006 - danw@suse.de +- Don't crash if one of the recently-used files has an unparsable + URL. #173887 * Fri Apr 07 2006 - sbrabec@suse.cz - Declare MIME support for more plain text formats to compete with Emacs. ++++++ gedit-recent-files.patch ++++++ --- gedit/recent-files/egg-recent-view-bonobo.c +++ gedit/recent-files/egg-recent-view-bonobo.c @@ -230,6 +230,10 @@ if (utf8_uri == NULL) continue; + temp_base_uri = egg_recent_item_get_short_name (item); + if (temp_base_uri == NULL) + continue; + /* this is what gets passed to our private "activate" callback */ md = (EggRecentViewBonoboMenuData *)g_malloc (sizeof (EggRecentViewBonoboMenuData)); md->view = view; @@ -237,7 +241,6 @@ egg_recent_item_ref (md->item); - temp_base_uri = egg_recent_item_get_short_name (item); base_uri = str_end_truncate (temp_base_uri, view->label_width); g_free (temp_base_uri); xml_escaped_name = g_markup_escape_text (base_uri, ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Remember to have fun...