Disallow tabs in GtkTextView in glade files

Disallow the use of tabs in all glade GtkTextView's. This is mainly
used for notes fields and showing log entries. Some views were not
editable but for consistency the setting was also added to them.
This commit is contained in:
Robert Fewell
2018-12-11 12:57:30 +00:00
parent 5c524c31b2
commit a8d0270e5a
10 changed files with 12 additions and 0 deletions

View File

@@ -329,6 +329,7 @@ Cancel to abort.</property>
<property name="can_focus">False</property>
<property name="left_margin">2</property>
<property name="right_margin">2</property>
<property name="accepts_tab">False</property>
</object>
</child>
</object>

View File

@@ -541,6 +541,7 @@
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="wrap_mode">word</property>
<property name="accepts_tab">False</property>
</object>
</child>
</object>

View File

@@ -475,6 +475,7 @@
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="wrap_mode">word</property>
<property name="accepts_tab">False</property>
<signal name="focus-out-event" handler="gnc_invoice_window_leave_notes_cb" swapped="no"/>
</object>
</child>
@@ -1247,6 +1248,7 @@
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="wrap_mode">word</property>
<property name="accepts_tab">False</property>
</object>
</child>
</object>

View File

@@ -169,6 +169,7 @@
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="tooltip_text" translatable="yes">Enter any notes you want to make about this lot.</property>
<property name="accepts_tab">False</property>
<property name="wrap_mode">word</property>
</object>
</child>

View File

@@ -446,6 +446,7 @@
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="wrap_mode">word</property>
<property name="accepts_tab">False</property>
<property name="buffer">notes_buffer</property>
</object>
</child>
@@ -847,6 +848,7 @@
<property name="can_focus">True</property>
<property name="editable">False</property>
<property name="wrap_mode">word</property>
<property name="accepts_tab">False</property>
<property name="buffer">text_buffer</property>
</object>
</child>

View File

@@ -604,6 +604,7 @@
<property name="vexpand">True</property>
<property name="editable">False</property>
<property name="wrap_mode">word</property>
<property name="accepts_tab">False</property>
</object>
</child>
</object>

View File

@@ -125,6 +125,7 @@
<property name="border_width">6</property>
<property name="editable">False</property>
<property name="wrap_mode">word</property>
<property name="accepts_tab">False</property>
<property name="left_margin">5</property>
<property name="right_margin">5</property>
<property name="cursor_visible">False</property>

View File

@@ -536,6 +536,7 @@
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="wrap_mode">word</property>
<property name="accepts_tab">False</property>
</object>
</child>
</object>

View File

@@ -291,6 +291,7 @@
<property name="hexpand">True</property>
<property name="vexpand">True</property>
<property name="wrap_mode">word</property>
<property name="accepts_tab">False</property>
</object>
</child>
</object>

View File

@@ -242,6 +242,7 @@
<property name="can_focus">True</property>
<property name="editable">False</property>
<property name="wrap_mode">word</property>
<property name="accepts_tab">False</property>
</object>
</child>
</object>