Skip to content
Snippets Groups Projects
Commit 3a17d3ab authored by Caspar Martens's avatar Caspar Martens
Browse files

Make file and image path and MIME type uneditable

parent ba638648
No related branches found
No related tags found
No related merge requests found
......@@ -10,7 +10,7 @@ template FileView : Adw.PreferencesGroup {
Adw.EntryRow _file_path {
title: _("Path");
editable: true;
editable: false;
Button _file_chooser {
icon-name: "folder-open-symbolic";
......@@ -24,5 +24,6 @@ template FileView : Adw.PreferencesGroup {
Adw.EntryRow _mime_type {
title: _("MIME Type");
editable: false;
}
}
\ No newline at end of file
......@@ -10,7 +10,7 @@
<child>
<object class="AdwEntryRow" id="_file_path">
<property name="title" translatable="true">Path</property>
<property name="editable">true</property>
<property name="editable">false</property>
<child>
<object class="GtkButton" id="_file_chooser">
<property name="icon-name">folder-open-symbolic</property>
......@@ -26,6 +26,7 @@
<child>
<object class="AdwEntryRow" id="_mime_type">
<property name="title" translatable="true">MIME Type</property>
<property name="editable">false</property>
</object>
</child>
</template>
......
......@@ -20,7 +20,7 @@ template ImageView : Adw.PreferencesGroup {
Adw.EntryRow _file_path {
title: _("Path");
editable: true;
editable: false;
Button _file_chooser {
icon-name: "folder-open-symbolic";
......
......@@ -23,7 +23,7 @@
<child>
<object class="AdwEntryRow" id="_file_path">
<property name="title" translatable="true">Path</property>
<property name="editable">true</property>
<property name="editable">false</property>
<child>
<object class="GtkButton" id="_file_chooser">
<property name="icon-name">folder-open-symbolic</property>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment