appDisplay: Rename AlphabeticalView to BaseAppView
Since the items are not ordered in an alphabetical way, just rename the class to be consistent. https://bugzilla.gnome.org/show_bug.cgi?id=706081
This commit is contained in:
parent
961e1b89a2
commit
fbb4077812
@ -54,8 +54,8 @@ function _loadCategory(dir, view) {
|
||||
}
|
||||
};
|
||||
|
||||
const AlphabeticalView = new Lang.Class({
|
||||
Name: 'AlphabeticalView',
|
||||
const BaseAppView = new Lang.Class({
|
||||
Name: 'BaseAppView',
|
||||
Abstract: true,
|
||||
|
||||
_init: function() {
|
||||
@ -139,7 +139,7 @@ const AlphabeticalView = new Lang.Class({
|
||||
}
|
||||
}
|
||||
});
|
||||
Signals.addSignalMethods(AlphabeticalView.prototype);
|
||||
Signals.addSignalMethods(BaseAppView.prototype);
|
||||
|
||||
const AllViewLayout = new Lang.Class({
|
||||
Name: 'AllViewLayout',
|
||||
@ -167,7 +167,7 @@ const AllViewLayout = new Lang.Class({
|
||||
|
||||
const AllView = new Lang.Class({
|
||||
Name: 'AllView',
|
||||
Extends: AlphabeticalView,
|
||||
Extends: BaseAppView,
|
||||
|
||||
_init: function() {
|
||||
this.parent();
|
||||
@ -560,7 +560,7 @@ const AppSearchProvider = new Lang.Class({
|
||||
|
||||
const FolderView = new Lang.Class({
|
||||
Name: 'FolderView',
|
||||
Extends: AlphabeticalView,
|
||||
Extends: BaseAppView,
|
||||
|
||||
_init: function() {
|
||||
this.parent();
|
||||
|
Loading…
Reference in New Issue
Block a user