Bug#504808: GtkFileChooser: doesn't show removed folder on list, but shows it on completion

Marco Túlio Gontijo e Silva marcot at riseup.net
Fri Nov 7 17:05:45 UTC 2008


Em Sex, 2008-11-07 às 16:30 +0100, Josselin Mouette escreveu:
> Le vendredi 07 novembre 2008 à 12:34 -0200, Marco Túlio Gontijo e Silva
> a écrit :
> > I've tested gnome-vfs with ssh, and in this case it only updates the
> > list when you go out and in of the folder, so at least the completion is
> > integrated with the list.
> > 
> > Maybe it's another bug that with gnome-vfs+ssh it's not updating the
> > list when something is changed, but I think it's a more natural
> > behaviour.
> 
> Using the gnome-vfs backend also affects the behavior for local files;
> I’d like to know whether this changes anything in this case.

Sorry for that.  I got the same behaviour here with gnome-vfs.  Code:

#include <gtk/gtk.h>

int main (int argc, char **argv) {
  GtkWidget *window, *fileChooser;
  gtk_init(&argc, &argv);
  window = gtk_window_new(GTK_WINDOW_TOPLEVEL);
  fileChooser
    = g_object_new(
        GTK_TYPE_FILE_CHOOSER_WIDGET,
        "action", GTK_FILE_CHOOSER_ACTION_CREATE_FOLDER,
        "file-system-backend", "gnome-vfs",
        NULL);
  gtk_file_chooser_set_local_only(GTK_FILE_CHOOSER(fileChooser), FALSE);
  gtk_container_add(GTK_CONTAINER(window), GTK_WIDGET(fileChooser));
  gtk_widget_show_all(window);
  gtk_main();
  return 0;
}

-- 
marcot
http://marcot.iaaeee.org/








More information about the pkg-gnome-maintainers mailing list