Re: Bug in Filechooserbutton????



Jonathon Jongsma escribió:
I can't reproduce this.
Sorry.
Here you have more info:

SO: Debian GNU/Linux (Testing)  Kernel 2.6.24-1-686
Gtkmm-dev: libgtkmm-2.4-dev
Code:

#include <gtkmm/main.h>
#include <gtkmm/window.h>
#include <gtkmm/filechooserbutton.h>

int main (int argc, char *argv[])
{
   Gtk::Main kit(argc, argv);
   Gtk::Window w;
   Gtk::FileChooserButton b;

   b.set_filename("/home/jamf/Desktop/file.txt");
   w.add(b);
   w.show_all_children();
   kit.run(w);

   return 0;
}

This code show nothing in the Gtk::FileChooserButton. If you move "file.txt" outside Desktop path (/home/jamf/file.txt for example), the Gtk::FileChooserButton show "file.txt" with no problem.

Regards:
Juan Ángel Moreno Fernández


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