diff options
author | Pablo Barciela <[email protected]> | 2018-01-26 11:06:00 +0100 |
---|---|---|
committer | raveit65 <[email protected]> | 2018-02-12 14:03:07 +0100 |
commit | 17b20172c581009a5d972dbb9bc523e7d3e4126d (patch) | |
tree | d18b5f4c993b16d5a70f0edfdd0ee5ae657aba3d /capplets/about-me | |
parent | 9e312c404d28250bd75782ba6f7a96ba9b707fb1 (diff) | |
download | mate-control-center-17b20172c581009a5d972dbb9bc523e7d3e4126d.tar.bz2 mate-control-center-17b20172c581009a5d972dbb9bc523e7d3e4126d.tar.xz |
avoid deprecated GtkStock
Diffstat (limited to 'capplets/about-me')
-rw-r--r-- | capplets/about-me/mate-about-me-fingerprint.c | 2 | ||||
-rw-r--r-- | capplets/about-me/mate-about-me.c | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/capplets/about-me/mate-about-me-fingerprint.c b/capplets/about-me/mate-about-me-fingerprint.c index efb12102..095be8d2 100644 --- a/capplets/about-me/mate-about-me-fingerprint.c +++ b/capplets/about-me/mate-about-me-fingerprint.c @@ -219,7 +219,7 @@ delete_fingerprints_question (GtkBuilder *dialog, GtkWidget *enable, GtkWidget * GTK_MESSAGE_QUESTION, GTK_BUTTONS_NONE, _("Delete registered fingerprints?")); - gtk_dialog_add_button (GTK_DIALOG (question), GTK_STOCK_CANCEL, GTK_RESPONSE_CANCEL); + gtk_dialog_add_button (GTK_DIALOG (question), "gtk-cancel", GTK_RESPONSE_CANCEL); button = gtk_button_new_with_mnemonic (_("_Delete Fingerprints")); gtk_button_set_image (GTK_BUTTON (button), gtk_image_new_from_icon_name ("edit-delete", GTK_ICON_SIZE_BUTTON)); diff --git a/capplets/about-me/mate-about-me.c b/capplets/about-me/mate-about-me.c index 1f94f3bb..e9036acf 100644 --- a/capplets/about-me/mate-about-me.c +++ b/capplets/about-me/mate-about-me.c @@ -268,8 +268,8 @@ about_me_image_clicked_cb (GtkWidget *button, MateAboutMe *me) gtk_file_chooser_dialog_new (_("Select Image"), GTK_WINDOW (WID ("about-me-dialog")), GTK_FILE_CHOOSER_ACTION_OPEN, _("No Image"), GTK_RESPONSE_NO, - GTK_STOCK_CANCEL, GTK_RESPONSE_CANCEL, - GTK_STOCK_OPEN, GTK_RESPONSE_ACCEPT, + "gtk-cancel", GTK_RESPONSE_CANCEL, + "gtk-open", GTK_RESPONSE_ACCEPT, NULL)); gtk_window_set_modal (GTK_WINDOW (chooser_dialog), TRUE); gtk_dialog_set_default_response (GTK_DIALOG (chooser_dialog), GTK_RESPONSE_ACCEPT); |