[gnome-bluetooth] lib: Translate ex-GtkStock buttons



commit 5f16c728c51394980cace2fde5e404c12a2c00ba
Author: Piotr Drąg <piotrdrag gmail com>
Date:   Fri Dec 6 17:16:24 2013 +0100

    lib: Translate ex-GtkStock buttons

 lib/bluetooth-chooser-button.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/lib/bluetooth-chooser-button.c b/lib/bluetooth-chooser-button.c
index 0a8ab16..2163d8a 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,
-                                                    "_Cancel", GTK_RESPONSE_REJECT,
-                                                    "_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),


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