Commit Graph

207 Commits

Author SHA1 Message Date
Charles Gagnon
421dbb825a Fix show running apps 2022-04-22 08:58:27 -04:00
Charles Gagnon
2b30561a44 Fix proximity detection with DING wayland window 2022-04-19 09:31:37 -04:00
Charles Gagnon
feb1a0fdfe Clear timeouts 2022-04-18 11:49:22 -04:00
Charles Gagnon
68b2be37fc Fix right click headerbar toggles overview on 41.5
fixes #1629
2022-04-16 22:49:58 -04:00
Charles Gagnon
498dc3cc98 Start removing legacy code 2022-04-13 22:29:57 -04:00
Charles Gagnon
d5ee1362cb Allow separation of apps on panels not showing favorites 2022-04-12 22:30:48 -04:00
Charles Gagnon
ebeba208b5 Revert to fixed label size, but don't alter during alloc
Fix jumpy ungrouped app icons
2022-04-11 12:14:16 -04:00
Charles Gagnon
00e88199a2 Allow separation of application if using launchers
fixes #676
2022-04-10 16:50:58 -04:00
Charles Gagnon
79f54a6fba Fix appicon label needs an allocation warnings 2022-04-08 12:30:57 -04:00
Charles Gagnon
5203e59713 Include intellihide translation in appicon hover animations 2022-04-05 13:30:54 -04:00
Charles Gagnon
dd70324840 Drop imports.lang usage 2022-04-04 13:25:45 -04:00
Charles Gagnon
5c9a29e7ed Adjust intellihide grab check for GS 42 2022-04-04 12:08:21 -04:00
Charles Gagnon
c1c30ce9fa Drop ES5 support 2022-04-01 23:02:47 -04:00
Philipp Unger
0148daa49e remove some spring animation code, no longer available in gnome 42 and not used since gnome 40 2022-03-23 13:45:18 +01:00
Philipp Unger
b7c6780320 added patches from crab2313 2022-03-16 20:25:30 +01:00
Jason DeRose
e1858d3162 Cleanup module export warnings 2021-06-08 22:30: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
6a76c9e914 TaskbarItemContainer use custom allocation #1318 2021-05-04 10:03:35 -04:00
Jason DeRose
7d9bd1d743 Merge branch 'master' into hide-on-dnd 2021-05-02 20:30:04 -04:00
Jason DeRose
d1dab2919b Merge branch 'appicon-raising' of https://github.com/abakkk/dash-to-panel into abakkk-appicon-raising 2021-05-02 12:54:39 -04:00
Jason DeRose
01ce67fe50 Merge branch 'master' into master 2021-05-02 07:44:40 -04:00
Jason DeRose
5ab9b8219a Merge pull request #1114 from marksvc/panel-length
Display panel along percent of screen edge
2021-05-02 06:58:13 -04:00
abakkk
f35717a2c3 Implement animate-appicon-hover settings
The taskbar controls the animations by listening:
* appIcon 'notify::hover' and 'menu-state-changed' signals.
* scrollView 'motion-event' and 'leave-event' signals (ripple and plank animations).

The animations are processed in a new TaskbarItemContainer (that extends DashItemContainer).
Vertical animations are done with a Clutter clone because the appIcon actor cannot go outside the taskbar.
Horizontal animations (plank) are directly applied to the taskbarItemContainer.

AppIcon._onAnimateAppiconHoverChanged removes icon backgrounds when animations are enabled. It also increases the size of the icon texture in order to prevent it from being ugly when it is scaled.
2021-02-20 13:47:55 +01:00
Charles Gagnon
ec13897509 Only use showing overview signal on g-s > 3.38.1 2021-01-02 18:03:28 -05:00
Charles Gagnon
5c502bcfd1 Force appicons update on drag end 2020-12-31 12:38:59 -05:00
Charles Gagnon
180b436ea1 Fix 3.38 'needs an allocation' warning 2020-12-30 08:06:31 -05:00
Charles Gagnon
270cb89f95 Fix 3.38.2 spring animation 2020-12-29 22:11:18 -05:00
Artyom Zorin
f1aa64cb0d Animate app icons when urgent property is set 2020-12-18 23:42:26 +00:00
MarkS
a57058661a Configure panel thickness, length, and anchor per-monitor
Settings.ui:
- Move thickness, length, and anchor from Style tab to Position tab.
Group together with position in the same frame.

schema:
- Remove unpublished panel-length and panel-anchor settings, replacing
them with panel-lengths and panel-anchors JSON objects (like
panel-positions).
- Remove unpublished anchor enum, since panel-anchors is being managed
by the extension in JSON, not typed by the schema.
- Deprecate panel-size in favour of new panel-sizes JSON, storing
per-monitor panel sizes.
- Mention that panel-position is deprecated.

Introduce panelSettings.js:
- Functions to fetch or set panel settings that are stored as JSON.
Grown from now-removed getSettingsPositions() in panelPositions.js.

prefs.js:
- Group together the different UI widget label and value refreshing
into method _updateWidgetSettingsForMonitor().
- Change multi-panel behaviour of _setAnchorLabels(). Previously, all
panels shared the same anchor setting, and so setAnchorLabels
considered all monitors. Now, panels are configured either
independently, or sometimes all together; set labels according to
orientation(s) of panel(s) being configured.
- Omitting preventTop handling in refactored _setPanelPosition()
method. Previously, it was written to set the first monitor's panel to
Pos.BOTTOM if the user clicked the Top position radio button, if
stockgs-keep-top-panel was also set. But the user can't activate the
Top button anyway if stockgs is set (likely implemented later).

panelManager.js:
- Removing panelPositions, as it is not needed any more.
2020-10-27 20:38:37 -06:00
Marco Melorio
9790e3f7d9 Hide appIcon in the taskbar when in dnd 2020-10-03 16:29:07 +02:00
Marco Melorio
0c5cfe829d Fix dnd from the applications view to the taskbar 2020-10-02 17:25:38 +02:00
Charles Gagnon
01e3645f8f Remove show applications button from dnd 2020-10-02 08:36:02 -04:00
Charles Gagnon
094e70325b Add initial 3.38 adjustments 2020-08-22 10:18:31 -04:00
Charles Gagnon
c793632b56 Delete obsolete show-show-apps-button setting 2020-08-09 13:01:09 -04:00
Charles Gagnon
20f66a5a5f Use per panel positioning 2020-06-13 09:26:40 -04:00
Charles Gagnon
5ee26b2c32 Change focused monitor on activities button click 2020-05-27 22:02:04 -04:00
Charles Gagnon
a909283aa6 Adjust scrollview size on taskbar enable 2020-05-17 08:26:49 -04:00
Charles Gagnon
e79d0da8c9 Add new panel positioning options 2020-05-12 19:00:51 -04:00
Charles Gagnon
0013f5154f Add option to keep gnome-shell top panel 2020-05-02 12:57:21 -04:00
Charles Gagnon
f8560cd190 Use taskbar property to indicate a full scrollview 2020-05-01 19:24:26 -04:00
Charles Gagnon
ff923c75d9 Use signalshandler for adjustment signal 2020-05-01 18:56:26 -04:00
Charles Gagnon
d878987d48 Add option to override escape key for Show Applications 2020-05-01 17:40:55 -04:00
Charles Gagnon
602f5cf693 Use fixed label widths if possible when apps are ungrouped 2020-05-01 16:46:04 -04:00
Charles Gagnon
50edcc7e86 Fix open-application-menu keyboard shortcut 2020-04-26 21:35:34 -04:00
Charles Gagnon
46b65faf71 Use Clutter implicit animations if available 2020-04-19 12:13:09 -04:00
CharlesG
0058f8c30f Update transparency on geometry reset 2020-04-13 12:53:48 -04:00
Charles Gagnon
3c294ec3e2 Fix 3.36 grid icon positions 2020-04-07 17:04:03 -04:00
Charles Gagnon
cde4782e43 Fix 3.36 grid initial icon positions on secondary monitors 2020-03-22 15:41:29 -04:00
CharlesG
e7e658dd71 Fix badge numbers on 3.36 2020-03-15 22:29:35 -04:00
CharlesG
7fcf299e83 Use default gnome-shell icon size in overview 2020-03-10 13:23:06 -04:00