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 166489 - no-draw + expand separators in toolbars
no-draw + expand separators in toolbars
Status: RESOLVED FIXED
Product: gtk+
Classification: Platform
Component: Class: UIManager / Actions
unspecified
Other Linux
: Normal enhancement
: ---
Assigned To: gtk-bugs
gtk-bugs
Depends on:
Blocks:
 
 
Reported: 2005-02-06 20:43 UTC by Christian Persch
Modified: 2011-02-04 16:18 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Christian Persch 2005-02-06 20:43:47 UTC
When manually constructing a toolbar, I can force items to the end by adding a
separator toolitem with draw=false, expand=true; all items inserted after that
one will be at the end of the toolbar.
When automatically constructing a toolbar with GtkUIManager however, there is no
way to do this. I propose to add a way to specify this in the UI .xml file
(<separator expand='true'/> or so).
Comment 1 Matthias Clasen 2005-02-08 15:54:14 UTC
2005-02-08  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkuimanager.c (start_element_handler): Accept 
	the "expand" attribute and set a flag in the node if it
	is set to "true".
	(update_node): If the expand flag is set, make separator
	toolitems non-drawn and expanding.  (#166489, Christian Persch)