diff options
Diffstat (limited to 'src/gui')
-rw-r--r-- | src/gui/menus/file.c | 8 | ||||
-rw-r--r-- | src/gui/menus/project.c | 8 | ||||
-rw-r--r-- | src/gui/panels/strings.c | 6 |
3 files changed, 11 insertions, 11 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) diff --git a/src/gui/panels/strings.c b/src/gui/panels/strings.c index 8706151..b68a0e8 100644 --- a/src/gui/panels/strings.c +++ b/src/gui/panels/strings.c @@ -206,11 +206,11 @@ static void g_strings_panel_init(GStringsPanel *panel) panel->menubar = gtk_menu_new(); - submenuitem = qck_create_menu_item_with_stock_img(NULL, NULL, GTK_STOCK_COPY, - G_CALLBACK(mcb_strings_copy), treeview); + submenuitem = qck_create_menu_item(NULL, NULL, _("_Copy"), + G_CALLBACK(mcb_strings_copy), treeview); gtk_container_add(GTK_CONTAINER(panel->menubar), submenuitem); - submenuitem = qck_create_menu_item(NULL, NULL, _("Find references..."), NULL, NULL); + submenuitem = qck_create_menu_item(NULL, NULL, _("_Find references..."), NULL, NULL); gtk_container_add(GTK_CONTAINER(panel->menubar), submenuitem); g_signal_connect(G_OBJECT(treeview), "button_release_event", |