[libepc/gtk4: 4/13] libepc-ui: Replace deprecated GTK_STOCK_*.
- From: Murray Cumming <murrayc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libepc/gtk4: 4/13] libepc-ui: Replace deprecated GTK_STOCK_*.
- Date: Fri, 18 Nov 2016 08:54:04 +0000 (UTC)
commit 6c8d38bb076b26b29fcc5ae46314aa64903a3872
Author: Murray Cumming <murrayc murrayc com>
Date: Fri Nov 18 09:21:06 2016 +0100
libepc-ui: Replace deprecated GTK_STOCK_*.
examples/consumer-ui.c | 10 +++++-----
1 files changed, 5 insertions(+), 5 deletions(-)
---
diff --git a/examples/consumer-ui.c b/examples/consumer-ui.c
index 39cbdcf..8e6f414 100644
--- a/examples/consumer-ui.c
+++ b/examples/consumer-ui.c
@@ -166,7 +166,7 @@ create_lookup_dialog (EpcConsumer *consumer,
dialog = gtk_dialog_new_with_buttons ("Published Value", NULL,
(GtkDialogFlags)0,
- GTK_STOCK_CLOSE, GTK_RESPONSE_CLOSE,
+ _("_Close"), GTK_RESPONSE_CLOSE,
NULL);
gtk_box_pack_start (GTK_BOX (gtk_dialog_get_content_area (GTK_DIALOG (dialog))),
@@ -227,8 +227,8 @@ main (int argc,
}
dialog = aui_service_dialog_new ("Choose an Easy Publish and Consume Service", NULL,
- GTK_STOCK_CANCEL, GTK_RESPONSE_CANCEL,
- GTK_STOCK_CONNECT, GTK_RESPONSE_ACCEPT,
+ _("_Cancel"), GTK_RESPONSE_CANCEL,
+ _("Connect"), GTK_RESPONSE_ACCEPT,
NULL);
aui_service_dialog_set_browse_service_types (AUI_SERVICE_DIALOG (dialog),
@@ -273,8 +273,8 @@ main (int argc,
password_dialog =
epc_password_dialog_new ("Easy Consumer Test", NULL, NULL,
- GTK_STOCK_CANCEL, GTK_RESPONSE_CANCEL,
- GTK_STOCK_CONNECT, GTK_RESPONSE_ACCEPT,
+ _("_Cancel"), GTK_RESPONSE_CANCEL,
+ _("Connect"), GTK_RESPONSE_ACCEPT,
NULL);
epc_password_dialog_set_anonymous_allowed (EPC_PASSWORD_DIALOG (password_dialog), FALSE);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]