GNOME Bugzilla – Bug 385902
GtkPathBar
Last modified: 2009-01-20 08:23:56 UTC
The GtkPathBar widget does not seem to be exported; at least according to documentation and CVS HEAD (there's no gtk_path_bar_new in gtkpathbar.h). This widget is used mainly by the file chooser classes, but it could be a nice widget to have available in the API. Some popular file managers like Nautilus (see nautilus-pathbar.c) or Thunar (see thunar-location-buttons.c) reimplement this widget. Having it exported from GTK would unify efforts and other file managers such as ROX would benefit from this.
I forgot to mention that, besides, the GtkPathBar code is present in libgtk anyway. Exporting could help in reducing the size (even though not much) of the other libraries and applications as they wouldn't need to implement it.
The path bar was intentionally kept as an implementation detail of the file chooser. It needs a careful api review before we can consider making it part of the public supported api.
It seems that NautilusPathBar is a re-factored copy of GtkPathBar: http://svn.gnome.org/viewcvs/nautilus/trunk/src/nautilus-pathbar.c?view=log
Then why have it duplicated?
Thanks for the bug report. This particular bug has already been reported into our bug tracking system, but please feel free to report any further bugs you find. *** This bug has been marked as a duplicate of 320247 ***