Category Archives: Computers

Using GtkBuilder and connect_signals

I have been hunting spontaneous crashes with errors from the C GTK libs. The errors looked somewhat like these: Warning: g_object_ref: assertion `G_IS_OBJECT (object)’ failed gtk.main() Warning: instance of invalid non-instantiatable type `AtkSelection’ gtk.main() Warning: g_signal_emit_valist: assertion `G_TYPE_CHECK_INSTANCE (instance)’ failed … Continue reading

Posted in Python | Tagged , , , | Leave a comment

Headaches over disabling/enabling services in Ubuntu?

I’ve recently found myself trying to disable a service in Ubuntu 10.10 — problem was that every time I rebooted, it started anyways. The service I was trying to disable had changed from inetd to rc.d to Upstart during the … Continue reading

Posted in Ubuntu | Tagged , , , | 3 Comments

Changing the Django Admin site title

Often the Django Admin should look a little different for the sake of your users or for the sake of yourself (running multiple django sites with identical looks and titles can be such a pain). Often users don’t know what … Continue reading

Posted in Django | Tagged , , | 2 Comments

Uservoice feedback widget: Changing its style

I have a feedback tab that’s blocking vital content on a website. Here’s how to alter the style of the Uservoice Feedback Tab — for instance the vertical offset: You have to insert this AFTER your widget js code, so … Continue reading

Posted in Web | Tagged , , , , | 1 Comment