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 with gedit >= 3.12 #10

Closed
mcepl opened this issue Jun 27, 2015 · 2 comments
Closed

Broken with gedit >= 3.12 #10

mcepl opened this issue Jun 27, 2015 · 2 comments

Comments

@mcepl
Copy link
Collaborator

mcepl commented Jun 27, 2015

matej@mitmanek: gedit-reflow-plugin (python2 *)$ gedit reflow.py
Traceback (most recent call last):
  File "/home/matej/.local/share/gedit/plugins/reflow.py", line 48, in do_activate
    manager = self.window.get_ui_manager()
AttributeError: 'Window' object has no attribute 'get_ui_manager'
object of type `GtkSourceStyle' does not have property `weight-set'
Traceback (most recent call last):
  File "/home/matej/.local/share/gedit/plugins/reflow.py", line 66, in do_deactivate
    manager = self.window.get_ui_manager()
AttributeError: 'Window' object has no attribute 'get_ui_manager'

Whole discussion on new API is relevant, I guess.

@guillaumechereau
Copy link
Owner

I have the same bug on my machine (debian testing) with gedit 3.14. It seems that the plugins API has changed, but I cannot find any documentation about it.

@mcepl
Copy link
Collaborator Author

mcepl commented Jul 8, 2015

but I cannot find any documentation about it.

The URL I have linked to?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants