GTK 2.6.10 filechooser bug

2006-10-29 Thread mikecorn

After updating to Ubuntu 6.10 and rebuilding my GTK apps, I see that there is
an apparent bug in gtk_file_chooser: hidden files can no longer be
displayed.

void fc_dialog(char * dirk)
{
   fc_dialogbox = gtk_dialog_new_with_buttons("choose files", 
GTK_WINDOW(mainWin),GTK_DIALOG_MODAL,
"include",101,"exclude",102,"done",103,null);

   gtk_window_set_default_size(GTK_WINDOW(fc_dialogbox),700,600);
   g_signal_connect(fc_dialogbox,"response",G_CALLBACK(fc_response),0);

   fc_widget = gtk_file_chooser_widget_new(GTK_FILE_CHOOSER_ACTION_OPEN);
   gtk_file_chooser_set_current_folder(GTK_FILE_CHOOSER(fc_widget),dirk);
   gtk_file_chooser_set_select_multiple(GTK_FILE_CHOOSER(fc_widget),1);
   gtk_file_chooser_set_show_hidden(GTK_FILE_CHOOSER(fc_widget),1);

  
gtk_container_add(GTK_CONTAINER(GTK_DIALOG(fc_dialogbox)->vbox),fc_widget);

   gtk_widget_show_all(fc_dialogbox);
   return;
}

The displayed widget shows other files normally, but no hidden files. This
code worked fine with the GTK library released with Ubuntu 6.06.

Is there a workaround or a fix for this ??

many thanks

-- 
View this message in context: 
http://www.nabble.com/GTK-2.6.10-filechooser-bug-tf2533608.html#a7058822
Sent from the Gtk+ - Dev - General mailing list archive at Nabble.com.

___
gtk-devel-list mailing list
gtk-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-devel-list


Re: GRegex

2006-10-29 Thread Marco Barisione
Il giorno sab, 28/10/2006 alle 19.35 +0200, Murray Cumming ha scritto:
> If it's possible, it would be nice to avoid making it a GObject just to
> add easy reference counting. That tends to restrict how it can be
> wrapped by language bindings for whom automatic memory management is not
> the default.

It can't be a GObject because GRegex will be in libglib.

> I don't know exactly how it might be done in C (it's easy in C++), but I
> would hope that there's some way to reference-count anything without
> forcing the object itself to do the reference counting.

What do you mean? GRegex handles ref counting as other structures in
GLib.

-- 
Marco Barisione
http://www.barisione.org/

___
gtk-devel-list mailing list
gtk-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-devel-list