Commit Graph

89 Commits

Author SHA1 Message Date
Charles Gagnon
14fdcfe8d9 Fix ubuntu dock check on 23.10 2023-12-03 13:23:41 -05:00
Charles Gagnon
c8f4767aaf Remove hello world 2023-09-23 07:12:43 -04:00
Andy Holmes
f3257803fa fix: disconnect handlers in disable() 2023-09-21 23:07:50 -07:00
Andy Holmes
f588ab7218 fix: correct call to disable() 2023-09-21 23:07:50 -07:00
Andy Holmes
c565aa514a refactor: derive from EventEmitter
Instead of using the legacy import and adding signal methods, just
derive from EventEmitter.
2023-09-21 19:22:30 -07:00
Andy Holmes
f68e860d43 refactor: remove unused imports 2023-09-21 19:22:28 -07:00
Andy Holmes
5ced13a324 fix: null DESKTOPSETTINGS on disable 2023-09-21 19:22:28 -07:00
Andy Holmes
20b692ab40 fix: use GSettings constructor for desktop settings 2023-09-21 19:22:27 -07:00
Andy Holmes
05281ab7a0 cleanup: drop unnecessary call to initTranslations() 2023-09-21 19:22:27 -07:00
Andy Holmes
7bf1de0037 refactor: drop backwards-compatibility check
Checking for `Main.extensionManager` isn't necessary, since this
release of the extension can only support >= GNOME 45.
2023-09-21 19:22:26 -07:00
Andy Holmes
fd8022b49b refactor: replace export var with export const 2023-09-21 19:22:24 -07:00
Philipp Unger
ac43d822f3 remove open-application-menu keybinding, appmenu will be removed 2023-08-20 19:10:38 +02:00
Philipp Unger
ae812b34d0 fix _realHasOverview access in extension _disable 2023-08-20 18:28:44 +02:00
Philipp Unger
d9e55635fc add the reset parameter back to extension disable function 2023-08-19 15:35:58 +02:00
Philipp Unger
011c9d5d26 open-application-menu and _toggleAppMenuare no longer available, comment the key binding replacement for now 2023-08-19 15:33:06 +02:00
Philipp Unger
11b04333c1 use Extension.openPreferences 2023-08-19 15:31:03 +02:00
Philipp Unger
517d7d2e75 modify Signals import and use addSignalMethods again 2023-08-19 13:48:43 +02:00
Philipp Unger
03a0aee77c remove the remaining non ESM imports 2023-08-19 13:48:38 +02:00
Philipp Unger
a1461db80d export classes from panelManager.js 2023-08-19 13:48:38 +02:00
Philipp Unger
c9789f013c export path, uuid and use it 2023-08-19 13:48:38 +02:00
Philipp Unger
d634f0cdfd export settings and persistant storage 2023-08-19 13:48:38 +02:00
Philipp Unger
3cec4d7135 comment Signals.addSignalMethods for now 2023-08-19 13:48:38 +02:00
Philipp Unger
1dbad460e4 revert Signals import back 2023-08-19 13:48:38 +02:00
Philipp Unger
bc60959709 move all imports to the top 2023-08-19 13:48:38 +02:00
Philipp Unger
9c12d7908c migrate signals imports to new ESM format 2023-08-19 13:48:38 +02:00
Philipp Unger
1780bb1bff move Extension import to the top 2023-08-19 13:48:38 +02:00
Philipp Unger
950c1aaa4b fix imports with {} 2023-08-19 13:48:38 +02:00
Philipp Unger
33c07bf397 export default Extension class 2023-08-19 13:48:38 +02:00
Philipp Unger
b87ac15d66 migrate gi, ui and Me imports to new ESM format 2023-08-19 13:48:38 +02:00
Charles Gagnon
e69b50601a Drop convenience functions 2022-04-18 11:57:05 -04:00
Charles Gagnon
feb1a0fdfe Clear timeouts 2022-04-18 11:49:22 -04:00
Charles Gagnon
dd70324840 Drop imports.lang usage 2022-04-04 13:25:45 -04:00
Charles Gagnon
c1c30ce9fa Drop ES5 support 2022-04-01 23:02:47 -04:00
Philipp Unger
eec5ffe8bc use startInOverview flag 2021-09-06 20:42:42 +02:00
Philipp
a4224f4acc Update to Gnome 40 (#1303)
* 1

* renamed ui.viewSelector to ui.searchController

* add arrowIcon null check

* add object null check

* add _showAppsButton null check

* fixed _workspacesDisplay

* removed shadow-type properties

* removed packing from ui

* renamed margin_left/right to margin_start/end

* renamed GtkRadioButton to GtkToggleButton, removed draw_indicator and image_position

* removed xalign from buttons, stock -> icon_name, GtkFileChooserButton -> BtkButton (todo connect a GtkFileChooserNative), removed format-value (todo connect GtkScaleFormatValueFunc callback)

* removed events, relief

* comment arrowIcon.set_icon_name and _hbox.get_last_child out

* called gtk4-builder-tool simplify --3to4 on Settings.ui

* fix _workspaceDisplay

* revert Settings.ui back to old gtk3 version

* removed _builder.connect_signals_full and added a BuilderScope instead, use class specific add functions, removed show_all for widgets, updated margins* for GtkGrid

* add try catch aroung object.connect

* fixed _searchEntry path

* disabled _newUpdateWorkspacesViews temporarily, because it is very buggy right now

* fixed _searchEntry path (this time for real?)

* dialog.show_all() -> dialog.show(), widget.get_toplevel() -> widget.get_root(), fixed adjustScrollableHeight (no longer crashes, still does not work correctly)

* updated GtkGrid.attach calls

* added Gtk.FileChooserNative for show_applications_icon_file_filebutton

* added packing again to ui (commented) and also added layout row/column/width/height in exchange for top_attach/left_attach/colspan/rowspan

* renamed colspan/rowspan to column-span/row-span

* removed all packaing left_attach/top_attach

* updated adjustScrollableHeight so the dialog will have a reasonable size again

* limit shell-version to 40 since it is not backwards compatible right now

* called _updateBackgrounds in layoutManager ,fixed overview <-> _overview typo?

* pass Settings instead of Settings._settings to BuilderScope

* workaround for showAppsIcon (_showAppsButton seems to be no longer be available)

* replaced newlines in the ui file with the newline unicode symbol, so code block collapsing works peroperly

* moved the scrolled window directly into each notebook tab, so the tab headers are always visible

* fixed taskbarListBox children loops

* commented non working elements out (panel on left/right, import/export settings, update)

* renamed Settings to Preferences to avoid confusion with dconf settings object

* updated this.widget to this.notebook

* fixed dialogs size and expand

* fixed window preview options having too many columns

* removed all packing with expand/fill/position (already uncommented)

* removed menu arrows since they are no longer recommended for gnome40

* removed adjustScrollableHeight, default sizes are acceptable

* updated ui required version to gtk 4.0

* updated path to dash.showAppsButton

* fixes for showAppsButton

* fixed clickToExit

* fixed import/export settings

* added disable show overview on startup option

* removed old show apps animation

* fixed panel on left/right side

* fixed scroll on volume icon

no longer will scrolling on the volume icon switch workspaces as well

* commented some setFocusedMonitor support out, caused issues on Xorg

* removed oldDash

* updated hide overview on startup, no longer closes overview after suspend etc

* removed _newOverviewRelayout

* removed _newUpdateWorkspacesViews

* commented setFocusedMonitor out completly, because show overview on non primary monitor does not work properly for now

* fixed typo

* fixed merging error

* check if func is valid in hookVfunc

* updated ui to gtk4, fixed merging error

* fixed layout for apply changes to all monitors

* fix behaviour tab and app icon margin/padding grid

* fix animate launching new windows grid row

* fixed about tab

Co-authored-by: Cole Gerdemann <corvettecole@gmail.com>
2021-05-08 09:07:25 -04:00
Jason DeRose
58fa6edd92 Remove new version checker 2021-05-03 09:46:24 -04:00
Charles Gagnon
6eaab5ada0 Adjust latest for larger scale factors 2020-05-03 21:27:40 -04:00
Charles Gagnon
55e8dea70a Reuse system menus instead of recreating them 2020-04-18 17:36:39 -04:00
Charles Gagnon
696f30a5a6 Fix Ubuntu dock enable on 20.04 2020-04-17 17:14:24 -04:00
Charles Gagnon
8ee97ed089 Add conditional build to remove update mechanism 2019-10-28 23:59:13 -04:00
CharlesG
d64b7bd3d2 Remove update mechanism 2019-10-25 23:40:01 -04:00
Charles Gagnon
7e7c5eb3fd Use global settings in update module 2019-10-06 11:11:42 -04:00
Charles Gagnon
614ef9c68e Merge branch 'feature-update' 2019-09-22 22:32:32 -04:00
Charles Gagnon
e3061ab5c0 Adjust vertical clock for 12h format 2019-09-14 20:18:47 -04:00
Charles Gagnon
3aadb81c29 Globalize settings 2019-08-31 15:50:53 -04:00
Charles Gagnon
ea434b70b0 Add settings to allow version updates 2019-08-29 22:52:41 -04:00
Charles Gagnon
ca85785120 Add initial update mechanism 2019-08-28 22:07:02 -04:00
Charles Gagnon
a95160d399 Use ExtensionManager class on disable for 3.34 2019-08-02 14:43:14 -04:00
Charles Gagnon
bb1a5f6402 Use ExtensionManager class for 3.34 2019-07-27 19:18:55 -04:00
Charles Gagnon
3a40daaefd Fix global object missing signal when disabling Ubuntu Dock 2019-07-06 23:27:49 -04:00