From: | "Daniel Gryniewicz (dang)" <dang@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in gnome-extra/policykit-gnome/files: policykit-gnome-0.9.2-fix-clickable-buttons.patch |
Date: | Sat, 25 Apr 2009 02:29:22 |
Message-Id: | E1LxXdo-0007U3-Fc@stork.gentoo.org |
1 | dang 09/04/25 02:29:20 |
2 | |
3 | Added: policykit-gnome-0.9.2-fix-clickable-buttons.patch |
4 | Log: |
5 | Bump to policykit-gnome-0.9.2-r1 |
6 | - Add patch from fedora to fix clicking buttons that require auth |
7 | (Portage version: 2.2_rc31/cvs/Linux x86_64) |
8 | |
9 | Revision Changes Path |
10 | 1.1 gnome-extra/policykit-gnome/files/policykit-gnome-0.9.2-fix-clickable-buttons.patch |
11 | |
12 | file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/gnome-extra/policykit-gnome/files/policykit-gnome-0.9.2-fix-clickable-buttons.patch?rev=1.1&view=markup |
13 | plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/gnome-extra/policykit-gnome/files/policykit-gnome-0.9.2-fix-clickable-buttons.patch?rev=1.1&content-type=text/plain |
14 | |
15 | Index: policykit-gnome-0.9.2-fix-clickable-buttons.patch |
16 | =================================================================== |
17 | --- ./polkit-gnome/polkit-gnome-action.c.old 2009-02-06 17:31:46.000000000 +0000 |
18 | +++ ./polkit-gnome/polkit-gnome-action.c 2009-02-06 17:32:03.000000000 +0000 |
19 | @@ -2062,6 +2062,8 @@ _button_clicked (GtkButton *button, PolK |
20 | case POLKIT_RESULT_ONLY_VIA_SELF_AUTH_KEEP_ALWAYS: |
21 | /* g_debug ("blocking clicked"); */ |
22 | g_signal_stop_emission_by_name (button, "clicked"); |
23 | + if (action->priv->polkit_action != NULL) |
24 | + g_signal_emit (action, signals [AUTH_START_SIGNAL], 0); |
25 | break; |
26 | |
27 | default: |