summaryrefslogtreecommitdiff
path: root/cpufreq/org.mate.panel.applet.cpufreq.gschema.xml.in
diff options
context:
space:
mode:
authorlukefromdc <[email protected]>2016-03-07 01:51:31 -0500
committerlukefromdc <[email protected]>2016-03-07 01:51:31 -0500
commit300ef94527f603311fed18d7d632740ecf56163c (patch)
tree49e09b74420689c1c32b1724d6929b40c72a8e96 /cpufreq/org.mate.panel.applet.cpufreq.gschema.xml.in
parent7d17435dedc9936a20c52df34ba449b6dbd440e0 (diff)
downloadmate-applets-300ef94527f603311fed18d7d632740ecf56163c.tar.bz2
mate-applets-300ef94527f603311fed18d7d632740ecf56163c.tar.xz
cpufreq GTK3: hardcode fewer labels
In gtk3, replacing "label" with "applet->label" makes the gtk_widget_get_preferred_width functions work for the frequency and unit labels without issue. Trim them a bit in gtk3.19 builds as they render 2px wider there for some reason. The exception is the percentage label. That one apparently always starts with "0%" entered-and it does NOT update it's width when larger character strings come up. Thus, a fixed figure of 20px still has to be added to that one. On the other hand, that will ensure the applet never jumps from percentage changes. Height of the whole applet is still limited somewhere to 24 px, still looking for that issue as it hurts the match to taller panels.
Diffstat (limited to 'cpufreq/org.mate.panel.applet.cpufreq.gschema.xml.in')
0 files changed, 0 insertions, 0 deletions