[accounts-dialog/control-center-panel] Use the changes-prevent icon instead of security-medium
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [accounts-dialog/control-center-panel] Use the changes-prevent icon instead of security-medium
- Date: Mon, 14 Jun 2010 05:27:40 +0000 (UTC)
commit 5bd7ec3294d023920560ce5a3c8fbc7218e1a2ad
Author: Matthias Clasen <mclasen redhat com>
Date: Mon Jun 14 01:26:05 2010 -0400
Use the changes-prevent icon instead of security-medium
src/um-user-panel.c | 17 ++++++-----------
1 files changed, 6 insertions(+), 11 deletions(-)
---
diff --git a/src/um-user-panel.c b/src/um-user-panel.c
index c99fc68..79a3372 100644
--- a/src/um-user-panel.c
+++ b/src/um-user-panel.c
@@ -842,7 +842,7 @@ add_unlock_tooltip (GtkWidget *button)
setup_tooltip_with_embedded_icon (button,
_("To make changes,\nclick the * icon first"),
"*",
- "security-medium");
+ "changes-prevent");
g_signal_connect (button, "button-release-event",
G_CALLBACK (show_tooltip_now), NULL);
}
@@ -882,7 +882,7 @@ lockbutton_changed (PolkitLockButton *button,
setup_tooltip_with_embedded_icon (widget,
_("To create a user,\nclick the * icon first"),
"*",
- "security-medium");
+ "changes-prevent");
}
widget = get_widget (d, "delete-user-button");
@@ -894,7 +894,7 @@ lockbutton_changed (PolkitLockButton *button,
setup_tooltip_with_embedded_icon (widget,
_("To delete the selected user,\nclick the * icon first"),
"*",
- "security-medium");
+ "changes-prevent");
}
if (is_authorized) {
@@ -1100,12 +1100,7 @@ setup_main_window (UmUserPanelPrivate *d)
g_signal_connect (button, "clicked", G_CALLBACK (delete_user), d);
button = get_widget (d, "user-icon-nonbutton");
- setup_tooltip_with_embedded_icon (button,
- _("To make changes,\nclick the * icon first"),
- "*",
- "security-medium");
- g_signal_connect (button, "button-release-event",
- G_CALLBACK (show_tooltip_now), NULL);
+ add_unlock_tooltip (button);
button = get_widget (d, "full-name-entry");
g_signal_connect (button, "editing-done", G_CALLBACK (change_name_done), d);
@@ -1142,12 +1137,12 @@ setup_main_window (UmUserPanelPrivate *d)
setup_tooltip_with_embedded_icon (button,
_("To create a user,\nclick the * icon first"),
"*",
- "security-medium");
+ "changes-prevent");
button = get_widget (d, "delete-user-button");
setup_tooltip_with_embedded_icon (button,
_("To delete the selected user,\nclick the * icon first"),
"*",
- "security-medium");
+ "changes-prevent");
}
static void
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]