summaryrefslogtreecommitdiff
path: root/cpufreq/src/cpufreq-applet.c
AgeCommit message (Collapse)AuthorFilesLines
2017-01-14CpuFreq: fix warning from GTK_ORIENTABLElukefromdc1-3/+1
gtk_orientable_get_orientation now throws warnings so remove it. It does not appear to work anyway. Applet tested in a vertical (left side) panel as well as a horizontal one, as long as the vertical panel is wide enough to accept the applet it works and puts the frequency and units on two levels. Puts them on one level in a horizontal panel.
2016-11-22move to GTK+3 (>= 3.14), drop GTK+2 code and --with-gtk build optionmonsta1-103/+1
and require mate-panel >= 1.17 WARNING: use GTK+3 build of libmateweather for this build. that lib is not migrated to GTK+3 only as we will possibly use libgweather instead of it.
2016-11-22fix some indent and a couple of typosmonsta1-1/+1
2016-07-31cpufreq: use GtkAbout and update copyrightraveit651-3/+6
2016-03-30GTK 3.20 cpufreq: fix themes clipping units labellukefromdc1-6/+1
Stop BlackMATE, possibly other themes from cutting off the end of the units label and get rid of an #1f block for GTK 3.19 at the same time. GTK 3.19 seemed to pad the end of this label a bit, not so with released GTK 3.20.
2016-03-07cpufreq GTK3: hardcode fewer labelslukefromdc1-22/+17
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.
2015-10-16GTK3 cpufreq:fix bottom panel render & 0px labelslukefromdc1-2/+20
fix bottom panel rendering of popup menu in gtk3 builds, fix zero-width frequency/percentage labels in gtk3 builds.
2015-10-16GTK3 cpufreq: support custom panel themeslukefromdc1-1/+14
support custom panel themes in gtk3 builds. Include robust support for transparent themes in cases where gtk3 has issues properly detecting a compositing window manager, e.g compiz.
2015-10-15GTK cpufreq: fix label position on horizontal panelsraveit651-0/+18
The issue was caused by using deprecated widgets and defines for orientation with GTK3. #define gtk_vbox_new(X,Y) gtk_box_new(GTK_ORIENTATION_VERTICAL,Y) #define gtk_hbox_new(X,Y) gtk_box_new(GTK_ORIENTATION_HORIZONTAL,Y) Deprecated gtk_[h/v]box_new don't use them.
2014-11-26GDK_KEY_* is also in Gtk+2infirit1-9/+6
2014-11-26Gtk3: Silence GtkVbox and GtkHbox deprecation warningsinfirit1-1/+6
2014-06-02Replace GtkObject with GObject also for gtk2infirit1-20/+0
2014-05-03Use MateAboutDialog from libmate-desktopStefano Karapetsas1-1/+2
2014-02-08Fix help uri for appletsinfirit1-1/+1
2014-01-20cpufreq: Add GTK3 supportStefano Karapetsas1-2/+89
https://git.gnome.org/browse/gnome-applets/commit/cpufreq?id=6fd55674cdb0154d26c6d9a78001818cfe44fc58
2013-08-02Use yelp-tools instead of mate-doc-utilsinfirit1-1/+1
2012-11-24cpufreq: migrate to gsettingsStefano Karapetsas1-7/+5
2012-10-09Fixed fsf addresses. Closes #18.Steve Zesch1-1/+1
2011-11-15fixing file conflicts with cpufreq appletPerberos1-40/+40
2011-11-14initialPerberos1-0/+1032