Thread: [Fremantle Maemo5] Share your code
View Single Post
  #15  
Old 2015-10-27, 01:59
marxian's Avatar
marxian marxian is offline
 
Join Date: Aug 2010
Location: Wigan, UK
Posts: 2,448
Thanks!: 2,995
Thanked 9,523 Times in 1,986 Posts
Default Re: Share your code

The custom operator name widget uses GConf keys to determine what to display in the widget (see connui-cellular-operator-home-item-custom-settings.h). The keys are:

/apps/connui-cellular/operator_name_online
/apps/connui-cellular/operator_name_offline
/apps/connui-cellular/operator_name_connecting

/apps/connui-cellular/operator_colour_online
/apps/connui-cellular/operator_colour_offline
/apps/connui-cellular/operator_colour_connecting

/apps/connui-cellular/operator_shadow_online
/apps/connui-cellular/operator_shadow_offline
/apps/connui-cellular/operator_shadow_connecting

The widget monitors changes in the values of these keys, so you can use a script or other process to update the values and display the information of your choosing in the widget.
__________________
'Men of high position are allowed, by a special act of grace, to accomodate their reasoning to the answer they need. Logic is only required in those of lesser rank.' - J K Galbraith

My website

GitHub

Last edited by marxian; 2015-10-27 at 12:24. Reason: Fix online colour/shadow keys
Reply With Quote
The Following 10 Users Say Thank You to marxian For This Useful Post: