gnome-applets r11075 - branches/gnome-2-24/drivemount



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]