SF.net SVN: geany: [2548] trunk

eht16 at users.sourceforge.net eht16 at xxxxx
Sun May 4 16:45:26 UTC 2008


Revision: 2548
          http://geany.svn.sourceforge.net/geany/?rev=2548&view=rev
Author:   eht16
Date:     2008-05-04 09:45:26 -0700 (Sun, 04 May 2008)

Log Message:
-----------
Show an error dialog with an appropriate message when a file could not be saved.

Modified Paths:
--------------
    trunk/ChangeLog
    trunk/src/document.c

Modified: trunk/ChangeLog
===================================================================
--- trunk/ChangeLog	2008-05-01 17:25:18 UTC (rev 2547)
+++ trunk/ChangeLog	2008-05-04 16:45:26 UTC (rev 2548)
@@ -1,3 +1,10 @@
+2008-05-04  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
+
+ * src/document.c:
+   Show an error dialog with an appropriate message when a file could
+   not be saved.
+
+
 2008-04-27  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
 
  * configure.in, tagmanager/lregex.c, tagmanager/include/regex.h,

Modified: trunk/src/document.c
===================================================================
--- trunk/src/document.c	2008-05-01 17:25:18 UTC (rev 2547)
+++ trunk/src/document.c	2008-05-04 16:45:26 UTC (rev 2548)
@@ -1487,6 +1487,8 @@
 	if (err != 0)
 	{
 		ui_set_statusbar(TRUE, _("Error saving file (%s)."), g_strerror(err));
+		dialogs_show_msgbox_with_secondary(GTK_MESSAGE_ERROR,
+			_("Error saving file."), g_strerror(err));
 		utils_beep();
 		return FALSE;
 	}


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.



More information about the Commits mailing list