Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

broken on gnome 46 : 'PanelContainer' object has no attribute 'get_visible_child' #60

Open
realKarthikNair opened this issue Apr 1, 2024 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@realKarthikNair
Copy link

karthik@fedora:~$ gedit --version
gedit - Version 46.1
karthik@fedora:~$ gedit
Traceback (most recent call last):
  File "/home/karthik/.local/share/gedit/plugins/markdown_preview/__init__.py", line 93, in do_activate
    self.preview.do_activate()
  File "/home/karthik/.local/share/gedit/plugins/markdown_preview/main_container.py", line 52, in do_activate
    self.build_preview_ui()
  File "/home/karthik/.local/share/gedit/plugins/markdown_preview/main_container.py", line 207, in build_preview_ui
    self.show_on_panel()
  File "/home/karthik/.local/share/gedit/plugins/markdown_preview/main_container.py", line 463, in show_on_panel
    self.panel.add_titled(self.preview_bar, 'markdown_preview', _("Markdown Preview"))
    ^^^^^^^^^^^^^^^^^^^^^
AttributeError: 'PanelContainer' object has no attribute 'add_titled'
Traceback (most recent call last):
  File "/home/karthik/.local/share/gedit/plugins/markdown_preview/__init__.py", line 101, in do_update_state
    self.preview.do_update_state()
  File "/home/karthik/.local/share/gedit/plugins/markdown_preview/main_container.py", line 70, in do_update_state
    elif self.panel.get_visible_child() != self.preview_bar:
         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
AttributeError: 'PanelContainer' object has no attribute 'get_visible_child'
Traceback (most recent call last):
  File "/home/karthik/.local/share/gedit/plugins/markdown_preview/__init__.py", line 101, in do_update_state
    self.preview.do_update_state()
  File "/home/karthik/.local/share/gedit/plugins/markdown_preview/main_container.py", line 70, in do_update_state
    elif self.panel.get_visible_child() != self.preview_bar:
         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
AttributeError: 'PanelContainer' object has no attribute 'get_visible_child'
Traceback (most recent call last):
  File "/home/karthik/.local/share/gedit/plugins/markdown_preview/__init__.py", line 101, in do_update_state
    self.preview.do_update_state()
  File "/home/karthik/.local/share/gedit/plugins/markdown_preview/main_container.py", line 70, in do_update_state
    elif self.panel.get_visible_child() != self.preview_bar:
         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
AttributeError: 'PanelContainer' object has no attribute 'get_visible_child'
Traceback (most recent call last):
  File "/home/karthik/.local/share/gedit/plugins/markdown_preview/__init__.py", line 101, in do_update_state
    self.preview.do_update_state()
  File "/home/karthik/.local/share/gedit/plugins/markdown_preview/main_container.py", line 70, in do_update_state
    elif self.panel.get_visible_child() != self.preview_bar:
         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
AttributeError: 'PanelContainer' object has no attribute 'get_visible_child'
Traceback (most recent call last):
  File "/home/karthik/.local/share/gedit/plugins/markdown_preview/main_container.py", line 357, in on_file_changed
    self._update_panel_visibility()
  File "/home/karthik/.local/share/gedit/plugins/markdown_preview/main_container.py", line 485, in _update_panel_visibility
    if self.panel.get_visible_child() == self.preview_bar:
       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
AttributeError: 'PanelContainer' object has no attribute 'get_visible_child'
@maoschanz maoschanz self-assigned this Apr 2, 2024
@maoschanz maoschanz added the bug Something isn't working label Apr 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants