gem-graph-client/libide/greeter/ide-greeter-workspace.ui

199 lines
9.1 KiB
XML

<?xml version="1.0" encoding="UTF-8"?>
<interface>
<!-- interface-requires gtk+ 3.24 -->
<template class="IdeGreeterWorkspace" parent="IdeWorkspace">
<child type="titlebar">
<object class="IdeHeaderBar" id="header_bar">
<property name="menu-id">ide-greeter-workspace-menu</property>
<property name="show-fullscreen-button">false</property>
<property name="show-close-button">true</property>
<property name="visible">true</property>
<child type="title">
<object class="GtkLabel" id="title">
<property name="visible">true</property>
<property name="hexpand">true</property>
<style>
<class name="title"/>
</style>
</object>
</child>
<child type="left">
<object class="GtkButton" id="back_button">
<property name="action-name">win.surface</property>
<property name="action-target">'sections'</property>
<property name="has-tooltip">true</property>
<property name="tooltip-text" translatable="yes">Go back</property>
<property name="margin-end">6</property>
<style>
<class name="image-button"/>
</style>
<child>
<object class="GtkImage">
<property name="visible">true</property>
<property name="icon-name">go-previous-symbolic</property>
</object>
</child>
</object>
</child>
<child type="left">
<object class="DzlPriorityBox" id="left_box">
<property name="spacing">6</property>
<property name="hexpand">false</property>
<property name="homogeneous">true</property>
<property name="visible">true</property>
</object>
<packing>
<property name="pack-type">start</property>
</packing>
</child>
<child type="right">
<object class="GtkToggleButton" id="select_button">
<property name="action-name">win.selection-mode</property>
<property name="visible">true</property>
<style>
<class name="image-button"/>
</style>
<child>
<object class="GtkImage">
<property name="icon-name">object-select-symbolic</property>
<property name="visible">true</property>
</object>
</child>
</object>
<packing>
<property name="pack-type">end</property>
</packing>
</child>
</object>
</child>
<child internal-child="surfaces">
<object class="GtkStack" id="surfaces">
<property name="transition-type">crossfade</property>
<signal name="notify::visible-child" handler="stack_notify_visible_child_cb" object="IdeGreeterWorkspace" swapped="true"/>
<child>
<object class="IdeSurface" id="sections_surface">
<property name="title" translatable="yes" context="title">Open a Project</property>
<property name="visible">true</property>
<style>
<class name="sectionssurface"/>
</style>
<child>
<object class="GtkBox">
<property name="orientation">vertical</property>
<property name="visible">true</property>
<child>
<object class="GtkScrolledWindow">
<property name="expand">true</property>
<property name="hscrollbar-policy">never</property>
<property name="visible">true</property>
<child>
<object class="GtkViewport">
<property name="expand">true</property>
<property name="visible">true</property>
<child>
<object class="GtkBox">
<property name="margin">32</property>
<property name="orientation">vertical</property>
<property name="spacing">24</property>
<property name="visible">true</property>
<child>
<object class="GtkSearchEntry" id="search_entry">
<property name="placeholder-text" translatable="yes">Search all Builder projects…</property>
<property name="halign">center</property>
<property name="visible">true</property>
<property name="width-chars">45</property>
</object>
</child>
<child>
<object class="DzlPriorityBox" id="sections">
<property name="orientation">vertical</property>
<property name="spacing">32</property>
<property name="visible">true</property>
</object>
</child>
<child>
<object class="DzlEmptyState" id="empty_state">
<property name="icon-name">edit-find-symbolic</property>
<property name="pixel-size">64</property>
<property name="title" translatable="yes">No Projects Found</property>
<property name="vexpand">true</property>
<property name="valign">center</property>
</object>
</child>
</object>
</child>
</object>
</child>
</object>
</child>
<child>
<object class="GtkActionBar" id="projects_action_bar">
<property name="visible">true</property>
<child>
<object class="IdeGreeterButtonsSection" id="buttons_section">
<property name="halign">center</property>
<property name="visible">true</property>
</object>
</child>
</object>
</child>
<child>
<object class="GtkActionBar" id="action_bar">
<child type="center">
<object class="GtkBox">
<property name="width-request">600</property>
<property name="orientation">horizontal</property>
<property name="homogeneous">true</property>
<property name="margin-bottom">6</property>
<property name="margin-top">6</property>
<property name="spacing">10</property>
<property name="visible">true</property>
<child>
<object class="GtkButton" id="remove_button">
<property name="action-name">win.delete-selected-rows</property>
<property name="label" translatable="yes">_Remove Projects</property>
<property name="use-underline">true</property>
<property name="visible">true</property>
<property name="sensitive">false</property>
<style>
<class name="destructive-action"/>
</style>
</object>
</child>
<child>
<object class="GtkButton" id="purge_button">
<property name="action-name">win.purge-selected-rows</property>
<property name="label" translatable="yes">Remove Projects and Sources…</property>
<property name="use-underline">true</property>
<property name="visible">true</property>
<property name="sensitive">false</property>
<style>
<class name="destructive-action"/>
</style>
</object>
</child>
</object>
</child>
</object>
</child>
</object>
</child>
</object>
<packing>
<property name="name">sections</property>
</packing>
</child>
<child>
<object class="IdeCloneSurface" id="clone_surface">
<property name="title" translatable="yes" context="title">Clone Repository</property>
<property name="visible">true</property>
</object>
<packing>
<property name="name">clone</property>
</packing>
</child>
</object>
</child>
</template>
</interface>