aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/interface-gtk/interface-gtk.h
diff options
context:
space:
mode:
authorRobin Haberkorn <robin.haberkorn@googlemail.com>2016-02-02 03:54:53 +0100
committerRobin Haberkorn <robin.haberkorn@googlemail.com>2016-02-02 04:05:46 +0100
commitac3d8ca27239d586d5cd7fdbfbd3ec55713ae1aa (patch)
tree2323b9a8803ac103b21183d943ae56774c56679a /src/interface-gtk/interface-gtk.h
parentc6ffe2eab904ce3bb84bf0e067d317f9dad18014 (diff)
downloadsciteco-ac3d8ca27239d586d5cd7fdbfbd3ec55713ae1aa.tar.gz
added gtk_info_popup_get_position_in_overlay() and workaround size allocation issue
* this is a callback for GtkOverlay's "get-child-position" signal that allocates a size to the popup. * cleaner than overwriting the size_allocate method and does not assume apriori that the popup is part of an overlay. * the popup was always allocated a few pixels too little height, resulting the GtkViewbox always scrolling. Actually it requests a few pixels too little. We now workaround that by adding a constant value to its natural height when allocating a position in the overlay. This is of course a non-portable hack.
Diffstat (limited to 'src/interface-gtk/interface-gtk.h')
0 files changed, 0 insertions, 0 deletions