summaryrefslogtreecommitdiff
path: root/src/nautilus-pathbar.h
diff options
context:
space:
mode:
authorCosimo Cecchi <cosimoc@gnome.org>2012-03-05 11:47:25 -0500
committerCosimo Cecchi <cosimoc@gnome.org>2012-03-05 11:51:40 -0500
commit503443418709c9fb42af52c90c035b3957b0686e (patch)
treea97254036ab5f522dcb34b161bb7d5a9f6b1cf19 /src/nautilus-pathbar.h
parent04116ab2876412445c788091be07d7f7321a4a94 (diff)
downloadnautilus-503443418709c9fb42af52c90c035b3957b0686e.tar.gz
pathbar: copy implementation of an event window from the GTK copy
In order to listen for scroll events on the whole pathbar area, we need to create an event window in realize(), created with GDK_SCROLL_MASK. Copy the code from GtkPathBar that implements this.
Diffstat (limited to 'src/nautilus-pathbar.h')
-rw-r--r--src/nautilus-pathbar.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/nautilus-pathbar.h b/src/nautilus-pathbar.h
index a4bb928f4..bb96b9cb8 100644
--- a/src/nautilus-pathbar.h
+++ b/src/nautilus-pathbar.h
@@ -38,6 +38,8 @@ typedef struct _NautilusPathBarClass NautilusPathBarClass;
struct _NautilusPathBar
{
GtkContainer parent;
+
+ GdkWindow *event_window;
GFile *root_path;
GFile *home_path;