forked from cromer/pamac-classic
change config to gsettings
This commit is contained in:
@@ -48,6 +48,14 @@ namespace Pamac {
|
||||
return indicator_status_icon.get_icon ();
|
||||
}
|
||||
|
||||
public override bool get_icon_visible () {
|
||||
if (indicator_status_icon.get_status () == AppIndicator.IndicatorStatus.ACTIVE) {
|
||||
return true;
|
||||
} else {
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
public override void set_icon_visible (bool visible) {
|
||||
if (visible) {
|
||||
indicator_status_icon.set_status (AppIndicator.IndicatorStatus.ACTIVE);
|
||||
|
||||
Reference in New Issue
Block a user