Skip to content
This repository has been archived by the owner on Feb 25, 2021. It is now read-only.

Mate version 1.16(.2) using GTK 3.0 #17

Open
antoniotrkdz opened this issue Dec 13, 2018 · 0 comments
Open

Mate version 1.16(.2) using GTK 3.0 #17

antoniotrkdz opened this issue Dec 13, 2018 · 0 comments

Comments

@antoniotrkdz
Copy link
Contributor

antoniotrkdz commented Dec 13, 2018

I am using MATE 1.16.2 and it uses GTK 3.0.
I made the following change to mate_version.py

from

if version and version.major < 2 and version.minor < 18:
        gi.require_version("Gtk", "2.0")

to

if version and version.major < 2 and version.minor < 16:
        gi.require_version("Gtk", "2.0")

And it works now.
It could be that there are patches of mate 1.16 using GTK 2.0 or it could depend on how mate is installed on the system, but the method of choosing which GTK version to load based only on the mate-about output looks not accurate.
On debian based system the output of the apt package dependency could be more useful.
something like:

$ apt-get remove -s libgtk-3-0 | grep Remv | cut -d ' ' -f 2,3 | grep mate

Please note it is a simulation -s.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant