summaryrefslogtreecommitdiff
path: root/src/gui/menus
diff options
context:
space:
mode:
authorCyrille Bagard <nocbos@gmail.com>2015-10-01 15:55:39 (GMT)
committerCyrille Bagard <nocbos@gmail.com>2015-10-01 15:55:39 (GMT)
commitd51fef170f00602744e55a8fdb21a3c7d196696a (patch)
tree5f51c1cdb09669da974c1b99d280a4e7078aab7f /src/gui/menus
parent9aa5b354e83825e2d9843aea742aa62221a2130b (diff)
Rewritten the whole support of DEX file format.
git-svn-id: svn://svn.gna.org/svn/chrysalide/trunk@581 abbe820e-26c8-41b2-8c08-b7b2b41f8b0a
Diffstat (limited to 'src/gui/menus')
-rw-r--r--src/gui/menus/project.c16
1 files changed, 0 insertions, 16 deletions
diff --git a/src/gui/menus/project.c b/src/gui/menus/project.c
index 6b7e6b4..a85e78f 100644
--- a/src/gui/menus/project.c
+++ b/src/gui/menus/project.c
@@ -221,14 +221,6 @@ static void mcb_project_add_shellcode(GtkMenuItem *menuitem, GMenuBar *bar)
free(dir);
}
- if (g_study_project_get_filename(get_current_project()) != NULL)
- {
- dir = strdup(g_study_project_get_filename(get_current_project()));
- dir = dirname(dir);
- gtk_file_chooser_set_current_folder(GTK_FILE_CHOOSER(dialog), dir);
- free(dir);
- }
-
if (gtk_dialog_run(GTK_DIALOG(dialog)) == GTK_RESPONSE_ACCEPT)
{
filename = gtk_file_chooser_get_filename(GTK_FILE_CHOOSER(dialog));
@@ -287,14 +279,6 @@ static void mcb_project_add_binary_file(GtkMenuItem *menuitem, GMenuBar *bar)
free(dir);
}
- if (g_study_project_get_filename(get_current_project()) != NULL)
- {
- dir = strdup(g_study_project_get_filename(get_current_project()));
- dir = dirname(dir);
- gtk_file_chooser_set_current_folder(GTK_FILE_CHOOSER(dialog), dir);
- free(dir);
- }
-
if (gtk_dialog_run(GTK_DIALOG(dialog)) == GTK_RESPONSE_ACCEPT)
{
filename = gtk_file_chooser_get_filename(GTK_FILE_CHOOSER(dialog));