gnome-applets r11075 - branches/gnome-2-24/drivemount
- From: callum svn gnome org
- To: svn-commits-list gnome org
- Subject: gnome-applets r11075 - branches/gnome-2-24/drivemount
- Date: Mon, 20 Oct 2008 08:48:20 +0000 (UTC)
Author: callum
Date: Mon Oct 20 08:48:19 2008
New Revision: 11075
URL: http://svn.gnome.org/viewvc/gnome-applets?rev=11075&view=rev
Log:
Patch from Matthias Clasen to support
authentication of mounts. See bugs 553996 and 555792.
Modified:
branches/gnome-2-24/drivemount/ChangeLog
branches/gnome-2-24/drivemount/drive-button.c
Modified: branches/gnome-2-24/drivemount/drive-button.c
==============================================================================
--- branches/gnome-2-24/drivemount/drive-button.c (original)
+++ branches/gnome-2-24/drivemount/drive-button.c Mon Oct 20 08:48:19 2008
@@ -748,8 +748,10 @@
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();
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]