rpms/gnome-applets/devel mount-auth.patch, NONE, 1.1 gnome-applets.spec, 1.300, 1.301

Matthias Clasen mclasen at fedoraproject.org
Fri Sep 26 19:53:15 UTC 2008


Author: mclasen

Update of /cvs/extras/rpms/gnome-applets/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv22992

Modified Files:
	gnome-applets.spec 
Added Files:
	mount-auth.patch 
Log Message:
small improvement to the drive mount applet


mount-auth.patch:

--- NEW FILE mount-auth.patch ---
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();
     }


Index: gnome-applets.spec
===================================================================
RCS file: /cvs/extras/rpms/gnome-applets/devel/gnome-applets.spec,v
retrieving revision 1.300
retrieving revision 1.301
diff -u -r1.300 -r1.301
--- gnome-applets.spec	24 Sep 2008 20:31:07 -0000	1.300
+++ gnome-applets.spec	26 Sep 2008 19:52:45 -0000	1.301
@@ -35,7 +35,7 @@
 Summary:        Small applications for the GNOME panel
 Name:		gnome-applets
 Version:	2.24.0.1
-Release: 	2%{?dist}
+Release: 	3%{?dist}
 Epoch:          1
 License:	GPLv2+ and GFDL
 Group:          User Interface/Desktops
@@ -64,6 +64,9 @@
 # do the nullapplet dance for battstat
 Patch40:	gnome-applets-null-battstat.patch
 
+# http://bugzilla.gnome.org/show_bug.cgi?id=553996
+Patch41:        mount-auth.patch
+
 BuildRequires:  glib2-devel >= %{glib2_version}
 BuildRequires:  gtk2-devel >= %{gtk2_version}
 BuildRequires:  libgnomeui-devel >= %{libgnomeui_version}
@@ -149,6 +152,7 @@
 %patch33 -p1 -b .node-leak
 %patch39 -p1 -b .gweather-network
 %patch40 -p1 -b .battstat-null
+%patch41 -p1 -b .mount-auth
 
 # We don't ship gnome-system-tools
 rm -rf modemlights
@@ -308,6 +312,9 @@
 %{_datadir}/PolicyKit/policy/org.gnome.cpufreqselector.policy
 
 %changelog
+* Fri Sep 26 2008 Matthias Clasen <mclasen at redhat.com> - 1:2.24.0.1-3
+- Small improvement to the drivemount applet
+
 * Wed Sep 24 2008 Matthias Clasen <mclasen at redhat.com> - 1:2.24.0.1-2
 - Update to 2.24.0.1
 




More information about the fedora-extras-commits mailing list