Commit Graph

46 Commits

Author SHA1 Message Date
Dominik 'Rathann' Mierzejewski
e42a89a588 Makefile: support system-wide installation.
System-wide installation should install locale/ and gsettings schema in
system directory. This enables override supports, locale stripping and
not shipping pre-compiled schema file.

Cherry-picked-from: micheleg/dash-to-dock@4dd565dad9
2025-03-31 21:43:30 +02:00
Charles Gagnon
55ccb19a8d Add extension update notification 2025-02-19 16:09:29 -05:00
Yevhen Popok
8ea9827477 Makefile: Fix potfile generation
Sets the correct paths to JS files, as previously `make potfile` failed with error.

> make: *** No rule to make target 'prefs.js', needed by 'po/dash-to-panel.pot'.  Stop.
2025-02-12 23:24:13 +02:00
Charles Gagnon
3ad50642d4 Move js files to src directory 2025-01-31 12:23:26 -05:00
Hirnmoder
2feedbf236 Merge branch 'master' of https://github.com/home-sweet-gnome/dash-to-panel into beautify 2025-01-31 07:50:50 +01:00
Charles Gagnon
ac9c2b4b06 Add context menu to donation icon 2025-01-30 14:22:32 -05:00
Charles Gagnon
2dc7d1dc5b Add donation settings page 2025-01-29 16:56:08 -05:00
Hirnmoder
56e1cfb542 Beautify DTP - Update missing file reference in Makefile 2024-10-28 07:53:12 +01:00
Charles Gagnon
d085d120c6 Remove temp .h translation files 2023-02-09 13:34:34 -05:00
Charles Gagnon
cc5b9f0703 Remove settings.ui from extra modules 2023-02-08 11:54:38 -05:00
Charles Gagnon
8cc506634a Adjust makefile for UI translations 2023-02-08 08:37:49 -05:00
Philipp Unger
212ca61752 add new ui files to Makefile 2022-04-28 23:28:19 +02: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
e69b50601a Drop convenience functions 2022-04-18 11:57:05 -04:00
vantu5z
5f93239c20 fix makefile
- generate POT file with non asci symbols (use UTF-8)
 - change newline symbol in pot file (by sed)
2021-08-31 10:03:36 +03:00
Jason DeRose
58fa6edd92 Remove new version checker 2021-05-03 09:46:24 -04: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
Charles Gagnon
e79d0da8c9 Add new panel positioning options 2020-05-12 19:00:51 -04:00
Jason DeRose
24767fd07f Append target to make zip-file output 2020-03-08 12:29:23 -04:00
Jason DeRose
bf213af4c2 Initial implementation of dbus progress and badge counts 2020-02-03 08:46:39 -05: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
92ee3ad157 Include update.js in files to localize 2019-10-10 14:48:42 -04:00
Charles Gagnon
614ef9c68e Merge branch 'feature-update' 2019-09-22 22:32:32 -04:00
Charles Gagnon
baa2c121f3 Restore 4px side padding on horizontal panel 2019-09-18 00:10:35 -04:00
Charles Gagnon
80d6986cd9 Adjust stacked bg for left/right indicators 2019-09-13 11:33:59 -04:00
Charles Gagnon
ca85785120 Add initial update mechanism 2019-08-28 22:07:02 -04:00
Charles Gagnon
ec597a295f Add dynamic transparency and panel opacity/color options 2018-10-14 13:36:02 -04:00
Charles Gagnon
563ede8135 Extract proximity detection from intellihide 2018-10-12 23:58:31 -04:00
jderose9
7b94dd7247 Start of multi-monitor implementation 2018-09-13 19:46:09 -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
CharlesG
e1f05880b3 Add intellihide feature 2018-03-14 12:15:41 -06:00
jderose9
223d015251 Default version to 9999 in case of shallow clone so update notifications are never shown #319 2018-02-01 22:45:52 -05:00
jderose9
c629456166 pull latest version from tag in github when building #286 2018-01-26 21:46:49 -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
franglais125
dbebbb135a Add Spanish translation
- Add appIcons.js as a file to localize
2017-03-20 23:45:02 -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
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
887bce8110 Add highlight for focused application icon 2017-02-17 13:25:01 -05:00
jderose9
56d838f4cf Allow for padding leftbox, tray, and status icons 2017-01-03 18:01:33 -05:00
jderose9
a98b3638fb Pull in workspace isolation and hide dash from d2d 2017-01-02 20:46:35 -05:00
jderose9
ad2e7ba32e refactor panel management into its own class 2016-12-30 08:10:48 -05:00
jderose9
ad45f1003b Rename "OneBar" to "dash-to-panel" 2016-12-30 08:10:48 -05:00
jderose9
2529448e8a Allow panel size and position adjustment 2016-12-30 08:10:48 -05:00