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(a)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.
Revision: 619
Author: ntrel
Date: 2006-07-24 12:56:37 -0700 (Mon, 24 Jul 2006)
ViewCVS: http://svn.sourceforge.net/geany/?rev=619&view=rev
Log Message:
-----------
Change 2 paths to use G_DIR_SEPARATOR_S
Modified Paths:
--------------
trunk/ChangeLog
trunk/src/about.c
trunk/src/utils.c
Modified: trunk/ChangeLog
===================================================================
--- trunk/ChangeLog 2006-07-24 18:07:14 UTC (rev 618)
+++ trunk/ChangeLog 2006-07-24 19:56:37 UTC (rev 619)
@@ -9,6 +9,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.
2006-07-23 Enrico Tröger <enrico.troeger(a)uvena.de>
Modified: trunk/src/about.c
===================================================================
--- trunk/src/about.c 2006-07-24 18:07:14 UTC (rev 618)
+++ trunk/src/about.c 2006-07-24 19:56:37 UTC (rev 619)
@@ -233,7 +233,7 @@
label = gtk_label_new(_("License"));
gtk_widget_show(label);
- g_file_get_contents(GEANY_DATA_DIR "/GPL-2", &license_text, NULL, NULL);
+ g_file_get_contents(GEANY_DATA_DIR G_DIR_SEPARATOR_S "GPL-2", &license_text, NULL, NULL);
if (license_text == NULL)
{
license_text = g_strdup("License text could not be found, please google for GPLv2");
Modified: trunk/src/utils.c
===================================================================
--- trunk/src/utils.c 2006-07-24 18:07:14 UTC (rev 618)
+++ trunk/src/utils.c 2006-07-24 19:56:37 UTC (rev 619)
@@ -1532,7 +1532,7 @@
}
if (error_nr == 0 && ! g_file_test(filedefs_readme, G_FILE_TEST_EXISTS))
utils_write_file(filedefs_readme,
-"Copy files from " PACKAGE_DATA_DIR "/" PACKAGE " to this directory to overwrite them. To use the defaults, just delete the file in this directory.\n\
+"Copy files from " PACKAGE_DATA_DIR G_DIR_SEPARATOR_S PACKAGE " to this directory to overwrite them. To use the defaults, just delete the file in this directory.\n\
For more information read the documentation (in " DOCDIR " or visit " GEANY_HOMEPAGE ").");
}
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.