summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@fedoraproject.org>2008-09-26 19:52:45 +0000
committerMatthias Clasen <mclasen@fedoraproject.org>2008-09-26 19:52:45 +0000
commit9d9215a56bab5c66e2aa5a4089da1e5ecad3d8b7 (patch)
treece8550e3eb2ad11d1a5f8e54d6b883ea84b27ba2
parentf6b575cde3b184c1250645078198d352542e2d4c (diff)
downloadgnome-applets-9d9215a56bab5c66e2aa5a4089da1e5ecad3d8b7.tar.gz
gnome-applets-9d9215a56bab5c66e2aa5a4089da1e5ecad3d8b7.tar.xz
gnome-applets-9d9215a56bab5c66e2aa5a4089da1e5ecad3d8b7.zip
small improvement to the drive mount appletgnome-applets-2_24_0_1-3_fc10
-rw-r--r--gnome-applets.spec9
-rw-r--r--mount-auth.patch15
2 files changed, 23 insertions, 1 deletions
diff --git a/gnome-applets.spec b/gnome-applets.spec
index 685842e..380d23c 100644
--- a/gnome-applets.spec
+++ b/gnome-applets.spec
@@ -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 @@ Patch39: gweather-network.patch
# 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 @@ small utilities for the GNOME panel.
%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 @@ fi
%{_datadir}/PolicyKit/policy/org.gnome.cpufreqselector.policy
%changelog
+* Fri Sep 26 2008 Matthias Clasen <mclasen@redhat.com> - 1:2.24.0.1-3
+- Small improvement to the drivemount applet
+
* Wed Sep 24 2008 Matthias Clasen <mclasen@redhat.com> - 1:2.24.0.1-2
- Update to 2.24.0.1
diff --git a/mount-auth.patch b/mount-auth.patch
new file mode 100644
index 0000000..6fc9ab1
--- /dev/null
+++ b/mount-auth.patch
@@ -0,0 +1,15 @@
+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();
+ }