Mercurial > libervia-desktop-kivy
diff cagou/plugins/plugin_wid_widget_selector.py @ 312:772c170b47a9
Python3 port:
/!\ Cagou now runs with Python 3.6+
Port has been done in the same way as for backend (check backend commit b2d067339de3
message for details).
author | Goffi <goffi@goffi.org> |
---|---|
date | Tue, 13 Aug 2019 19:14:22 +0200 |
parents | 1b835bcfa663 |
children | 19422bbd9c8e |
line wrap: on
line diff
--- a/cagou/plugins/plugin_wid_widget_selector.py Mon Aug 05 11:21:54 2019 +0200 +++ b/cagou/plugins/plugin_wid_widget_selector.py Tue Aug 13 19:14:22 2019 +0200 @@ -31,11 +31,11 @@ PLUGIN_INFO = { - "name": _(u"widget selector"), + "name": _("widget selector"), "import_name": C.WID_SELECTOR, "main": "WidgetSelector", - "description": _(u"show available widgets and allow to select one"), - "icon_medium": u"{media}/icons/muchoslava/png/selector_no_border_blue_44.png" + "description": _("show available widgets and allow to select one"), + "icon_medium": "{media}/icons/muchoslava/png/selector_no_border_blue_44.png" } @@ -44,7 +44,7 @@ item = properties.ObjectProperty() def on_release(self, *args): - log.debug(u"widget selection: {}".format(self.plugin_info["name"])) + log.debug("widget selection: {}".format(self.plugin_info["name"])) factory = self.plugin_info["factory"] G.host.switchWidget(self, factory(self.plugin_info, None, profiles=iter(G.host.profiles)))