--- ./src/ui_utils.c.orig 2011-04-18 21:02:13.000000000 +0300
+++ ./src/ui_utils.c 2011-05-20 20:13:12.000000000 +0300
@@ -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)) ? TRUE : FALSE;
ui_widget_set_sensitive(widgets.save_buttons[0], enable);
ui_widget_set_sensitive(widgets.save_buttons[1], enable);
--- ./doc/geany.html.orig 2011-05-20 20:07:52.000000000 +0300
+++ ./doc/geany.html 2011-05-20 20:13:12.000000000 +0300
@@ -5082,11 +5082,11 @@
allow_always_save |
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. |
+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.
false |
compiler_tab_autoscroll |
--- ./doc/geany.txt.orig 2011-05-20 20:07:52.000000000 +0300
+++ ./doc/geany.txt 2011-05-20 20:13:12.000000000 +0300
@@ -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.