[gnome-builder] tree: adjust position for adwaita menus
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-builder] tree: adjust position for adwaita menus
- Date: Mon, 31 Oct 2016 00:17:22 +0000 (UTC)
commit ace923c14b8eaa4709a7521f5eb276563152ac9d
Author: Christian Hergert <chergert redhat com>
Date: Sun Oct 30 17:16:32 2016 -0700
tree: adjust position for adwaita menus
This needs to move in the opposite direction to align the row with the
Adwaita top border positioning.
libide/tree/ide-tree.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/libide/tree/ide-tree.c b/libide/tree/ide-tree.c
index 890e2d9..a227e85 100644
--- a/libide/tree/ide-tree.c
+++ b/libide/tree/ide-tree.c
@@ -234,7 +234,7 @@ ide_tree_popup (IdeTree *self,
g_object_set (G_OBJECT (menu_widget),
"rect-anchor-dx", target_x - 12,
- "rect-anchor-dy", target_y + 3,
+ "rect-anchor-dy", target_y - 3,
NULL);
gtk_menu_popup_at_widget (GTK_MENU (menu_widget),
GTK_WIDGET (self),
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]