Welcome to mirror list, hosted at ThFree Co, Russian Federation.

dev.gajim.org/gajim/gajim.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorwurstsalat <mailtrash@posteo.de>2023-05-17 00:52:35 +0300
committerwurstsalat <mailtrash@posteo.de>2023-05-18 01:33:50 +0300
commit52d469082e3e7bd5c061587f9cd31b1fe035d2c5 (patch)
tree2958035bf3050fb9676db8b3aece27d30465357a /gajim/data
parente145689e3317da0a020d3fded830ede894574b6a (diff)
imprv: GroupchatState: Show MAM sync
Diffstat (limited to 'gajim/data')
-rw-r--r--gajim/data/gui/groupchat_state.ui69
-rw-r--r--gajim/data/style/gajim.css1
2 files changed, 69 insertions, 1 deletions
diff --git a/gajim/data/gui/groupchat_state.ui b/gajim/data/gui/groupchat_state.ui
index 001bfbb0c..b7b3914d0 100644
--- a/gajim/data/gui/groupchat_state.ui
+++ b/gajim/data/gui/groupchat_state.ui
@@ -115,6 +115,7 @@
<object class="GtkSpinner">
<property name="visible">True</property>
<property name="can-focus">False</property>
+ <property name="active">True</property>
</object>
<packing>
<property name="expand">False</property>
@@ -139,9 +140,75 @@
</style>
</object>
<packing>
- <property name="name">fetching</property>
+ <property name="name">mam-sync-started</property>
<property name="position">2</property>
</packing>
</child>
+ <child>
+ <object class="GtkBox">
+ <property name="visible">True</property>
+ <property name="can-focus">False</property>
+ <property name="spacing">12</property>
+ <child>
+ <object class="GtkImage">
+ <property name="visible">True</property>
+ <property name="can-focus">False</property>
+ <property name="icon-name">dialog-error-symbolic</property>
+ <style>
+ <class name="error-color"/>
+ </style>
+ </object>
+ <packing>
+ <property name="expand">False</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">There has been an error while trying to fetch messages.</property>
+ <property name="wrap">True</property>
+ <property name="max-width-chars">50</property>
+ <property name="xalign">0</property>
+ </object>
+ <packing>
+ <property name="expand">False</property>
+ <property name="fill">True</property>
+ <property name="position">1</property>
+ </packing>
+ </child>
+ <child>
+ <object class="GtkButton">
+ <property name="visible">True</property>
+ <property name="can-focus">True</property>
+ <property name="receives-default">True</property>
+ <property name="tooltip-text" translatable="yes">Close</property>
+ <property name="valign">center</property>
+ <signal name="clicked" handler="_on_close_clicked" swapped="no"/>
+ <child>
+ <object class="GtkImage">
+ <property name="visible">True</property>
+ <property name="can-focus">False</property>
+ <property name="icon-name">window-close-symbolic</property>
+ </object>
+ </child>
+ </object>
+ <packing>
+ <property name="expand">False</property>
+ <property name="fill">True</property>
+ <property name="position">2</property>
+ </packing>
+ </child>
+ <style>
+ <class name="floating-overlay-box"/>
+ </style>
+ </object>
+ <packing>
+ <property name="name">mam-sync-error</property>
+ <property name="position">3</property>
+ </packing>
+ </child>
</object>
</interface>
diff --git a/gajim/data/style/gajim.css b/gajim/data/style/gajim.css
index 9303908a8..c174129d4 100644
--- a/gajim/data/style/gajim.css
+++ b/gajim/data/style/gajim.css
@@ -95,6 +95,7 @@ infobar.error > revealer > box {
.success-color { color: @success_color; }
.error-color { color: @error_color; }
.warning-color { color: @warning_color; }
+.info-color { color: rgb(75, 150, 200); }
.selected-color { color: @theme_selected_bg_color; }
.insensitive-fg-color {color: @insensitive_fg_color;}
.encrypted-color { color: rgb(75, 181, 67); }