gui/event-popover: Show at the top

Seems slightly less worse than showing at the sides of the event.

Related: https://gitlab.gnome.org/GNOME/gnome-calendar/-/issues/1006
This commit is contained in:
Georges Basile Stavracas Neto
2023-10-18 15:51:32 -03:00
parent 4fb2cd87b0
commit ab714d6f39
2 changed files with 1 additions and 5 deletions
-5
View File
@@ -709,11 +709,6 @@ static void
gcal_event_popover_init (GcalEventPopover *self)
{
gtk_widget_init_template (GTK_WIDGET (self));
if (gtk_widget_get_direction (GTK_WIDGET (self)) == GTK_TEXT_DIR_RTL)
gtk_popover_set_position (GTK_POPOVER (self), GTK_POS_LEFT);
else
gtk_popover_set_position (GTK_POPOVER (self), GTK_POS_RIGHT);
}
GtkWidget*
+1
View File
@@ -2,6 +2,7 @@
<interface>
<template class="GcalEventPopover" parent="GtkPopover">
<property name="default-widget">edit_button</property>
<property name="position">top</property>
<style>
<class name="event-popover" />