[PolicyKit-gnome] Use standard icon names
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [PolicyKit-gnome] Use standard icon names
- Date: Mon, 14 Jun 2010 15:25:47 +0000 (UTC)
commit 7bb7272e45c91feecb6e05ab05d32b6ba04d99ec
Author: Matthias Clasen <mclasen redhat com>
Date: Mon Jun 14 11:23:22 2010 -0400
Use standard icon names
The stock_lock/stock_lock-open icons have been removed from gnome-icon-theme.
Instead, there are now changes-allow/changes-prevent icons.
So use those. Bug #611480
polkitgtk/polkitlockbutton.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/polkitgtk/polkitlockbutton.c b/polkitgtk/polkitlockbutton.c
index be81b02..1229d66 100644
--- a/polkitgtk/polkitlockbutton.c
+++ b/polkitgtk/polkitlockbutton.c
@@ -749,7 +749,7 @@ update_state (PolkitLockButton *button)
}
}
- image = gtk_image_new_from_icon_name (button->priv->authorized ? "stock_lock-open" : "stock_lock",
+ image = gtk_image_new_from_icon_name (button->priv->authorized ? "changes-allow" : "changes-prevent",
GTK_ICON_SIZE_SMALL_TOOLBAR);
gtk_button_set_image (GTK_BUTTON (button->priv->button), image);
gtk_label_set_text (GTK_LABEL (button->priv->label), text);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]