summaryrefslogtreecommitdiff
path: root/src/dialogs/binparts.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/dialogs/binparts.c')
-rw-r--r--src/dialogs/binparts.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/dialogs/binparts.c b/src/dialogs/binparts.c
index 708f364..2d86432 100644
--- a/src/dialogs/binparts.c
+++ b/src/dialogs/binparts.c
@@ -24,6 +24,9 @@
#include "binparts.h"
+#include <i18n.h>
+
+
#include <stdio.h>
@@ -32,9 +35,6 @@
-#define _(str) str
-
-
/* Colonnes de la liste des symboles */
typedef enum _PartsColumn
@@ -269,10 +269,10 @@ GtkWidget *create_sections_dialog(GLoadedBinary *binary, GtkWindow *parent)
/* Boutons de contrĂ´le principaux */
- button = qck_create_button_from_stock(NULL, NULL, "gtk-ok", G_CALLBACK(save_current_selection), ref);
+ button = qck_create_button(NULL, NULL, _("_Ok"), G_CALLBACK(save_current_selection), ref);
gtk_container_add(GTK_CONTAINER(hbuttonbox1), button);
- button = qck_create_button_from_stock(NULL, NULL, "gtk-cancel", G_CALLBACK(close_editor), result);
+ button = qck_create_button(NULL, NULL, _("_Cancel"), G_CALLBACK(close_editor), result);
gtk_container_add(GTK_CONTAINER(hbuttonbox1), button);
/* Actualisation de l'interface */