Hello community, here is the log from the commit of package gnome-utils checked in at Sun Apr 2 12:41:57 CEST 2006. -------- --- GNOME/gnome-utils/gnome-utils.changes 2006-03-23 23:01:30.000000000 +0100 +++ gnome-utils/gnome-utils.changes 2006-03-31 22:20:09.000000000 +0200 @@ -1,0 +2,6 @@ +Fri Mar 31 22:19:45 CEST 2006 - danw@suse.de + +- DTRT if the user types an absolute path into the filename entry. + #162460 + +------------------------------------------------------------------- New: ---- gnome-utils-screenshot-abspath.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ gnome-utils.spec ++++++ --- /var/tmp/diff_new_pack.Xtu8Mr/_old 2006-04-02 12:40:37.000000000 +0200 +++ /var/tmp/diff_new_pack.Xtu8Mr/_new 2006-04-02 12:40:37.000000000 +0200 @@ -20,7 +20,7 @@ Obsoletes: gnome-utils2 Autoreqprov: on Version: 2.12.2 -Release: 20 +Release: 22 Summary: Basic Utilities for the GNOME 2.x Desktop Source: ftp://ftp.gnome.org/pub/gnome/sources/gnome-utils/2.11/%{name}-%{version}.tar.bz2 Source1: gnome-screenshot.desktop @@ -28,6 +28,7 @@ Patch18: screen-shot-error-dlg.diff Patch21: gnome-utils-strict-aliasing.patch Patch22: gnome-utils-logview-findbar-return.patch +Patch23: gnome-utils-screenshot-abspath.patch URL: http://www.gnome.org BuildRoot: %{_tmppath}/%{name}-%{version}-build PreReq: filesystem gconf2 /usr/bin/touch @@ -119,6 +120,7 @@ %patch18 %patch21 %patch22 +%patch23 gnome-patch-translation-update %build @@ -200,6 +202,9 @@ %{prefix}/share/pixmaps %changelog -n gnome-utils +* Fri Mar 31 2006 - danw@suse.de +- DTRT if the user types an absolute path into the filename entry. + [#162460] * Thu Mar 23 2006 - gekker@suse.de - Add .desktop for gnome-screenshot applet (#159487) * Tue Feb 28 2006 - sbrabec@suse.cz ++++++ gnome-utils-screenshot-abspath.patch ++++++ --- gnome-screenshot/screenshot-dialog.c +++ gnome-screenshot/screenshot-dialog.c @@ -277,7 +277,10 @@ file_name = gtk_entry_get_text (GTK_ENTRY (dialog->filename_entry)); tmp = g_filename_from_utf8 (file_name, -1, NULL, NULL, NULL); - uri = g_build_filename (folder, tmp, NULL); + if (*tmp == '/') + uri = g_strdup_printf ("file://%s", tmp); + else + uri = g_build_filename (folder, tmp, NULL); g_free (folder); g_free (tmp); ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Remember to have fun...