[Libreoffice-commits] online.git: loleaflet/images loleaflet/src

Pedro Pinto Silva (via logerrit) logerrit at kemper.freedesktop.org
Mon Mar 16 17:30:08 UTC 2020


 loleaflet/images/lc_sdtabledesignpanel.svg       |    1 +
 loleaflet/src/control/Control.JSDialogBuilder.js |    5 +++--
 2 files changed, 4 insertions(+), 2 deletions(-)

New commits:
commit 6b4539f40ea40e492965feb1e429e23db4be761d
Author:     Pedro Pinto Silva <pedro.silva at collabora.com>
AuthorDate: Mon Mar 16 17:42:46 2020 +0100
Commit:     Pedro Pinto da Silva <pedro.silva at collabora.com>
CommitDate: Mon Mar 16 18:29:49 2020 +0100

    Mobile: Impress: mobileWizard: Table properties: Add id to table design and add respective icon
    
    Change-Id: I73ab3844fe0fbf8cb8178cb46e850ff5d3eb37c0
    Reviewed-on: https://gerrit.libreoffice.org/c/online/+/90579
    Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice at gmail.com>
    Tested-by: Pedro Pinto da Silva <pedro.silva at collabora.com>
    Reviewed-by: Pedro Pinto da Silva <pedro.silva at collabora.com>

diff --git a/loleaflet/images/lc_sdtabledesignpanel.svg b/loleaflet/images/lc_sdtabledesignpanel.svg
new file mode 100644
index 000000000..c3c697518
--- /dev/null
+++ b/loleaflet/images/lc_sdtabledesignpanel.svg
@@ -0,0 +1 @@
+<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path d="m3 3v18h8.585938l9.414062-9.414062v-8.585938zm17 15.414062-1.585938 1.585938h1.585938z" fill="#fff"/><path d="m21 2c.554 0 1 .446 1 1v7.585938l-1 1v-1.585938h-5v3h3.585937l-1 1h-2.585937v2.585938l-1.414062 1.414062h-5.585938v3h2.585938l-1 1h-7.585938c-.554 0-1-.446-1-1v-18c0-.554.446-1 1-1zm0 1h-5v6h5zm-6 0h-6v6h6zm-7 0h-5v6h5zm7 7h-6v3h6zm-7 0h-5v3h5zm7 4h-6v3h6zm-7 0h-5v3h5zm0 4h-5v3h5z" fill="#808080"/><path d="m-22 2h20v4h-20z" fill="#808080" transform="scale(-1 1)"/><path d="m23 11-12 12h12zm-2 5v5h-5z" fill="#4d82b8" fill-rule="evenodd"/></svg>
\ No newline at end of file
diff --git a/loleaflet/src/control/Control.JSDialogBuilder.js b/loleaflet/src/control/Control.JSDialogBuilder.js
index c9c1965d1..f0171fb41 100644
--- a/loleaflet/src/control/Control.JSDialogBuilder.js
+++ b/loleaflet/src/control/Control.JSDialogBuilder.js
@@ -242,8 +242,9 @@ L.Control.JSDialogBuilder = L.Control.extend({
 
 		var leftDiv = L.DomUtil.create('div', 'ui-header-left', sectionTitle);
 		var titleClass = '';
-		if (sectionTitle.id === 'paperformat' || sectionTitle.id === 'orientation' || sectionTitle.id === 'masterslide')
-			iconPath = 'images/lc_'+ sectionTitle.id +'.svg';
+		console.debug('sectionTitle.id' + sectionTitle.id);
+		if (sectionTitle.id === 'paperformat' || sectionTitle.id === 'orientation' || sectionTitle.id === 'masterslide' || sectionTitle.id === 'SdTableDesignPanel')
+			iconPath = 'images/lc_'+ sectionTitle.id.toLowerCase() +'.svg';
 		if (iconPath) {
 			var icon = L.DomUtil.create('img', 'menu-entry-icon', leftDiv);
 			icon.src = iconPath;


More information about the Libreoffice-commits mailing list