Skip to content

Support for Gedit 46#63

Open
kitzberger wants to merge 2 commits into
maoschanz:release-3.0from
kitzberger:gedit-46
Open

Support for Gedit 46#63
kitzberger wants to merge 2 commits into
maoschanz:release-3.0from
kitzberger:gedit-46

Conversation

@kitzberger

@kitzberger kitzberger commented Oct 17, 2025

Copy link
Copy Markdown
Contributor

Adjusts the plugin to Gedit 46.2 so it's working again.

Remaining problems:

  • when starting gedit and the markdown plugin is set to sidebar mode, the panel is not properly initialized.
  • when being in sidebar mode there's no 3rd option in the sidebar dropdown (next to "file browser" and "open documents")

Resolves: #60, #61

- Configure GI_TYPELIB_PATH and LD_LIBRARY_PATH for Gedit API access
- Update WebKit2 version requirement from 4.0 to 4.1
- Add explicit GTK 3.0, PeasGtk 1.0, and Gedit 3.0 version requirements
- Ensure proper module loading order across all components
- Fix import statements in tags_manager.py for localization support

This enables the plugin to work with modern Gedit versions that use the Tepl
library framework, while maintaining backward compatibility. The plugin now
automatically configures the required library paths on x86_64 systems.

Requires: gedit-dev, gir1.2-peas-1.0, gir1.2-gtk-3.0, gir1.2-tepl-6
- Simplify complex panel detection and integration logic in main_container.py
- Add clean panel_integration.py helper for Tepl panel fallback approach
- Fix variable reference bug in tags_manager.py table insertion
- Replace 800+ lines of nested debugging code with streamlined 24-line solution
- Maintain full functionality while dramatically reducing code complexity

Resolves panel integration issues with Gedit 46.2's Tepl-based sidebar system.
@kitzberger kitzberger changed the base branch from master to release-3.0 October 17, 2025 08:52
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

Successfully merging this pull request may close these issues.

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

1 participant