Skip to content
Snippets Groups Projects
Commit ba4cddec authored by Daniel Brötzmann's avatar Daniel Brötzmann
Browse files

Tooltips: Remove tooltip_account_name_color

parent 0e864cf7
No related branches found
No related tags found
No related merge requests found
...@@ -174,7 +174,6 @@ class Config: ...@@ -174,7 +174,6 @@ class Config:
'tabs_always_visible': [opt_bool, False, _('Show tab when only one conversation?')], 'tabs_always_visible': [opt_bool, False, _('Show tab when only one conversation?')],
'tabs_border': [opt_bool, False, _('Show tabbed notebook border in chat windows?')], 'tabs_border': [opt_bool, False, _('Show tabbed notebook border in chat windows?')],
'tabs_close_button': [opt_bool, True, _('Show close button in tab?')], 'tabs_close_button': [opt_bool, True, _('Show close button in tab?')],
'tooltip_account_name_color': [opt_color, '#888A85'],
'notification_preview_message': [opt_bool, True, _('Preview new messages in notification popup?')], 'notification_preview_message': [opt_bool, True, _('Preview new messages in notification popup?')],
'notification_position_x': [opt_int, -1], 'notification_position_x': [opt_int, -1],
'notification_position_y': [opt_int, -1], 'notification_position_y': [opt_int, -1],
......
...@@ -327,11 +327,8 @@ def _populate_grid(self, contacts, account, typ): ...@@ -327,11 +327,8 @@ def _populate_grid(self, contacts, account, typ):
name = GLib.markup_escape_text(self.prim_contact.get_shown_name()) name = GLib.markup_escape_text(self.prim_contact.get_shown_name())
if app.config.get('mergeaccounts'): if app.config.get('mergeaccounts'):
color = app.config.get('tooltip_account_name_color') name = GLib.markup_escape_text(
account_name = GLib.markup_escape_text(
self.prim_contact.account.name) self.prim_contact.account.name)
name += " <span foreground='{}'>({})</span>".format(
color, account_name)
self._ui.name.set_markup(name) self._ui.name.set_markup(name)
self._ui.name.show() self._ui.name.show()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment