Go forward in time to March 2004.
Wrote a pretty detailed review of the GtkTreeView drag-and-drop API. I think we can improve on the current situation substantially, and make the DnD API for trees as powerful as the normal API for widgets.
Still, the normal API is hard to use for several reasons. To do interesting/non-trivial stuff, one has to know how to orchestrate ::drag_motion(), gdk_drag_status(), context->actions, and other esoteric things.
New section for the GTK+ documentation: how to use a GtkExpander without a child widget.
Fernando Herrera announced the creation of GNOME Love days, which will be held every Tuesday in #gnome-love on irc.gnome.org. The idea is to guide newbie hackers through making their first contributions to GNOME. This is fantastic news!
Seth made a new design for GtkFileChooser, and JRB and I have been working on implementing it. Anders fixed the separator and weird spacings in the shortcuts list as well, in a flurry of ass-kicking. This is how the dialog looks currently:
This is the widget for Open mode. You can press Control-L to bring up a popup dialog that will let you type a filename directly, just like in Nautilus. Tomorrow, the Save mode version of the widget should be pretty much done.
On Saturday we went to Naolinco, a charming little town near Xalapa. The streets were completely deserted, and children went by lazily in their bicycles, carrying bags full of errands — bread, tortillas, and vegetables. All the houses and the church seem to be freshly painted in bright colors, and people are proud to keep them clean and the streets spotless. The people of the town make leather goods: shoes, jackets, hand bags, gloves...
|
|
|
|
|
|
|
|
Also, over the weekend we watched Something's Gotta Give and Spider. I really liked Spider, but I always like the mood and atmosphere that Cronenberg puts into his movies.
Last night I got a very unpleasant fever and I slept for most of today. Grrrr.
New section for the GTK+ checklist: testing for modifier keys correctly. If you want to test for Control-F10, do this:
static gboolean
my_widget_key_press_event_handler (GtkWidget *widget, GdkEventKey *event)
{
guint modifiers;
modifiers = gtk_accelerator_get_default_mod_mask ();
if (event->keysym == GDK_F10
&& (event->state & modifiers) == GDK_CONTROL_MASK) {
g_print ("Control-F10 was pressed\n");
return TRUE;
}
return FALSE;
}
After some tooth-grinding, I fixed bug #129020, so GtkFileChooserDialog now starts up at a reasonable size. To work around this bug, people often used gtk_window_set_default_size(); you should remove such calls from your programs now.
Also, discovered that adding bookmarks wouldn't work unless your ~/.gtk-bookmarks already existed. This is the typical bug where you screw up the error checking after the first run works correctly on your machine...
We took the bus to Mexico City last night, and we arrived in the morning. Near my mother's house, Oralia took me for breakfast at a little street stall that sells some fantastic tortas de cochinita pibil, or spiced, baked pork in French bread sandwiches. They put mayonnaise with habanero peppers and refried beans into them. It was all so good.
For lunch we met my dad, and he took us to another little street stall that sells... tacos de cochinita pibil. One can never have too much of that stuff. I hope the tasty habaneros don't upset my stomach.
My sister discovers the wonders of a mechanical typewriter:
This is the first time she has actually used one. At first, she would turn the carriage by hand and then push it to the right to make a new line. She had no idea what the big carriage return lever was for, and was ecstatic when I told her about it; "ooh, it does both things at the same time!".
Also, she is a compulsive double-clicker. She would double-click all the links in a browser until I told her a single click was sufficient. When you think of it, double-clicking is a huge source of inconsistencies.
We just did the employee review thing within Novell, and this involves receiving a bunch of MS Word documents, modifying them, and sending them back. This happened with absolutely zero pain, thanks to OpenOffice, Evolution, and everything else. A year or two ago I would have been massively pissed off to have to deal with Word documents, and now it is totally transparent. Kick ass.
My dad and sister came to visit over the long weekend. It is great to see them; I had not seen my dad since Christmas and we were finally able to have some nice, long conversations. My sister is just entering puberty, which means that all sorts of interesting things are going through her head. Also, over the visit Oralia cooked up a storm: Veracruz style-snapper, fantastic black beans, tasty stir-fried vegetables, and Mexican rice pudding. Needless to say that my dad and sister were quite pleased...
I'm moving GtkFileSystemGnomeVFS from its own module to gnome-vfs, and I seem to have lost all my autoconf-fu. This may not be an entirely bad thing.
My dad and my sister are coming to visit on Thursday! I'm completely thrilled.
On Friday we went to watch Love Actually, which was great — how could it not be, if it has all the Brit actor gang in it? Also, over the weekend we mostly vegetated in front of the TV, and we rented Sen to Chihiro no kamikakushi, fantastic; Taking Sides, surprisingly good; and Zelig, which is definitely not as good as Woody Allen's best.
We found a kick-ass little cafe across one of the side streets of the Archeology Museum. The owner is a Spanish guy, and he makes fantastic sandwiches with jamón serrano and lomo al pimiento. We'll have to go there more often...
Go backward in time to January 2004.
Federico Mena-Quintero <federico@gnome.org> Mon 2004/Feb/02 11:32:05 CST