Revision: 5815 http://geany.svn.sourceforge.net/geany/?rev=5815&view=rev Author: eht16 Date: 2011-05-22 10:32:31 +0000 (Sun, 22 May 2011)
Log Message: ----------- Do not allow 'Save All' even if 'allow_always_save' is set (patch by Dimitar Zhekov, thanks).
Modified Paths: -------------- trunk/ChangeLog trunk/doc/geany.html trunk/doc/geany.txt trunk/src/ui_utils.c
Modified: trunk/ChangeLog =================================================================== --- trunk/ChangeLog 2011-05-22 10:00:53 UTC (rev 5814) +++ trunk/ChangeLog 2011-05-22 10:32:31 UTC (rev 5815) @@ -4,6 +4,9 @@ Remove unused variables (patch by Eugene Arshinov, thanks). * src/stash.c: Remove unused variables (suggested by Eugene Arshinov). + * src/ui_utils.c, doc/geany.txt, doc/geany.html: + Do not allow 'Save All' even if 'allow_always_save' is set + (patch by Dimitar Zhekov, thanks).
2011-05-12 Colomban Wendling <colomban(at)geany(dot)org>
Modified: trunk/doc/geany.html =================================================================== --- trunk/doc/geany.html 2011-05-22 10:00:53 UTC (rev 5814) +++ trunk/doc/geany.html 2011-05-22 10:32:31 UTC (rev 5815) @@ -6,7 +6,7 @@ <meta name="generator" content="Docutils 0.7: http://docutils.sourceforge.net/" /> <title>Geany</title> <meta name="authors" content="Enrico Tröger Nick Treleaven Frank Lanitz" /> -<meta name="date" content="$Date$" /> +<meta name="date" content="2011-05-03" /> <style type="text/css">
/* @@ -139,7 +139,7 @@ <br />Nick Treleaven <br />Frank Lanitz</td></tr> <tr><th class="docinfo-name">Date:</th> -<td>$Date$</td></tr> +<td>2011-05-03</td></tr> <tr><th class="docinfo-name">Version:</th> <td>0.21</td></tr> </tbody> @@ -5082,11 +5082,11 @@ <tr><td>allow_always_save</td> <td>Whether files can be saved always, even if they don't have any changes. By default, -the Save buttons and menu items are -disabled when a file is unchanged. When -setting this option to true, the Save -buttons and menu items are always active -and files can be saved.</td> +the Save button and menu item are disabled +when a file is unchanged. When setting +this option to true, the Save button and +menu item are always active and files can +be saved.</td> <td>false</td> </tr> <tr><td>compiler_tab_autoscroll</td> @@ -6580,7 +6580,7 @@ <div class="footer"> <hr class="footer" /> <a class="reference external" href="geany.txt">View document source</a>. -Generated on: 2011-05-03 18:39 UTC. +Generated on: 2011-05-22 10:30 UTC. Generated by <a class="reference external" href="http://docutils.sourceforge.net/">Docutils</a> from <a class="reference external" href="http://docutils.sourceforge.net/rst.html">reStructuredText</a> source.
</div>
Modified: trunk/doc/geany.txt =================================================================== --- trunk/doc/geany.txt 2011-05-22 10:00:53 UTC (rev 5814) +++ trunk/doc/geany.txt 2011-05-22 10:32:31 UTC (rev 5815) @@ -4373,11 +4373,11 @@ available with GTK 2.12 or above). allow_always_save Whether files can be saved always, even if false they don't have any changes. By default, - the Save buttons and menu items are - disabled when a file is unchanged. When - setting this option to true, the Save - buttons and menu items are always active - and files can be saved. + the Save button and menu item are disabled + when a file is unchanged. When setting + this option to true, the Save button and + menu item are always active and files can + be saved. compiler_tab_autoscroll Whether to automatically scroll to the true last line of the output in the Compiler tab.
Modified: trunk/src/ui_utils.c =================================================================== --- trunk/src/ui_utils.c 2011-05-22 10:00:53 UTC (rev 5814) +++ trunk/src/ui_utils.c 2011-05-22 10:32:31 UTC (rev 5815) @@ -661,7 +661,7 @@ gboolean dirty_tabs = FALSE;
if (ui_prefs.allow_always_save) - return; + enable = gtk_notebook_get_n_pages(GTK_NOTEBOOK(main_widgets.notebook)) > 0 ? TRUE : FALSE;
ui_widget_set_sensitive(widgets.save_buttons[0], enable); ui_widget_set_sensitive(widgets.save_buttons[1], enable);
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.