diff --git a/roster_tweaks/__init__.py b/roster_tweaks/__init__.py deleted file mode 100644 index 052cf1b..0000000 --- a/roster_tweaks/__init__.py +++ /dev/null @@ -1 +0,0 @@ -from .roster_tweaks import RosterTweaksPlugin diff --git a/roster_tweaks/config_dialog.ui b/roster_tweaks/config_dialog.ui deleted file mode 100644 index dd91778..0000000 --- a/roster_tweaks/config_dialog.ui +++ /dev/null @@ -1,147 +0,0 @@ - - - - - - False - - - True - False - 9 - vertical - 4 - - - Hide status combobox - True - False - False - False - True - - - - False - True - 0 - - - - - Use Ctrl +M to hide/show menu - True - False - False - False - True - - - - False - True - 1 - - - - - Show quick-change status field - True - False - False - False - True - - - - False - True - 2 - - - - - Always show contacts status substrings - True - False - False - False - True - - - - False - True - 3 - - - - - - - False - - - True - False - - - True - True - - - - - False - True - 0 - - - - - True - False - True - none - - - - True - False - gtk-stop - 1 - - - - - False - False - 1 - - - - - True - False - True - none - - - - True - False - gtk-stop - 1 - - - - - False - False - 2 - - - - - - diff --git a/roster_tweaks/manifest.ini b/roster_tweaks/manifest.ini deleted file mode 100644 index f45d5fa..0000000 --- a/roster_tweaks/manifest.ini +++ /dev/null @@ -1,10 +0,0 @@ -[info] -name: Roster Tweaks -short_name: roster_tweaks -version: 1.3.0 -description: Allows the user to tweak contact list appearance (e.g. make it compact). - Added ability to quickly change the status message to all connected accounts. -authors = Denis Fomin -homepage = https://dev.gajim.org/gajim/gajim-plugins/wikis/RosterTweaksPlugin -min_gajim_version: 1.2.91 -max_gajim_version: 1.3.90 diff --git a/roster_tweaks/roster_tweaks.png b/roster_tweaks/roster_tweaks.png deleted file mode 100644 index 5475c7a..0000000 Binary files a/roster_tweaks/roster_tweaks.png and /dev/null differ diff --git a/roster_tweaks/roster_tweaks.py b/roster_tweaks/roster_tweaks.py deleted file mode 100644 index 7f86b5a..0000000 --- a/roster_tweaks/roster_tweaks.py +++ /dev/null @@ -1,225 +0,0 @@ -from gi.repository import Pango -from gi.repository import Gtk -from gi.repository import Gdk -from gi.repository import GLib - -from gajim.common import app, ged, helpers -from gajim.plugins import GajimPlugin -from gajim.plugins.gui import GajimPluginConfigDialog -from gajim.dialogs import ChangeActivityDialog, ChangeMoodDialog -from gajim import gtkgui_helpers -from gajim.plugins.plugins_i18n import _ - - -class RosterTweaksPlugin(GajimPlugin): - def init(self): - self.description = _( - 'Allows user to tweak roster window appearance ' - '(eg. make it compact).') - self.config_default_values = {'hide_status_combo': (False, ''), - 'use_ctr_m': (False, ''), - 'menu_visible': (True, ''), - 'quick_status': (False, ''), - 'contact_status_subs': (False, ''), } - self.events_handlers = {'our-show': (ged.GUI2, self.our_show), - 'pep-received': (ged.GUI2, self.pep_received)} - self.gui_extension_points = { - 'roster_draw_contact': (self.roster_draw_contact, - self.disconnect_roster_draw_contact), } - self.roster = app.interface.roster - self.config_dialog = RosterTweaksPluginConfigDialog(self) - - def roster_draw_contact(self, roster, jid, account, contact): - self.connected = True - if not self.active: - return - if not self.config['contact_status_subs']: - return - child_iters = roster._get_contact_iter( - jid, account, contact, roster.model) - if not child_iters: - return - name = roster.model[child_iters[0]][1] - if '\n