updating the firefox profile and the gnome extensions
This commit is contained in:
Binary file not shown.
@ -26,10 +26,9 @@ var WidgetArrow = class WidgetArrow {
|
||||
}
|
||||
|
||||
const actor = widget.last_child
|
||||
const klass = actor && actor.has_style_class_name
|
||||
const cname = name => klass && actor.has_style_class_name(name)
|
||||
const valid = actor && actor.has_style_class_name
|
||||
|
||||
if (cname('popup-menu-arrow')) {
|
||||
if (valid && actor.has_style_class_name('popup-menu-arrow')) {
|
||||
return this.widget._arrow = actor
|
||||
}
|
||||
|
||||
|
@ -13,5 +13,5 @@
|
||||
],
|
||||
"url": "https://github.com/hardpixel/unite-shell",
|
||||
"uuid": "unite@hardpixel.eu",
|
||||
"version": 53
|
||||
"version": 54
|
||||
}
|
@ -1,8 +1,10 @@
|
||||
const Gi = imports._gi
|
||||
const Clutter = imports.gi.Clutter
|
||||
const Main = imports.ui.main
|
||||
const Me = imports.misc.extensionUtils.getCurrentExtension()
|
||||
const Override = Me.imports.overrides.helper
|
||||
const VERSION = Me.imports.overrides.helper.VERSION
|
||||
const CLASSIC = global.session_mode == 'classic'
|
||||
|
||||
var ExtendLeftBox = class ExtendLeftBox extends Override.Injection {
|
||||
get active() {
|
||||
@ -11,7 +13,7 @@ var ExtendLeftBox = class ExtendLeftBox extends Override.Injection {
|
||||
|
||||
_init() {
|
||||
this._replace('_injectAllocate')
|
||||
this._replace('_boxAllocate')
|
||||
this._replace('_allocate')
|
||||
}
|
||||
|
||||
_injectAllocate() {
|
||||
@ -21,7 +23,69 @@ var ExtendLeftBox = class ExtendLeftBox extends Override.Injection {
|
||||
})
|
||||
}
|
||||
|
||||
_boxAllocate(box, childBox, flags) {
|
||||
box.allocate(childBox, flags)
|
||||
_allocate(actor, box, flags) {
|
||||
let leftBox = Main.panel._leftBox
|
||||
let centerBox = Main.panel._centerBox
|
||||
let rightBox = Main.panel._rightBox
|
||||
|
||||
let allocWidth = box.x2 - box.x1
|
||||
let allocHeight = box.y2 - box.y1
|
||||
|
||||
let [leftMinWidth, leftNaturalWidth] = leftBox.get_preferred_width(-1)
|
||||
let [centerMinWidth, centerNaturalWidth] = centerBox.get_preferred_width(-1)
|
||||
let [rightMinWidth, rightNaturalWidth] = rightBox.get_preferred_width(-1)
|
||||
|
||||
let sideWidth = allocWidth - rightNaturalWidth - centerNaturalWidth
|
||||
let childBox = new Clutter.ActorBox()
|
||||
|
||||
childBox.y1 = 0
|
||||
childBox.y2 = allocHeight
|
||||
|
||||
if (actor.get_text_direction() == Clutter.TextDirection.RTL) {
|
||||
childBox.x1 = allocWidth - Math.min(Math.floor(sideWidth), leftNaturalWidth)
|
||||
childBox.x2 = allocWidth
|
||||
} else {
|
||||
childBox.x1 = 0
|
||||
childBox.x2 = Math.min(Math.floor(sideWidth), leftNaturalWidth)
|
||||
}
|
||||
|
||||
leftBox.allocate(childBox, flags)
|
||||
|
||||
childBox.y1 = 0
|
||||
childBox.y2 = allocHeight
|
||||
|
||||
if (actor.get_text_direction() == Clutter.TextDirection.RTL) {
|
||||
childBox.x1 = rightNaturalWidth
|
||||
childBox.x2 = childBox.x1 + centerNaturalWidth
|
||||
} else {
|
||||
childBox.x1 = allocWidth - centerNaturalWidth - rightNaturalWidth
|
||||
childBox.x2 = childBox.x1 + centerNaturalWidth
|
||||
}
|
||||
|
||||
centerBox.allocate(childBox, flags)
|
||||
|
||||
childBox.y1 = 0
|
||||
childBox.y2 = allocHeight
|
||||
|
||||
if (actor.get_text_direction() == Clutter.TextDirection.RTL) {
|
||||
childBox.x1 = 0
|
||||
childBox.x2 = rightNaturalWidth
|
||||
} else {
|
||||
childBox.x1 = allocWidth - rightNaturalWidth
|
||||
childBox.x2 = allocWidth
|
||||
}
|
||||
|
||||
rightBox.allocate(childBox, flags)
|
||||
}
|
||||
}
|
||||
|
||||
var ActivitiesButtonClassic = class ActivitiesButtonClassic extends Override.Injection {
|
||||
get active() {
|
||||
return CLASSIC == true
|
||||
}
|
||||
|
||||
_init() {
|
||||
this._replace('activate', () => {})
|
||||
this._replace('destroy', () => {})
|
||||
}
|
||||
}
|
||||
|
@ -1016,6 +1016,7 @@
|
||||
<item id="20" translatable="yes">Flat Remix</item>
|
||||
<item id="21" translatable="yes">Adwaita Dark</item>
|
||||
<item id="22" translatable="yes">Canta</item>
|
||||
<item id="23" translatable="yes">Nordic</item>
|
||||
</items>
|
||||
</object>
|
||||
<packing>
|
||||
|
@ -181,11 +181,7 @@ var ExtendLeftBox = class ExtendLeftBox extends Handlers.Feature {
|
||||
})
|
||||
}
|
||||
|
||||
_boxAllocate(box, childBox, flags) {
|
||||
box.allocate(childBox)
|
||||
}
|
||||
|
||||
_allocate(actor, box, flags) {
|
||||
_allocate(actor, box) {
|
||||
let leftBox = Main.panel._leftBox
|
||||
let centerBox = Main.panel._centerBox
|
||||
let rightBox = Main.panel._rightBox
|
||||
@ -211,7 +207,7 @@ var ExtendLeftBox = class ExtendLeftBox extends Handlers.Feature {
|
||||
childBox.x2 = Math.min(Math.floor(sideWidth), leftNaturalWidth)
|
||||
}
|
||||
|
||||
this._boxAllocate(leftBox, childBox, flags)
|
||||
leftBox.allocate(childBox)
|
||||
|
||||
childBox.y1 = 0
|
||||
childBox.y2 = allocHeight
|
||||
@ -224,7 +220,7 @@ var ExtendLeftBox = class ExtendLeftBox extends Handlers.Feature {
|
||||
childBox.x2 = childBox.x1 + centerNaturalWidth
|
||||
}
|
||||
|
||||
this._boxAllocate(centerBox, childBox, flags)
|
||||
centerBox.allocate(childBox)
|
||||
|
||||
childBox.y1 = 0
|
||||
childBox.y2 = allocHeight
|
||||
@ -237,7 +233,7 @@ var ExtendLeftBox = class ExtendLeftBox extends Handlers.Feature {
|
||||
childBox.x2 = allocWidth
|
||||
}
|
||||
|
||||
this._boxAllocate(rightBox, childBox, flags)
|
||||
rightBox.allocate(childBox)
|
||||
}
|
||||
|
||||
destroy() {
|
||||
@ -250,7 +246,9 @@ var ExtendLeftBox = class ExtendLeftBox extends Handlers.Feature {
|
||||
|
||||
var ActivitiesButton = class ActivitiesButton extends Handlers.Feature {
|
||||
constructor() {
|
||||
super('hide-activities-button', setting => Activities && setting != 'never')
|
||||
super('hide-activities-button', setting => setting != 'never')
|
||||
|
||||
Override.inject(this, 'panel', 'ActivitiesButtonClassic')
|
||||
}
|
||||
|
||||
activate() {
|
||||
|
Binary file not shown.
@ -23,6 +23,7 @@
|
||||
<value value="20" nick="flat-remix" />
|
||||
<value value="21" nick="adwaita-dark" />
|
||||
<value value="22" nick="canta" />
|
||||
<value value="23" nick="nordic" />
|
||||
</enum>
|
||||
|
||||
<enum id="org.gnome.shell.extensions.unite.hideTitlebars">
|
||||
|
@ -568,6 +568,7 @@
|
||||
<item id="20" translatable="yes">Flat Remix</item>
|
||||
<item id="21" translatable="yes">Adwaita Dark</item>
|
||||
<item id="22" translatable="yes">Canta</item>
|
||||
<item id="23" translatable="yes">Nordic</item>
|
||||
</items>
|
||||
</object>
|
||||
</child>
|
||||
|
@ -0,0 +1,7 @@
|
||||
<svg height="16" width="16" xmlns="http://www.w3.org/2000/svg">
|
||||
<g fill-rule="evenodd" transform="matrix(.01265625 0 0 -.01265625 .92804 14.51988)">
|
||||
<path d="m564.89251-113.74869c349.09263 0 632.09319 283.00099 632.09319 632.09804 0 349.09856-283.00056 632.09915-632.09319 632.09915-349.10297 0-632.104326-283.00059-632.104326-632.09915 0-349.09705 283.001356-632.09804 632.104326-632.09804" fill="#232831"/>
|
||||
<path d="m558.77747 1.5676633c283.63699 0 513.57493 229.9429467 513.57493 513.5851867 0 283.64355-229.93794 513.58155-513.57493 513.58155-283.64749 0-513.585581-229.938-513.585581-513.58155 0-283.64224 229.938091-513.5851867 513.585581-513.5851867" fill="#bf616a"/>
|
||||
<path d="m333.8058 789.41038c-11.82062 0-23.65919-4.6089-32.62872-13.5784l-.81065-.8107c-17.9404-17.9391-17.9404-47.3184 0-65.2574l198.60964-198.60968-198.60964-198.81229c-17.93514-17.93385-17.93514-47.11575 0-65.05478l.81065-1.01333c17.93381-17.93903 47.31838-17.93903 65.25744 0l198.60965 198.60962 198.60965-198.60965c17.93512-17.93902 47.31837-17.93902 65.25745 0l.81067 1.01334c17.93382 17.93383 17.93382 47.12093 0 65.05477l-198.60967 198.81232 198.60965 198.60968c17.93382 17.939 17.93908 47.3236 0 65.2574l-.81067.8107c-17.94433 17.9338-47.32233 17.9338-65.25746 0l-198.60962-198.60968-198.60965 198.60968c-8.96954 8.9695-20.80811 13.5784-32.62872 13.5784z" fill="#231d2b"/>
|
||||
</g>
|
||||
</svg>
|
After Width: | Height: | Size: 1.4 KiB |
@ -0,0 +1,6 @@
|
||||
<svg height="16" width="16" xmlns="http://www.w3.org/2000/svg">
|
||||
<g fill-rule="evenodd" transform="matrix(.01265625 0 0 -.01265625 .92804 14.51988)">
|
||||
<path d="m564.89251-113.74869c349.09263 0 632.09319 283.00099 632.09319 632.09804 0 349.09856-283.00056 632.09915-632.09319 632.09915-349.10297 0-632.104326-283.00059-632.104326-632.09915 0-349.09705 283.001356-632.09804 632.104326-632.09804" fill="#232831"/>
|
||||
<path d="m558.77747 1.5676633c283.63699 0 513.57493 229.9429467 513.57493 513.5851867 0 283.64355-229.93794 513.58155-513.57493 513.58155-283.64749 0-513.585581-229.938-513.585581-513.58155 0-283.64224 229.938091-513.5851867 513.585581-513.5851867" fill="#bf616a"/>
|
||||
</g>
|
||||
</svg>
|
After Width: | Height: | Size: 699 B |
@ -0,0 +1,6 @@
|
||||
<svg height="16" width="16" xmlns="http://www.w3.org/2000/svg">
|
||||
<g fill-rule="evenodd" transform="matrix(.01265624987 0 0 -.01265624987 .87737080438 14.51838441094)">
|
||||
<path d="m563.58759-119.38766c349.0926 0 632.09311 283.00097 632.09311 632.098 0 349.09852-283.00051 632.09906-632.09311 632.09906-349.10297 0-632.104441-283.00054-632.104441-632.09906 0-349.09703 283.001471-632.098 632.104441-632.098" fill="#232831"/><path d="m556.52193-11.060771c283.64075 0 513.57747 229.941751 513.57747 513.582491 0 283.64206-229.93672 513.57878-513.57747 513.57878-283.646 0-513.583018-229.93672-513.583018-513.57878 0-283.64074 229.937018-513.582491 513.583018-513.582491" fill="#a3be8c"/>
|
||||
<path d="m403.81614 794.35778h350.89887c46.7241 0 84.95672-38.2326 84.95672-84.9606v-350.89497zm305.09931-572.85373h-352.28304c-46.72935 0-84.95672 38.22737-84.95672 84.95541v352.28432z" fill="#232831"/>
|
||||
</g>
|
||||
</svg>
|
After Width: | Height: | Size: 909 B |
@ -0,0 +1,5 @@
|
||||
<svg height="16" width="16" xmlns="http://www.w3.org/2000/svg">
|
||||
<g fill-rule="evenodd" transform="matrix(.01265624987 0 0 -.01265624987 .87737080438 14.51838441094)">
|
||||
<path d="m563.58759-119.38766c349.0926 0 632.09311 283.00097 632.09311 632.098 0 349.09852-283.00051 632.09906-632.09311 632.09906-349.10297 0-632.104441-283.00054-632.104441-632.09906 0-349.09703 283.001471-632.098 632.104441-632.098" fill="#232831"/><path d="m556.52193-11.060771c283.64075 0 513.57747 229.941751 513.57747 513.582491 0 283.64206-229.93672 513.57878-513.57747 513.57878-283.646 0-513.583018-229.93672-513.583018-513.57878 0-283.64074 229.937018-513.582491 513.583018-513.582491" fill="#a3be8c"/>
|
||||
</g>
|
||||
</svg>
|
After Width: | Height: | Size: 701 B |
@ -0,0 +1,7 @@
|
||||
<svg height="16" width="16" xmlns="http://www.w3.org/2000/svg">
|
||||
<g fill-rule="evenodd" transform="matrix(.01265624987 0 0 -.01265624987 .92975364307 14.49284980666)">
|
||||
<path d="m558.01426-102.00717c349.09859 0 632.09914 283.00019 632.09914 632.09876 0 349.09267-283.00055 632.09331-632.09914 632.09331-349.09709 0-632.098402-283.00064-632.098402-632.09331 0-349.09857 283.001312-632.09876 632.098402-632.09876" fill="#232831"/>
|
||||
<path d="m558.63936 8.2829618c283.64212 0 513.57764 229.9370582 513.57764 513.5831182 0 283.64081-229.93552 513.57752-513.57764 513.57752-283.64081 0-513.582854-229.93671-513.582854-513.57752 0-283.64606 229.942044-513.5831182 513.582854-513.5831182" fill="#ebcb8b"/>
|
||||
<path d="m215.45381 561.02799h655.38361c25.36671 0 46.11736-20.7454 46.11736-46.1174v-1.2161c0-25.3719-20.75065-46.1173-46.11736-46.1173h-655.38361c-25.36804 0-46.11737 20.7454-46.11737 46.1173v1.2161c0 25.372 20.74933 46.1174 46.11737 46.1174" fill="#232831"/>
|
||||
</g>
|
||||
</svg>
|
After Width: | Height: | Size: 985 B |
@ -0,0 +1,6 @@
|
||||
<svg height="16" width="16" xmlns="http://www.w3.org/2000/svg">
|
||||
<g fill-rule="evenodd" transform="matrix(.01265624987 0 0 -.01265624987 .92975364307 14.49284980666)">
|
||||
<path d="m558.01426-102.00717c349.09859 0 632.09914 283.00019 632.09914 632.09876 0 349.09267-283.00055 632.09331-632.09914 632.09331-349.09709 0-632.098402-283.00064-632.098402-632.09331 0-349.09857 283.001312-632.09876 632.098402-632.09876" fill="#232831"/>
|
||||
<path d="m558.63936 8.2829618c283.64212 0 513.57764 229.9370582 513.57764 513.5831182 0 283.64081-229.93552 513.57752-513.57764 513.57752-283.64081 0-513.582854-229.93671-513.582854-513.57752 0-283.64606 229.942044-513.5831182 513.582854-513.5831182" fill="#ebcb8b"/>
|
||||
</g>
|
||||
</svg>
|
After Width: | Height: | Size: 719 B |
@ -0,0 +1,40 @@
|
||||
.window-button .icon {
|
||||
width: 24px;
|
||||
height: 24px;
|
||||
}
|
||||
|
||||
.close .icon {
|
||||
background-image: url("close.svg");
|
||||
}
|
||||
|
||||
.close:hover .icon {
|
||||
background-image: url("close-prelight.svg");
|
||||
}
|
||||
|
||||
.close:active .icon {
|
||||
background-image: url("close-prelight.svg");
|
||||
}
|
||||
|
||||
.minimize .icon {
|
||||
background-image: url("min.svg");
|
||||
}
|
||||
|
||||
.minimize:hover .icon {
|
||||
background-image: url("min-prelight.svg");
|
||||
}
|
||||
|
||||
.minimize:active .icon {
|
||||
background-image: url("min-prelight.svg");
|
||||
}
|
||||
|
||||
.maximize .icon {
|
||||
background-image: url("maximize.svg");
|
||||
}
|
||||
|
||||
.maximize:hover .icon {
|
||||
background-image: url("maximize-prelight.svg");
|
||||
}
|
||||
|
||||
.maximize:active .icon {
|
||||
background-image: url("maximize-prelight.svg");
|
||||
}
|
@ -0,0 +1 @@
|
||||
paccache -ruk0
|
Reference in New Issue
Block a user