diff options
Diffstat (limited to '')
-rw-r--r-- | src/gs-repos-dialog.ui | 75 |
1 files changed, 75 insertions, 0 deletions
diff --git a/src/gs-repos-dialog.ui b/src/gs-repos-dialog.ui new file mode 100644 index 0000000..c28fca0 --- /dev/null +++ b/src/gs-repos-dialog.ui @@ -0,0 +1,75 @@ +<?xml version="1.0" encoding="UTF-8"?> +<interface> + <requires lib="gtk+" version="3.10"/> + <template class="GsReposDialog" parent="AdwWindow"> + <property name="modal">True</property> + <property name="destroy_with_parent">True</property> + <property name="icon_name">dialog-information</property> + <property name="title" translatable="yes">Software Repositories</property> + <property name="default-width">640</property> + <property name="default-height">576</property> + + <child> + <object class="GtkBox"> + <property name="orientation">vertical</property> + <property name="width-request">360</property> + <child> + <object class="AdwHeaderBar"> + <property name="show_start_title_buttons">True</property> + <property name="show_end_title_buttons">True</property> + <property name="title-widget"> + <object class="AdwWindowTitle"> + <property name="title" bind-source="GsReposDialog" bind-property="title" bind-flags="sync-create"/> + </object> + </property> + </object> + </child> + <child> + <object class="GtkStack" id="stack"> + <property name="vexpand">True</property> + + <child> + <object class="GtkStackPage"> + <property name="name">waiting</property> + <property name="child"> + <object class="GtkSpinner" id="spinner"> + <property name="width_request">32</property> + <property name="height_request">32</property> + <property name="halign">center</property> + <property name="valign">center</property> + <property name="hexpand">True</property> + <property name="vexpand">True</property> + </object> + </property> + </object> + </child> + + <child> + <object class="GtkStackPage"> + <property name="name">empty</property> + <property name="child"> + <object class="AdwStatusPage" id="status_empty"> + <property name="icon_name">org.gnome.Software-symbolic</property> + <property name="title" translatable="yes">No Repositories</property> + </object> + </property> + </object> + </child> + + + <child> + <object class="GtkStackPage"> + <property name="name">sources</property> + <property name="child"> + <object class="AdwPreferencesPage" id="content_page"> + </object> + </property> + </object> + </child> + + </object> + </child> + </object> + </child> + </template> +</interface> |