Fix package name references

This commit is contained in:
Sumner Evans
2020-09-22 11:00:09 -06:00
parent 2889c6bd7b
commit 42c807daa4
29 changed files with 77 additions and 74 deletions

View File

@@ -252,7 +252,7 @@ class ConfigureServerForm(Gtk.Box):
def _set_verification_status(
self, verifying: bool, is_valid: bool = False, error_text: str = None
):
from sublime.ui import util
from sublime_music.ui import util
if verifying:
if not self.verifying_in_progress:
@@ -304,7 +304,7 @@ class ConfigureServerForm(Gtk.Box):
def _verify_config(self, ratchet: int):
self.emit("config-valid-changed", False)
from sublime.adapters import Result
from sublime_music.adapters import Result
if self.required_config_parameter_keys.issubset(set(self.config_store.keys())):
if self._verification_status_ratchet != ratchet:

View File

@@ -9,7 +9,7 @@ from typing import Any, cast, Dict, Iterable, Optional, Sequence, Set, Tuple
from gi.repository import Gtk
from peewee import fn, prefetch
from sublime.adapters import api_objects as API
from sublime_music.adapters import api_objects as API
from . import models
from .. import (

View File

@@ -14,7 +14,7 @@ from peewee import (
TextField,
)
from sublime.adapters.adapter_base import CachingAdapter
from sublime_music.adapters.adapter_base import CachingAdapter
# Custom Fields

View File

@@ -30,7 +30,7 @@ from typing import (
import requests
from sublime.config import ProviderConfiguration
from sublime_music.config import ProviderConfiguration
from .adapter_base import (
Adapter,
@@ -273,7 +273,7 @@ class AdapterManager:
config: Any,
on_song_download_progress: Callable[[Any, str, DownloadProgress], None],
):
from sublime.config import AppConfiguration
from sublime_music.config import AppConfiguration
assert isinstance(config, AppConfiguration)

View File

@@ -27,7 +27,7 @@ import requests
import semver
from gi.repository import Gtk
from sublime.util import resolve_path
from sublime_music.util import resolve_path
from .api_objects import Directory, Response
from .. import (