-
Notifications
You must be signed in to change notification settings - Fork 3
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
not running in 3.36.1 #13
Comments
so the plugin tries to get scroll window (the widget which contains the code) before 3.36 parent of this the whole process was something like this: scrolledwindow = self.get_scrolledwindow(view)
box = scrolledwindow.get_parent()
box.pack_end(webview, True, True, 0) but now the box doesn't exist anymore and instead of the box there is a As the result the current hacky way to patch webview doesn't work anymore and we have to find a new hacky way to bring it back, which won't be easy |
Would replicating and mirroring the left side pane code work? |
Or, is it even possible to hook into gedit appropriately for that to be an option? |
Sadly it's out of my GTK knowledge to work further on it. |
Hi @swilmet sorry to grab you into this conversation but do you have any suggestion for us? |
There is GeditTab (subclass of GtkBox, vertical) which contains a GeditViewFrame (subclass of GtkOverlay, and GtkOverlay is a subclass of GtkBin so it can contain only one child widget). The GeditViewFrame contains the GtkScrolledWindow which contains the GeditView. Note that the GeditTab can contain also a GtkInfoBar above the GeditViewFrame. It's possible to re-parent a widget by increasing the ref count on it, call I know that there is a plugin that restores the overview/minimap on the right side of the scrolled window, maybe the same code can be used to pack something on the right side: https://github.com/johnfactotum/gedit-restore-minimap |
After upgrading to Ubuntu 20.04 and attempting to run the plugin with Gedit launched from terminal, the following error occurs:
The text was updated successfully, but these errors were encountered: