Work on Deskbar is slowing down

Unfortunatly, I made even less changes to Deskbar-Applet than last week. I did some minor changes and started on integrating new-stuff-manager support for Deskbar.

I ran into a very annoying problem with threads in GTK+. I know that GTK+ is only thread-aware and you have to surround the critical parts with gtk.gdk.threads_enter() and gtk.gdk.threads_leave(). I already did this where the results are added to the ListStore/TreeView storing the matches. However, now and then I get a Xlib asynchronous error. I couldn’t find a situation where I can reproduce this error reliably. I would be glad if anybody could give some tips on working with threads and GTK+.

Changes in detail:

  • Pressing enter launches the first match
  • Installing modules via Drag & Drop in preferences is now possible
  • Selected text will be inserted into the entry if Deskbar is triggered
Avatar
Sebastian Pölsterl
Post-Doctoral Researcher

My research interests include distributed robotics, mobile computing and programmable matter.