Filtering Recent Documents



Hi, folks.

I'm trying to filter Recent Documents, but had no success. This is a
piece of the code:

  action = gtk_recent_action_new ("recent_connections",
				  _("_Recent connections"),
				  NULL, NULL);
  filter = gtk_recent_filter_new ();
  gtk_recent_filter_add_group (filter, "vinagre");
  gtk_recent_chooser_add_filter (GTK_RECENT_CHOOSER (action),
				 filter);

What's wrong in that code? I'd like to list only documents tagged as
'vinagre'.

Thanks,
-- 
Jonh Wendell
jonh wendell gmail com (MSN / Google Talk)

Linux User #114432
https://launchpad.net/~wendell




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]