After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 338367 - applet text always shows cpu as frequency on startup
applet text always shows cpu as frequency on startup
Status: RESOLVED FIXED
Product: gnome-applets
Classification: Other
Component: cpufreq
2.14.x
Other All
: Normal minor
: ---
Assigned To: gnome-applets Maintainers
gnome-applets Maintainers
Depends on:
Blocks:
 
 
Reported: 2006-04-13 15:49 UTC by Marinus Schraal
Modified: 2006-04-13 16:34 UTC
See Also:
GNOME target: ---
GNOME version: 2.13/2.14


Attachments
proposed patch to fix startup issue (709 bytes, patch)
2006-04-13 15:52 UTC, Marinus Schraal
none Details | Review
refresh handling show_text_mode (776 bytes, patch)
2006-04-13 16:12 UTC, Marinus Schraal
committed Details | Review

Description Marinus Schraal 2006-04-13 15:49:30 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:
Comment 1 Marinus Schraal 2006-04-13 15:52:09 UTC
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.
Comment 2 Marinus Schraal 2006-04-13 16:12:03 UTC
Created attachment 63397 [details] [review]
refresh handling show_text_mode

slightly improved patch that checks for NULL values of freq and perc.
Comment 3 Carlos Garcia Campos 2006-04-13 16:30:31 UTC
Thanks a lot for the patch!. I've just applied it to head :-)