From 22328a224df4619218b88205838307f70612207e Mon Sep 17 00:00:00 2001 From: Maxim Monastirsky Date: Tue, 22 Dec 2015 13:12:23 +0200 Subject: New saving behavior Changes in this commit: - AlwaysAllowSave config is gone. Saving is always permitted, unless in a read only document. Also changed the behavior in dbaccess to match sfx2. - The toolbar save button is always enabled, to always give access to the dropdown. That's the case even in a read only document, except that it changes to DROPDOWNONLY, and the save as command icon+tooltip. In table/query designers we still disable the button in read only state. - When the document is modified, the toolbar button gets a special icon to indicate that. TODO: - Icons for the document modified state are still missing. I added some fake links to Tango's links.txt in order to test the new behavior. These links shouldn't stay as-is in a production version! Change-Id: I56c169bf48b78faaf53c2989ce8624f8297ffb6e Reviewed-on: https://gerrit.libreoffice.org/20839 Reviewed-by: Maxim Monastirsky Tested-by: Maxim Monastirsky --- icon-themes/tango/links.txt | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'icon-themes/tango/links.txt') diff --git a/icon-themes/tango/links.txt b/icon-themes/tango/links.txt index ec67d4a1c95c..da1aae395f58 100644 --- a/icon-themes/tango/links.txt +++ b/icon-themes/tango/links.txt @@ -537,3 +537,7 @@ cmd/lc_charbackcolor.png cmd/lc_backcolor.png # Toggle graphics visibility in Writer cmd/sc_showgraphics.png cmd/sc_insertgraphic.png cmd/lc_showgraphics.png cmd/lc_insertgraphic.png + +# Modified state for the save button +res/savemodified_small.png cmd/sc_saveas.png +res/savemodified_large.png cmd/lc_saveas.png -- cgit