summaryrefslogtreecommitdiff
path: root/gtk/gtkseparatortoolitem.c
Commit message (Collapse)AuthorAgeFilesLines
* Add a checkbox to queue an merge/unmerge. Patch from Matthias Clasen.Soeren Sandmann2004-06-051-4/+9
| | | | | | | | | | | | | | | | | | | | | | | Sat Jun 5 20:05:39 2004 Soeren Sandmann <sandmann@daimi.au.dk> * tests/testmerge.c: Add a checkbox to queue an merge/unmerge. Patch from Matthias Clasen. * gtk/gtktoolbar.c (struct _GtkToolbarPrivate): Add a new flag "need_rebuild" (rebuild_menu): New function that rebuilds the overflow menu and makes sure it doesn't start or end with a separator. (toolbar_content_new_tool_item) (toolbar_content_remove) (toolbar_content_new_compatibility): Set the rebuild_needed flag (gtk_toolbar_size_allocate): Only show the overflow arrow when we have actually overflown an item with a proxy menu item. Also make sure we rebuild the menu if needed. Fix #125504, #142377, #143463 * gtk/gtkseparatortoolitem.c (gtk_separator_tool_item_expose): Obey the "priv->draw" flag. (#143692)
* Fixes #136082 and #135265, patch by Morten Welinder.Federico Mena Quintero2004-03-061-0/+1
| | | | | | | | | | 2004-03-05 Federico Mena Quintero <federico@ximian.com> Fixes #136082 and #135265, patch by Morten Welinder. * configure.in: Use AC_SYS_LARGEFILE. * */*.c: #include <config.h>
* Patch from Christian Neumair to make warning string more translatorOwen Taylor2004-01-221-11/+11
| | | | | | | | | | | | | | | | Thu Jan 22 18:45:26 2004 Owen Taylor <otaylor@redhat.com> * gtk/gtkicontheme.c: Patch from Christian Neumair to make warning string more translator friendly. * gtk/gtktreemodelfilter.h gtkseparatortoolitem.[ch] gtk/gtktoolbar.c: Parameter name fixes to keep gtk-doc happy. * configure.in: Require GLib-2.3.2, version 2.3.2, interface age 0, binary age 302. * NEWS: Organized, added some names.
* Add _gtk_toolbar_paint_space_line(), _gtk_toolbar_get_default_space_sizeSoeren Sandmann2004-01-181-65/+9
| | | | | | | | | | Sun Jan 18 15:25:39 2004 Soeren Sandmann <sandmann@daimi.au.dk> * gtk/gtktoolbar.[ch]: Add _gtk_toolbar_paint_space_line(), _gtk_toolbar_get_default_space_size (); * gtk/gtkseparatortoolitem.c (gtk_separator_tool_item_expose, get_space_size): Use them here.
* The first part of the fix for #114351 (see also gdk-pixbuf/ChangeLog andMatthias Clasen2004-01-161-2/+2
| | | | | | | | | | | | | | | | | | | | Fri Jan 16 23:59:01 2004 Matthias Clasen <maclas@gmx.de> The first part of the fix for #114351 (see also gdk-pixbuf/ChangeLog and po/ChangeLog): * gtk/gtkintl.h: * gdk-pixbuf/gdk-pixbuf-i18n.h: * gdk/gdkintl.h: Define P_() for property blurbs and nicks. * gdk/gdkdisplaymanager.c: * gdk-pixbuf/gdk-pixbuf.c: * modules/input/gtkimcontextxim.c: * gtk/*.c: Mark property blurbs and nicks with P_(). * po/Makefile.in.in: Add --keyword=P_ to the xgettext invocation, since property blurbs and nicks are now marked with P_().
* Update my e-mail address.Anders Carlsson2003-12-291-1/+1
| | | | | | | | | | | | | | | | | | 2003-12-29 Anders Carlsson <andersca@gnome.org> * gtk/gtkradiotoolbutton.c: * gtk/gtkradiotoolbutton.h: * gtk/gtkseparatortoolitem.c: * gtk/gtkseparatortoolitem.h: * gtk/gtktoggletoolbutton.c: * gtk/gtktoggletoolbutton.h: * gtk/gtktoolbar.c: * gtk/gtktoolbar.h: * gtk/gtktoolbutton.c: * gtk/gtktoolbutton.h: * gtk/gtktoolitem.c: * gtk/gtktoolitem.h: Update my e-mail address.
* Make this function take an index and a GtkToolItem.Soeren Sandmann2003-10-251-24/+157
| | | | | | | | | | | | | | | | | | | | | | | | | | Thu Oct 23 21:55:10 2003 Soeren Sandmann <sandmann@daimi.au.dk> * gtk/gtktoolbar.c (gtk_toolbar_highlight_drop_location): Make this function take an index and a GtkToolItem. * tests/testtoolbar.c (main): Make "Show Arrow" default to true. Make one of the separators !draw and expand. Update for new highlight_drop_location() API. * gtk/gtktoolitem.[ch]: Remove "pack_end" property * gtk/gtktoolbar.h: Formatting fixes. * gtk/gtktoolbar.c: Remove "pack_end" child property. Allow separator tool items to expand. (logical_to_physical, physical_to_logical): Fix off-by-one errors (Fix #125472, Marco Pesenti Gritti) * gtk/gtkseparatortoolitem.[ch]: Add new "draw" property. (gtk_separator_tool_item_expose) only draw if "draw" is TRUE. Also return FALSE, not TRUE. (gtk_separator_too_item_{set|get}_property, (gtk_separator_tool_item_{set|get}_draw): new functions
* add new "is_important" propertySoeren Sandmann2003-08-041-1/+27
| | | | | | | | | | | | | | | | Fri Aug 1 15:26:46 2003 Soeren Sandmann <sandmann@daimi.au.dk> * gtk/gtktoolbar.c, gtk/toolitem.c: add new "is_important" property * gtk/gtkradiotoolbutton.c (gtk_radio_tool_button_new_from_widget): Don't take a stock id * gtk/gtkradiotoolbutton.c (gtk_radio_tool_button_new_with_stock_from_widget): make this function take a stock_id. * gtk/toolbar: documentation
* remove correction on x when detail is "menuitem". With the new menu lookSoeren Sandmann2003-07-081-2/+24
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Tue Jul 8 19:57:14 2003 Soeren Sandmann <sandmann@daimi.au.dk> * gtk/gtkstyle.c (gtk_default_draw_arrow): remove correction on x when detail is "menuitem". With the new menu look is isn't needed anymore. * gtk/gtktoolitem.c (gtk_tool_item_toolbar_reconfigured): queue a resize here, so that tool items will get a chance to relayout themselves based on the toolbar configuration. change DEFAULT_SPACE_SIZE to 4 instead of 5 * gtk/gtktoolbar.c Get rid of "!GTK_BIN (item)->child means separator". Separators are widgets in their own right change DEFAULT_SPACE_SIZE to 4 instead of 5 (get_space_size): remove this function (toolbar_item_is_homogeneous): new function * gtk/gtkseparatortoolitem.c (gtk_separator_tool_item_size_request): new function. Tue Jul 8 14:10:35 2003 Soeren Sandmann <sandmann@daimi.au.dk> * gtk/gtktoggletoolbutton.h: use private data, add new internal function _gtk_toggle_tool_button_get_button() * gtk/gtktoolbutton.h: move to private data * gtk/gtkradiotoolbutton.c, gtk/gtktoolbutton.c: updates for new private data.
* remove accidentally committed debugging spewSoeren Sandmann2003-07-071-3/+96
| | | | | | | | | | | | | | | | | | Mon Jul 7 16:50:32 2003 Soeren Sandmann <sandmann@daimi.au.dk> * gtk/gtkcellrenderertext.c (gtk_cell_renderer_text_class_init): remove accidentally committed debugging spew * gtk/gtktoolbar.c (gtk_toolbar_paint_space_line): remove this function (gtk_toolbar_expose): always propagate expose, even if the item is a separator item * gtk/gtkseparatortoolitem.c (gtk_separator_tool_item_expose): moved here from gtktoolbar.c (get_space_size): new function. (get_space_style): new function
* gtkradiotoolbutton.c gtkradiotoolbutton.h gtktoggletoolbutton.cSoeren Sandmann2003-06-291-0/+90
Mon Jun 30 01:20:19 2003 Soeren Sandmann <sandmann@daimi.au.dk> * gtkradiotoolbutton.c * gtkradiotoolbutton.h * gtktoggletoolbutton.c * gtktoggletoolbutton.h * gtktoolbutton.c * gtktoolbutton.h * gtktoolitem.c * gtktoolitem.h * gtktoolbar.c * gtktoolbar.h * gtkseparatortoolitem.c * gtkseparatortoolitem.h New toolbar.