summaryrefslogtreecommitdiffstats
path: root/mount-auth.patch
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@fedoraproject.org>2008-09-26 19:52:45 +0000
committerMatthias Clasen <mclasen@fedoraproject.org>2008-09-26 19:52:45 +0000
commit9d9215a56bab5c66e2aa5a4089da1e5ecad3d8b7 (patch)
treece8550e3eb2ad11d1a5f8e54d6b883ea84b27ba2 /mount-auth.patch
parentf6b575cde3b184c1250645078198d352542e2d4c (diff)
small improvement to the drive mount appletgnome-applets-2_24_0_1-3_fc10
Diffstat (limited to 'mount-auth.patch')
-rw-r--r--mount-auth.patch15
1 files changed, 15 insertions, 0 deletions
diff --git a/mount-auth.patch b/mount-auth.patch
new file mode 100644
index 0000000..6fc9ab1
--- /dev/null
+++ b/mount-auth.patch
@@ -0,0 +1,15 @@
+diff -up gnome-applets-2.24.0.1/drivemount/drive-button.c.mount-auth gnome-applets-2.24.0.1/drivemount/drive-button.c
+--- gnome-applets-2.24.0.1/drivemount/drive-button.c.mount-auth 2008-09-26 15:37:51.000000000 -0400
++++ gnome-applets-2.24.0.1/drivemount/drive-button.c 2008-09-26 15:39:15.000000000 -0400
+@@ -748,8 +748,10 @@ static void
+ mount_drive (DriveButton *self, GtkWidget *item)
+ {
+ if (self->volume) {
++ GMountOperation *mount_op = gtk_mount_operation_new (NULL);
+ g_volume_mount (self->volume, G_MOUNT_MOUNT_NONE,
+- NULL, NULL, NULL, NULL);
++ mount_op, NULL, NULL, NULL);
++ g_object_unref (mount_op);
+ } else {
+ g_return_if_reached();
+ }