summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJavier Jardón <jjardon@gnome.org>2015-03-22 05:00:48 +0000
committerJavier Jardón <jjardon@gnome.org>2015-03-22 09:16:16 +0000
commitc1cf0abc21133e4fa79f412f2e7b0d1a4b6954bd (patch)
tree3b08565717217f357bb2573ae6a05272d0a771da /src
parentDo not use an icon for Cancel/OK buttons (diff)
downloadzenity-c1cf0abc21133e4fa79f412f2e7b0d1a4b6954bd.tar.gz
zenity-c1cf0abc21133e4fa79f412f2e7b0d1a4b6954bd.tar.bz2
zenity-c1cf0abc21133e4fa79f412f2e7b0d1a4b6954bd.zip
Do not use stock dialog
Diffstat (limited to 'src')
-rw-r--r--src/password.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/password.c b/src/password.c
index 6d85390b..be3bcf43 100644
--- a/src/password.c
+++ b/src/password.c
@@ -51,8 +51,8 @@ void zenity_password_dialog (ZenityData *data, ZenityPasswordData *password_data
data->ok_label != NULL ? data->ok_label : _("_OK"),
GTK_RESPONSE_OK);
- image = gtk_image_new_from_stock(GTK_STOCK_DIALOG_AUTHENTICATION,
- GTK_ICON_SIZE_DIALOG);
+ image = gtk_image_new_from_icon_name("dialog-password",
+ GTK_ICON_SIZE_DIALOG);
gtk_dialog_set_default_response(GTK_DIALOG(dialog),
GTK_RESPONSE_OK);
hbox = gtk_hbox_new(FALSE, 5);
bgstack15