GNOME Bugzilla – Bug 338367
applet text always shows cpu as frequency on startup
Last modified: 2006-04-13 16:34:01 UTC
Please describe the problem: Reported as https://bugs.gentoo.org/show_bug.cgi?id=129739 . "I've configured my cpufreq applet to 'Show CPU frequency as percentage.' If I log out, then log back in, the applet always displays displaying it as frequency. If the frequency changes (like if I were to change the governor), it does the right thing and starts displaying as percentage." Steps to reproduce: 1. 2. 3. Actual results: Expected results: Does this happen every time? Other information:
Created attachment 63396 [details] [review] proposed patch to fix startup issue It seems cpufreq_applet_refresh unconditionally sets the label to freq, this patch fixes it.
Created attachment 63397 [details] [review] refresh handling show_text_mode slightly improved patch that checks for NULL values of freq and perc.
Thanks a lot for the patch!. I've just applied it to head :-)