generalsettingsview: add an option to disable images loading in the chatview

Displaying images in the chatview can lead to unwanted requests, the
user must be able to disable this functionnality.

Change-Id: I522b22fc603ff6adb36bcb7a560fa8d7a1b9bdb7
Reviewed-by: Philippe Gorley <philippe.gorley@savoirfairelinux.com>
diff --git a/ui/generalsettingsview.ui b/ui/generalsettingsview.ui
index 943b3ce..906dff1 100644
--- a/ui/generalsettingsview.ui
+++ b/ui/generalsettingsview.ui
@@ -128,6 +128,14 @@
                       </object>
                     </child>
                     <child>
+                      <object class="GtkCheckButton" id="checkbutton_chatdisplaylinks">
+                        <property name="label" translatable="yes">Show images and videos in chat window.</property>
+                        <property name="visible">True</property>
+                        <property name="xalign">0</property>
+                        <property name="draw_indicator">True</property>
+                      </object>
+                    </child>
+                    <child>
                       <object class="GtkCheckButton" id="checkbutton_searchentryplacescall">
                         <property name="label" translatable="yes">Entering a number in the search entry will place a new call.</property>
                         <property name="visible">True</property>