Daniel Brötzmann pushed to branch master at gajim / gajim


Commits:
2da1c621 by wurstsalat at 2024-05-29T22:30:53+02:00
imprv: SearchView: Show only time_format in result rows

Showing date format for older messages takes up too much space,
and is not necessary because we have date separators

- - - - -


1 changed file:

- gajim/gtk/search_view.py


Changes:

=====================================
gajim/gtk/search_view.py
=====================================
@@ -416,8 +416,6 @@ def __init__(self, db_row: Message) -> None:
         self._ui.row_avatar.set_from_surface(avatar)
 
         format_string = app.settings.get('time_format')
-        if self.timestamp.date() < dt.datetime.today().date():
-            format_string = app.settings.get('date_time_format')
         
self._ui.row_time_label.set_text(self.timestamp.strftime(format_string))
 
         text = db_row.text



View it on GitLab: 
https://dev.gajim.org/gajim/gajim/-/commit/2da1c62109e51ab5b5ca2e1f478e0cca31505224

-- 
View it on GitLab: 
https://dev.gajim.org/gajim/gajim/-/commit/2da1c62109e51ab5b5ca2e1f478e0cca31505224
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]

Reply via email to