Ticket #1879 (closed defect: fixed)

Opened 2 years ago

Last modified 2 years ago

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:

Description

The toggle widget in elementary seems to have been removed.
 http://trac.enlightenment.org/e/changeset/69446

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/shr_wifi.py", line 146, in createView
    self.wifiToggle = WifiToggleBox(self, self.dbusObj)
  File "/usr/lib/python2.7/site-packages/shr_settings_modules/shr_wifi.py", 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

comment:1 Changed 2 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 2 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.