diff options
author | fiaxh <git@mx.ax.lt> | 2017-03-17 23:21:23 +0100 |
---|---|---|
committer | fiaxh <git@mx.ax.lt> | 2017-03-18 00:17:29 +0100 |
commit | 582cc78edd35d7d3a9ab6ddc579919306a2325f5 (patch) | |
tree | 38010daad2a890d3f7e82eb4ef76696df8e492d0 /main/data | |
parent | b65c71412b5791b8c7fc7d00d76f0e5b584a7ce2 (diff) | |
download | dino-582cc78edd35d7d3a9ab6ddc579919306a2325f5.tar.gz dino-582cc78edd35d7d3a9ab6ddc579919306a2325f5.zip |
"No accounts active, add?" stack in main view
Diffstat (limited to 'main/data')
-rw-r--r-- | main/data/unified_window.ui | 177 | ||||
-rw-r--r-- | main/data/unified_window_placeholder.ui | 50 |
2 files changed, 50 insertions, 177 deletions
diff --git a/main/data/unified_window.ui b/main/data/unified_window.ui deleted file mode 100644 index 5ae01493..00000000 --- a/main/data/unified_window.ui +++ /dev/null @@ -1,177 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<interface> - <template class="DinoUiWindow"> - <property name="default-width">1200</property> - <property name="default-height">700</property> - <child type="titlebar"> - <object class="GtkPaned"> - <property name="position" bind-source="main_paned" bind-property="position" bind-flags="bidirectional|sync-create"/> - <property name="visible">True</property> - <style> - <class name="header_bar"/> - </style> - <child> - <object class="GtkHeaderBar" id="left_toolbar"> - <property name="hexpand">False</property> - <property name="visible">True</property> - <style> - <class name="left_toolbar"/> - </style> - <child> - <object class="GtkMenuButton" id="add_button"> - <property name="visible">True</property> - <style> - <class name="image-button"/> - </style> - <child> - <object class="GtkImage"> - <property name="visible">True</property> - <property name="icon-name">list-add-symbolic</property> - <property name="icon-size">1</property> - </object> - </child> - </object> - </child> - </object> - <packing> - <property name="resize">False</property> - <property name="shrink">False</property> - </packing> - </child> - <child> - <object class="GtkHeaderBar" id="right_toolbar"> - <property name="title"></property> - <property name="hexpand">True</property> - <property name="show_close_button">True</property> - <property name="visible">True</property> - <style> - <class name="right_toolbar"/> - </style> - <child> - <object class="GtkMenuButton" id="menu_button"> - <property name="visible">True</property> - <style> - <class name="image-button"/> - </style> - <child> - <object class="GtkImage"> - <property name="visible">True</property> - <property name="icon-name">open-menu-symbolic</property> - <property name="icon-size">1</property> - </object> - </child> - </object> - <packing> - <property name="pack_type">end</property> - </packing> - </child> - <child> - <object class="GtkMenuButton" id="encryption_button"> - <property name="visible">True</property> - <style> - <class name="image-button"/> - </style> - <child> - <object class="GtkImage"> - <property name="visible">True</property> - <property name="icon-size">1</property> - </object> - </child> - </object> - <packing> - <property name="pack_type">end</property> - </packing> - </child> - <child> - <object class="GtkMenuButton" id="groupchat_button"> - <property name="visible">True</property> - <style> - <class name="image-button"/> - </style> - <child> - <object class="GtkImage"> - <property name="visible">True</property> - <property name="icon-name">system-users-symbolic</property> - <property name="icon-size">1</property> - </object> - </child> - </object> - <packing> - <property name="pack_type">end</property> - </packing> - </child> - </object> - <packing> - <property name="resize">True</property> - <property name="shrink">False</property> - </packing> - </child> - </object> - </child> - <child> - <object class="GtkPaned" id="main_paned"> - <property name="orientation">horizontal</property> - <property name="visible">True</property> - <child> - <object class="DinoUiRosterWrapper" id="roster_wrapper"> - <style> - <class name="roster_wrapper"/> - </style> - </object> - <packing> - <property name="resize">False</property> - <property name="shrink">False</property> - </packing> - </child> - <child> - <object class="GtkFrame"> - <property name="shadow-type">GTK_SHADOW_NONE</property> - <property name="visible">True</property> - <style> - <class name="some_frame"/> - </style> - <child> - <object class="GtkGrid"> - <property name="orientation">vertical</property> - <property name="expand">True</property> - <property name="visible">True</property> - <style> - <class name="conversation_grid"/> - </style> - <child> - <object class="GtkScrolledWindow" id="conversation_frame_scrolled"> - <property name="visible">True</property> - <style> - <class name="scrolled_window"/> - </style> - <child> - <object class="DinoUiConversationFrame" id="conversation_frame"> - <property name="shadow-type">GTK_SHADOW_NONE</property> - <property name="expand">True</property> - <property name="visible">True</property> - <style> - <class name="conversation_frame"/> - </style> - </object> - </child> - </object> - </child> - <child> - <object class="GtkSeparator" /> - </child> - <child> - <object class="DinoUiChatInput" id="chat_input"> - </object> - </child> - </object> - </child> - </object> - <packing> - <property name="resize">True</property> - <property name="shrink">False</property> - </packing> - </child> - </object> - </child> - </template> -</interface> diff --git a/main/data/unified_window_placeholder.ui b/main/data/unified_window_placeholder.ui new file mode 100644 index 00000000..b22d6a11 --- /dev/null +++ b/main/data/unified_window_placeholder.ui @@ -0,0 +1,50 @@ +<?xml version="1.0" encoding="UTF-8"?> +<interface> + <template class="DinoUiUnifiedWindowPlaceholder"> + <property name="valign">center</property> + <property name="visible">True</property> + <child> + <object class="GtkBox"> + <property name="orientation">vertical</property> + <property name="spacing">10</property> + <property name="valign">center</property> + <property name="halign">center</property> + <property name="hexpand">True</property> + <property name="visible">True</property> + <child> + <object class="GtkImage"> + <property name="icon-name">dino-symbolic</property> + <property name="pixel-size">144</property> + <property name="margin">30</property> + <property name="visible">True</property> + <style> + <class name="dim-label"/> + </style> + </object> + </child> + <child> + <object class="GtkLabel"> + <property name="label">No accounts active</property> + <property name="xalign">0.5</property> + <property name="yalign">0.5</property> + <property name="visible">True</property> + <style> + <class name="dim-label"/> + </style> + </object> + </child> + <child> + <object class="GtkButton" id="no_accounts_add"> + <property name="label">Manage accounts</property> + <property name="halign">center</property> + <property name="visible">True</property> + <style> + <class name="text-button"/> + <class name="suggested-action"/> + </style> + </object> + </child> + </object> + </child> + </template> +</interface>
\ No newline at end of file |