summaryrefslogtreecommitdiff
path: root/gtk/gtktoolbutton.c
Commit message (Collapse)AuthorAgeFilesLines
* Give GtkToolButton the same treatment.Matthias Clasen2006-06-081-1/+17
| | | | | | | 2006-06-08 Matthias Clasen <mclasen@redhat.com> * gtk/gtktoolbutton.c (gtk_tool_button_style_set): Give GtkToolButton the same treatment.
* Add an icon-spacing style property for the same purpose.Matthias Clasen2006-06-011-2/+37
| | | | | | | | | | | 2006-06-01 Matthias Clasen <mclasen@redhat.com> * gtk/gtktoolbutton.c (gtk_tool_button_class_init): Add an icon-spacing style property for the same purpose. * gtk/gtkbutton.c (gtk_button_class_init): Add an image-spacing style property that allows to adjust the spacing between image and label in button. (#320431, James Moger)
* Boilerplate reductionMatthias Clasen2006-05-021-18/+7
|
* Make clicked an action signal. (#325782, Martyn Russell)Matthias Clasen2006-01-061-1/+1
| | | | | | | 2006-01-06 Matthias Clasen <mclasen@redhat.com> * gtk/gtktoolbutton.c (gtk_tool_button_class_init): Make clicked an action signal. (#325782, Martyn Russell)
* Fix a variable name clash. (#323475, Ross Burton)Matthias Clasen2005-12-071-3/+3
| | | | | | | 2005-12-07 Matthias Clasen <mclasen@redhat.com> * gtk/gtktoolbutton.c (clone_image_menu_size): Fix a variable name clash. (#323475, Ross Burton)
* If the toolbar mode is ICONS and there is no icon set then show the label, ↵Ross Burton2005-12-071-0/+16
| | | | and vice versa (#322019)
* Forgotten commitMatthias Clasen2005-12-051-1/+5
|
* deprecated floating/sink API and implemented it in terms of the GObjectTim Janik2005-11-231-4/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Wed Nov 23 18:55:47 2005 Tim Janik <timj@imendio.com> * gtk/gtkobject.[hc]: deprecated floating/sink API and implemented it in terms of the GObject floating/sink API. * gtk/gtkaboutdialog.c: * gtk/gtkaction.c: * gtk/gtkcellview.c: * gtk/gtkclist.c: * gtk/gtkcolorsel.c: * gtk/gtkcombobox.c: * gtk/gtkfilechooserdefault.c: * gtk/gtkiconview.c: * gtk/gtkinvisible.c: * gtk/gtkitemfactory.c: * gtk/gtklayout.c: * gtk/gtkmenu.c: * gtk/gtkmenutoolbutton.c: * gtk/gtknotebook.c: * gtk/gtkprogress.c: * gtk/gtkrange.c: * gtk/gtkspinbutton.c: * gtk/gtkstatusicon.c: * gtk/gtktext.c: * gtk/gtktextview.c: * gtk/gtktoolbar.c: * gtk/gtktoolbutton.c: * gtk/gtktoolitem.c: * gtk/gtktreeitem.c: * gtk/gtktreeview.c: * gtk/gtktreeviewcolumn.c: * gtk/gtkuimanager.c: * gtk/gtkviewport.c: * gtk/gtkwidget.c: * gtk/gtkwindow.c: ported to use GObject's g_object_ref_sink(). * gtk/gtkcolorsel.c: * gtk/gtkfilechooserdefault.c: * gtk/gtkaboutdialog.c: fixed compiler warnings.
* Various cleanups. (#315360, Kjartan Maraas)Matthias Clasen2005-09-131-2/+0
| | | | | | 2005-09-13 Matthias Clasen <mclasen@redhat.com> * gtk/*.c: Various cleanups. (#315360, Kjartan Maraas)
* Intern some more strings.Matthias Clasen2005-09-011-2/+2
| | | | | | | | | 2005-09-01 Matthias Clasen <mclasen@redhat.com> * gdk/*.c: Intern some more strings. * gtk/gtkintl.h: * gtk/*.c: Define an I_() macro and use it instead of the bulky g_intern_static_string().
* Intern type names in code generated by glib-mkenums, too.Matthias Clasen2005-08-311-1/+1
| | | | | | | | | | | | | 2005-08-31 Matthias Clasen <mclasen@redhat.com> * gdk/Makefile.am: * gtk/Makefile.am: Intern type names in code generated by glib-mkenums, too. * gtk/*.c: * gdk/x11/*.c: * gdk/*.c: Intern type names before registering the type to avoid unnecessary copies.
* Fix parameter names to make gtk-doc happy.Matthias Clasen2005-05-181-1/+1
| | | | | | | 2005-05-18 Matthias Clasen <mclasen@redhat.com> * gtk/gtktoolbutton.c (gtk_tool_button_set_icon_name): Fix parameter names to make gtk-doc happy.
* Support named icons in tool buttons by adding a icon-name property.Matthias Clasen2005-05-181-8/+90
| | | | | | | | | | 2005-05-18 Matthias Clasen <mclasen@redhat.com> * gtk/gtk.symbols: * gtk/gtktoolbutton.h: * gtk/gtktoolbutton.c (gtk_tool_button_set_icon_name) (gtk_tool_button_get_icon_name): Support named icons in tool buttons by adding a icon-name property.
* Use canonical names for g_object_notify() as well.Matthias Clasen2005-03-261-5/+5
| | | | | | | | 2005-03-26 Matthias Clasen <mclasen@redhat.com> * gtk/*.c: * gdk/gdkdisplaymanager.c: Use canonical names for g_object_notify() as well.
* Define macros GTK_PARAM_READABLE, GTK_PARAM_WRITABLE, GTK_PARAM_READWRITEMatthias Clasen2005-03-221-5/+6
| | | | | | | | | | | | 2005-03-21 Matthias Clasen <mclasen@redhat.com> * gtk/gtkprivate.h: Define macros GTK_PARAM_READABLE, GTK_PARAM_WRITABLE, GTK_PARAM_READWRITE which are like their G_ counterparts, but also mark the name, nick and blurb as static. * gtk/*.c: Mark param spec strings as static, using the new macros.
* Make PLT-reduction work with gcc4, and don't include everything inMatthias Clasen2005-03-201-1/+3
| | | | | | | | | | | | | | | | | | 2005-03-20 Matthias Clasen <mclasen@redhat.com> Make PLT-reduction work with gcc4, and don't include everything in gdkalias.h: * gtk/grk.symbols: Group symbols by header and source file. * gtk/makegtkalias.pl: Protect definitions by the same preprocessor symbols used to guard the headers. Move the alias declarations to a separate file which is produced when calling makegtkalias.pl -def * gdk/Makefile.am (gtkaliasdef.c): Add a rule to generate this file. * gtk/*.c: Include gtkalias.h after the other headers, include gtkaliasdef.c at the bottom. * gtk/*.h: Small cleanups.
* More canonical property names.Matthias Clasen2005-03-091-4/+4
|
* gdk/linux-fb/gdkgc-fb.c gdk/win32/gdkgc-win32.cManish Singh2004-11-191-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fri Nov 19 14:54:09 2004 Manish Singh <yosh@gimp.org> * gdk/linux-fb/gdkgc-fb.c * gdk/win32/gdkgc-win32.c * gdk/win32/gdkwindow-win32.c * gtk/gtkaboutdialog.c * gtk/gtkaction.c * gtk/gtkactiongroup.c * gtk/gtkcellrendererprogress.c * gtk/gtkcellview.c * gtk/gtkcolorbutton.c * gtk/gtkcombobox.c * gtk/gtkcomboboxentry.c * gtk/gtkentrycompletion.c * gtk/gtkfilechooserbutton.c * gtk/gtkmenutoolbutton.c * gtk/gtkrc.c * gtk/gtksettings.c * gtk/gtkstyle.c * gtk/gtktoggletoolbutton.c * gtk/gtktoolbutton.c * gtk/gtktoolitem.c * gtk/gtktreemodelfilter.c * gtk/gtktreeselection.c * gtk/gtktreeviewcolumn.c * gtk/gtkuimanager.c: get rid of unnecessary casts. * gtk/gtkfilechooserbutton.c (gtk_file_chooser_button_set_property): cast away the const for g_value_set_enum. This is after the g_warning, so this is a hack to begin with. * gtk/gtkfilechooserdefault.c (gtk_file_chooser_default_set_property): add a cast to GTK_FILE_CHOOSER for impl here.
* Call gtk_tool_item_rebuild_menu().Søren Sandmann2004-09-141-14/+3
| | | | | | | | | | | | | | | | | | | | Tue Sep 14 23:20:56 2004 Søren Sandmann <sandmann@redhat.com> * gtk/gtkaction.c (connect_proxy): Call gtk_tool_item_rebuild_menu(). * gtk/gtktoolitem.c (gtk_tool_item_class_init): Update documentation for GtkToolItem::create_menu_proxy. * gtk/gtktoolitem.c (gtk_tool_item_rebuild_menu): New API to make the toolbar update itself when the proxy menu item for a tool item changes. * gtk/gtktoolbutton.c (gtk_tool_button_construct_contents): Call gtk_tool_item_rebuild_menu here() * gtk/gtktoolbutton.c (gtk_tool_button_construct_contents): Remove redundant check for need_label.
* Add hidden aliases for exported symbols which are used internally in orderMatthias Clasen2004-08-091-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Mon Aug 9 12:48:04 2004 Matthias Clasen <maclas@gmx.de> Add hidden aliases for exported symbols which are used internally in order to get rid of many PLT entries. (#145519, Arjan van de Ven) * gtk/Makefile.am: Add rules to generate gtk.def and from gtk.symbols, and make make check check the abi with abicheck.sh. (gtk_private_h_sources): Add gtkinternals.h (gtk_built_private_headers): Add gtkalias.h (gtk_extra_sources): Add gtk.symbols (EXTRA_DIST): Add makegtkalias.pl and abicheck.sh * gtk/gtk.symbols: New file. Definition of the GTK+ ABI. The file can be processed by cpp to filter out certain subsets of symbols. * gtk/abicheck.sh: New file. Script to check the actually symbols exported from libgtk-x11.2.0.so against the symbols found in gtk.symbols. * gtk/makegtkalias.pl: New file. Perl script to generate the header containing the alias definitions for internally used exported symbols from a list of symbols. * gtk/gtkinternals.h: New file. An uninstalled header listing symbols which must be exported for some reason and do not appear in any other header. * gtk/*.c: Include gtkalias.h
* Remove trailing commas from enumerations. (#148035)Matthias Clasen2004-07-211-1/+1
| | | | | | | | | | | | | Tue Jul 20 22:26:29 2004 Matthias Clasen <maclas@gmx.de> * gtk/gtkfilechooserutils.h: * gtk/gtktoolbutton.c: * gtk/gtktoolbar.c: * gtk/gtkicontheme.c: * gtk/gtkcalendar.c: * demos/gtk-demo/ui_manager.c: * demos/gtk-demo/appwindow.c: Remove trailing commas from enumerations. (#148035)
* Fix cut'n'paste-o from previous commit. (#141046, Torsten Schoenfeld).Soeren Sandmann2004-04-251-3/+3
| | | | | | | Sun Apr 25 15:36:02 2004 Soeren Sandmann <sandmann@daimi.au.dk> * gtk/gtktoolbutton.c (gtk_tool_button_set_label_widget): Fix cut'n'paste-o from previous commit. (#141046, Torsten Schoenfeld).
* Remove the old widget from the tool button before overwriting it with theSoeren Sandmann2004-04-221-3/+19
| | | | | | | | | | Wed Apr 21 21:38:03 2004 Soeren Sandmann <sandmann@daimi.au.dk> * gtk/gtktoolbutton.c (gtk_tool_button_set_label_widget, gtk_tool_button_set_icon_widget): Remove the old widget from the tool button before overwriting it with the new widget. (#140508, Todd Goyen)
* 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>
* impl. (gtk_tool_item_class_init): hook it up.Michael Meeks2004-02-201-1/+4
| | | | | | | | | | | 2004-02-20 Michael Meeks <michael@ximian.com> * gtk/gtktoolitem.c (gtk_tool_item_property_notify): impl. (gtk_tool_item_class_init): hook it up. (gtk_tool_item_set_proxy_menu_item): synchronize sensitivity. * gtk/gtktoolbutton.c (gtk_tool_button_property_notify): chain to parent, fix strcmp bug.
* Only try to pack icon if there actually is one.Soeren Sandmann2004-01-241-1/+2
| | | | | | | | | | | | | | | Sat Jan 24 23:17:27 2004 Soeren Sandmann <sandmann@daimi.au.dk> * gtk/gtktoolbutton.c (gtk_tool_button_construct_contents): Only try to pack icon if there actually is one. * gtk/gtktoolbar.c (gtk_toolbar_size_allocate): Make sure OVERFLOWN items get an allocation even when they are unmapped. This ensures they will slide in properly. * gtk/gtktoolbar.c (slide_idle_handler): Make sure we return TRUE when there are overflown items that need to slide in. Also add comments and make formatting more readable.
* The first part of the fix for #114351 (see also gdk-pixbuf/ChangeLog andMatthias Clasen2004-01-161-10/+10
| | | | | | | | | | | | | | | | | | | | 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.
* Doc formatting tweaks.Matthias Clasen2003-09-301-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2003-10-01 Matthias Clasen <maclas@gmx.de> * gtk/gtkmain.c: Doc formatting tweaks. * gtk/gtktoolitem.c (gtk_tool_item_set_is_important): Fix a typo. * gtk/gtkcheckmenuitem.h (gtk_check_menu_item_set_draw_as_radio): Use the same parameter names as in .c file, to pacify gtk-doc. * gtk/gtktoggletoolbutton.[hc]: * gtk/gtktoolbutton.[hc]: * gtk/gtktoolitem.[hc]: * gtk/gtktoolbar.[hc]: * gtk/gtkcolorbutton.[hc]: * gtk/gtkfontbutton.[hc]: * gtk/gtkalignment.[hc]: Define GET_PRIVATE macros in the source, not in the header. * gtk/gtkcheckmenuitem.c (gtk_check_menu_item_[sg]et_draw_as_radio): Document these as 2.4 API additions. * gtk/tmpl/gtkaction.sgml: Fix cross reference to GtkMenuMerge. * gtk/gtk-sections.txt: Additions. * gtk/tmpl/gtkitemfactory.sgml: Add hint to use #GtkUIManager instead.
* Only treat buttons as homogeneous when they are narrower than 13 time theSoeren Sandmann2003-08-291-2/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Fri Aug 29 20:32:07 2003 Soeren Sandmann <sandmann@daimi.au.dk> * gtk/gtktoolbar.c: Only treat buttons as homogeneous when they are narrower than 13 time the estimated character width of the font. (#107781, David Bordoley) * gtk/gtktoggletoolbutton.c (gtk_toggle_tool_button_init): Check here if the GtkToggleButton is active. This may be the case if it is a radio button. * gtk/gtktoolbar.c: Clarify documentation wrt. GtkSignalFunc vs. void (*) (GtkWidget, gpointer). (#107495, Mariano Suarez-Alvarez). * gtk/gtkcheckmenuitem.[ch]: new "draw_as_radio" property. (#111207, David Bordoley). * gtk/gtktoggletoolbutton.c (gtk_toggle_tool_button_create_menu_proxy): use new "draw_as_radio" property on the menu item when the item is a radio tool button * gtk/gtktoolbutton.c (gtk_tool_button_create_menu_proxy): Fixes to only pay attention to the "use_underline" property when the button label comes from the "label" property.
* add new "is_important" propertySoeren Sandmann2003-08-041-12/+192
| | | | | | | | | | | | | | | | 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
* swap icon_widget and label arguments to match BonoboUIToolbarButton.Soeren Sandmann2003-07-301-4/+5
| | | | | | | | | | Wed Jul 30 17:03:58 2003 Soeren Sandmann <sandmann@daimi.au.dk> * gtk/gtktoolbutton.[ch]: (gtk_tool_button_new): swap icon_widget and label arguments to match BonoboUIToolbarButton. * gtk/gtktoolbar.h: un-deprecate gtk_toolbar_{set|unset}_style().
* don't attempt to add a NULL icon to the box.Soeren Sandmann2003-07-191-1/+2
| | | | | | | Sat Jul 19 16:26:02 2003 Soeren Sandmann <sandmann@daimi.au.dk> * gtk/gtktoolbutton.c (gtk_tool_button_construct_contents): don't attempt to add a NULL icon to the box.
* By popular request give toolbuttons a border.Soeren Sandmann2003-07-181-57/+0
| | | | | | | | | | | | | | | | | | | | Fri Jul 18 18:43:01 2003 Soeren Sandmann <sandmann@daimi.au.dk> By popular request give toolbuttons a border. * gtk/gtktoolitem.c (gtk_tool_item_size_allocate): (gtk_tool_item_size_request): don't request and allocate a border around the child * gtk/gtktoolbutton.c (gtk_tool_button_size_allocate): (gtk_tool_button_size_request): remove these functions * gtk/gtktoolbar.c (gtk_toolbar_size_request): (gtk_toolbar_size_allocate): request and allocate a border if we have a shadow.
* Fix leaks of label_text, label_widget and icon_widget. (#117312, ChristianSoeren Sandmann2003-07-131-2/+11
| | | | | | | | Sun Jul 13 15:57:57 2003 Soeren Sandmann <sandmann@daimi.au.dk> * gtk/gtktoolbutton.c (gtk_tool_button_finalize): Fix leaks of label_text, label_widget and icon_widget. (#117312, Christian Persch)
* remove strange #define fix cut'n'paste error use instance private data useSoeren Sandmann2003-07-081-1/+3
| | | | | | | | | | | | | Tue Jul 8 21:35:22 2003 Soeren Sandmann <sandmann@daimi.au.dk> * gtk/gtktoggletoolbutton.h: remove strange #define * gtk/gtktoolbutton.h: fix cut'n'paste error * gtk/gtktoolbutton.c (gtk_tool_button_init): use instance private data * gtk/gtktoolitem.c (gtk_tool_item_class_init): use instance private data instead of g_new0() * gtk/gtktoggletoolbutton.c (gtk_toggle_tool_button_init): use instance private data
* remove correction on x when detail is "menuitem". With the new menu lookSoeren Sandmann2003-07-081-64/+86
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* fix a type check, (#116947, Krasimir Angelov)Soeren Sandmann2003-07-081-5/+5
| | | | | | | | | | | | | | | | | | Tue Jul 8 12:50:20 2003 Soeren Sandmann <sandmann@daimi.au.dk> * gtk/gtktoolbutton.c (gtk_tool_button_get_icon_widget): fix a type check, (#116947, Krasimir Angelov) * gtk/gtktoolbar.c: Use new GtkToolItem accessors. * gtk/gtktoolitem.[ch]: Use a private struct to hold the instance data. Not instance private data yet, because of bug 116921. * gtk/gtktoolitem.h: new accessors: gtk_tool_item_get_homogeneous () gtk_tool_item_get_expand () gtk_tool_item_get_pack_end () gtk_tool_item_get_use_drag_window ()
* Insert cast to fix warning. Assign something to old_value to quiet gccSoeren Sandmann2003-07-031-43/+103
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Thu Jul 3 03:13:20 2003 Soeren Sandmann <sandmann@daimi.au.dk> * gtk/gtkpaned.c (gtk_paned_set_child_property): Insert cast to fix warning. Assign something to old_value to quiet gcc * gtk/gtkcalendar.c (start_spinning): gtk_timeout_add->g_timeout_add * gtk/gtkicontheme.c (theme_lookup_icon): Make it compile (remove double semicolon) * gtk/gtktoolbutton.c (gtk_tool_button_class_init): Long comment about properties. (gtk_tool_button_class_init): Improve text for "use_underline" property (gtk_tool_button_create_menu_proxy): Fix up to use_mnemonic based on whether the passed-in label has use_mnemonic set (gtk_tool_button_create_menu_proxy): Split image cloning out in new function. Make that function also handle image with pixbuf storage. (gtk_tool_button_construct_contents): Use gtk_widget_destroy() instead of gtk_container_remove(). (gtk_tool_button_construct_contents): Fix eliding bug * gtk/gtktoolbar.c (gtk_toolbar_finalize): New function. Unref tooltips, pointed out by Morten Welinder (gtk_toolbar_button_press): Make popup_context_menu signal provide coordinates and button number * tests/testtoolbar.c (main): Add new pixbuf toolbutton * tests/apple-red.png: new file
* Add new toolbar headersSoeren Sandmann2003-07-021-104/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Wed Jul 2 15:42:26 2003 Soeren Sandmann <sandmann@daimi.au.dk> * gtk/gtk.h: Add new toolbar headers * tests/testtoolbar.c: new file * tests/Makefile.am (noinst_PROGRAMS): Add testtoolbar.c * gtk/gtkexpander.c (gtk_expander_class_init): Make it compile Tue Jul 1 22:49:25 2003 Soeren Sandmann <sandmann@daimi.au.dk> * gtk/gtktoolbar.c: (gtk_toolbar_remove_tool_item): Fix bug where list is changed inside a for loop (pointed out by Morten Welinder). (gtk_toolbar_focus_home_or_end): Minor formatting change Comments from Owen: * gtk/gtktoolbutton.c: remove copy of elide_underscores(). Use gtk_toolbar_elide_underscores instead. * gtk/gtktoolbar.c: rename signal from focus_ends to focus_home_or_end. (_gtk_toolbar_elide_underscores): export this as an internal function. (gtk_toolbar_move_focus): add comment explaining difference to gtk_toolbar_focus(); (gtk_toolbar_list_children_in_focus_order): Make TAB_FORWARD and TAB_BACKWARD focus the right widgets in RTL mode * gtk/gtktoolbutton.c (gtk_tool_button_new): Change to take "label" and "icon" parameters * gtk/gtktoolbutton.[ch]: remove icon_set property.
* gtkradiotoolbutton.c gtkradiotoolbutton.h gtktoggletoolbutton.cSoeren Sandmann2003-06-291-0/+812
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.