[gnome-builder/wip/exalm/terminals: 2/2] terminal: Fix context menu alignment
- From: Alexander Mikhaylenko <alexm src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-builder/wip/exalm/terminals: 2/2] terminal: Fix context menu alignment
- Date: Tue, 26 Jul 2022 10:54:34 +0000 (UTC)
commit c16a5a9db50e141512a22e37e95268dabc2da647
Author: Alexander Mikhaylenko <alexm gnome org>
Date: Tue Jul 26 14:54:14 2022 +0400
terminal: Fix context menu alignment
src/libide/terminal/ide-terminal.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/src/libide/terminal/ide-terminal.c b/src/libide/terminal/ide-terminal.c
index 2c52e5c44..44e09041f 100644
--- a/src/libide/terminal/ide-terminal.c
+++ b/src/libide/terminal/ide-terminal.c
@@ -237,7 +237,7 @@ ide_terminal_popup (IdeTerminal *self,
priv->popover = GTK_POPOVER (gtk_popover_menu_new_from_model (G_MENU_MODEL (menu)));
gtk_popover_set_has_arrow (priv->popover, FALSE);
- gtk_widget_set_parent (GTK_WIDGET (priv->popover), GTK_WIDGET (self));
+ gtk_widget_set_halign (GTK_WIDGET (priv->popover), GTK_ALIGN_END);
g_signal_connect_object (priv->popover,
"closed",
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]