summaryrefslogtreecommitdiff
path: root/src/gui/menus
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/menus')
-rw-r--r--src/gui/menus/file.c8
-rw-r--r--src/gui/menus/project.c8
2 files changed, 8 insertions, 8 deletions
diff --git a/src/gui/menus/file.c b/src/gui/menus/file.c
index f52d0e2..e343788 100644
--- a/src/gui/menus/file.c
+++ b/src/gui/menus/file.c
@@ -174,8 +174,8 @@ static void mcb_file_open_project(GtkMenuItem *menuitem, GObject *ref)
dialog = gtk_file_chooser_dialog_new(_("Open a project"), GTK_WINDOW(ref),
GTK_FILE_CHOOSER_ACTION_OPEN,
- GTK_STOCK_CANCEL, GTK_RESPONSE_CANCEL,
- GTK_STOCK_OPEN, GTK_RESPONSE_ACCEPT,
+ _("_Cancel"), GTK_RESPONSE_CANCEL,
+ _("_Open"), GTK_RESPONSE_ACCEPT,
NULL);
project = get_current_project();
@@ -258,8 +258,8 @@ static void mcb_file_save_project_as(GtkMenuItem *menuitem, gpointer data)
dialog = gtk_file_chooser_dialog_new(_("Save the project as..."), GTK_WINDOW(data),
GTK_FILE_CHOOSER_ACTION_SAVE,
- GTK_STOCK_CANCEL, GTK_RESPONSE_CANCEL,
- GTK_STOCK_OPEN, GTK_RESPONSE_ACCEPT,
+ _("_Cancel"), GTK_RESPONSE_CANCEL,
+ _("_Save"), GTK_RESPONSE_ACCEPT,
NULL);
project = get_current_project();
diff --git a/src/gui/menus/project.c b/src/gui/menus/project.c
index 3c85cd8..caf3f64 100644
--- a/src/gui/menus/project.c
+++ b/src/gui/menus/project.c
@@ -183,12 +183,12 @@ static void mcb_project_add_shellcode(GtkMenuItem *menuitem, GMenuBar *bar)
{
GStudyProject *project; /* Projet courant */
GtkWindow *parent; /* Respect de la hiérarchie */
- GtkWidget *dialog; /* Boîte à afficher */
+ //GtkWidget *dialog; /* Boîte à afficher */
project = get_current_project();
parent = GTK_WINDOW(G_EDITOR_ITEM(bar)->ref);
- dialog = NULL;
+ //dialog = NULL;
run_shellcode_assistant(project, parent);
@@ -275,8 +275,8 @@ static void mcb_project_add_binary_file(GtkMenuItem *menuitem, GMenuBar *bar)
dialog = gtk_file_chooser_dialog_new(_("Open a binary file"),
GTK_WINDOW(G_EDITOR_ITEM(bar)->ref),
GTK_FILE_CHOOSER_ACTION_OPEN,
- GTK_STOCK_CANCEL, GTK_RESPONSE_CANCEL,
- GTK_STOCK_OPEN, GTK_RESPONSE_ACCEPT,
+ _("_Cancel"), GTK_RESPONSE_CANCEL,
+ _("_Open"), GTK_RESPONSE_ACCEPT,
NULL);
if (g_study_project_get_filename(get_current_project()) != NULL)