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 318796 - IconView: add get/set reorderable
IconView: add get/set reorderable
Status: VERIFIED FIXED
Product: java-gnome
Classification: Bindings
Component: GTK
Really Ancient
Other All
: Normal enhancement
: ---
Assigned To: Ismael Juma
Ismael Juma
Depends on:
Blocks:
 
 
Reported: 2005-10-13 19:48 UTC by Emmanuel Rodriguez
Modified: 2009-08-15 18:40 UTC
See Also:
GNOME target: ---
GNOME version: Unversioned Enhancement


Attachments
Modifications to the class IconView (2.22 KB, patch)
2005-10-13 19:51 UTC, Emmanuel Rodriguez
committed Details | Review
Modifications to org_gnu_gtk_IconView.c (1.24 KB, patch)
2005-10-13 19:59 UTC, Emmanuel Rodriguez
committed Details | Review

Description Emmanuel Rodriguez 2005-10-13 19:48:58 UTC
Add the java methods to interface with the c functions for
gtk_icon_view_set_reorderable and gtk_icon_view_get_reorderable
Comment 1 Emmanuel Rodriguez 2005-10-13 19:51:48 UTC
Created attachment 53430 [details] [review]
Modifications to the class IconView

Added the methods:
  public void setReorderable(boolean reorderable)
  public boolean getReorderable()
  native static final protected boolean gtk_icon_view_get_reorderable(Handle
view);

  native static final protected void gtk_icon_view_set_reorderable(Handle view,
boolean reorderable);
Comment 2 Emmanuel Rodriguez 2005-10-13 19:59:25 UTC
Created attachment 53431 [details] [review]
Modifications to org_gnu_gtk_IconView.c

Added the methods:
  Java_org_gnu_gtk_IconView_gtk_1icon_1view_1set_1reorderable
  Java_org_gnu_gtk_IconView_gtk_1icon_1view_1get_1reorderable
Comment 3 Ismael Juma 2005-10-13 21:21:14 UTC
Thanks for the patch. I've committed a slightly modified version (mostly
formatting and comments) to CVS HEAD.