projects
/
pspp
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5816109
)
psppire-output-view: Set tooltips on tables from table_item notes.
author
Ben Pfaff
<blp@cs.stanford.edu>
Sun, 27 Dec 2020 06:22:32 +0000
(22:22 -0800)
committer
Ben Pfaff
<blp@cs.stanford.edu>
Sun, 27 Dec 2020 06:22:32 +0000
(22:22 -0800)
src/ui/gui/psppire-output-view.c
patch
|
blob
|
history
diff --git
a/src/ui/gui/psppire-output-view.c
b/src/ui/gui/psppire-output-view.c
index 7e341797a185f4a6c84a2f6f739323581d1303ca..3e9151f6089944eedc733f6c10623417a1ce2f6d 100644
(file)
--- a/
src/ui/gui/psppire-output-view.c
+++ b/
src/ui/gui/psppire-output-view.c
@@
-361,6
+361,12
@@
rerender (struct psppire_output_view *view)
gtk_layout_move (view->output, item->drawing_area, xpos, view->y);
}
+ if (is_table_item (item->item))
+ {
+ const struct table_item *ti = to_table_item (item->item);
+ gtk_widget_set_tooltip_text (item->drawing_area, ti->notes);
+ }
+
{
gint minw;
gint minh;