self.add_text('city','Label',"Sometimes your WOEID location isn't quite right (it's the next major city around)")
self.add_radio('position-in-panel','Position in Panel*',[(2,'left'),(0,'center'),(1,'right')],"The position of this GNOME Shell extension in the panel (requires restart of GNOME Shell).")
self.add_check('translate-condition','Translate Weather Conditions',"If enabled, the condition is translated based on the weather code.If disabled, the condition string from Yahoo is taken.Note: Enabling the translation sometimes results in loss of accuracy, e.g., the condition string 'PM Thunderstorms' cannot be expressed in terms of weather codes.")
self.add_radio('position-in-panel','Position in Panel*',[(2,'left'),(0,'center'),(1,'right')],"The position of this GNOME Shell extension in the panel. (Requires restart of GNOME Shell.)")
self.add_check('translate-condition','Translate Weather Conditions',"If enabled, the condition is translated based on the weather code.\nIf disabled, the condition string from Yahoo is taken.\nNote: Enabling the translation sometimes results in loss of accuracy, e.g., the condition string 'PM Thunderstorms' cannot be expressed in terms of weather codes.")
self.add_check('use-symbolic-icons','Symbolic Icons',"Display symbolic icons instead of full-colored icons")
self.add_check('show-text-in-panel','Show Text in Panel*',"Whether to show the weather condition text (aka. comment) together with the temperature in the panel (requires restart of GNOME Shell).")
self.add_check('show-comment-in-panel','Show Comment in Panel',"Whether to show the comment (aka. weather condition text, e.g. 'Windy', 'Clear') in the panel.")
(b_text,_)=self.add_check('show-text-in-panel','Show Text in Panel*',"Display current temperature in panel. If disabled, only the current condition icon is shown. (Requires restart of GNOME Shell.)")
(b_cond,l_cond)=self.add_check('show-comment-in-panel',' Include Condition',"Whether to show the weather condition (e.g. 'Windy', 'Clear') in the panel.")
# add dependency between text-in-panel and comment-in-panel