Category Archives: Projects

Tea Time release for 12.04

Although it is not precisely the release date of precise, I am still in time to call it 12.04 :)

So here comes the Tea Time release for Ubuntu 12.04, the new features are:

  • allow setting timers > 1h
  • bug fixes
  • translation updates

speaking of translations there is also an about menu now, where all translators contributing over launchpad get their credit. Have a nice tea ;)

 

Teatime Updated for Oneiric

In case you have been holding back the update to oneiric until all programs are ported, you have now one reason less. Teatime has now peen ported to oneiric and is available in my PPA.

Maybe the most obvious change is that it now uses a different icon. The simple reason behind this is that the old one is no longer available in the oneiric icon set ;)

But as this is the first update since my initial post about teatime there are also some visible (audible changes)

For the python developers among you

As python was already written using GObject introspection on Natty it automatically picked up GTK3 with Oneiric, so no porting was required here. Great news if you were afraid of the GTK2 to GTK3 transition.

But unfortunately the GIR python bindings are not as stable as I would like them to be. The code that worked flawlessly with Natty stopped working on Oneiric with some awkward error message. (I am still not sure whether GIR or GTK3 is to blame)

Tea Time: Main Window

Intruducing Teatime

Since Unity does not support panel-applets any more, I also could not use timer-applet, which I used as an egg-timer. After several 30min “brewed” teas, I finally decided that I needed an replacement. So I started writing Tea Time.

Tea Time: Main Window

Instead of just porting timer-applet to the indicators API, I wrote Tea Time as an ordinary program and use the features of Unity instead, so I could take at the new APIs along the way.

Besides I think that porting every possible applet from gnome2 to the indicators API is not the way to go. The top-right of my screen is pretty cramped again already and one really does not need to see the timer information all the time. I hope Unity will get a Dashboard similar to the one in OSX soon, as this is really the place where most of the applets belong. But for the time being I used the Unity launcher.

When a timer is running, a progress bar is displayed

So when you click on Start Timer Tea Time minimises to the launcher instead of the notification area and starts displaying a progress bar. I also added the time elapsed since the timer finished to the notification bubble.

The notification also tells you how long the tea has already waited for you

So in case you miss the first notification(did not look at the PC for instance), you now instantly see whether you can still drink your tea or whether you can instantly pour it away.

Tea Time is as usual available from my PPA.

The nicest thing is that all of this fits into just about 250 lines of python. :)