forked from fpoirotte/reSTPlugin
-
Notifications
You must be signed in to change notification settings - Fork 7
Open
Description
When running gedit, I encounter the following error when configuring the settings to display the review on the side panel. However, it's worth noting that everything functions correctly when the default setting is to display the output in the bottom pane. It appears that in the latest update of GNOME, some functions have been either removed or renamed.
The error I got is:
WARNING:reST:Falling back to old implementation. Reason: 'PanelContainer' object has no attribute 'add_titled'
Traceback (most recent call last):
File "/home/javad/.local/share/gedit/plugins/reST/__init__.py", line 86, in add_container_to_panel
self.display_panel.add_titled(self.html_container, panel_name,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
AttributeError: 'PanelContainer' object has no attribute 'add_titled'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/javad/.local/share/gedit/plugins/reST/__init__.py", line 63, in do_activate
self.add_container_to_panel()
File "/home/javad/.local/share/gedit/plugins/reST/__init__.py", line 90, in add_container_to_panel
self.display_panel.add_item(self.html_container, panel_name,
^^^^^^^^^^^^^^^^^^^^^^^^^^^
AttributeError: 'PanelContainer' object has no attribute 'add_item'
Traceback (most recent call last):
File "/home/javad/.local/share/gedit/plugins/reST/__init__.py", line 110, in do_update_state
self.html_container.update_view()
File "/home/javad/.local/share/gedit/plugins/reST/restructuredtext.py", line 125, in update_view
if self.preview_visible():
^^^^^^^^^^^^^^^^^^^^^^
File "/home/javad/.local/share/gedit/plugins/reST/restructuredtext.py", line 118, in preview_visible
self.panel.get_visible_child() == self)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
AttributeError: 'PanelContainer' object has no attribute 'get_visible_child'
Traceback (most recent call last):
File "/home/javad/.local/share/gedit/plugins/reST/__init__.py", line 110, in do_update_state
self.html_container.update_view()
File "/home/javad/.local/share/gedit/plugins/reST/restructuredtext.py", line 125, in update_view
if self.preview_visible():
^^^^^^^^^^^^^^^^^^^^^^
File "/home/javad/.local/share/gedit/plugins/reST/restructuredtext.py", line 118, in preview_visible
self.panel.get_visible_child() == self)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
AttributeError: 'PanelContainer' object has no attribute 'get_visible_child'
Traceback (most recent call last):
File "/home/javad/.local/share/gedit/plugins/reST/__init__.py", line 110, in do_update_state
self.html_container.update_view()
File "/home/javad/.local/share/gedit/plugins/reST/restructuredtext.py", line 125, in update_view
if self.preview_visible():
^^^^^^^^^^^^^^^^^^^^^^
File "/home/javad/.local/share/gedit/plugins/reST/restructuredtext.py", line 118, in preview_visible
self.panel.get_visible_child() == self)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
AttributeError: 'PanelContainer' object has no attribute 'get_visible_child'Metadata
Metadata
Assignees
Labels
No labels