summaryrefslogtreecommitdiff
path: root/lib/bluetooth-chooser-button.c
diff options
context:
space:
mode:
authorBastien Nocera <hadess@hadess.net>2013-12-03 13:11:13 +0100
committerBastien Nocera <hadess@hadess.net>2013-12-06 12:00:30 +0100
commit3e6d74dbabba0751d7462dd76f4454ae43bf175e (patch)
tree1d4c897e7471cdf3110089b0c57bb75f51643f37 /lib/bluetooth-chooser-button.c
parent92e313c232b64ea8ee5545ade1a569796748079a (diff)
downloadgnome-bluetooth-3e6d74dbabba0751d7462dd76f4454ae43bf175e.tar.gz
lib: Remove GtkStock usage
As it is deprecated now.
Diffstat (limited to 'lib/bluetooth-chooser-button.c')
-rw-r--r--lib/bluetooth-chooser-button.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/bluetooth-chooser-button.c b/lib/bluetooth-chooser-button.c
index 1648f9ed..ed330a28 100644
--- a/lib/bluetooth-chooser-button.c
+++ b/lib/bluetooth-chooser-button.c
@@ -202,8 +202,8 @@ bluetooth_chooser_button_clicked (GtkButton *widget)
//FIXME title
button->dialog = gtk_dialog_new_with_buttons("", GTK_WINDOW (parent),
GTK_DIALOG_MODAL,
- GTK_STOCK_CANCEL, GTK_RESPONSE_REJECT,
- GTK_STOCK_OK, GTK_RESPONSE_ACCEPT, NULL);
+ "_Cancel", GTK_RESPONSE_REJECT,
+ "_OK", GTK_RESPONSE_ACCEPT, NULL);
g_signal_connect (button->dialog, "response",
G_CALLBACK (dialog_response_cb), button);
gtk_dialog_set_response_sensitive (GTK_DIALOG(button->dialog),