From owner-freebsd-gnome@FreeBSD.ORG Mon Jan 3 19:05:48 2005 Return-Path: Delivered-To: freebsd-gnome@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A688B16A4CE for ; Mon, 3 Jan 2005 19:05:48 +0000 (GMT) Received: from te-clan.ch (ns1.te-clan.ch [217.118.194.40]) by mx1.FreeBSD.org (Postfix) with SMTP id 735B843D2D for ; Mon, 3 Jan 2005 19:05:47 +0000 (GMT) (envelope-from bachi@te-clan.ch) Received: (qmail 3057 invoked from network); 3 Jan 2005 19:05:41 -0000 Received: from unknown (HELO notebook.bachi.net) (80.219.63.44) by te-clan.ch with SMTP; 3 Jan 2005 19:05:41 -0000 From: Andreas Bachmann To: freebsd-gnome@FreeBSD.org Content-Type: multipart/mixed; boundary="=-Td7rPJawVLEmaapLZ5Ci" Date: Mon, 03 Jan 2005 20:05:33 +0100 Message-Id: <1104779133.873.8.camel@notebook.bachi.net> Mime-Version: 1.0 X-Mailer: Evolution 2.0.3 FreeBSD GNOME Team Port Subject: patch to see cdrom and disk slices in computer:/// X-BeenThere: freebsd-gnome@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: GNOME for FreeBSD -- porting and maintaining List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 03 Jan 2005 19:05:48 -0000 --=-Td7rPJawVLEmaapLZ5Ci Content-Type: text/plain Content-Transfer-Encoding: 7bit Hi GNOME Team When I saw, that FreeBSD has no CD-ROM icon in GNOME 2.8.3's computer:/// and the next release is far away from here, I tried to modify GNOME-VFS. The result was a simple delete of some code-snip... My diffs are attachted and my before/after pictures are in http://bachi.te-clan.ch/before.png and http://bachi.te-clan.ch/after.png. Maybe you can edit the Makefile and create a new parameter WITH_GNOME_VFS_HACK and patch the two files. greets Andreas Bachmann --=-Td7rPJawVLEmaapLZ5Ci Content-Disposition: attachment; filename=computer-method.c.diff Content-Type: text/x-patch; name=computer-method.c.diff; charset=ISO-8859-15 Content-Transfer-Encoding: 7bit --- computer-method.c.orig Mon Jan 3 18:34:31 2005 +++ computer-method.c Thu Dec 30 19:12:13 2004 @@ -356,9 +356,9 @@ computer_file_add (dir, file); #endif - file = computer_file_new (COMPUTER_ROOT_LINK); - file->file_name = g_strdup ("Filesystem.desktop"); - computer_file_add (dir, file); +// file = computer_file_new (COMPUTER_ROOT_LINK); +// file->file_name = g_strdup ("Filesystem.desktop"); +// computer_file_add (dir, file); file = computer_file_new (COMPUTER_NETWORK_LINK); file->file_name = g_strdup ("Network.desktop"); --=-Td7rPJawVLEmaapLZ5Ci Content-Disposition: attachment; filename=gnome-vfs-volume-monitor-daemon.c.diff Content-Type: text/x-patch; name=gnome-vfs-volume-monitor-daemon.c.diff; charset=ISO-8859-15 Content-Transfer-Encoding: 7bit --- gnome-vfs-volume-monitor-daemon.c.orig Mon Jan 3 08:58:19 2005 +++ gnome-vfs-volume-monitor-daemon.c Mon Jan 3 18:38:41 2005 @@ -650,11 +650,11 @@ GnomeVFSVolume *mounted_volume; char *uri; - if (mount->is_loopback || - !(mount->is_user_mountable || - g_str_has_prefix (mount->device_path, "/vol/"))) { - return NULL; - } +// if (mount->is_loopback || +// !(mount->is_user_mountable || +// g_str_has_prefix (mount->device_path, "/vol/"))) { +// return NULL; +// } fixup_mountpoint (mount); @@ -1200,4 +1200,3 @@ g_list_free (volume_monitor_daemon->last_connected_servers); volume_monitor_daemon->last_connected_servers = new_servers; } - --=-Td7rPJawVLEmaapLZ5Ci--