[Libreoffice-commits] online.git: 2 commits - loleaflet/dist loleaflet/src
Miklos Vajna
vmiklos at collabora.co.uk
Tue Oct 27 14:41:40 UTC 2015
loleaflet/dist/images/README | 2 ++
loleaflet/dist/images/redo.png |binary
loleaflet/dist/images/undo.png |binary
loleaflet/src/control/Control.Buttons.js | 4 +++-
4 files changed, 5 insertions(+), 1 deletion(-)
New commits:
commit 094f07af7fa366bea9f50903f5082c3e3f0ca40f
Author: Miklos Vajna <vmiklos at collabora.co.uk>
Date: Tue Oct 27 15:41:15 2015 +0100
loleaflet: add undo/redo buttons to the toolbar
diff --git a/loleaflet/dist/images/redo.png b/loleaflet/dist/images/redo.png
new file mode 100644
index 0000000..6cfdb00
Binary files /dev/null and b/loleaflet/dist/images/redo.png differ
diff --git a/loleaflet/dist/images/undo.png b/loleaflet/dist/images/undo.png
new file mode 100644
index 0000000..8a12204
Binary files /dev/null and b/loleaflet/dist/images/undo.png differ
diff --git a/loleaflet/src/control/Control.Buttons.js b/loleaflet/src/control/Control.Buttons.js
index b22759a..88a5562 100644
--- a/loleaflet/src/control/Control.Buttons.js
+++ b/loleaflet/src/control/Control.Buttons.js
@@ -26,11 +26,13 @@ L.Control.Buttons = L.Control.extend({
'decindent': {title: 'Decrement indent', uno: 'DecrementIndent', iconName: 'decrementindent.png'},
'save': {title: 'Save', uno: 'Save', iconName: 'save.png'},
'saveas': {title: 'Save As', iconName: 'saveas.png'},
+ 'undo': {title: 'Undo', uno: 'Undo', iconName: 'undo.png'},
+ 'redo': {title: 'Redo', uno: 'Redo', iconName: 'redo.png'},
'edit': {title: 'Enable editing', iconName: 'edit.png'},
'selection': {title: 'Enable selection', iconName: 'selection.png'},
'presentation': {title: 'Present', iconName: 'presentation.png'}
};
- var separator = ['alignleft', 'save', 'bullet', 'edit', 'presentation'];
+ var separator = ['alignleft', 'save', 'undo', 'bullet', 'edit', 'presentation'];
for (var key in this._buttons) {
var button = this._buttons[key];
if (separator.indexOf(key) >= 0) {
commit e0409ad20ffdf34e44c3db635924ac9e4513fd27
Author: Miklos Vajna <vmiklos at collabora.co.uk>
Date: Tue Oct 27 15:10:21 2015 +0100
loleaflet: document the source of icons
diff --git a/loleaflet/dist/images/README b/loleaflet/dist/images/README
new file mode 100644
index 0000000..a34a98e
--- /dev/null
+++ b/loleaflet/dist/images/README
@@ -0,0 +1,2 @@
+These icons are copied from LibreOffice/icon-themes/breeze/cmd/, we use the
+larger icons.
More information about the Libreoffice-commits
mailing list