[Pkg-utopia-commits] r3097 - in /packages/unstable/policykit-gnome/debian: changelog patches/05-fix-actions.patch patches/series
biebl at users.alioth.debian.org
biebl at users.alioth.debian.org
Mon Apr 27 09:20:16 UTC 2009
Author: biebl
Date: Mon Apr 27 09:20:16 2009
New Revision: 3097
URL: http://svn.debian.org/wsvn/pkg-utopia/?sc=1&rev=3097
Log:
* debian/patches/05-fix-actions.patch
- Pull patch from Fedora CVS to make actions work again. When blocking
"clicked" because the user is not authenticated it should emit
"auth-start" so that the user is invited to authenticate.
(Closes: #524836)
Added:
packages/unstable/policykit-gnome/debian/patches/05-fix-actions.patch
Modified:
packages/unstable/policykit-gnome/debian/changelog
packages/unstable/policykit-gnome/debian/patches/series
Modified: packages/unstable/policykit-gnome/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-utopia/packages/unstable/policykit-gnome/debian/changelog?rev=3097&op=diff
==============================================================================
--- packages/unstable/policykit-gnome/debian/changelog (original)
+++ packages/unstable/policykit-gnome/debian/changelog Mon Apr 27 09:20:16 2009
@@ -1,3 +1,13 @@
+policykit-gnome (0.9.2-2) UNRELEASED; urgency=low
+
+ * debian/patches/05-fix-actions.patch
+ - Pull patch from Fedora CVS to make actions work again. When blocking
+ "clicked" because the user is not authenticated it should emit
+ "auth-start" so that the user is invited to authenticate.
+ (Closes: #524836)
+
+ -- Michael Biebl <biebl at debian.org> Mon, 27 Apr 2009 11:09:24 +0200
+
policykit-gnome (0.9.2-1) unstable; urgency=low
* New upstream release.
Added: packages/unstable/policykit-gnome/debian/patches/05-fix-actions.patch
URL: http://svn.debian.org/wsvn/pkg-utopia/packages/unstable/policykit-gnome/debian/patches/05-fix-actions.patch?rev=3097&op=file
==============================================================================
--- packages/unstable/policykit-gnome/debian/patches/05-fix-actions.patch (added)
+++ packages/unstable/policykit-gnome/debian/patches/05-fix-actions.patch Mon Apr 27 09:20:16 2009
@@ -1,0 +1,17 @@
+# Ubuntu: https://bugs.launchpad.net/ubuntu/+source/policykit-gnome/+bug/332343
+# Upstream: http://bugzilla.gnome.org/show_bug.cgi?id=572878
+# Patch: http://bugzilla.gnome.org/attachment.cgi?id=129353&action=view
+# Description: When "clicked" is blocked as the user is not authorized
+# it should emit "auth-start" so that the user can authenticate. Makes
+# it work with widgets that don't emit "activate", e.g. buttons.
+--- ./polkit-gnome/polkit-gnome-action.c.old 2009-02-06 17:31:46.000000000 +0000
++++ ./polkit-gnome/polkit-gnome-action.c 2009-02-06 17:32:03.000000000 +0000
+@@ -2062,6 +2062,8 @@ _button_clicked (GtkButton *button, PolK
+ case POLKIT_RESULT_ONLY_VIA_SELF_AUTH_KEEP_ALWAYS:
+ /* g_debug ("blocking clicked"); */
+ g_signal_stop_emission_by_name (button, "clicked");
++ if (action->priv->polkit_action != NULL)
++ g_signal_emit (action, signals [AUTH_START_SIGNAL], 0);
+ break;
+
+ default:
Modified: packages/unstable/policykit-gnome/debian/patches/series
URL: http://svn.debian.org/wsvn/pkg-utopia/packages/unstable/policykit-gnome/debian/patches/series?rev=3097&op=diff
==============================================================================
--- packages/unstable/policykit-gnome/debian/patches/series (original)
+++ packages/unstable/policykit-gnome/debian/patches/series Mon Apr 27 09:20:16 2009
@@ -1,1 +1,2 @@
02-desktop_file_categories.patch
+05-fix-actions.patch
More information about the Pkg-utopia-commits
mailing list