Skip to content

Commit

Permalink
gnome 45 compatibility fixes #112 (#113)
Browse files Browse the repository at this point in the history
  • Loading branch information
cinatic authored Apr 23, 2024
1 parent 79307d3 commit 811795c
Show file tree
Hide file tree
Showing 8 changed files with 13 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ export const ButtonGroup = GObject.registerClass({
x_expand: true
})

this.add_actor(this._content)
this.add_child(this._content)

this.connect('destroy', this._onDestroy.bind(this))

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ export const FlatList = GObject.registerClass({
y_expand: true
})

this.add_actor(this._content)
this.add_child(this._content)
}

get items () {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ export const ScreenWrapper = GObject.registerClass({
}

this.destroy_all_children()
this.add_actor(screen)
this.add_child(screen)
}

_onDestroy () {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,8 @@ export const SearchBar = GObject.registerClass({
_createSearchArea ({ showFilterInputBox }) {
let searchInputBox = new St.BoxLayout({
style_class: 'search-area-box',
x_expand: true
x_expand: true,
x_align: Clutter.ActorAlign.START
})

if (this.back_screen_name) {
Expand Down
2 changes: 1 addition & 1 deletion taskwhisperer-extension@infinicode.de/extension.js
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ let TaskWhispererMenuButton = GObject.registerClass(class TaskWhispererMenuButto
return
}

parent.remove_actor(container)
parent.remove_child(container)

let children = null

Expand Down
4 changes: 2 additions & 2 deletions taskwhisperer-extension@infinicode.de/metadata.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@
"settings-schema": "org.gnome.shell.extensions.taskwhisperer",
"gettext-domain": "gnome-shell-extension-taskwhisperer",
"shell-version": [
"45"
"46"
],
"url": "https://github.com/cinatic/taskwhisperer",
"uuid": "taskwhisperer-extension@infinicode.de",
"version": 27
"version": 9999
}
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: gnome-shell-extension-taskwhisperer-extension\n"
"Report-Msgid-Bugs-To: fh@infinicode.de\n"
"POT-Creation-Date: 2023-10-22 12:54+0200\n"
"POT-Creation-Date: 2024-04-05 23:21+0200\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
Expand Down
4 changes: 4 additions & 0 deletions taskwhisperer-extension@infinicode.de/stylesheet.css
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,10 @@
padding: 5px 10px;
}

.taskwhisperer-extension .search-bar .search-area-box StEntry {
width: 400px;
}

.taskwhisperer-extension .search-bar .search-area-box .navigate-back-icon-button {
margin-right: 15px;
padding: 5px;
Expand Down

0 comments on commit 811795c

Please sign in to comment.