Add a file importing dialog, and pass through files received from command line. Fixes https://gitlab.gnome.org/GNOME/gnome-calendar/-/issues/5
44 lines
1.3 KiB
XML
44 lines
1.3 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<interface>
|
|
<template class="GcalImportFileRow" parent="GtkListBoxRow">
|
|
<property name="visible">True</property>
|
|
<property name="can-focus">False</property>
|
|
<property name="activatable">False</property>
|
|
|
|
<child>
|
|
<object class="GtkBox">
|
|
<property name="visible">True</property>
|
|
<property name="can-focus">False</property>
|
|
<property name="orientation">vertical</property>
|
|
<property name="spacing">6</property>
|
|
|
|
<!-- File name label -->
|
|
<child>
|
|
<object class="GtkLabel" id="filename_label">
|
|
<property name="can-focus">False</property>
|
|
<property name="margin-top">12</property>
|
|
<property name="xalign">0.0</property>
|
|
<attributes>
|
|
<attribute name="weight" value="bold" />
|
|
</attributes>
|
|
</object>
|
|
</child>
|
|
|
|
<!-- Event preview listbox -->
|
|
<child>
|
|
<object class="GtkListBox" id="events_listbox">
|
|
<property name="visible">True</property>
|
|
<property name="can-focus">False</property>
|
|
<property name="selection-mode">none</property>
|
|
<style>
|
|
<class name="content" />
|
|
</style>
|
|
</object>
|
|
</child>
|
|
|
|
</object>
|
|
</child>
|
|
|
|
</template>
|
|
</interface>
|