SF.net SVN: geany:[4727] trunk

eht16 at users.sourceforge.net eht16 at xxxxx
Sun Mar 7 15:32:35 UTC 2010


Revision: 4727
          http://geany.svn.sourceforge.net/geany/?rev=4727&view=rev
Author:   eht16
Date:     2010-03-07 15:32:34 +0000 (Sun, 07 Mar 2010)

Log Message:
-----------
Fix duplicate mnemonics on 'resave missing file' dialog, also move the question from the secondary to the main text to be more compatible with the Gnome HIG.

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

Modified: trunk/ChangeLog
===================================================================
--- trunk/ChangeLog	2010-03-07 11:08:19 UTC (rev 4726)
+++ trunk/ChangeLog	2010-03-07 15:32:34 UTC (rev 4727)
@@ -9,6 +9,10 @@
    Fix wrong default response for the Debug Messages dialog.
  * src/dialogs.c:
    Fix crashes when using Save As with no open files (closes #2964406).
+ * src/document.c:
+   Fix duplicate mnemonics on 'resave missing file' dialog, also
+   move the question from the secondary to the main text to be
+   more compatible with the Gnome HIG.
 
 
 2010-03-05  Frank Lanitz  <frank(at)frank(dot)uvena(dot)de>

Modified: trunk/src/document.c
===================================================================
--- trunk/src/document.c	2010-03-07 11:08:19 UTC (rev 4726)
+++ trunk/src/document.c	2010-03-07 15:32:34 UTC (rev 4727)
@@ -2949,11 +2949,12 @@
 	gint ret;
 
 	ret = dialogs_show_prompt(NULL,
-		GTK_STOCK_CLOSE, GTK_RESPONSE_CLOSE,
+		_("Close _without saving"), GTK_RESPONSE_CLOSE,
 		GTK_STOCK_CANCEL, GTK_RESPONSE_CANCEL,
 		GTK_STOCK_SAVE, GTK_RESPONSE_ACCEPT,
-		_("Try to resave the file?"),
-		_("File \"%s\" was not found on disk!"), doc->file_name);
+		NULL,
+		_("File \"%s\" was not found on disk! Try to resave the file?"),
+		doc->file_name);
 	if (ret == GTK_RESPONSE_ACCEPT)
 	{
 		dialogs_show_save_as();


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