Commit 0e864cf7 authored by Daniel Brötzmann's avatar Daniel Brötzmann
Browse files

Tooltips: Remove tooltip_idle_color

parent 3ba1b532
......@@ -175,7 +175,6 @@ class Config:
'tabs_border': [opt_bool, False, _('Show tabbed notebook border in chat windows?')],
'tabs_close_button': [opt_bool, True, _('Show close button in tab?')],
'tooltip_account_name_color': [opt_color, '#888A85'],
'tooltip_idle_color': [opt_color, '#888A85'],
'notification_preview_message': [opt_bool, True, _('Preview new messages in notification popup?')],
'notification_position_x': [opt_int, -1],
'notification_position_y': [opt_int, -1],
......@@ -465,7 +465,6 @@ def _append_pep_info(self, contact):
def _set_idle_time(self, contact):
if contact.idle_time:
idle_color = app.config.get('tooltip_idle_color')
idle_time = contact.idle_time
idle_time = time.localtime(contact.idle_time)
idle_time = datetime(*(idle_time[:6]))
......@@ -474,9 +473,7 @@ def _set_idle_time(self, contact):
formatted = idle_time.strftime('%X')
formatted = idle_time.strftime('%c')
idle_markup = '<span foreground="{}">{}</span>'.format(
idle_color, formatted)
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment