[gnome-builder] editor: show tooltips for open files
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-builder] editor: show tooltips for open files
- Date: Sat, 27 Jun 2020 20:02:58 +0000 (UTC)
commit c6a05bfdb4973f8f2659a7d67d304c7c53120b64
Author: Diego Escalante Urrelo <diegoe gnome org>
Date: Sat Jun 27 01:57:05 2020 -0500
editor: show tooltips for open files
This imitates the behavior of `IdeTree`, and helps distinguish many
similar files from each other without resizing the sidebar.
src/libide/editor/ide-editor-sidebar.c | 1 +
1 file changed, 1 insertion(+)
---
diff --git a/src/libide/editor/ide-editor-sidebar.c b/src/libide/editor/ide-editor-sidebar.c
index 6aec4e1b1..c0244c609 100644
--- a/src/libide/editor/ide-editor-sidebar.c
+++ b/src/libide/editor/ide-editor-sidebar.c
@@ -493,6 +493,7 @@ create_open_page_row (gpointer item,
"xalign", 0.0f,
NULL);
g_object_bind_property (view, "title", label, "label", G_BINDING_SYNC_CREATE);
+ g_object_bind_property (view, "title", label, "tooltip-text", G_BINDING_SYNC_CREATE);
g_object_bind_property_full (view, "modified", label, "attributes",
G_BINDING_SYNC_CREATE,
modified_to_attrs, NULL, NULL, NULL);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]