Skip to content

Commit 6c8585c

Browse files
committed
Update compatibility with new geticons
1 parent 5bd6271 commit 6c8585c

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

usr/share/bigbashview/framework/js/client-side-decorator.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ document.addEventListener('DOMContentLoaded', function () {
6363
right?.classList.add('maximized-mode-window-control-right');
6464
right?.classList.remove('normal-mode');
6565
canResize = false;
66-
if (maximize) { maximize.innerHTML = `<img class="window-control-btn-img" src="<?include bash RUST_BACKTRACE=0 geticons window-restore-symbolic | head -n1 ?>">`; }
66+
if (maximize) { maximize.innerHTML = `<img class="window-control-btn-img" src="<?include bash RUST_BACKTRACE=0 geticons window-restore-symbolic ?>">`; }
6767
} else {
6868
// Adds the specific class and removing others
6969
page?.classList.add('normal-mode');
@@ -77,7 +77,7 @@ document.addEventListener('DOMContentLoaded', function () {
7777
windowControlsRight?.classList.add('window-controls');
7878
windowControlsLeft?.classList.add('window-controls');
7979
canResize = true;
80-
if (maximize) { maximize.innerHTML = `<img class="window-control-btn-img" src="<?include bash RUST_BACKTRACE=0 geticons window-maximize-symbolic | head -n1 ?>">`; }
80+
if (maximize) { maximize.innerHTML = `<img class="window-control-btn-img" src="<?include bash RUST_BACKTRACE=0 geticons window-maximize-symbolic ?>">`; }
8181
}
8282
}
8383

usr/share/bigbashview/framework/shell/windowControlSide.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ minimizeButton="
1010
<a id=\"minimize-btn\" onclick=\"windowControl.minimize()\">
1111
<div class=\"window-control-btn-box\">
1212
<div class=\"window-control-btn\">
13-
<img class=\"window-control-btn-img\" src=\"$(RUST_BACKTRACE=0 geticons window-minimize-symbolic | head -n1)\">
13+
<img class=\"window-control-btn-img\" src=\"$(geticons window-minimize-symbolic)\">
1414
</div>
1515
</div>
1616
</a>
@@ -21,7 +21,7 @@ maximizeButton="
2121
<div class=\"window-control-btn-box\">
2222
<div id=\"maximize-btn-image\" class=\"window-control-btn\">
2323
<!-- This icon is managed by javascript to change from maximize and restore -->
24-
<img class=\"window-control-btn-img\" src=\"$(RUST_BACKTRACE=0 geticons window-maximize-symbolic | head -n1)\">
24+
<img class=\"window-control-btn-img\" src=\"$(geticons window-maximize-symbolic)\">
2525
</div>
2626
</div>
2727
</a>
@@ -31,7 +31,7 @@ closeButton="
3131
<a id=\"close-btn\" onclick=\"windowControl.close()\">
3232
<div class=\"window-control-btn-box\">
3333
<div class=\"window-control-btn\">
34-
<img class=\"window-control-btn-img\" src=\"$(RUST_BACKTRACE=0 geticons window-close-symbolic | head -n1)\">
34+
<img class=\"window-control-btn-img\" src=\"$(geticons window-close-symbolic)\">
3535
</div>
3636
</div>
3737
</a>

0 commit comments

Comments
 (0)