mirror of
https://git.deluge-torrent.org/deluge
synced 2025-04-20 11:35:49 +00:00
[Notifications]Fix no text in tab list
The tab in the Preferences window is created and clickable - only the text is missing.
This commit is contained in:
parent
26720ca4c2
commit
d169aca8bd
1 changed files with 1 additions and 6 deletions
|
@ -263,12 +263,7 @@ class GtkUI(GtkPluginBase, GtkUiNotifications):
|
|||
'on_sound_path_update_preview': self.on_sound_path_update_preview
|
||||
})
|
||||
|
||||
prefs = component.get('Preferences')
|
||||
parent = self.prefs.get_parent()
|
||||
if parent:
|
||||
parent.remove(self.prefs)
|
||||
index = prefs.notebook.append_page(self.prefs)
|
||||
prefs.liststore.append([index, _('Notifications')])
|
||||
component.get('Preferences').add_page(_('Notifications'), self.prefs)
|
||||
|
||||
component.get('PluginManager').register_hook('on_apply_prefs',
|
||||
self.on_apply_prefs)
|
||||
|
|
Loading…
Add table
Reference in a new issue