Skip to content

Commit

Permalink
prefix GTypeName in all GObject classes
Browse files Browse the repository at this point in the history
  • Loading branch information
jonian committed Apr 13, 2019
1 parent 897377e commit 05e6d00
Show file tree
Hide file tree
Showing 15 changed files with 17 additions and 17 deletions.
4 changes: 2 additions & 2 deletions [email protected]/convenience.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ const Unite = imports.misc.extensionUtils.getCurrentExtension();

var SettingsManager = new GObject.Class({
Name: 'Unite.Settings',
GTypeName: 'Settings',
GTypeName: 'UniteSettings',
Extends: Gio.Settings,
DEFAULT_BINDING: Gio.SettingsBindFlags.DEFAULT,

Expand Down Expand Up @@ -48,7 +48,7 @@ var SettingsManager = new GObject.Class({

var PreferencesManager = new GObject.Class({
Name: 'Unite.Preferences',
GTypeName: 'Preferences',
GTypeName: 'UnitePreferences',
Extends: Gio.Settings,

get window_buttons_position() {
Expand Down
2 changes: 1 addition & 1 deletion [email protected]/extension.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ const ThemeMods = Unite.imports.modules.themeMods.ThemeMods;

var UniteExtension = new GObject.Class({
Name: 'Unite.Extension',
GTypeName: 'Extension',
GTypeName: 'UniteExtension',

_init() {
this._activateWindow = new ActivateWindow();
Expand Down
4 changes: 2 additions & 2 deletions [email protected]/handlers.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ const Convenience = Unite.imports.convenience;

var SignalsHandler = new GObject.Class({
Name: 'Unite.SignalsHandler',
GTypeName: 'SignalsHandler',
GTypeName: 'UniteSignalsHandler',

_init(context) {
this._signals = {};
Expand Down Expand Up @@ -60,7 +60,7 @@ var SignalsHandler = new GObject.Class({

var SettingsHandler = new GObject.Class({
Name: 'Unite.SettingsHandler',
GTypeName: 'SettingsHandler',
GTypeName: 'UniteSettingsHandler',
Extends: SignalsHandler,

_init(context) {
Expand Down
2 changes: 1 addition & 1 deletion [email protected]/module.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ const Settings = Unite.imports.handlers.SettingsHandler;

var BaseModule = new GObject.Class({
Name: 'Unite.BaseModule',
GTypeName: 'BaseModule',
GTypeName: 'UniteBaseModule',

_enableKey: null,
_enableValue: null,
Expand Down
2 changes: 1 addition & 1 deletion [email protected]/modules/activateWindow.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ const Base = Unite.imports.module.BaseModule;

var ActivateWindow = new GObject.Class({
Name: 'Unite.ActivateWindow',
GTypeName: 'ActivateWindow',
GTypeName: 'UniteActivateWindow',
Extends: Base,

_enableKey: 'autofocus-windows',
Expand Down
2 changes: 1 addition & 1 deletion [email protected]/modules/activitiesButton.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ const toggleWidget = Unite.imports.helpers.toggleWidget;

var ActivitiesButton = new GObject.Class({
Name: 'Unite.ActivitiesButton',
GTypeName: 'ActivitiesButton',
GTypeName: 'UniteActivitiesButton',
Extends: Base,

_enableKey: 'hide-activities-button',
Expand Down
2 changes: 1 addition & 1 deletion [email protected]/modules/applicationMenu.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ const isMaximized = Unite.imports.helpers.isMaximized;

var ApplicationMenu = new GObject.Class({
Name: 'Unite.ApplicationMenu',
GTypeName: 'ApplicationMenu',
GTypeName: 'UniteApplicationMenu',
Extends: Base,

_enableKey: 'show-window-title',
Expand Down
2 changes: 1 addition & 1 deletion [email protected]/modules/desktopName.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ const toggleWidget = Unite.imports.helpers.toggleWidget;

var DesktopName = new GObject.Class({
Name: 'Unite.DesktopName',
GTypeName: 'DesktopName',
GTypeName: 'UniteDesktopName',
Extends: Base,

_enableKey: 'show-desktop-name',
Expand Down
2 changes: 1 addition & 1 deletion [email protected]/modules/extendLeftBox.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ const Base = Unite.imports.module.BaseModule;

var ExtendLeftBox = new GObject.Class({
Name: 'Unite.ExtendLeftBox',
GTypeName: 'ExtendLeftBox',
GTypeName: 'UniteExtendLeftBox',
Extends: Base,

_enableKey: 'extend-left-box',
Expand Down
2 changes: 1 addition & 1 deletion [email protected]/modules/messageTray.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ const scaleSize = Unite.imports.helpers.scaleSize;

var MessageTray = new GObject.Class({
Name: 'Unite.MessageTray',
GTypeName: 'MessageTray',
GTypeName: 'UniteMessageTray',
Extends: Base,

_enableKey: 'notifications-position',
Expand Down
2 changes: 1 addition & 1 deletion [email protected]/modules/themeMods.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ const Base = Unite.imports.module.BaseModule;

var ThemeMods = new GObject.Class({
Name: 'Unite.ThemeMods',
GTypeName: 'ThemeMods',
GTypeName: 'UniteThemeMods',
Extends: Base,

_onInitialize() {
Expand Down
2 changes: 1 addition & 1 deletion [email protected]/modules/topIcons.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ const toggleWidget = Unite.imports.helpers.toggleWidget;

var TopIcons = new GObject.Class({
Name: 'Unite.TopIcons',
GTypeName: 'TopIcons',
GTypeName: 'UniteTopIcons',
Extends: Base,

_enableKey: 'show-legacy-tray',
Expand Down
2 changes: 1 addition & 1 deletion [email protected]/modules/windowButtons.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ const toggleWidget = Unite.imports.helpers.toggleWidget;

var WindowButtons = new GObject.Class({
Name: 'Unite.WindowButtons',
GTypeName: 'WindowButtons',
GTypeName: 'UniteWindowButtons',
Extends: Base,

_enableKey: 'show-window-buttons',
Expand Down
2 changes: 1 addition & 1 deletion [email protected]/modules/windowDecoration.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ const loadUserStyles = Unite.imports.helpers.loadUserStyles;

var WindowDecoration = new GObject.Class({
Name: 'Unite.WindowDecoration',
GTypeName: 'WindowDecoration',
GTypeName: 'UniteWindowDecoration',
Extends: Base,

_enableKey: 'hide-window-titlebars',
Expand Down
2 changes: 1 addition & 1 deletion [email protected]/prefs.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ const Convenience = Unite.imports.convenience;

var PrefsWidget = new GObject.Class({
Name: 'Unite.PrefsWidget',
GTypeName: 'PrefsWidget',
GTypeName: 'UnitePrefsWidget',
Extends: Gtk.Box,

_init(params) {
Expand Down

0 comments on commit 05e6d00

Please sign in to comment.