diff options
Diffstat (limited to '')
-rw-r--r-- | src/gs-installed-page.ui | 166 |
1 files changed, 166 insertions, 0 deletions
diff --git a/src/gs-installed-page.ui b/src/gs-installed-page.ui new file mode 100644 index 0000000..ff0bfb7 --- /dev/null +++ b/src/gs-installed-page.ui @@ -0,0 +1,166 @@ +<?xml version="1.0" encoding="UTF-8"?> +<interface> + <requires lib="gtk+" version="3.10"/> + <template class="GsInstalledPage" parent="GsPage"> + <accessibility> + <property name="label" translatable="yes">Installed page</property> + </accessibility> + <child> + <object class="GtkStack" id="stack_install"> + + <child> + <object class="GtkStackPage"> + <property name="name">spinner</property> + <property name="child"> + <object class="GtkSpinner" id="spinner_install"> + <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> + <style> + <class name="fade-in"/> + </style> + </object> + </property> + </object> + </child> + + <child> + <object class="GtkStackPage"> + <property name="name">view</property> + <property name="child"> + <object class="GtkBox" id="box_install"> + <property name="orientation">vertical</property> + <child> + <object class="GtkScrolledWindow" id="scrolledwindow_install"> + <property name="can_focus">True</property> + <property name="hscrollbar_policy">never</property> + <property name="vscrollbar_policy">automatic</property> + <property name="vexpand">True</property> + <style> + <class name="list-page"/> + </style> + <child> + <object class="AdwClamp"> + <property name="maximum-size">600</property> + <property name="tightening-threshold">400</property> + <child> + <object class="GtkBox"> + <property name="orientation">vertical</property> + <child> + <object class="AdwPreferencesGroup" id="group_install_in_progress"> + <property name="visible">False</property> + <property name="title" translatable="yes">In Progress</property> + <style> + <class name="section"/> + </style> + <child> + <object class="GtkListBox" id="list_box_install_in_progress"> + <property name="can_focus">True</property> + <property name="selection_mode">none</property> + <property name="valign">start</property> + <signal name="row-activated" handler="gs_installed_page_app_row_activated_cb"/> + <style> + <class name="boxed-list"/> + </style> + </object> + </child> + </object> + </child> + <child> + <object class="AdwPreferencesGroup" id="group_install_apps"> + <property name="visible">False</property> + <property name="title" translatable="yes">Applications</property> + <style> + <class name="section"/> + </style> + <child> + <object class="GtkListBox" id="list_box_install_apps"> + <property name="can_focus">True</property> + <property name="selection_mode">none</property> + <property name="valign">start</property> + <signal name="row-activated" handler="gs_installed_page_app_row_activated_cb"/> + <style> + <class name="boxed-list"/> + </style> + </object> + </child> + </object> + </child> + <child> + <object class="AdwPreferencesGroup" id="group_install_web_apps"> + <property name="visible">False</property> + <property name="title" translatable="yes">Web Applications</property> + <style> + <class name="section"/> + </style> + <child> + <object class="GtkListBox" id="list_box_install_web_apps"> + <property name="can_focus">True</property> + <property name="selection_mode">none</property> + <property name="valign">start</property> + <signal name="row-activated" handler="gs_installed_page_app_row_activated_cb"/> + <style> + <class name="boxed-list"/> + </style> + </object> + </child> + </object> + </child> + <child> + <object class="AdwPreferencesGroup" id="group_install_system_apps"> + <property name="visible">False</property> + <property name="title" translatable="yes">System Applications</property> + <style> + <class name="section"/> + </style> + <child> + <object class="GtkListBox" id="list_box_install_system_apps"> + <property name="can_focus">True</property> + <property name="selection_mode">none</property> + <property name="valign">start</property> + <signal name="row-activated" handler="gs_installed_page_app_row_activated_cb"/> + <style> + <class name="boxed-list"/> + </style> + </object> + </child> + </object> + </child> + <child> + <object class="AdwPreferencesGroup" id="group_install_addons"> + <property name="visible">False</property> + <property name="title" translatable="yes">Add-ons</property> + <style> + <class name="section"/> + </style> + <child> + <object class="GtkListBox" id="list_box_install_addons"> + <property name="can_focus">True</property> + <property name="selection_mode">none</property> + <property name="valign">start</property> + <signal name="row-activated" handler="gs_installed_page_app_row_activated_cb"/> + <style> + <class name="boxed-list"/> + </style> + </object> + </child> + </object> + </child> + </object> + </child> + </object> + </child> + </object> + </child> + </object> + </property> + </object> + </child> + + </object> + </child> + </template> +</interface> |