[gnome-builder/wip/chergert/razzledazzle] build: fix python imports of Dazzle
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-builder/wip/chergert/razzledazzle] build: fix python imports of Dazzle
- Date: Sat, 3 Jun 2017 02:19:56 +0000 (UTC)
commit 678b23a3510379d00196d2beed74074c153033cb
Author: Christian Hergert <chergert redhat com>
Date: Fri Jun 2 19:16:06 2017 -0700
build: fix python imports of Dazzle
plugins/eslint/eslint_plugin/__init__.py | 1 -
plugins/rustup/rustup_plugin/__init__.py | 18 +++++++++---------
plugins/todo/todo_plugin/__init__.py | 5 +++--
3 files changed, 12 insertions(+), 12 deletions(-)
---
diff --git a/plugins/eslint/eslint_plugin/__init__.py b/plugins/eslint/eslint_plugin/__init__.py
index 421bd61..95ed22f 100644
--- a/plugins/eslint/eslint_plugin/__init__.py
+++ b/plugins/eslint/eslint_plugin/__init__.py
@@ -24,7 +24,6 @@ import re
gi.require_version('Ide', '1.0')
-from gi.repository import Dzl
from gi.repository import GObject
from gi.repository import Gio
from gi.repository import Gtk
diff --git a/plugins/rustup/rustup_plugin/__init__.py b/plugins/rustup/rustup_plugin/__init__.py
index 527c269..e51ff40 100644
--- a/plugins/rustup/rustup_plugin/__init__.py
+++ b/plugins/rustup/rustup_plugin/__init__.py
@@ -26,11 +26,11 @@ import re
import pty
import stat
-gi.require_version('Dzl', '1.0')
+gi.require_version('Dazzle', '1.0')
gi.require_version('Ide', '1.0')
gi.require_version('Gtk', '3.0')
-from gi.repository import Dzl
+from gi.repository import Dazzle
from gi.repository import GLib
from gi.repository import GObject
from gi.repository import Gio
@@ -611,13 +611,13 @@ class RustupPreferencesAddin(GObject.Object, Ide.PreferencesAddin):
return list_control
def create_install_popover(self):
- popover = Dzl.SimplePopover(title=_('Install Rust Channel'),
- button_text=_('Install'),
- text='stable',
- ready=True,
- # translators: channel is stable, beta, nightly, with optional
architecture and date
- message=_('Enter name of rust channel'),
- tooltip_text=_('''Standard release channel toolchain names have the
following form:
+ popover = Dazzle.SimplePopover(title=_('Install Rust Channel'),
+ button_text=_('Install'),
+ text='stable',
+ ready=True,
+ # translators: channel is stable, beta, nightly, with optional
architecture and date
+ message=_('Enter name of rust channel'),
+ tooltip_text=_('''Standard release channel toolchain names have the
following form:
<channel>[-<date>][-<host>]
<channel> = stable|beta|nightly|<version>
diff --git a/plugins/todo/todo_plugin/__init__.py b/plugins/todo/todo_plugin/__init__.py
index 0a18e1d..df661bb 100644
--- a/plugins/todo/todo_plugin/__init__.py
+++ b/plugins/todo/todo_plugin/__init__.py
@@ -20,6 +20,7 @@
import gi
+gi.require_version('Dazzle', '1.0')
gi.require_version('Ide', '1.0')
from gi.repository import Ide
@@ -27,7 +28,7 @@ from gi.repository import Gio
from gi.repository import GLib
from gi.repository import GObject
from gi.repository import Gtk
-from gi.repository import Dzl
+from gi.repository import Dazzle
import re
import subprocess
@@ -188,7 +189,7 @@ class TodoItem(GObject.Object):
return msg[:msg.index('\n')].strip()
return msg.strip()
-class TodoPanel(Dzl.DockWidget):
+class TodoPanel(Dazzle.DockWidget):
def __init__(self, basedir, *args, **kwargs):
super().__init__(*args, **kwargs)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]