aboutsummaryrefslogtreecommitdiff
path: root/main/data
diff options
context:
space:
mode:
Diffstat (limited to 'main/data')
-rw-r--r--main/data/conversation_list_titlebar.ui2
-rw-r--r--main/data/conversation_titlebar.ui62
-rw-r--r--main/data/pre_theme.css10
3 files changed, 11 insertions, 63 deletions
diff --git a/main/data/conversation_list_titlebar.ui b/main/data/conversation_list_titlebar.ui
index 6c08881c..f8fabedc 100644
--- a/main/data/conversation_list_titlebar.ui
+++ b/main/data/conversation_list_titlebar.ui
@@ -5,7 +5,7 @@
<property name="show_close_button">True</property>
<property name="visible">True</property>
<style>
- <class name="left_toolbar"/>
+ <class name="dino-left"/>
</style>
<child>
<object class="GtkMenuButton" id="add_button">
diff --git a/main/data/conversation_titlebar.ui b/main/data/conversation_titlebar.ui
deleted file mode 100644
index 30779079..00000000
--- a/main/data/conversation_titlebar.ui
+++ /dev/null
@@ -1,62 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<interface>
- <template class="DinoUiConversationTitlebar" parent="GtkHeaderBar">
- <property name="title"></property>
- <property name="hexpand">True</property>
- <property name="show_close_button">True</property>
- <property name="visible">True</property>
- <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">False</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">False</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>
- </template>
-</interface>
diff --git a/main/data/pre_theme.css b/main/data/pre_theme.css
new file mode 100644
index 00000000..392e603f
--- /dev/null
+++ b/main/data/pre_theme.css
@@ -0,0 +1,10 @@
+/**
+ * This theme file is applied before the operating system theme and any user configuration.
+ * It provides sane defaults for things that are very Dino-specific.
+ */
+
+window.dino-main headerbar.dino-left label.title {
+ opacity: 0;
+ font-size: 0;
+ color: transparent;
+} \ No newline at end of file