mirror of
https://github.com/GradienceTeam/Gradience.git
synced 2024-07-03 01:39:56 +00:00
chore: rename info.py to constants.py
This commit is contained in:
parent
1319b75697
commit
73b930c3ee
|
@ -18,7 +18,7 @@
|
|||
|
||||
from gi.repository import Gtk, Adw
|
||||
|
||||
from .info import rootdir
|
||||
from .constants import rootdir
|
||||
|
||||
|
||||
@Gtk.Template(resource_path=f"{rootdir}/ui/app_type_dialog.ui")
|
||||
|
|
|
@ -18,7 +18,7 @@
|
|||
|
||||
from gi.repository import Gtk, Adw
|
||||
|
||||
from .info import rootdir
|
||||
from .constants import rootdir
|
||||
|
||||
|
||||
@Gtk.Template(resource_path=f"{rootdir}/ui/custom_css_group.ui")
|
||||
|
|
|
@ -18,7 +18,7 @@
|
|||
|
||||
from gi.repository import Gtk
|
||||
|
||||
from .info import rootdir
|
||||
from .constants import rootdir
|
||||
|
||||
|
||||
@Gtk.Template(resource_path=f"{rootdir}/ui/error.ui")
|
||||
|
|
|
@ -35,7 +35,7 @@ from .option import AdwcustomizerOption
|
|||
from .app_type_dialog import AdwcustomizerAppTypeDialog
|
||||
from .custom_css_group import AdwcustomizerCustomCSSGroup
|
||||
from .plugins_list import AdwcustomizerPluginsList
|
||||
from .info import rootdir, app_id, version
|
||||
from .constants import rootdir, app_id, version
|
||||
|
||||
|
||||
def to_slug_case(non_slug):
|
||||
|
|
|
@ -30,8 +30,8 @@ configure_file(
|
|||
)
|
||||
|
||||
configure_file(
|
||||
input: 'info.py.in',
|
||||
output: 'info.py',
|
||||
input: 'constants.py.in',
|
||||
output: 'constants.py',
|
||||
configuration: conf,
|
||||
install: true,
|
||||
install_dir: MODULE_DIR
|
||||
|
|
|
@ -18,7 +18,7 @@
|
|||
|
||||
from gi.repository import Gtk, Gdk, Adw
|
||||
|
||||
from .info import rootdir
|
||||
from .constants import rootdir
|
||||
|
||||
|
||||
@Gtk.Template(resource_path=f"{rootdir}/ui/option.ui")
|
||||
|
|
|
@ -18,7 +18,7 @@
|
|||
|
||||
from gi.repository import Gtk, Gdk, Adw
|
||||
|
||||
from .info import rootdir
|
||||
from .constants import rootdir
|
||||
|
||||
|
||||
@Gtk.Template(resource_path=f"{rootdir}/ui/palette_shades.ui")
|
||||
|
|
|
@ -34,7 +34,7 @@ from .option import AdwcustomizerOption
|
|||
from .app_type_dialog import AdwcustomizerAppTypeDialog
|
||||
from .custom_css_group import AdwcustomizerCustomCSSGroup
|
||||
from material_color_utilities_python import *
|
||||
from .info import rootdir, build_type
|
||||
from .constants import rootdir, build_type
|
||||
|
||||
|
||||
@Gtk.Template(resource_path=f"{rootdir}/ui/window.ui")
|
||||
|
|
Loading…
Reference in a new issue