~ubuntu-branches/ubuntu/maverick/brasero/maverick

« back to all changes in this revision

Viewing changes to libbrasero-utils/brasero-misc.c

  • Committer: Bazaar Package Importer
  • Author(s): Martin Pitt
  • Date: 2010-01-04 17:45:17 UTC
  • mfrom: (1.1.36 upstream)
  • Revision ID: james.westby@ubuntu.com-20100104174517-vz0avr4o1vdfusrf
Tags: 2.29.4-0ubuntu1
* New upstream release:
  - Bug fixes
  - Fixes for Video DVD
  - Updated translations.
* Add 001_nautilus_lazy_init.patch: Do not call brasero_*_start() at
  nautilus startup, they are very expensive; lazily initialize those
  instead.

Show diffs side-by-side

added added

removed removed

Lines of Context:
271
271
}
272
272
 
273
273
GtkWidget *
 
274
brasero_utils_properties_get_label (GtkWidget *properties)
 
275
{
 
276
        GList *children;
 
277
        GList *iter;
 
278
 
 
279
        children = gtk_container_get_children (GTK_CONTAINER (properties));
 
280
        for (iter = children; iter; iter = iter->next) {
 
281
                GtkWidget *widget;
 
282
 
 
283
                widget = iter->data;
 
284
                if (GTK_IS_LABEL (widget)) {
 
285
                        g_list_free (children);
 
286
                        return widget;
 
287
                }
 
288
        }
 
289
 
 
290
        g_list_free (children);
 
291
        return NULL;
 
292
}
 
293
 
 
294
GtkWidget *
274
295
brasero_utils_pack_properties_list (const gchar *title, GSList *list)
275
296
{
276
297
        GtkWidget *hbox, *vbox_main, *vbox_prop;