Fix broken 'Cancel' button in the Save As dialog.

git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3810 ea778897-0a13-0410-b9d1-a72fbfd435f5
This commit is contained in:
Enrico Tröger 2009-05-21 19:19:12 +00:00
parent 5acdfaf4e0
commit c27b3a5caa
2 changed files with 10 additions and 0 deletions

View File

@ -1,3 +1,9 @@
2009-05-21 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/dialogs.c:
Fix broken 'Cancel' button in the Save As dialog.
2009-05-20 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/editor.c:

View File

@ -397,7 +397,11 @@ on_file_save_dialog_response (GtkDialog *dialog,
g_free(utf8_filename);
g_free(new_filename);
break;
}
case GTK_RESPONSE_CANCEL:
success = TRUE;
break;
}
if (success)
gtk_widget_hide(ui_widgets.save_filesel);