Daniel Brötzmann pushed to branch master at gajim / gajim
Commits:
54ddc2da by wurstsalat at 2024-12-07T15:22:37+01:00
imprv: VoiceRequestsButton: Show JID for each request
- - - - -
1 changed file:
- gajim/gtk/groupchat_voice_requests_button.py
Changes:
=====================================
gajim/gtk/groupchat_voice_requests_button.py
=====================================
@@ -87,11 +87,13 @@ def _on_button_clicked(self, _button: VoiceRequestsButton)
-> None:
for request in voice_requests:
request_box = Gtk.Box(spacing=12)
- name_label = Gtk.Label(label=request.nick)
- name_label.set_width_chars(10)
- name_label.set_max_width_chars(20)
- name_label.set_ellipsize(Pango.EllipsizeMode.END)
- name_label.set_xalign(0)
+ name_label = Gtk.Label(
+ label=f"{request.nick} ({request.jid})",
+ hexpand=True,
+ max_width_chars=30,
+ ellipsize=Pango.EllipsizeMode.MIDDLE,
+ xalign=0,
+ )
request_box.append(name_label)
decline_button =
Gtk.Button.new_from_icon_name("process-stop-symbolic")
View it on GitLab:
https://dev.gajim.org/gajim/gajim/-/commit/54ddc2dac0969d4cbf7d3b4c05b0451f4056cd8e
--
View it on GitLab:
https://dev.gajim.org/gajim/gajim/-/commit/54ddc2dac0969d4cbf7d3b4c05b0451f4056cd8e
You're receiving this email because of your account on dev.gajim.org.
_______________________________________________
Commits mailing list -- [email protected]
To unsubscribe send an email to [email protected]