[zenity/jjardon/no_deprecated: 6/12] Do not use stock dialog



commit 6570f6e72d09a4632e63af60328b96341ee046f2
Author: Javier Jardón <jjardon gnome org>
Date:   Sun Mar 22 05:00:48 2015 +0000

    Do not use stock dialog

 src/password.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/password.c b/src/password.c
index 6d85390..be3bcf4 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);


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]