image-page: Align popover after click position
Set "halign" proprty of context menu popover to "start" to appear next to click point. This only works correctly in RTL after gtk 4.11.3, by gtk@d329b00b Part-of: <https://gitlab.gnome.org/GNOME/Incubator/loupe/-/merge_requests/247>
This commit is contained in:
parent
33b4928c72
commit
45083720a3
2 changed files with 2 additions and 1 deletions
|
|
@ -88,6 +88,7 @@
|
||||||
</child>
|
</child>
|
||||||
<child>
|
<child>
|
||||||
<object class="GtkPopoverMenu" id="popover">
|
<object class="GtkPopoverMenu" id="popover">
|
||||||
|
<property name="halign">start</property>
|
||||||
<property name="has-arrow">False</property>
|
<property name="has-arrow">False</property>
|
||||||
<property name="menu-model">image_menu</property>
|
<property name="menu-model">image_menu</property>
|
||||||
<child type="rotate-left">
|
<child type="rotate-left">
|
||||||
|
|
|
||||||
|
|
@ -8,7 +8,7 @@ project('loupe', 'rust',
|
||||||
i18n = import('i18n')
|
i18n = import('i18n')
|
||||||
gnome = import('gnome')
|
gnome = import('gnome')
|
||||||
|
|
||||||
dependency('gtk4', version: '>=4.11.2')
|
dependency('gtk4', version: '>=4.11.3')
|
||||||
dependency('libadwaita-1', version: '>=1.3.99')
|
dependency('libadwaita-1', version: '>=1.3.99')
|
||||||
dependency('gweather4', version: '>=4.0.0')
|
dependency('gweather4', version: '>=4.0.0')
|
||||||
dependency('libheif', version: '>=1.14.2')
|
dependency('libheif', version: '>=1.14.2')
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue