GTK 2.6.10 filechooser bug



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.




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