mate-desktop / mate-control-center

Utilities to configure the MATE desktop
https://mate-desktop.org
GNU General Public License v2.0
68 stars 59 forks source link

typing-break: Fix compilation warnings and replace deprecated functions #729

Closed zhuyaliang closed 1 year ago

zhuyaliang commented 1 year ago

@lukefromdc The problem has been fixed. Please test again

zhuyaliang commented 1 year ago

After the code is merged, I will remove the deprecated gtk_status_icon APIS and make the indicator a mandatory dependency

To do that, we need to update the appindicator code looked for to the ayatana version, right now it looks only for the older and often unavailable Ubuntu version. Trying to build with indicator support on my system with ayatana indicators for SNI gave this error: configure: error: appindicator-0.1 is not installed

lukefromdc commented 1 year ago

That was meant to be a separate comment quoting yours, somehow the site combined them

raveit65 commented 1 year ago

The typing-break UI looks and works like before, same for notification-area applet.

lukefromdc commented 1 year ago

What is the status of this?

raveit65 commented 1 year ago

@cwendling UI with a so called "black screen" and a view elements. typing-break

cwendling commented 1 year ago

@raveit65 yeah it's what I see as well; but again I don't think it's what the code is supposed to do. Anyway, it doesn't looks like a regression from master, so it doesn't matter for this PR.

raveit65 commented 1 year ago

@cwendling Fedora use this default since you implemented it.

gsettings get org.mate.panel enable-sni-support
true

I guess AppIndicator support works when i see the menu of the applet, or not?

cwendling commented 1 year ago

@raveit65 if the applet is built with it, yes.

lukefromdc commented 1 year ago

Indicator (SNI) support for this capplet still looks for the older Ubuntu libappindicator not the current ayatana version. Porting might just be a matter of allowing the capplet to build against the ayatana version.

raveit65 commented 1 year ago

Yes, mcc use --enable-appindicator build flag.