From 32aeb3ee4829f3cfbe5add84f7d6832b03741350 Mon Sep 17 00:00:00 2001 From: ChunEon Park Date: Tue, 18 Feb 2014 02:13:34 +0900 Subject: [PATCH] hotkeys - toggle the hotkey button icon --- data/themes/default/images.edc | 18 +++++++++++++++--- data/themes/default/images/Makefile.am | 3 ++- .../images/{hotkeys.png => hotkeys_close.png} | Bin data/themes/default/images/hotkeys_open.png | Bin 0 -> 480 bytes src/bin/panes.c | 11 +++++++++-- 5 files changed, 26 insertions(+), 6 deletions(-) rename data/themes/default/images/{hotkeys.png => hotkeys_close.png} (100%) create mode 100644 data/themes/default/images/hotkeys_open.png diff --git a/data/themes/default/images.edc b/data/themes/default/images.edc index 33146a9..cefac45 100644 --- a/data/themes/default/images.edc +++ b/data/themes/default/images.edc @@ -4,15 +4,27 @@ images { image: "panes_left_arrow.png" COMP; image: "panes_right_arrow.png" COMP; image: "panes_recover_arrow.png" COMP; - image: "hotkeys.png" COMP; + image: "hotkeys_open.png" COMP; + image: "hotkeys_close.png" COMP; } -group { name: "hotkeys"; +group { name: "hotkeys_open"; parts { part { name: "img"; type: IMAGE; description { state: "default" 0.0; - image.normal: "hotkeys.png"; + image.normal: "hotkeys_open.png"; + } + } + } +} + +group { name: "hotkeys_close"; + parts { + part { name: "img"; + type: IMAGE; + description { state: "default" 0.0; + image.normal: "hotkeys_close.png"; } } } diff --git a/data/themes/default/images/Makefile.am b/data/themes/default/images/Makefile.am index 4d5c103..00c4877 100644 --- a/data/themes/default/images/Makefile.am +++ b/data/themes/default/images/Makefile.am @@ -59,5 +59,6 @@ EXTRA_DIST = \ panes_left_arrow.png \ panes_right_arrow.png \ panes_recover_arrow.png \ - hotkeys.png \ + hotkeys_close.png \ + hotkeys_open.png \ pm_fill.png diff --git a/data/themes/default/images/hotkeys.png b/data/themes/default/images/hotkeys_close.png similarity index 100% rename from data/themes/default/images/hotkeys.png rename to data/themes/default/images/hotkeys_close.png diff --git a/data/themes/default/images/hotkeys_open.png b/data/themes/default/images/hotkeys_open.png new file mode 100644 index 0000000000000000000000000000000000000000..625c9edf17bc1ba5a9a60529ea2580a476fc0d7c GIT binary patch literal 480 zcmV<60U!Q}P)Px#24YJ`L;(K){{a7>y{D4^000SaNLh0L00VXa00VXbebs`@00007bV*G`2i^h^ z5eza917ofL00Cf0L_t(2&xMk^N<(1~gungIRS~=dMMOA_Hm1?SLP(KDE8Eyx`xHKe z7B=>#vQ!_yMzD&FAP6dfXvD&JI7$Ao(1@tPg=JWFhFxaYkgT?aYn3tniRlKaAK|Tf zsPyTLk2v17*dSjbsB zhkgkfHE@{GxPndwt_MYrGZ(Qh$5OA)aoXhqNIMxct^oUfeTmu@w90?}9QC6Q0l+)7 WXPw(UpgLFp0000