Revision: 621 Author: ntrel Date: 2006-07-24 14:18:06 -0700 (Mon, 24 Jul 2006) ViewCVS: http://svn.sourceforge.net/geany/?rev=621&view=rev
Log Message: ----------- Wait for Save as dialog to run before closing tab
Modified Paths: -------------- trunk/ChangeLog trunk/src/dialogs.c Modified: trunk/ChangeLog =================================================================== --- trunk/ChangeLog 2006-07-24 20:23:56 UTC (rev 620) +++ trunk/ChangeLog 2006-07-24 21:18:06 UTC (rev 621) @@ -12,6 +12,7 @@ * src/geany.h: Use generic font names & increase the default size. * src/notebook.c: Use tab reorder workaround only if GTK runtime <2.8. * src/utils.c, src/about.c: Change 2 paths to use G_DIR_SEPARATOR_S. + * src/dialogs.c: Wait for Save as dialog to run before closing tab.
2006-07-23 Enrico Tröger enrico.troeger@uvena.de
Modified: trunk/src/dialogs.c =================================================================== --- trunk/src/dialogs.c 2006-07-24 20:23:56 UTC (rev 620) +++ trunk/src/dialogs.c 2006-07-24 21:18:06 UTC (rev 621) @@ -206,8 +206,8 @@ g_free(fname); }
- // We make sure the dialog is visible. - gtk_window_present(GTK_WINDOW(app->save_filesel)); + // Run the dialog synchronously, pausing this function call + gtk_dialog_run(GTK_DIALOG(app->save_filesel)); #endif }
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.