After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 627482 - Port snippets plugin to gedit-3/libpeas
Port snippets plugin to gedit-3/libpeas
Status: RESOLVED FIXED
Product: gedit-plugins
Classification: Other
Component: General
unspecified
Other All
: Normal normal
: ---
Assigned To: Gedit maintainers
Gedit maintainers
Depends on: 627344 627444 627545 642554
Blocks:
 
 
Reported: 2010-08-20 10:42 UTC by jessevdk@gmail.com
Modified: 2019-03-23 20:36 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description jessevdk@gmail.com 2010-08-20 10:42:04 UTC
The snippets plugin should be ported to gedit-3/libpeas/pygobject. It uses a substantial amount of different APIs so it's a good test case of how far the current gi work works.
Comment 1 jessevdk@gmail.com 2010-12-27 16:45:51 UTC
First patch is in. It's not finished yet due to things missing in pygobject (mostly).
Comment 2 jessevdk@gmail.com 2010-12-27 20:51:23 UTC
What currently doesn't work yet:

1) Draw callback in the view for drawing placeholders doesn't work because foreign types don't work yet in callbacks in pygi.

2) get_iter_location doesn't work yet, also because of foreign types.

3) Launching the manager from menu is not ideal because now it cannot be shared anymore with the dialog launched from peas.

4) We should port the sigalarm ugly code in the py/shell placeholders to use threads now that we can.
Comment 3 johnp 2011-02-23 17:06:15 UTC
foreign types in signals should work now.

Working on a fix for GdkEventButton->GdkEvent issue this bug was linked from.
Comment 4 Ignacio Casal Quinteiro (nacho) 2011-03-02 12:45:04 UTC
I'm happy to say that snippets finally works. I've just pushed a patch fixing the drawing problems we had. :)
I'm not closing this as I want jesse to check all the features that I don't know from this plugin ;)
Comment 5 Ignacio Casal Quinteiro (nacho) 2011-03-27 11:08:33 UTC
I think we can close this now. Thanks everybody for the work.