Verbose Logging

software development with some really amazing hair

T + S G I F R

Articles tagged with "gnome"

Gtk And Ruby Threading Issues

· Posted in Programming
In one of my classes, we used Ruby and Gtk, but some issues popped up. The most obvious is using a block to do GUI update stuff and the like, from another thread. Things die. Puppies are killed. I found this post on Ruby Forum which fixed the problem. Relevant code. Basically, you call the Gtk.init_thread_protect method first when you start things up, then, whenever you need to do GUI update stuff, just wrap it in a Gtk.thread_protect {} block. …

Scribes, An Editor For Gnome

· Posted in Software
I checked out Scribes this week, and I must say it has potential. It has a slick yet simple interface and look, and a few nice features. It has word completion and template support, so you can setup snippets, and tell the cursor to tab through sections, so for example, you can have a ruby snippet to make a do end block, which will create the code, put the cursor in the block variable section, then a tab puts you in the block so you can write the…