diff --git a/clients_icons/clients_icons.py b/clients_icons/clients_icons.py index 594c336..0d82a7c 100644 --- a/clients_icons/clients_icons.py +++ b/clients_icons/clients_icons.py @@ -42,8 +42,8 @@ log = logging.getLogger('gajim.p.client_icons') class ClientsIconsPlugin(GajimPlugin): def init(self) -> None: - self.description = _('Shows client icons in your contact list ' - 'and in the groupchat participants list.') + self.description = _('Shows client icons in your contact list' + ' in a tooltip.') self.config_dialog = partial(ClientsIconsConfigDialog, self) self.gui_extension_points = { @@ -53,7 +53,6 @@ class ClientsIconsPlugin(GajimPlugin): } self.config_default_values = { - 'show_in_tooltip': (True, ''), 'show_unknown_icon': (True, ''), } @@ -94,9 +93,6 @@ class ClientsIconsPlugin(GajimPlugin): resource: ResourceContact ) -> None: - if not self.config['show_in_tooltip']: - return - result = self._get_image_and_client_name(resource, resource_box) if result is None: return diff --git a/clients_icons/config_dialog.py b/clients_icons/config_dialog.py index 6a00178..2a58502 100644 --- a/clients_icons/config_dialog.py +++ b/clients_icons/config_dialog.py @@ -36,13 +36,6 @@ class ClientsIconsConfigDialog(SettingsDialog): self.plugin = plugin settings = [ - Setting(SettingKind.SWITCH, - _('Show Icons in Tooltip'), - SettingType.VALUE, - self.plugin.config['show_in_tooltip'], - callback=self._on_setting, - data='show_in_tooltip'), - Setting(SettingKind.SWITCH, _('Show Icon for Unknown Clients'), SettingType.VALUE, diff --git a/clients_icons/plugin-manifest.json b/clients_icons/plugin-manifest.json index c56f86b..d55dc92 100644 --- a/clients_icons/plugin-manifest.json +++ b/clients_icons/plugin-manifest.json @@ -4,7 +4,7 @@ "Artem Klyop ", "Thilo Molitor " ], - "description": "Shows client icons in roster and in groupchats.", + "description": "Shows client icons in your contact list in a tooltip.", "homepage": "https://dev.gajim.org/gajim/gajim-plugins/wikis/ClientsIconsPlugin", "config_dialog": true, "name": "Clients icons", @@ -19,4 +19,4 @@ ], "short_name": "clients_icons", "version": "7.10.8" -} \ No newline at end of file +}