summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCallum McKenzie <callum@src.gnome.org>2008-10-20 08:48:19 +0000
committerCallum McKenzie <callum@src.gnome.org>2008-10-20 08:48:19 +0000
commit70c00ba90556408ff47c75a1493f9c33ade55f6c (patch)
treee55eb63d88f971b4bb436f361fb6a80f9c51d6ce
parent4e575bdb56586438ab9d60a816b0549c45f94fc2 (diff)
Patch from Matthias Clasen to support
authentication of mounts. See bugs 553996 and 555792. svn path=/branches/gnome-2-24/; revision=11075
-rw-r--r--drivemount/ChangeLog5
-rw-r--r--drivemount/drive-button.c4
2 files changed, 8 insertions, 1 deletions
diff --git a/drivemount/ChangeLog b/drivemount/ChangeLog
index 685134f8f..dc6f871aa 100644
--- a/drivemount/ChangeLog
+++ b/drivemount/ChangeLog
@@ -1,3 +1,8 @@
+2008-10-20 Callum McKenzie <callum@spooky-possum.org>
+
+ * drive-button.c: Patch from Matthias Clasen to support
+ authentication of mounts. See bugs 553996 and 555792.
+
==================== 2.24.0.1 ====================
2008-09-15 Callum McKenzie <callum@spooky-possum.org>
diff --git a/drivemount/drive-button.c b/drivemount/drive-button.c
index 219f117e4..ce2593908 100644
--- a/drivemount/drive-button.c
+++ b/drivemount/drive-button.c
@@ -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();
}