This week report

Well, I’m pretty happy of my work this week-end. Being part of the GNOME doc hackfest and taking part of FOSDEM gave me some motivation.

totem-3-11
Totem window displaying sources

Yesterday, I started to play with latest totem and discussing a bit with Bastien Nocera (Totem developer) who suggested me I could fix some trivial bugs:

  • Preferences window UI issues: This one was supposed to be really straighforward, but I spend 2 hours figuring why the functions gtk_window_set_modalgtk_window_set_transient_for weren’t working. I ended patching some various part of the code with the same functions, the preferences window was neither modal nor transient. Eventually I came across the property hint_type and changed it for the preference window to GDK_WINDOW_TYPE_HINT_DIALOG and it worked. Perhaps it would be valuable for new comers to mention it somehow in the documentation (sorry if it’s already the case but didn’t see it)
  • Properties header bar looks bad: this one was really easy but after wasting nearly 2 hours of the previous one I needed something really easy, and in a matter of 5 minutes the job was done. Seeing this two bugs, I wondering if using GtkHeaderBar on dialog is such a good idea, because it make the window bar so big, I prefer this way.

So even you’re not a seasoned coder you can help, look in bugzilla your preferred application and ask if you can help. There are always some easy tasks to do that just for you. Some are even tagged as gnome-love in bugzilla.

Another thing, related to totem, I published a video of this pretty development version of totem I was trying. I started publishing videos by December when I had to do a demo of my FLOSS contribution at work and I wanted to show people GNOME in action, so videos seemed to me a good idea. I set up a dedicated channel and I post from time to time some videos (which are kinda lame, I want to improve the presentation).

I also started looking at the Totem documentation, as the current one is outrageously outdated, opened some bugs and corrected some translations.

A pretty busy week-end I’d say.

6 thoughts on “This week report

  1. The preferences header bar is a subjective thing, but I have always found the old way to be a little odd – Just feeling wrong without being eble to explain how.

    It seems that using a header bar may be an improvement subjectively from my perspective.

  2. Nice work!

    Re. the ‘hint-type’ property: please just improve the GTK+ documentation yourself. It’ll take 15 minutes and potentially save other people multiples of the 2 hours you spent figuring out what to do. :-) Documentation patches are always welcome in GTK+.

    1. Hi Philip,

      That’s a good idea but I needed to know how all cases of hint-type and their influence on how window will react to document this setting. That’s why I didn’t think to propose a patch.

      I could attach a first draft asking for more information on a bug…

      I’ll try to do that.

  3. One question. The second screenshot attached to the bug does look better – but how do you close the dialog? There’s no close button in the title bar, but nor is there anything like a cancel or close button within the dialog itself…

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>