Commit Graph

12 Commits

Author SHA1 Message Date
David Hewitt
e86a9518c2
Move screenshot shortcuts in-house (#1411) 2022-04-23 15:26:40 -07:00
Jeremy Wootten
f5a0463329 Fix lint errors in /daemon/MenuDaemon 2021-06-15 13:50:50 -06:00
José Expósito
1fa2d359a6
Desktop context menu: Do not show scroll (#1153)
Avoid showing scroll when the desktop context menu is displayed close to
the screen bottom edge.

This behavious was caused by the "push_in" param in the popup
GtkMenuPositionFunc callback:

> Note that moving and possibly resizing the menu around will alter the
> scroll position [...]. In practice, this behavior is only useful for
> combobox popups or option menus
https://developer.gnome.org/gtk3/stable/GtkMenu.html#GtkMenuPositionFunc

Fix #1146

Co-authored-by: Cassidy James Blaede <cassidy@elementary.io>
2021-06-14 10:39:00 -06:00
José Expósito
92bc6b8a1e
Fix #1074: Window menu says Unmaximize when tiled (#1087) 2021-03-29 13:39:11 +02:00
Daniel Foré
1f6889ffbd
MenuDaemon: re-order window menuitems (#1084) 2021-03-22 17:28:15 -06:00
José Expósito
ed77206168
Fix #955: Add Take Screenshot to the header context menu (#1068) 2021-03-05 07:48:28 +01:00
Julian Raschke
f1be427cc8
Rename 'Minimize' to 'Hide' (#953) 2020-11-03 12:34:59 -08:00
Lains
7de1313128
Desktop context menu (#879) 2020-07-20 21:36:05 +02:00
Daniel Foré
de0e1240f7
MenuDaemon: Add accel labels to menuitems (#679)
* MenuDaemon: Add accel labels to menuitems

* bump granite dep

* Update items, but only if visible

* Update gala.appdata.xml.in

* Update daemon/MenuDaemon.vala

Co-authored-by: Corentin Noël <corentin@elementary.io>
2020-01-15 07:06:13 -08:00
Keli Grubb
8444dd4119 Lint the daemon directory via vala-lint (#606) 2019-09-24 10:33:52 -07:00
Adam Bieńkowski
4459c5918e
Fix window menu sync (#532) 2019-05-11 13:12:15 +02:00
David Hewitt
1970bac81e Use separate daemon to display GTK window menus (#179)
* Use separate process to create window menus

* Reduce line count with code style changes

* Fix some formatting

* Code style fixes

* Prevent menu closing instantly after open

* Resolve warnings in new code

* Remove GLib namespace prefix from exceptions

* Update main.vala

* Remove timeout by positioning the menu outside of the mouse pos

* daemon: Use lambda as popup callback

* io.elementary.gala -> org.pantheon.gala

* org.pantheon.gala.daemon -> gala-daemon

* Clean up

* Fix daemon object path

* Some cleaning
2018-09-10 16:16:52 -06:00