gimp r25099 - trunk/plug-ins/uri



Author: neo
Date: Wed Mar 12 17:43:56 2008
New Revision: 25099
URL: http://svn.gnome.org/viewvc/gimp?rev=25099&view=rev

Log:
don't forget to set the state of the anon toggle


Modified:
   trunk/plug-ins/uri/uri-backend-gio.c

Modified: trunk/plug-ins/uri/uri-backend-gio.c
==============================================================================
--- trunk/plug-ins/uri/uri-backend-gio.c	(original)
+++ trunk/plug-ins/uri/uri-backend-gio.c	Wed Mar 12 17:43:56 2008
@@ -367,6 +367,14 @@
           g_mount_operation_set_username (G_MOUNT_OPERATION (operation), text);
         }
 
+      if (operation->anon_toggle)
+        {
+          GtkToggleButton *button = GTK_TOGGLE_BUTTON (operation->anon_toggle);
+
+          g_mount_operation_set_anonymous (G_MOUNT_OPERATION (operation),
+                                           gtk_toggle_button_get_active (button));
+        }
+
       if (operation->domain_entry)
         {
           text = gtk_entry_get_text (GTK_ENTRY (operation->domain_entry));



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]