Commit Graph

71 Commits

Author SHA1 Message Date
Charles Gagnon
0c02982ea8 Fix compatibility of the apps ungrouping with older gnome versions 2018-01-25 11:47:53 -05:00
Charles Gagnon
c42d9576ac Add a polyfill for the findIndex method 2018-01-24 11:07:20 -05:00
Charles Gagnon
027d9e86b1 Remove the animations when switching between isolated workspaces
Only when the application instances are ungrouped
2018-01-18 21:05:24 -05:00
Charles Gagnon
22464cccac Reduce the number of times the taskbar redisplays when isolating workspaces 2018-01-18 12:11:53 -05:00
Charles Gagnon
5507f2e39a Ensure the redisplay of the icons when there is no workspace isolation 2018-01-16 21:51:32 -05:00
Charles Gagnon
f7bf526a55 Add option to ungroup the application instances and show their window titles
New features
 - ungroup aplication instances, while keeping them grouped by application
 - when ungrouped, display the window titles and allow the customization of their font-size and width
 - when ungrouped, optionally have the favorite application icons serve as launchers
 - customize the focused application indicator's color and opacity

Bug fixes
 - fix icons not showing up immediately when lauching an application
 - fix message "g_signal_handler_disconnect: assertion 'handler_id > 0" occurring when destroying an icon
 - fix message "st_widget_get_theme_node called on the widget [# StIcon:last-child first-child] which is not in the stage." occurring after disabling the extension
 - fix message "[.../dash-to-panel@jderose9.github.com/windowPreview.js 1008]: reference to undefined property 0" occurring when restarting gnome-shell
 - fix message "[.../dash-to-panel@jderose9.github.com/taskbar.js 753]: reference to undefined property 0" occurring when restarting gnome-shell
2018-01-14 15:27:08 -05:00
jderose9
d74bbac119 Start with smallest icon size so indicator isn't drawn too wide. #85 2017-11-02 22:40:34 -04:00
Alexander Rüedlinger
977fe4f5f0 taskbar.js: Define some 'public' constants using 'var'
This commit fixes the following JS warnings:

```
Some code accessed the property 'DASH_ITEM_HOVER_TIMEOUT' on the module 'taskbar'.
That property was defined with 'let' or 'const' inside the module. This was
previously supported, but is not correct according to the ES6 standard. Any
symbols to be exported from a module must be defined with 'var'. The property
access will work as previously for the time being, but please fix your code anyway.
```

```
Some code accessed the property 'DASH_ANIMATION_TIME' on the module 'taskbar'.
That property was defined with 'let' or 'const' inside the module. This was
previously supported, but is not correct according to the ES6 standard.
Any symbols to be exported from a module must be defined with 'var'.
The property access will work as previously for the time being, but please fix
your code anyway.
```

Signed-off-by: Alexander Rüedlinger <a.rueedlinger@gmail.com>
2017-10-18 19:28:18 +02:00
Alexander Rüedlinger
9295bc829d taskbar.js: Define classes using 'var'
Signed-off-by: Alexander Rüedlinger <a.rueedlinger@gmail.com>
2017-10-18 18:30:13 +02:00
franglais125
8e96bc6a06 Window Previews: enable/disable in appIcons.js and taskbar.js. 2017-07-25 17:12:13 -04:00
jderose9
d55d491c14 Update taskbar display when favorites toggled 2017-07-04 11:01:55 -04:00
MartinPL
546bff1660 Backport hide favorite option 2017-06-27 11:07:57 +02:00
franglais125
6d6b37e2ee Use the new options for number overlay:
- NEVER
 - TEMPORARILY
 - AWLAYS
2017-05-26 20:14:03 -04:00
jderose9
b441522a1e draw running indicator when new application opened 2017-05-21 22:05:37 -04:00
jderose9
e3a681d201 Revert "make all running indicator changes during repaint"
This reverts commit d1238f1807.
2017-05-21 21:57:23 -04:00
jderose9
d1238f1807 make all running indicator changes during repaint 2017-05-21 21:43:38 -04:00
jderose9
afb92f9c13 sync up active page even when animation disabled
Fixes #40
2017-03-19 17:54:18 -04:00
jderose9
7ae3c4e75c Right click ShowApps opens menu w/ settings access
Closes #50
2017-03-04 15:25:16 -05:00
jderose9
55562b54b9 Refactor AppIcon subclasses into separate file
taskbar.js was getting unwieldy and this will more closely align with dash-to-dock
2017-03-04 14:04:07 -05:00
jderose9
5ea993f3f3 Open Overview when dragging file over panel
For #46
2017-02-28 19:26:05 -05:00
jderose9
b0bf330219 Merge appMenu into right click secondary menu
For #2
2017-02-24 21:10:08 -05:00
jderose9
6c5a84c64b Allow different colors for focused app's indicator 2017-02-22 16:57:53 -05:00
jderose9
809a0b7536 Match cycle window behavior to dash-to-dock
Fixes #53
2017-02-22 16:55:59 -05:00
jderose9
efe8bc5c45 Provide default indicator color for themes without 2017-02-21 00:26:42 -05:00
jderose9
2a73bab01d Tweak spacing/margins for indicator and highlights 2017-02-21 00:10:04 -05:00
jderose9
5c39163326 unscale css sizes for hidpi 2017-02-20 22:47:32 -05:00
jderose9
2b31d32ffa Scale dot size for HiDPI 2017-02-20 22:42:11 -05:00
jderose9
f5cd4acc0e rename indicator style and images 2017-02-20 22:30:08 -05:00
jderose9
ffae4dcda9 Add several indicator types and fix animation 2017-02-20 21:51:03 -05:00
jderose9
c549cd087c Start redo indicator draw to support many styles 2017-02-19 23:49:02 -05:00
jderose9
28b1c131d4 get out of the way of custom themes 2017-02-19 09:19:35 -05:00
jderose9
45e04abe9d Allow multiple dot colors to be configured
Depends on number of running application windows
2017-02-19 08:17:15 -05:00
jderose9
1312cefd92 Respect animate app switch config setting 2017-02-18 20:56:23 -05:00
jderose9
9d54b9005d Wire up remaining indicator config settings 2017-02-18 17:22:05 -05:00
jderose9
e8c1892665 Configurable focus highlighting 2017-02-18 00:42:41 -05:00
jderose9
c431d46103 configurable running indicator size 2017-02-18 00:25:42 -05:00
jderose9
2b28197363 Allow disabling of window launch animation 2017-02-17 23:52:39 -05:00
jderose9
530a9e30e9 Settings UI additions for indicator and animations 2017-02-17 22:11:16 -05:00
jderose9
4a2af27d53 fix graphical glitches and unnecessary animations 2017-02-17 13:25:01 -05:00
jderose9
887bce8110 Add highlight for focused application icon 2017-02-17 13:25:01 -05:00
franglais125
5eee608ebc Implement overlay numbers for the hotkeys.
* The user can configure the shortcut and delay
2017-02-14 20:37:57 -05:00
jderose9
6c867fb97d Another tweak to fix slim chance of stuck grabs 2017-02-11 07:44:36 -05:00
jderose9
8f3bc6aa09 remove debugging log 2017-02-08 18:08:23 -05:00
jderose9
6fe65f64d4 Fix preview closing when on top of focused dialog 2017-02-08 18:06:44 -05:00
jderose9
5d7f798e4a Stop scrolling task icons vertically. Fixes #18 2017-02-08 17:34:19 -05:00
jderose9
ccee4464ec Cancel timers rather than using flags
Previously using flags in the event handlers to decide whether they should handle the timeout event, rather than just cancelling the timeout.
2017-02-06 22:23:24 -05:00
jderose9
e3435275bb Delay window previews on hover for #26 2017-02-06 18:03:42 -05:00
jderose9
3a346513fa Merge branch 'hoverfix' into dev 2017-01-23 17:31:55 -05:00
Jason
4b7a071bd2 0px app icon margin fixed. Closes #28. 2017-01-17 14:29:37 -05:00
jderose9
966ebdc74a Merge branch 'dev' into hoverfix 2017-01-12 09:26:00 -05:00