diff --git a/bumblebee/modules/traffic.py b/bumblebee/modules/traffic.py index 08d838c..f74f7f9 100644 --- a/bumblebee/modules/traffic.py +++ b/bumblebee/modules/traffic.py @@ -56,13 +56,13 @@ class Module(bumblebee.engine.Module): widget_tx = self.widget(txname) if not widget_rx: widget_rx = bumblebee.output.Widget(name=rxname) - widget_rx.set("theme-minwidth", "down 1000MB") - widget_rx.set("theme-align", "right") + widget_rx.set("theme.minwidth", "down 1000MB") + widget_rx.set("theme.align", "right") widgets.append(widget_rx) if not widget_tx: widget_tx = bumblebee.output.Widget(name=txname) - widget_tx.set("theme-minwidth", "down 1000MB") - widget_tx.set("theme-align", "right") + widget_tx.set("theme.minwidth", "down 1000MB") + widget_tx.set("theme.align", "right") widgets.append(widget_tx) prev_rx = widget_rx.get("rx", 0) diff --git a/bumblebee/theme.py b/bumblebee/theme.py index a424f4a..0b2a724 100644 --- a/bumblebee/theme.py +++ b/bumblebee/theme.py @@ -139,7 +139,7 @@ class Theme(object): state_themes.append(self._get(widget, state, {})) value = self._defaults.get(name, default) - value = widget.get("theme-{}".format(name), value) + value = widget.get("theme.{}".format(name), value) value = self._cycle.get(name, value) value = module_theme.get(name, value)