Commit 8509d920 authored by Javad Rahmatzadeh's avatar Javad Rahmatzadeh
Browse files

application button visibility in Ubuntu 22.04

Fixes #129
parent fddad1fc
......@@ -12,6 +12,7 @@ We go to the next version after each release on [GNOME Shell Extensions website]
### Fixed
- Application button visibility in Ubuntu 22.04.
- Prefs window size for scaled displays.
- Prefs window size for small displays in GNOME Shell 42.
......
......@@ -1807,12 +1807,7 @@ var API = class
*/
showAppsButtonEnable()
{
if (!this._main.overview.dash) {
return;
}
let container = this._main.overview.dash.showAppsButton.get_parent();
container.remove_style_class_name(this._getAPIClassname('no-show-apps-button'));
this.UIStyleClassRemove(this._getAPIClassname('no-show-apps-button'));
}
/**
......@@ -1822,12 +1817,7 @@ var API = class
*/
showAppsButtonDisable()
{
if (!this._main.overview.dash) {
return;
}
let container = this._main.overview.dash.showAppsButton.get_parent();
container.add_style_class_name(this._getAPIClassname('no-show-apps-button'));
this.UIStyleClassAdd(this._getAPIClassname('no-show-apps-button'));
}
/**
......
......@@ -441,7 +441,8 @@
margin: 0;
}
.just-perfection-api-no-show-apps-button
.just-perfection-api-no-show-apps-button .show-apps,
.just-perfection-api-no-show-apps-button .show-apps StIcon
{
width: 0;
height: 0;
......@@ -449,18 +450,6 @@
spacing: 0;
}
/**
* GNOME 40 shows some part of the icon when the container has
* no width and height. To fix that we need to push the icon a litte bit to the
* side.
* This particular icon shouldn't have 0 as width and height. It can affect the
* height and width of dash background.
*/
.just-perfection-api-no-show-apps-button StIcon
{
padding: 0 100px;
}
.just-perfection-api-activities-button-icon,
.just-perfection-api-activities-button-icon-monochrome
{
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment