• Alberts Muktupāvels's avatar
    general: fix running Tweaks outside GNOME Shell · de0a3902
    Alberts Muktupāvels authored
    Outside GNOME Shell, Tweaks 3.30.1 crashes:
    
    Traceback (most recent call last):
      File "/usr/lib/python3/dist-packages/gtweak/app.py", line 30, in do_activate
        self.win = Window(self, model)
      File "/usr/lib/python3/dist-packages/gtweak/tweakview.py", line 38, in __init__
        self._model.load_tweaks(self)
      File "/usr/lib/python3/dist-packages/gtweak/tweakmodel.py", line 104, in load_tweaks
        mods = __import__("gtweak.tweaks", globals(), locals(), tweak_files, 0)
      File "/usr/lib/python3/dist-packages/gtweak/tweaks/tweak_group_general.py", line 14, in <module>
        _shell_not_ubuntu = _shell.mode != 'ubuntu'
    AttributeError: 'NoneType' object has no attribute 'mode'
    de0a3902
Name
Last commit
Last update
..
__init__.py Loading commit data...
tweak_group_appearance.py Loading commit data...
tweak_group_desktop.py Loading commit data...
tweak_group_font.py Loading commit data...
tweak_group_general.py Loading commit data...
tweak_group_keymouse.py Loading commit data...
tweak_group_shell_extensions.py Loading commit data...
tweak_group_startup.py Loading commit data...
tweak_group_test.py Loading commit data...
tweak_group_title_bar.py Loading commit data...
tweak_group_top_bar.py Loading commit data...
tweak_group_windows.py Loading commit data...
tweak_group_workspaces.py Loading commit data...
tweak_group_xkb.py Loading commit data...
tweak_wacom.py Loading commit data...