From 964b94f70ae3d2952ad3e342872047c5c6b0e952 Mon Sep 17 00:00:00 2001 From: Ivan Yarcev Date: Mon, 22 Jan 2024 10:00:29 +0600 Subject: [PATCH] Added tooltips on load mode icon. Changed images for load mode --- .gitignore | 3 +- ...blsettingsui-gtk3.config-full-symbolic.svg | 12 +++---- ...ttingsui-gtk3.config-hdd-home-symbolic.svg | 14 ++++---- ...ublsettingsui-gtk3.config-hdd-symbolic.svg | 14 ++++---- ...ttingsui-gtk3.config-ram-home-symbolic.svg | 14 ++++---- ...ettingsui-gtk3.config-sandbox-symbolic.svg | 12 +++---- libublsettingsui-gtk3.pot | 30 +++++++++++++++-- libublsettingsui-gtk3_ru.po | 32 ++++++++++++++++--- source/CMakeLists.txt | 1 + source/libublsettingsui-gtk3.c | 18 ++++++++++- source/libublsettingsui-gtk3.h | 7 ++++ 11 files changed, 115 insertions(+), 42 deletions(-) diff --git a/.gitignore b/.gitignore index f4d2c41..00a117d 100644 --- a/.gitignore +++ b/.gitignore @@ -145,4 +145,5 @@ vgcore* ublsettings-ui-debug .install-debug.sh debug/ -ubl-settings-test \ No newline at end of file +ubl-settings-test +terminal-commands \ No newline at end of file diff --git a/com.ublinux.libublsettingsui-gtk3.config-full-symbolic.svg b/com.ublinux.libublsettingsui-gtk3.config-full-symbolic.svg index f460ae4..85b190c 100644 --- a/com.ublinux.libublsettingsui-gtk3.config-full-symbolic.svg +++ b/com.ublinux.libublsettingsui-gtk3.config-full-symbolic.svg @@ -5,7 +5,7 @@ viewBox="0 0 24 24" version="1.1" id="svg4" - sodipodi:docname="com.ublinux.libublsettingsui-gtk3.statemode-symbolic.svg" + sodipodi:docname="com.ublinux.libublsettingsui-gtk3.config-full-symbolic.svg" inkscape:version="1.1.2 (0a00cf5339, 2022-02-04, custom)" xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape" xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd" @@ -22,9 +22,9 @@ inkscape:pageopacity="0.0" inkscape:pagecheckerboard="0" showgrid="false" - inkscape:zoom="30.291667" - inkscape:cx="12" - inkscape:cy="11.983494" + inkscape:zoom="15.145834" + inkscape:cx="1.7826685" + inkscape:cy="10.563961" inkscape:window-width="1920" inkscape:window-height="1023" inkscape:window-x="0" @@ -33,8 +33,8 @@ inkscape:current-layer="svg4" /> + style="stroke-width:0.833332;fill:#2e3436;fill-opacity:1" + d="M 2 2 L 2 22 L 15.03125 22 C 14.619114 21.51021 14.299903 20.942909 14.101562 20.333984 L 4.5 20.333984 L 4.5 12.833984 L 19.5 12.833984 L 19.5 13.916016 C 19.704656 13.942055 19.907292 13.981658 20.107422 14.035156 C 20.107422 14.035156 20.109375 14.035156 20.109375 14.035156 C 20.109375 14.035156 20.111328 14.037109 20.111328 14.037109 C 20.825535 14.204631 21.463895 14.543759 22 15 L 22 5.3339844 L 18.666016 2 L 2 2 z M 6.1660156 3.6660156 L 17.833984 3.6660156 L 17.833984 9.5 L 6.1660156 9.5 L 6.1660156 3.6660156 z M 14.501953 4.5 L 14.501953 8.6660156 L 17 8.6660156 L 17 4.5 L 14.501953 4.5 z M 18.744141 15.359375 L 18.742188 15.400391 C 18.813976 15.407985 18.713175 15.398822 18.785156 15.404297 A 0.7666294 0.7666294 0 0 1 18.744141 15.359375 z M 19.765625 15.5 A 0.7666294 0.7666294 0 0 1 19.712891 15.515625 C 19.782587 15.534275 19.689492 15.511004 19.759766 15.527344 L 19.765625 15.5 z M 15.433594 18.492188 A 0.7666294 0.7666294 0 0 1 15.369141 18.544922 L 15.425781 18.552734 C 15.436745 18.48151 15.425514 18.563797 15.433594 18.492188 z M 22.140625 19.597656 C 22.123159 19.667628 22.143871 19.579842 22.128906 19.650391 L 22.179688 19.662109 A 0.7666294 0.7666294 0 0 1 22.140625 19.597656 z M 18.392578 22.181641 A 0.7666294 0.7666294 0 0 1 18.490234 22.25 L 18.498047 22.193359 C 18.427127 22.182654 18.464072 22.18737 18.392578 22.181641 z " /> + style="stroke-width:0.833332;fill:#2e3436;fill-opacity:1" + d="M 2 2 L 2 22 L 15.03125 22 C 14.619114 21.51021 14.299903 20.942909 14.101562 20.333984 L 4.5 20.333984 L 4.5 12.833984 L 19.5 12.833984 L 19.5 13.916016 C 19.704656 13.942055 19.907292 13.981658 20.107422 14.035156 C 20.107422 14.035156 20.109375 14.035156 20.109375 14.035156 C 20.109375 14.035156 20.111328 14.037109 20.111328 14.037109 C 20.825535 14.204631 21.463895 14.543759 22 15 L 22 5.3339844 L 18.666016 2 L 2 2 z M 6.1660156 3.6660156 L 17.833984 3.6660156 L 17.833984 9.5 L 6.1660156 9.5 L 6.1660156 3.6660156 z M 14.501953 4.5 L 14.501953 8.6660156 L 17 8.6660156 L 17 4.5 L 14.501953 4.5 z M 18.744141 15.359375 L 18.742188 15.400391 C 18.813976 15.407985 18.713175 15.398822 18.785156 15.404297 A 0.7666294 0.7666294 0 0 1 18.744141 15.359375 z M 19.765625 15.5 A 0.7666294 0.7666294 0 0 1 19.712891 15.515625 C 19.782587 15.534275 19.689492 15.511004 19.759766 15.527344 L 19.765625 15.5 z M 15.433594 18.492188 A 0.7666294 0.7666294 0 0 1 15.369141 18.544922 L 15.425781 18.552734 C 15.436745 18.48151 15.425514 18.563797 15.433594 18.492188 z M 22.140625 19.597656 C 22.123159 19.667628 22.143871 19.579842 22.128906 19.650391 L 22.179688 19.662109 A 0.7666294 0.7666294 0 0 1 22.140625 19.597656 z M 18.392578 22.181641 A 0.7666294 0.7666294 0 0 1 18.490234 22.25 L 18.498047 22.193359 C 18.427127 22.182654 18.464072 22.18737 18.392578 22.181641 z " /> diff --git a/com.ublinux.libublsettingsui-gtk3.config-hdd-symbolic.svg b/com.ublinux.libublsettingsui-gtk3.config-hdd-symbolic.svg index 70fbdd4..85b190c 100644 --- a/com.ublinux.libublsettingsui-gtk3.config-hdd-symbolic.svg +++ b/com.ublinux.libublsettingsui-gtk3.config-hdd-symbolic.svg @@ -5,7 +5,7 @@ viewBox="0 0 24 24" version="1.1" id="svg4" - sodipodi:docname="com.ublinux.libublsettingsui-gtk3.statemode-symbolic.svg" + sodipodi:docname="com.ublinux.libublsettingsui-gtk3.config-full-symbolic.svg" inkscape:version="1.1.2 (0a00cf5339, 2022-02-04, custom)" xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape" xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd" @@ -22,9 +22,9 @@ inkscape:pageopacity="0.0" inkscape:pagecheckerboard="0" showgrid="false" - inkscape:zoom="30.291667" - inkscape:cx="12" - inkscape:cy="11.983494" + inkscape:zoom="15.145834" + inkscape:cx="1.7826685" + inkscape:cy="10.563961" inkscape:window-width="1920" inkscape:window-height="1023" inkscape:window-x="0" @@ -33,14 +33,14 @@ inkscape:current-layer="svg4" /> + style="stroke-width:0.833332;fill:#2e3436;fill-opacity:1" + d="M 2 2 L 2 22 L 15.03125 22 C 14.619114 21.51021 14.299903 20.942909 14.101562 20.333984 L 4.5 20.333984 L 4.5 12.833984 L 19.5 12.833984 L 19.5 13.916016 C 19.704656 13.942055 19.907292 13.981658 20.107422 14.035156 C 20.107422 14.035156 20.109375 14.035156 20.109375 14.035156 C 20.109375 14.035156 20.111328 14.037109 20.111328 14.037109 C 20.825535 14.204631 21.463895 14.543759 22 15 L 22 5.3339844 L 18.666016 2 L 2 2 z M 6.1660156 3.6660156 L 17.833984 3.6660156 L 17.833984 9.5 L 6.1660156 9.5 L 6.1660156 3.6660156 z M 14.501953 4.5 L 14.501953 8.6660156 L 17 8.6660156 L 17 4.5 L 14.501953 4.5 z M 18.744141 15.359375 L 18.742188 15.400391 C 18.813976 15.407985 18.713175 15.398822 18.785156 15.404297 A 0.7666294 0.7666294 0 0 1 18.744141 15.359375 z M 19.765625 15.5 A 0.7666294 0.7666294 0 0 1 19.712891 15.515625 C 19.782587 15.534275 19.689492 15.511004 19.759766 15.527344 L 19.765625 15.5 z M 15.433594 18.492188 A 0.7666294 0.7666294 0 0 1 15.369141 18.544922 L 15.425781 18.552734 C 15.436745 18.48151 15.425514 18.563797 15.433594 18.492188 z M 22.140625 19.597656 C 22.123159 19.667628 22.143871 19.579842 22.128906 19.650391 L 22.179688 19.662109 A 0.7666294 0.7666294 0 0 1 22.140625 19.597656 z M 18.392578 22.181641 A 0.7666294 0.7666294 0 0 1 18.490234 22.25 L 18.498047 22.193359 C 18.427127 22.182654 18.464072 22.18737 18.392578 22.181641 z " /> diff --git a/com.ublinux.libublsettingsui-gtk3.config-ram-home-symbolic.svg b/com.ublinux.libublsettingsui-gtk3.config-ram-home-symbolic.svg index 70fbdd4..85b190c 100644 --- a/com.ublinux.libublsettingsui-gtk3.config-ram-home-symbolic.svg +++ b/com.ublinux.libublsettingsui-gtk3.config-ram-home-symbolic.svg @@ -5,7 +5,7 @@ viewBox="0 0 24 24" version="1.1" id="svg4" - sodipodi:docname="com.ublinux.libublsettingsui-gtk3.statemode-symbolic.svg" + sodipodi:docname="com.ublinux.libublsettingsui-gtk3.config-full-symbolic.svg" inkscape:version="1.1.2 (0a00cf5339, 2022-02-04, custom)" xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape" xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd" @@ -22,9 +22,9 @@ inkscape:pageopacity="0.0" inkscape:pagecheckerboard="0" showgrid="false" - inkscape:zoom="30.291667" - inkscape:cx="12" - inkscape:cy="11.983494" + inkscape:zoom="15.145834" + inkscape:cx="1.7826685" + inkscape:cy="10.563961" inkscape:window-width="1920" inkscape:window-height="1023" inkscape:window-x="0" @@ -33,14 +33,14 @@ inkscape:current-layer="svg4" /> + style="stroke-width:0.833332;fill:#2e3436;fill-opacity:1" + d="M 2 2 L 2 22 L 15.03125 22 C 14.619114 21.51021 14.299903 20.942909 14.101562 20.333984 L 4.5 20.333984 L 4.5 12.833984 L 19.5 12.833984 L 19.5 13.916016 C 19.704656 13.942055 19.907292 13.981658 20.107422 14.035156 C 20.107422 14.035156 20.109375 14.035156 20.109375 14.035156 C 20.109375 14.035156 20.111328 14.037109 20.111328 14.037109 C 20.825535 14.204631 21.463895 14.543759 22 15 L 22 5.3339844 L 18.666016 2 L 2 2 z M 6.1660156 3.6660156 L 17.833984 3.6660156 L 17.833984 9.5 L 6.1660156 9.5 L 6.1660156 3.6660156 z M 14.501953 4.5 L 14.501953 8.6660156 L 17 8.6660156 L 17 4.5 L 14.501953 4.5 z M 18.744141 15.359375 L 18.742188 15.400391 C 18.813976 15.407985 18.713175 15.398822 18.785156 15.404297 A 0.7666294 0.7666294 0 0 1 18.744141 15.359375 z M 19.765625 15.5 A 0.7666294 0.7666294 0 0 1 19.712891 15.515625 C 19.782587 15.534275 19.689492 15.511004 19.759766 15.527344 L 19.765625 15.5 z M 15.433594 18.492188 A 0.7666294 0.7666294 0 0 1 15.369141 18.544922 L 15.425781 18.552734 C 15.436745 18.48151 15.425514 18.563797 15.433594 18.492188 z M 22.140625 19.597656 C 22.123159 19.667628 22.143871 19.579842 22.128906 19.650391 L 22.179688 19.662109 A 0.7666294 0.7666294 0 0 1 22.140625 19.597656 z M 18.392578 22.181641 A 0.7666294 0.7666294 0 0 1 18.490234 22.25 L 18.498047 22.193359 C 18.427127 22.182654 18.464072 22.18737 18.392578 22.181641 z " /> diff --git a/com.ublinux.libublsettingsui-gtk3.config-sandbox-symbolic.svg b/com.ublinux.libublsettingsui-gtk3.config-sandbox-symbolic.svg index 70fbdd4..3a21f65 100644 --- a/com.ublinux.libublsettingsui-gtk3.config-sandbox-symbolic.svg +++ b/com.ublinux.libublsettingsui-gtk3.config-sandbox-symbolic.svg @@ -5,7 +5,7 @@ viewBox="0 0 24 24" version="1.1" id="svg4" - sodipodi:docname="com.ublinux.libublsettingsui-gtk3.statemode-symbolic.svg" + sodipodi:docname="com.ublinux.libublsettingsui-gtk3.config-full-symbolic.svg" inkscape:version="1.1.2 (0a00cf5339, 2022-02-04, custom)" xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape" xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd" @@ -22,9 +22,9 @@ inkscape:pageopacity="0.0" inkscape:pagecheckerboard="0" showgrid="false" - inkscape:zoom="30.291667" - inkscape:cx="12" - inkscape:cy="11.983494" + inkscape:zoom="15.145834" + inkscape:cx="1.7826685" + inkscape:cy="10.563961" inkscape:window-width="1920" inkscape:window-height="1023" inkscape:window-x="0" @@ -33,8 +33,8 @@ inkscape:current-layer="svg4" /> + style="stroke-width:0.833332;fill:#2e3436;fill-opacity:1" + d="M 2 2 L 2 22 L 15.03125 22 C 14.619114 21.51021 14.299903 20.942909 14.101562 20.333984 L 4.5 20.333984 L 4.5 12.833984 L 19.5 12.833984 L 19.5 13.916016 C 19.704656 13.942055 19.907292 13.981658 20.107422 14.035156 C 20.107422 14.035156 20.109375 14.035156 20.109375 14.035156 C 20.109375 14.035156 20.111328 14.037109 20.111328 14.037109 C 20.825535 14.204631 21.463895 14.543759 22 15 L 22 5.3339844 L 18.666016 2 L 2 2 z M 6.1660156 3.6660156 L 17.833984 3.6660156 L 17.833984 9.5 L 6.1660156 9.5 L 6.1660156 3.6660156 z M 14.501953 4.5 L 14.501953 8.6660156 L 17 8.6660156 L 17 4.5 L 14.501953 4.5 z M 18.744141 15.359375 L 18.742188 15.400391 C 18.813976 15.407985 18.713175 15.398822 18.785156 15.404297 A 0.7666294 0.7666294 0 0 1 18.744141 15.359375 z M 19.765625 15.5 A 0.7666294 0.7666294 0 0 1 19.712891 15.515625 C 19.782587 15.534275 19.689492 15.511004 19.759766 15.527344 L 19.765625 15.5 z M 15.433594 18.492188 A 0.7666294 0.7666294 0 0 1 15.369141 18.544922 L 15.425781 18.552734 C 15.436745 18.48151 15.425514 18.563797 15.433594 18.492188 z M 22.140625 19.597656 C 22.123159 19.667628 22.143871 19.579842 22.128906 19.650391 L 22.179688 19.662109 A 0.7666294 0.7666294 0 0 1 22.140625 19.597656 z M 18.392578 22.181641 A 0.7666294 0.7666294 0 0 1 18.490234 22.25 L 18.498047 22.193359 C 18.427127 22.182654 18.464072 22.18737 18.392578 22.181641 z " />