This repository has been archived by the owner on Dec 5, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 51
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fixed settings dialog; added new dark mode; only show the menu button…
… in ubuntu unity
- Loading branch information
1 parent
46f5ccd
commit 5217903
Showing
7 changed files
with
443 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,261 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<!-- Generated with glade 3.20.0 --> | ||
<interface> | ||
<requires lib="gtk+" version="3.14"/> | ||
<template class="GradioMainWindow" parent="GtkApplicationWindow"> | ||
<property name="width_request">870</property> | ||
<property name="height_request">500</property> | ||
<property name="can_focus">False</property> | ||
<property name="title" translatable="yes">Gradio</property> | ||
<property name="icon_name">gradio</property> | ||
<child> | ||
<object class="GtkStack" id="ContentStack"> | ||
<property name="visible">True</property> | ||
<property name="can_focus">False</property> | ||
<child> | ||
<object class="GtkBox" id="ContentBox"> | ||
<property name="visible">True</property> | ||
<property name="can_focus">False</property> | ||
<property name="orientation">vertical</property> | ||
<child> | ||
<object class="GtkStack" id="DatabaseStack"> | ||
<property name="visible">True</property> | ||
<property name="can_focus">False</property> | ||
<property name="transition_type">crossfade</property> | ||
<child> | ||
<placeholder/> | ||
</child> | ||
</object> | ||
<packing> | ||
<property name="expand">True</property> | ||
<property name="fill">True</property> | ||
<property name="position">1</property> | ||
</packing> | ||
</child> | ||
<child> | ||
<object class="GtkSeparator"> | ||
<property name="visible">True</property> | ||
<property name="can_focus">False</property> | ||
</object> | ||
<packing> | ||
<property name="expand">False</property> | ||
<property name="fill">True</property> | ||
<property name="position">2</property> | ||
</packing> | ||
</child> | ||
<child> | ||
<object class="GtkBox" id="Bottom"> | ||
<property name="visible">True</property> | ||
<property name="can_focus">False</property> | ||
<property name="orientation">vertical</property> | ||
<child> | ||
<placeholder/> | ||
</child> | ||
</object> | ||
<packing> | ||
<property name="expand">False</property> | ||
<property name="fill">True</property> | ||
<property name="position">3</property> | ||
</packing> | ||
</child> | ||
</object> | ||
<packing> | ||
<property name="name">database</property> | ||
<property name="title" translatable="yes">Database</property> | ||
</packing> | ||
</child> | ||
<child> | ||
<object class="GtkBox" id="NoConnectionBox"> | ||
<property name="visible">True</property> | ||
<property name="can_focus">False</property> | ||
<property name="halign">center</property> | ||
<property name="valign">center</property> | ||
<property name="orientation">vertical</property> | ||
<child> | ||
<object class="GtkBox"> | ||
<property name="visible">True</property> | ||
<property name="can_focus">False</property> | ||
<property name="orientation">vertical</property> | ||
<child> | ||
<object class="GtkImage"> | ||
<property name="visible">True</property> | ||
<property name="can_focus">False</property> | ||
<property name="margin_bottom">5</property> | ||
<property name="pixel_size">64</property> | ||
<property name="icon_name">action-unavailable-symbolic</property> | ||
<property name="icon_size">6</property> | ||
</object> | ||
<packing> | ||
<property name="expand">True</property> | ||
<property name="fill">True</property> | ||
<property name="position">0</property> | ||
</packing> | ||
</child> | ||
<child> | ||
<object class="GtkLabel"> | ||
<property name="visible">True</property> | ||
<property name="can_focus">False</property> | ||
<property name="label" translatable="yes">Cannot connect to the database.</property> | ||
</object> | ||
<packing> | ||
<property name="expand">False</property> | ||
<property name="fill">True</property> | ||
<property name="position">1</property> | ||
</packing> | ||
</child> | ||
</object> | ||
<packing> | ||
<property name="expand">False</property> | ||
<property name="fill">True</property> | ||
<property name="position">0</property> | ||
</packing> | ||
</child> | ||
</object> | ||
<packing> | ||
<property name="name">no_connection</property> | ||
<property name="title" translatable="yes">No Connection</property> | ||
<property name="position">1</property> | ||
</packing> | ||
</child> | ||
<child> | ||
<object class="GtkBox" id="MiniplayerBox"> | ||
<property name="visible">True</property> | ||
<property name="can_focus">False</property> | ||
<property name="halign">center</property> | ||
<property name="valign">center</property> | ||
<property name="orientation">vertical</property> | ||
<child> | ||
<object class="GtkBox"> | ||
<property name="visible">True</property> | ||
<property name="can_focus">False</property> | ||
<property name="orientation">vertical</property> | ||
<child> | ||
<object class="GtkImage"> | ||
<property name="visible">True</property> | ||
<property name="can_focus">False</property> | ||
<property name="margin_bottom">10</property> | ||
<property name="icon_name">action-unavailable-symbolic</property> | ||
<property name="icon_size">6</property> | ||
</object> | ||
<packing> | ||
<property name="expand">True</property> | ||
<property name="fill">True</property> | ||
<property name="position">0</property> | ||
</packing> | ||
</child> | ||
<child> | ||
<object class="GtkLabel"> | ||
<property name="visible">True</property> | ||
<property name="can_focus">False</property> | ||
<property name="label" translatable="yes">MINIPLAYER</property> | ||
</object> | ||
<packing> | ||
<property name="expand">False</property> | ||
<property name="fill">True</property> | ||
<property name="position">1</property> | ||
</packing> | ||
</child> | ||
</object> | ||
<packing> | ||
<property name="expand">False</property> | ||
<property name="fill">True</property> | ||
<property name="position">0</property> | ||
</packing> | ||
</child> | ||
</object> | ||
<packing> | ||
<property name="name">page0</property> | ||
<property name="title" translatable="yes">page0</property> | ||
<property name="position">2</property> | ||
</packing> | ||
</child> | ||
</object> | ||
</child> | ||
<child type="titlebar"> | ||
<object class="GtkHeaderBar" id="HeaderBar"> | ||
<property name="visible">True</property> | ||
<property name="can_focus">False</property> | ||
<property name="show_close_button">True</property> | ||
<child type="title"> | ||
<object class="GtkStackSwitcher" id="StackSwitcher"> | ||
<property name="visible">True</property> | ||
<property name="can_focus">False</property> | ||
<property name="no_show_all">True</property> | ||
<property name="stack">DatabaseStack</property> | ||
</object> | ||
</child> | ||
<child> | ||
<object class="GtkMenuButton" id="MenuButton"> | ||
<property name="can_focus">True</property> | ||
<property name="receives_default">True</property> | ||
<property name="no_show_all">True</property> | ||
<property name="use_popover">False</property> | ||
<child> | ||
<object class="GtkImage"> | ||
<property name="visible">True</property> | ||
<property name="can_focus">False</property> | ||
<property name="icon_name">open-menu-symbolic</property> | ||
</object> | ||
</child> | ||
</object> | ||
<packing> | ||
<property name="pack_type">end</property> | ||
</packing> | ||
</child> | ||
<child> | ||
<object class="GtkButton" id="GridListButton"> | ||
<property name="visible">True</property> | ||
<property name="can_focus">True</property> | ||
<property name="receives_default">True</property> | ||
<property name="halign">center</property> | ||
<property name="valign">center</property> | ||
<signal name="clicked" handler="GridListButton_clicked" swapped="no"/> | ||
<child> | ||
<object class="GtkBox"> | ||
<property name="visible">True</property> | ||
<property name="can_focus">False</property> | ||
<property name="halign">center</property> | ||
<property name="valign">center</property> | ||
<property name="orientation">vertical</property> | ||
<child> | ||
<object class="GtkImage" id="GridImage"> | ||
<property name="can_focus">False</property> | ||
<property name="no_show_all">True</property> | ||
<property name="halign">center</property> | ||
<property name="valign">center</property> | ||
<property name="pixel_size">16</property> | ||
<property name="no_show_all">True</property> | ||
<property name="icon_name">view-grid-symbolic</property> | ||
</object> | ||
<packing> | ||
<property name="expand">False</property> | ||
<property name="fill">True</property> | ||
<property name="position">0</property> | ||
</packing> | ||
</child> | ||
<child> | ||
<object class="GtkImage" id="ListImage"> | ||
<property name="visible">True</property> | ||
<property name="can_focus">False</property> | ||
<property name="pixel_size">16</property> | ||
<property name="no_show_all">True</property> | ||
<property name="icon_name">view-list-symbolic</property> | ||
</object> | ||
<packing> | ||
<property name="expand">False</property> | ||
<property name="fill">True</property> | ||
<property name="position">1</property> | ||
</packing> | ||
</child> | ||
</object> | ||
</child> | ||
</object> | ||
<packing> | ||
<property name="pack_type">end</property> | ||
<property name="position">1</property> | ||
</packing> | ||
</child> | ||
</object> | ||
</child> | ||
</template> | ||
</interface> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.