Commit Graph

165 Commits

Author SHA1 Message Date
Charles Gagnon
d04104ff8a Format code 2025-01-31 11:49:22 -05:00
Charles Gagnon
4d61b95c83 Stop re-enabling ubuntu dock 2025-01-26 14:29:59 -05:00
Charles Gagnon
002b96652c Update overview workarea on monitor focus change
#2183
2025-01-19 13:40:05 -05:00
Charles Gagnon
504ede4cbc Remove dash if ubuntu dock is enabled after dtp
closes #2202
2024-10-19 19:14:48 -04:00
Charles Gagnon
12675269a8 Fix added panel menu button detection 2024-04-03 21:01:02 -04:00
Philipp Unger
382eca0b51 replace layout display property with backend property
patch from @darkblaze69
2024-02-23 20:36:04 +01:00
Philipp Unger
0b2f6d3a5d apply patch from @darkblaze69 2024-02-03 20:19:22 +01:00
Charles Gagnon
b9541861e9 45 review 2023-09-23 07:09:34 -04:00
Andy Holmes
f68e860d43 refactor: remove unused imports 2023-09-21 19:22:28 -07:00
Andy Holmes
fd8022b49b refactor: replace export var with export const 2023-09-21 19:22:24 -07:00
Philipp Unger
fe83d4d36a fix SHELL_KEYBINDINGS_SCHEMA import 2023-08-20 02:58:36 +02:00
Philipp Unger
ef733f33f5 export panelBoxes and fix its import 2023-08-19 14:21:21 +02:00
Philipp Unger
03a0aee77c remove the remaining non ESM imports 2023-08-19 13:48:38 +02:00
Philipp Unger
8a987a4ec2 export overview class 2023-08-19 13:48:38 +02:00
Philipp Unger
32021f825e export classes in panel.js 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
84159f5df9 use exported settings 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
950c1aaa4b fix imports with {} 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
49bf83d1b4 Reverse draw coords for vertical panel barriers 2022-12-19 20:29:40 -05:00
Charles Gagnon
ab0260d9ee Fix vertical panel barriers direction
#1805
2022-12-19 18:26:14 -05:00
Charles Gagnon
4a6f3b3ef7 Include quicksettings in panel button detection 2022-11-30 12:24:56 -05:00
Charles Gagnon
2c982a82bc Prevent overview disable if no monitor 2022-09-29 16:48:48 -04:00
Charles Gagnon
32adc7401f Prevent monitor focus initialization if no monitor 2022-09-29 07:07:37 -04:00
Charles Gagnon
d0d655c163 Prevent main panel creation if no monitor 2022-09-19 09:25:21 -04:00
Charles Gagnon
ca52156642 Fix search entry results on secondary monitors 2022-06-21 15:12:21 -04:00
Charles Gagnon
b067a7336e Always update primary panel monitor index 2022-05-25 08:58:57 -04:00
Charles Gagnon
9e9d761342 gi.Adw is always defined in fillPreferencesWindow 2022-04-27 21:26:30 -04:00
Charles Gagnon
6813dd62a0 Adjust Desktop Icons NG 2022-04-24 09:48:57 -04:00
Sergio Costas
b0c9cb924d Desktop Icons NG integration
This MR integrates Dash to Panel with Desktop Icons NG, allowing
DING to know how many pixels does the panel occupy even when in
intellihide mode.
2022-04-22 12:15:20 +02:00
Charles Gagnon
498dc3cc98 Start removing legacy code 2022-04-13 22:29:57 -04:00
Charles Gagnon
dab9820132 Rely on overview allocation, enough with the ghosts 2022-04-09 12:03:46 -04:00
Charles Gagnon
d9e701649d Remove deprecated getShowAppsButton hookup 2022-04-07 16:38:44 -04:00
Charles Gagnon
59390071aa Fix jumping appgrid when no dash is present 2022-04-06 18:04:27 -04:00
Charles Gagnon
12e474f690 Restore appgrid drag animations, old stuff cleanup 2022-04-06 14:56:51 -04:00
Charles Gagnon
6a9a13c506 Reuse same monitor as primary if not GS primary 2022-04-06 13:51:55 -04:00
Charles Gagnon
669781996b Persist primary monitor settings on monitors change 2022-04-06 11:24:55 -04:00
Charles Gagnon
774403f7b7 Fix some more classic GJS/GS weirdness 2022-04-05 18:22:13 -04:00
Charles Gagnon
aa14940705 Drop relayout as the cover pane now uses whole stage 2022-04-05 17:58:47 -04:00
Charles Gagnon
dd70324840 Drop imports.lang usage 2022-04-04 13:25:45 -04:00
Charles Gagnon
55774fb229 Restore opening overview on secondary monitors 2022-04-02 13:17:05 -04:00
Charles Gagnon
c1c30ce9fa Drop ES5 support 2022-04-01 23:02:47 -04:00
Philipp Unger
b7c6780320 added patches from crab2313 2022-03-16 20:25:30 +01:00
Jason DeRose
6e50948a8f Allow panel style override property to be deleted on disable 2021-06-19 19:56:03 -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
Kyrill Zorin
39617455d8 Fix panel disappearing after screen unlock 2021-06-08 22:34:35 -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
Jason DeRose
1e46333210 syntax fixes for older GS versions 2021-05-04 21:11:36 -04:00
Jason DeRose
6a76c9e914 TaskbarItemContainer use custom allocation #1318 2021-05-04 10:03:35 -04:00