diff options
author | waker <wakeroid@gmail.com> | 2012-06-02 17:07:04 +0200 |
---|---|---|
committer | waker <wakeroid@gmail.com> | 2012-06-02 17:07:04 +0200 |
commit | 2b64e669a1ab699ecfd002d85f1906217ad3bdf0 (patch) | |
tree | bfa7faeabfbe36eb8eb54bff279f39937621bfb6 /plugins/gtkui/ddbtabstrip.c | |
parent | 25580b146d1002a7c151834accb2ceda10644db5 (diff) |
fixed scroll-event in gtkui3
Diffstat (limited to 'plugins/gtkui/ddbtabstrip.c')
-rw-r--r-- | plugins/gtkui/ddbtabstrip.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/plugins/gtkui/ddbtabstrip.c b/plugins/gtkui/ddbtabstrip.c index 26a05c39..b21a0378 100644 --- a/plugins/gtkui/ddbtabstrip.c +++ b/plugins/gtkui/ddbtabstrip.c @@ -328,6 +328,9 @@ ddb_tabstrip_init(DdbTabStrip *tabstrip) tabstrip->prev_x = 0; tabstrip->movepos = 0; drawctx_init (&tabstrip->drawctx); +#if GTK_CHECK_VERSION(3,0,0) + gtk_widget_set_events (GTK_WIDGET (tabstrip), gtk_widget_get_events (GTK_WIDGET (mainwin)) | GDK_SCROLL_MASK); +#endif } static int tab_clicked = -1; |