Opened 6 years ago

Closed 6 years ago

#1879 closed defect (fixed)

toggle widget in shr-settings

Reported by: elisa42 Owned by: jama
Priority: major Milestone: shr-2012.01
Component: shr-settings Version: SHR-core
Keywords: Cc:


The toggle widget in elementary seems to have been removed.

e.g. I get

Traceback (most recent call last):
  File "/usr/bin/shr-settings", line 72, in renderModules
    cont = mod2.createView()
  File "/usr/lib/python2.7/site-packages/shr_settings_modules/", line 146, in createView
    self.wifiToggle = WifiToggleBox(self, self.dbusObj)
  File "/usr/lib/python2.7/site-packages/shr_settings_modules/", line 90, in __init__
    self.toggleAuto = elementary.Toggle(self.wifi.window)
AttributeError: 'module' object has no attribute 'Toggle'

Don't know if the suggested check widget is really a good substitution for it.

Change History (3)

comment:1 Changed 6 years ago by jama

  • Owner changed from dos to jama
  • Status changed from new to assigned

Yes, check is good, don't know how I missed this one but I've replaced toggle with check already in all other apps.. so I'll take care of this too.

comment:2 Changed 6 years ago by elisa42

also opimd-notes uses Pager widget

Traceback (most recent call last):

File "/usr/bin/opimd-notes", line 753, in <module>

pager = elementary.Pager(win)

AttributeError?: 'module' object has no attribute 'Pager

Note: See TracTickets for help on using tickets.