Commit df484cdc authored by Tomasz Miąsko's avatar Tomasz Miąsko Committed by Sébastien Wilmet

View: respect GtkTextView:accepts-tab property

https://bugzilla.gnome.org/show_bug.cgi?id=793196
parent ee908122
......@@ -4098,7 +4098,8 @@ gtk_source_view_key_press_event (GtkWidget *widget,
if ((key == GDK_KEY_Tab || key == GDK_KEY_KP_Tab || key == GDK_KEY_ISO_Left_Tab) &&
((event->state & modifiers) == 0 ||
(event->state & modifiers) == GDK_SHIFT_MASK) &&
editable)
editable &&
gtk_text_view_get_accepts_tab (GTK_TEXT_VIEW (view)))
{
GtkTextIter s, e;
gboolean has_selection;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment