-
Notifications
You must be signed in to change notification settings - Fork 43
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
6 changed files
with
32 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,6 +6,7 @@ const Clutter = imports.gi.Clutter; | |
const Gtk = imports.gi.Gtk; | ||
const Signals = imports.signals; | ||
const St = imports.gi.St; | ||
const GObject = imports.gi.GObject; | ||
const ModalDialog = imports.ui.modalDialog; | ||
const Util = imports.misc.util; | ||
const Gettext = imports.gettext.domain("[email protected]"); | ||
|
@@ -22,10 +23,11 @@ const FavouriteDisabledIcon = 'non-starred-symbolic'; | |
|
||
let _selectedChannel; | ||
|
||
var ChannelListDialog = class ChannelListDialog extends ModalDialog.ModalDialog { | ||
var ChannelListDialog = GObject.registerClass( | ||
class ChannelListDialog extends ModalDialog.ModalDialog { | ||
|
||
constructor() { | ||
super({ | ||
_init() { | ||
super._init({ | ||
styleClass: 'nm-dialog' | ||
}); | ||
this._buildLayout(); | ||
|
@@ -181,7 +183,7 @@ var ChannelListDialog = class ChannelListDialog extends ModalDialog.ModalDialog | |
}); | ||
this._itemBox.add_child(cha.item.actor); | ||
} | ||
}; | ||
}); | ||
|
||
|
||
var ChannelListDialogItem = class ChannelListDialogItem { | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
{ | ||
"shell-version": ["3.32"], | ||
"shell-version": ["3.32", "3.34"], | ||
"uuid": "[email protected]", | ||
"name": "Internet Radio", | ||
"description": "Listen to an Internet Radio Stream", | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,6 +6,7 @@ | |
const Clutter = imports.gi.Clutter; | ||
const Gtk = imports.gi.Gtk; | ||
const St = imports.gi.St; | ||
const GObject = imports.gi.GObject; | ||
const ShellEntry = imports.ui.shellEntry; | ||
const Util = imports.misc.util; | ||
const Gettext = imports.gettext.domain("[email protected]"); | ||
|
@@ -23,10 +24,11 @@ _httpSession.user_agent = "GSE Radio"; | |
_httpSession.timeout = 10; | ||
let _selectedChannel; | ||
|
||
var SearchDialog = class SearchDialog extends ChannelCreator.ChannelCreator { | ||
var SearchDialog = GObject.registerClass( | ||
class SearchDialog extends ChannelCreator.ChannelCreator { | ||
|
||
constructor() { | ||
super({ | ||
_init() { | ||
super._init({ | ||
styleClass: 'nm-dialog' | ||
}); | ||
this._buildLayout(); | ||
|
@@ -227,4 +229,4 @@ var SearchDialog = class SearchDialog extends ChannelCreator.ChannelCreator { | |
this.close(); | ||
} | ||
} | ||
}; | ||
}); |