mirror of
https://gitlab.gnome.org/julianschacher/top-bar-organizer.git
synced 2025-10-27 15:19:09 +00:00
Refactor: Move UI files and gschema file to more standard locations
This commit is contained in:
parent
ddd0297868
commit
7ed9329f2d
@ -8,7 +8,5 @@ gnome-extensions pack "$REAL_BASE_DIR/src" \
|
||||
--force \
|
||||
--extra-source extensionModules \
|
||||
--extra-source prefsModules \
|
||||
--extra-source prefs-box-order-item-row.ui \
|
||||
--extra-source prefs-box-order-list-box.ui \
|
||||
--extra-source prefs-box-order-list-empty-placeholder.ui \
|
||||
--extra-source prefs-page.ui \
|
||||
--extra-source ../data/ui \
|
||||
--schema ../data/org.gnome.shell.extensions.top-bar-organizer.gschema.xml
|
||||
|
||||
@ -15,7 +15,7 @@ const ScrollManager = Me.imports.prefsModules.ScrollManager;
|
||||
|
||||
var PrefsPage = GObject.registerClass({
|
||||
GTypeName: "PrefsPage",
|
||||
Template: Me.dir.get_child("prefs-page.ui").get_uri(),
|
||||
Template: Me.dir.get_child("ui").get_child("prefs-page.ui").get_uri(),
|
||||
InternalChildren: [
|
||||
"left-box",
|
||||
"center-box",
|
||||
|
||||
@ -12,7 +12,7 @@ const Me = ExtensionUtils.getCurrentExtension();
|
||||
|
||||
var PrefsBoxOrderItemRow = GObject.registerClass({
|
||||
GTypeName: "PrefsBoxOrderItemRow",
|
||||
Template: Me.dir.get_child("prefs-box-order-item-row.ui").get_uri(),
|
||||
Template: Me.dir.get_child("ui").get_child("prefs-box-order-item-row.ui").get_uri(),
|
||||
InternalChildren: [
|
||||
"item-name-display-label",
|
||||
"menu-button"
|
||||
|
||||
@ -9,7 +9,7 @@ const Me = ExtensionUtils.getCurrentExtension();
|
||||
|
||||
var PrefsBoxOrderListBox = GObject.registerClass({
|
||||
GTypeName: "PrefsBoxOrderListBox",
|
||||
Template: Me.dir.get_child("prefs-box-order-list-box.ui").get_uri()
|
||||
Template: Me.dir.get_child("ui").get_child("prefs-box-order-list-box.ui").get_uri()
|
||||
}, class PrefsBoxOrderListBox extends Gtk.ListBox {
|
||||
/**
|
||||
* @param {Object} params
|
||||
|
||||
@ -10,7 +10,7 @@ const Me = ExtensionUtils.getCurrentExtension();
|
||||
|
||||
var PrefsBoxOrderListEmptyPlaceholder = GObject.registerClass({
|
||||
GTypeName: "PrefsBoxOrderListEmptyPlaceholder",
|
||||
Template: Me.dir.get_child("prefs-box-order-list-empty-placeholder.ui").get_uri()
|
||||
Template: Me.dir.get_child("ui").get_child("prefs-box-order-list-empty-placeholder.ui").get_uri()
|
||||
}, class PrefsBoxOrderListEmptyPlaceholder extends Gtk.Box {
|
||||
_init(params = {}) {
|
||||
super._init(params);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user