From 77278b267fe3338ebfd7be0f8571fbfc69c15330 Mon Sep 17 00:00:00 2001 From: "Dhanesh B. Sabane" Date: Fri, 13 Jul 2018 17:04:52 +0530 Subject: [PATCH] Partly fix #405: Keyboard icon does not match theme This commit makes sure that the ibus icon on the panel matches the theme. It **does not** provide a fix to the other half of the issue where the keyboard indicator doesn't match the theme. A fix for the same will be worked on for the next release. The commit is required to achieve something rather than nothing out of the time spent on tracking down the root cause of the issue. Side effects: No known side effects. --- packages/paper-icon-theme/debian/postinst | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/packages/paper-icon-theme/debian/postinst b/packages/paper-icon-theme/debian/postinst index 7a74ffca..bb702664 100644 --- a/packages/paper-icon-theme/debian/postinst +++ b/packages/paper-icon-theme/debian/postinst @@ -1,8 +1,15 @@ #! /bin/sh set -e +# Register cursor theme if [ "$1" = "configure" ] || [ "$1" = "abort-upgrade" ]; then update-alternatives --install /usr/share/icons/default/index.theme \ x-cursor-theme /usr/share/icons/Paper/cursor.theme 150 fi +# Make ibus icon available +if [ "$1" = "configure" ] || [ "$1" = "abort-upgrade" ]; then + cp /usr/share/icons/Paper/16x16/panel/indicator-keyboard.svg /usr/share/icons/Paper/16x16/panel/ibus-keyboard.svg + cp /usr/share/icons/Paper/22x22/panel/indicator-keyboard.svg /usr/share/icons/Paper/22x22/panel/ibus-keyboard.svg + cp /usr/share/icons/Paper/24x24/panel/indicator-keyboard.svg /usr/share/icons/Paper/24x24/panel/ibus-keyboard.svg +fi -- 2.17.1