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 \
|
--force \
|
||||||
--extra-source extensionModules \
|
--extra-source extensionModules \
|
||||||
--extra-source prefsModules \
|
--extra-source prefsModules \
|
||||||
--extra-source prefs-box-order-item-row.ui \
|
--extra-source ../data/ui \
|
||||||
--extra-source prefs-box-order-list-box.ui \
|
--schema ../data/org.gnome.shell.extensions.top-bar-organizer.gschema.xml
|
||||||
--extra-source prefs-box-order-list-empty-placeholder.ui \
|
|
||||||
--extra-source prefs-page.ui \
|
|
||||||
|
|||||||
@ -15,7 +15,7 @@ const ScrollManager = Me.imports.prefsModules.ScrollManager;
|
|||||||
|
|
||||||
var PrefsPage = GObject.registerClass({
|
var PrefsPage = GObject.registerClass({
|
||||||
GTypeName: "PrefsPage",
|
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: [
|
InternalChildren: [
|
||||||
"left-box",
|
"left-box",
|
||||||
"center-box",
|
"center-box",
|
||||||
|
|||||||
@ -12,7 +12,7 @@ const Me = ExtensionUtils.getCurrentExtension();
|
|||||||
|
|
||||||
var PrefsBoxOrderItemRow = GObject.registerClass({
|
var PrefsBoxOrderItemRow = GObject.registerClass({
|
||||||
GTypeName: "PrefsBoxOrderItemRow",
|
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: [
|
InternalChildren: [
|
||||||
"item-name-display-label",
|
"item-name-display-label",
|
||||||
"menu-button"
|
"menu-button"
|
||||||
|
|||||||
@ -9,7 +9,7 @@ const Me = ExtensionUtils.getCurrentExtension();
|
|||||||
|
|
||||||
var PrefsBoxOrderListBox = GObject.registerClass({
|
var PrefsBoxOrderListBox = GObject.registerClass({
|
||||||
GTypeName: "PrefsBoxOrderListBox",
|
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 {
|
}, class PrefsBoxOrderListBox extends Gtk.ListBox {
|
||||||
/**
|
/**
|
||||||
* @param {Object} params
|
* @param {Object} params
|
||||||
|
|||||||
@ -10,7 +10,7 @@ const Me = ExtensionUtils.getCurrentExtension();
|
|||||||
|
|
||||||
var PrefsBoxOrderListEmptyPlaceholder = GObject.registerClass({
|
var PrefsBoxOrderListEmptyPlaceholder = GObject.registerClass({
|
||||||
GTypeName: "PrefsBoxOrderListEmptyPlaceholder",
|
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 {
|
}, class PrefsBoxOrderListEmptyPlaceholder extends Gtk.Box {
|
||||||
_init(params = {}) {
|
_init(params = {}) {
|
||||||
super._init(params);
|
super._init(params);
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user