rpms/PolicyKit-gnome/devel icon-names.patch, NONE, 1.1 PolicyKit-gnome.spec, 1.23, 1.24
Matthias Clasen (mclasen)
fedora-extras-commits at redhat.com
Fri Aug 8 14:56:26 UTC 2008
- Previous message (by thread): rpms/kernel/devel linux-2.6-piix3-silence-quirk.patch, NONE, 1.1 kernel.spec, 1.864, 1.865
- Next message (by thread): rpms/ktorrent/devel .cvsignore, 1.20, 1.21 ktorrent.spec, 1.68, 1.69 sources, 1.20, 1.21
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Author: mclasen
Update of /cvs/extras/rpms/PolicyKit-gnome/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv23408
Modified Files:
PolicyKit-gnome.spec
Added Files:
icon-names.patch
Log Message:
use standard icon names
icon-names.patch:
--- NEW FILE icon-names.patch ---
diff -up PolicyKit-gnome-0.9/polkit-gnome/polkit-gnome-toggle-action.c.icon-names PolicyKit-gnome-0.9/polkit-gnome/polkit-gnome-toggle-action.c
--- PolicyKit-gnome-0.9/polkit-gnome/polkit-gnome-toggle-action.c.icon-names 2008-08-08 10:41:15.000000000 -0400
+++ PolicyKit-gnome-0.9/polkit-gnome/polkit-gnome-toggle-action.c 2008-08-08 10:42:36.000000000 -0400
@@ -334,9 +334,9 @@ polkit_gnome_toggle_action_new (const gc
* user. By toggling the action again, the negative authorization will
* be revoked.
*
- * Default behavior is defined as having the icon_name be 'stock_lock'
+ * Default behavior is defined as having the icon_name be 'security-medium'
* by default except for the YES PolicyKit answer where it's set to
- * 'stock_lock-open'. No tooltips are set. The label and short-label
+ * 'security-low'. No tooltips are set. The label and short-label
* will be 'locked_label' everywhere except in the YES state where
* it's set to 'unlocked-label'. When authentication is underway, the
* label will be "Authenticating..." and icon_name is untouched. If
@@ -372,35 +372,35 @@ polkit_gnome_toggle_action_new_default (
"self-blocked-short-label", locked_label,
"self-blocked-label", locked_label,
"self-blocked-tooltip", NULL,
- "self-blocked-icon-name", "stock_lock",
+ "self-blocked-icon-name", "security-medium",
"no-visible", TRUE,
"no-sensitive", FALSE,
"no-short-label", locked_label,
"no-label", locked_label,
"no-tooltip", NULL,
- "no-icon-name", "stock_lock",
+ "no-icon-name", "security-medium",
"auth-visible", TRUE,
"auth-sensitive", TRUE,
"auth-short-label", locked_label,
"auth-label", locked_label,
"auth-tooltip", NULL,
- "auth-icon-name", "stock_lock",
+ "auth-icon-name", "security-medium",
"yes-visible", TRUE,
"yes-sensitive", TRUE,
"yes-short-label", unlocked_label,
"yes-label", unlocked_label,
"yes-tooltip", NULL,
- "yes-icon-name", "stock_lock-open",
+ "yes-icon-name", "security-low",
"auth-underway-visible", TRUE,
"auth-underway-sensitive", TRUE,
"auth-underway-short-label", _("Authenticating..."),
"auth-underway-label", _("Authenticating..."),
"auth-underway-tooltip", NULL,
- "auth-underway-icon-name", "stock_lock",
+ "auth-underway-icon-name", "security-medium",
"master-visible", TRUE,
"master-sensitive", TRUE,
@@ -408,7 +408,7 @@ polkit_gnome_toggle_action_new_default (
return toggle_action;
}
-/*----------------------------------------------------------------------------------------------------*/
+/*---------------------------------------------------------------------------------security-medium-------------------*/
static void
polkit_gnome_toggle_action_set_auth_underway_visible (PolKitGnomeToggleAction *action, gboolean visible)
Index: PolicyKit-gnome.spec
===================================================================
RCS file: /cvs/extras/rpms/PolicyKit-gnome/devel/PolicyKit-gnome.spec,v
retrieving revision 1.23
retrieving revision 1.24
diff -u -r1.23 -r1.24
--- PolicyKit-gnome.spec 1 Aug 2008 17:28:12 -0000 1.23
+++ PolicyKit-gnome.spec 8 Aug 2008 14:55:55 -0000 1.24
@@ -10,7 +10,7 @@
Summary: PolicyKit integration for the GNOME desktop
Name: PolicyKit-gnome
Version: 0.9
-Release: 2%{?dist}
+Release: 3%{?dist}
License: GPLv2+ and LGPLv2+
Group: System Environment/Libraries
URL: http://svn.gnome.org/viewvc/policykit-gnome/trunk
@@ -38,6 +38,8 @@
Requires(preun): GConf2 >= 2.14
Patch0: PolicyKit-gnome-0.8-dont-spawn-when-running-under-gdm.patch
+# fixed in upstream svn
+Patch1: icon-names.patch
%description
PolicyKit-gnome provides a GNOME integration library and tools for
@@ -81,6 +83,7 @@
%prep
%setup -q
%patch0 -p1 -b .no-spawning-under-gdm
+%patch1 -p1 -b .icon-names
%build
%configure
@@ -153,6 +156,9 @@
%{_datadir}/PolicyKit/policy/*.policy
%changelog
+* Fri Aug 8 2008 Matthias Clasen <mclasen at redhat.com>
+- Use standard icon names
+
* Fri Aug 1 2008 Matthias Clasen <mclasen at redhat.com>
- Fix URL
- Previous message (by thread): rpms/kernel/devel linux-2.6-piix3-silence-quirk.patch, NONE, 1.1 kernel.spec, 1.864, 1.865
- Next message (by thread): rpms/ktorrent/devel .cvsignore, 1.20, 1.21 ktorrent.spec, 1.68, 1.69 sources, 1.20, 1.21
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the fedora-extras-commits
mailing list