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
path: root/gajim/gtk
diff options
context:
space:
mode:
authorwurstsalat <mailtrash@posteo.de>2023-10-19 13:13:26 +0300
committerwurstsalat <mailtrash@posteo.de>2023-10-19 13:13:39 +0300
commit13f798c66a3b03df05429b7cf2ff14a0b8b47881 (patch)
treef41030a33a5d844284bc5a7fde0937d194e3d0a1 /gajim/gtk
parent704638e5c059df32ee0861048bba4aab364a4852 (diff)
cfix: ChatBanner: Use correct tooltip for contact/group chat
Diffstat (limited to 'gajim/gtk')
-rw-r--r--gajim/gtk/chat_banner.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/gajim/gtk/chat_banner.py b/gajim/gtk/chat_banner.py
index 644b59476..d584291d7 100644
--- a/gajim/gtk/chat_banner.py
+++ b/gajim/gtk/chat_banner.py
@@ -356,6 +356,10 @@ class ChatBanner(Gtk.Box, EventHelper):
def _update_share_box(self) -> None:
assert self._contact is not None
+ if self._contact.is_groupchat:
+ self._ui.share_menu_button.set_tooltip_text(_('Share Group Chat…'))
+ else:
+ self._ui.share_menu_button.set_tooltip_text(_('Share Contact…'))
self._ui.share_menu_button.set_sensitive(
not self._contact.is_pm_contact)
self._ui.jid_label.set_text(str(self._contact.jid))