Commit Graph

70 Commits

Author SHA1 Message Date
Charles Gagnon
c1c30ce9fa Drop ES5 support 2022-04-01 23:02:47 -04:00
Philipp Unger
ce49cfca5e update a gnome version check to work with final gnome 42 2022-03-23 13:42:07 +01:00
Philipp Unger
60f0a90165 include API change for _getAppDisplayBoxForState in gnome 42.rc 2022-03-19 01:29:57 +01:00
Charles Gagnon
81af73b239 Fix 40.4 appgrid 2021-08-18 09:17:46 -04:00
Jason DeRose
35081df201 Override style setter for main panel to keep GS from blowing away styles #1333 2021-06-18 22:47:30 -04:00
Jason DeRose
258083f3e3 Stop removing transparency styles when overview is hidden #1333 2021-06-12 17:38:29 -04:00
Jason DeRose
88cb4266cb fix missing WorkspaceThumbnail import #1350 2021-06-10 17:48:13 -04:00
Jason DeRose
2a8b2ffec5 fix scaled overview shrinking after a period of time 2021-06-09 01:00:17 -04:00
Jason DeRose
e1858d3162 Cleanup module export warnings 2021-06-08 22:30:35 -04:00
Jason DeRose
ec4e0784ae Handle overview allocation for dtp in different positions. Fixes #1338, #1326, #1327 2021-06-08 22:20:42 -04: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
l3nn4rt
a7620fc2cd Preserve backward compatibility 2020-10-06 15:17:51 +02:00
l3nn4rt
13c625a053 One-liner find visible view 2020-10-06 01:11:18 +02:00
l3nn4rt
fa6e02c78c Fix #1172: switch workspace on thumbnail clicked
If you click a thumbnailed window within a workspace preview, the shell
behaves as expected; if you click a thumbnailed background, the overview
is closed.

Fix it by activating the workspace whose the picked actor is the
thumbnailed background.
2020-10-06 00:12:18 +02:00
l3nn4rt
ecdd7dbbed Fix #1184: handle swipes properly 2020-09-23 18:44:16 +02:00
Charles Gagnon
094e70325b Add initial 3.38 adjustments 2020-08-22 10:18:31 -04:00
Jason DeRose
e899ee1f5e add frequent app view to swipe tracking 2020-08-19 08:31:33 -04:00
l3nn4rt
b8a2bea914 Fix workspace navigation when dragging overview 2020-08-16 23:18:11 +02:00
Jason DeRose
ad833b1bb8 fix click to exit on favorite app view GS 3.34 2020-08-07 21:58:16 -04:00
l3nn4rt
7e39ff220e add overview click-to-exit to frequent apps view 2020-08-06 01:36:37 +02:00
Charles Gagnon
8230036c53 Use older g-s overview containers 2020-08-03 07:27:19 -04:00
Jason DeRose
01807c168d finish overview click-to-exit feature 2020-08-02 17:52:57 -04:00
Jason DeRose
2b5f7408ea Exit overview when clicking whitespace 2020-07-31 20:41:46 -04:00
Charles Gagnon
1595405927 Allow changing focused app with hotkeyed previews 2020-07-02 08:57:16 -04:00
Charles Gagnon
f30ad4dae9 Fix changed name of Clutter key constant, really?! 2020-06-22 14:07:34 -04:00
CharlesG
7fcf299e83 Use default gnome-shell icon size in overview 2020-03-10 13:23:06 -04:00
Charles Gagnon
774ce941b6 Consider modifiers before showing preview on hotkey 2019-12-20 10:32:01 -05:00
Charles Gagnon
ed3c3e072e Adjust for gnome-shell 3.35.2 breaking changes 2019-12-16 22:10:05 -05:00
Charles Gagnon
e44cd94fdd Ensure one window for activation 2019-10-29 17:25:48 -04:00
Charles Gagnon
c65eb7d4a1 Add number keys selection for the hotkeys 2019-09-08 10:06:32 -04:00
Charles Gagnon
3aadb81c29 Globalize settings 2019-08-31 15:50:53 -04:00
Charles Gagnon
c5ddbd8139 Fix workspace isolation signals 2019-08-12 12:21:28 -04:00
Charles Gagnon
1d1a5ce85a Add window peek 2019-05-22 08:36:47 -04:00
Charles Gagnon
8c65333e36 Adjust show preview on hotkey 2019-05-20 14:12:19 -04:00
Charles Gagnon
b3aecfce1d Fix hotkeys overlay used before intellihide initialization 2019-03-17 15:08:20 -04:00
Charles Gagnon
f2248010dd Give focus to the window selected via hotkey 2019-03-17 13:44:29 -04:00
Charles Gagnon
d43ddec7b2 Disable gnome-shell application hotkeys on 3.32 2019-03-17 00:08:07 -04:00
Charles Gagnon
b8832c1ed3 Fix hotkeys prop on 3.32 class definition 2019-03-16 09:28:00 -04:00
Charles Gagnon
8ae941ba8b Add es6 class support for 3.32 2019-02-12 21:49:20 -05:00
jderose9
9676c01cdb don't show number overlay when settings open if overlay is off 2019-01-03 10:11:14 -05:00
Charles Gagnon
c15c68f1a3 Handle multi-monitor workspace switch when isolated and spans display 2018-11-01 08:35:36 -04:00
Charles Gagnon
5c1d0c6a4b Fix duplicate dash removal on ubuntu enable 2018-10-28 20:26:09 -04:00
Charles Gagnon
cf83b8af2e Fix removal of the dash on ubuntu enable 2018-10-28 18:18:52 -04:00
Charles Gagnon
aa5f7a47e2 Add a setting to keep stock gnome-shell dash in overview 2018-10-28 12:06:20 -04:00
Charles Gagnon
767641bb9f Add a setting to show previews on hotkey 2018-10-27 01:19:50 -04:00
Charles Gagnon
9d2232303f Sync panel reveal from hotkeys overlay and intellihide shortcut 2018-10-25 12:01:53 -04:00
Charles Gagnon
e75292a4d3 Disconnect setting signals 2018-10-06 10:26:16 -04:00
Charles Gagnon
b945354788 Assign overlay numbers to apps instead of windows when ungrouped 2018-10-02 14:15:36 -04:00
Jason DeRose
6206195074 Wrap old global.screen acess to support both 3.30 and earlier APIs
Use strategy/code presented by 3v1n0 in dash-to-dock 8398d41c6c122e654daec8c1bf5615c918f99f15
2018-08-02 12:18:42 -04:00
Jason DeRose
10c11310b5 Move non-dependencies of prefs window from convenience.js into utils.js
Fixes issue with settings panel freezing when opened 2nd time. Maintains similar file structure with Dash-to-Dock following commit 9350417f090ac2a3a253551e6629d634a28a6b2a
2018-08-02 11:58:25 -04:00