1afd2c6ad2
Extension rows contain both name/description and controls to open preferences and enable/disable the extension. Those elements become disassociated when the row expands too much horizontally, so instead of filling the entire view, switch to the embedded list style[0]. [0] https://developer.gnome.org/hig/stable/lists.html.en https://gitlab.gnome.org/GNOME/gnome-shell/issues/1968
128 lines
5.0 KiB
XML
128 lines
5.0 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
||
<!-- Generated with glade 3.22.0 -->
|
||
<interface>
|
||
<requires lib="gtk+" version="3.20"/>
|
||
<template class="ExtensionsWindow" parent="GtkApplicationWindow">
|
||
<property name="default_width">800</property>
|
||
<property name="default_height">500</property>
|
||
<child type="titlebar">
|
||
<object class="GtkHeaderBar">
|
||
<property name="visible">True</property>
|
||
<property name="title" translatable="yes">Shell Extensions</property>
|
||
<property name="show_close_button">True</property>
|
||
<child>
|
||
<object class="GtkSwitch" id="killSwitch">
|
||
<property name="visible">True</property>
|
||
</object>
|
||
<packing>
|
||
<property name="pack_type">end</property>
|
||
</packing>
|
||
</child>
|
||
</object>
|
||
</child>
|
||
<child>
|
||
<object class="GtkStack" id="mainStack">
|
||
<property name="visible">True</property>
|
||
<property name="transition_type">crossfade</property>
|
||
<child>
|
||
<object class="GtkScrolledWindow">
|
||
<property name="visible">True</property>
|
||
<property name="hscrollbar_policy">never</property>
|
||
<child>
|
||
<object class="GtkViewport">
|
||
<property name="visible">True</property>
|
||
<child>
|
||
<object class="GtkBox">
|
||
<property name="visible">True</property>
|
||
<property name="orientation">vertical</property>
|
||
<property name="halign">center</property>
|
||
<property name="margin">36</property>
|
||
<child>
|
||
<object class="GtkListBox" id="extensionsList">
|
||
<property name="visible">True</property>
|
||
<property name="selection_mode">none</property>
|
||
<style>
|
||
<class name="frame"/>
|
||
</style>
|
||
</object>
|
||
</child>
|
||
</object>
|
||
</child>
|
||
</object>
|
||
</child>
|
||
</object>
|
||
<packing>
|
||
<property name="name">main</property>
|
||
</packing>
|
||
</child>
|
||
<child>
|
||
<object class="GtkBox">
|
||
<property name="visible">True</property>
|
||
<property name="orientation">vertical</property>
|
||
<property name="margin">32</property>
|
||
<property name="spacing">6</property>
|
||
<property name="valign">center</property>
|
||
<child>
|
||
<object class="GtkImage">
|
||
<property name="visible">True</property>
|
||
<property name="pixel_size">96</property>
|
||
<property name="icon_name">application-x-addon-symbolic</property>
|
||
</object>
|
||
</child>
|
||
<child>
|
||
<object class="GtkLabel">
|
||
<property name="visible">True</property>
|
||
<property name="label" translatable="yes">No Installed Extensions</property>
|
||
<attributes>
|
||
<attribute name="weight" value="bold"/>
|
||
<attribute name="scale" value="1.44"/>
|
||
</attributes>
|
||
</object>
|
||
</child>
|
||
</object>
|
||
<packing>
|
||
<property name="name">placeholder</property>
|
||
</packing>
|
||
</child>
|
||
<child>
|
||
<object class="GtkBox">
|
||
<property name="visible">True</property>
|
||
<property name="margin_left">100</property>
|
||
<property name="margin_right">100</property>
|
||
<property name="margin_top">100</property>
|
||
<property name="margin_bottom">60</property>
|
||
<property name="orientation">vertical</property>
|
||
<property name="spacing">12</property>
|
||
<child>
|
||
<object class="GtkLabel">
|
||
<property name="visible">True</property>
|
||
<property name="label" translatable="yes">Something’s gone wrong</property>
|
||
<attributes>
|
||
<attribute name="scale" value="1.44"/>
|
||
</attributes>
|
||
<style>
|
||
<class name="dim-label"/>
|
||
</style>
|
||
</object>
|
||
</child>
|
||
<child>
|
||
<object class="GtkLabel">
|
||
<property name="visible">True</property>
|
||
<property name="label" translatable="yes">We’re very sorry, but it was not possible to get the list of installed extensions. Make sure you are logged into GNOME and try again.</property>
|
||
<property name="justify">center</property>
|
||
<property name="wrap">True</property>
|
||
<style>
|
||
<class name="dim-label"/>
|
||
</style>
|
||
</object>
|
||
</child>
|
||
</object>
|
||
<packing>
|
||
<property name="name">noshell</property>
|
||
</packing>
|
||
</child>
|
||
</object>
|
||
</child>
|
||
</template>
|
||
</interface>
|