After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 303825 - broken addShortcutFolder and addShortcutURI in FileChooserWidget
broken addShortcutFolder and addShortcutURI in FileChooserWidget
Status: VERIFIED FIXED
Product: java-gnome
Classification: Bindings
Component: GTK
Really Ancient
Other All
: High critical
: ---
Assigned To: Ismael Juma
Ismael Juma
Depends on:
Blocks:
 
 
Reported: 2005-05-11 18:29 UTC by pancake
Modified: 2009-08-15 18:40 UTC
See Also:
GNOME target: ---
GNOME version: 2.9/2.10



Description pancake 2005-05-11 18:29:37 UTC
Steps to reproduce:
1. calling addShortcutFolder("path/to/folder");
2. calling addShortcutURI("path/to/folder");


Stack trace:
java.lang.Exception: gtk_file_system_get_folder: assertion `error == NULL ||
*error == NULL' failed
        at org.gnu.glib.GObject.printStackTrace(GObject.java:644)
        at
org.gnu.gtk.FileChooserHelper.gtk_file_chooser_add_shortcut_folder(Native Method)
        at
org.gnu.gtk.FileChooserWidget.addShortcutFolder(FileChooserWidget.java:324)
        at Gdvb.addLocalVideos(Gdvb.java:226)
        at Gdvb.<init>(Gdvb.java:450)
        at Gdvb.main(Gdvb.java:466)


Other information:
Comment 1 Ismael Juma 2005-05-17 19:38:35 UTC
Fixed in HEAD and gtk-java-2-6 branch. Thanks for reporting this. If you have 
any issues please re-open. 
 
Note that removeShortcutURI will not work as it should at the moment due to a 
bug in gtk+ itself. See http://bugzilla.gnome.org/show_bug.cgi?id=304565. It is 
a simple fix and it should be merged soon.