summaryrefslogtreecommitdiff
path: root/gtk/gtkspinbutton.c
Commit message (Collapse)AuthorAgeFilesLines
* 106574 - Inconsistent increment behavior for gtkspinbuttonMatthias Clasen2008-05-271-1/+9
| | | | | | | | | * gtk/gtkspinbutton.c (gtk_spin_button_real_value_change): Commit the entry text before doing an increment. Patch by Björn Lindqvist. svn path=/trunk/; revision=20196
* Reorder strange window hierarchy of the GtkSpinButton (#466000).Jan Arne Petersen2008-05-251-82/+70
| | | | | | | | | | | | | | | | | | | | | 2008-05-25 Jan Arne Petersen <jpetersen@jpetersen.org> * gtk/gtkentry.c: (gtk_entry_class_init), (get_text_area_size), (gtk_entry_get_text_area_size), (gtk_entry_draw_frame): * gtk/gtkentry.h: * gtk/gtkspinbutton.c: (gtk_spin_button_class_init), (gtk_spin_button_realize), (gtk_spin_button_size_allocate), (gtk_spin_button_expose), (gtk_spin_button_draw_arrow), (gtk_spin_button_enter_notify), (gtk_spin_button_leave_notify), (gtk_spin_button_grab_notify), (gtk_spin_button_state_changed), (start_spinning), (gtk_spin_button_button_release), (gtk_spin_button_motion_notify), (gtk_spin_button_value_changed), (gtk_spin_button_get_text_area_size), (gtk_spin_button_real_spin), (gtk_spin_button_update): Reorder strange window hierarchy of the GtkSpinButton (#466000). svn path=/trunk/; revision=20147
* Remove two chunks of duplicated code (#533733).Björn Lindqvist2008-05-201-21/+2
| | | | | | | | | | 2008-05-20 Björn Lindqvist <bjourne@gmail.com> * gtk/gtkspinbutton.c: (gtk_spin_button_snap, gtk_spin_button_update): Remove two chunks of duplicated code (#533733). svn path=/trunk/; revision=20118
* Bug 330743 - Up/down spinbuttons won't take zeros and exhibit very strangeTor Lillqvist2008-04-031-0/+20
| | | | | | | | | | | | | 2008-04-03 Tor Lillqvist <tml@novell.com> Bug 330743 - Up/down spinbuttons won't take zeros and exhibit very strange behavior * gtk/gtkspinbutton.c (gtk_spin_button_insert_text) [Win32]: Add workaround for a specific kind of screwed up locale setting. svn path=/trunk/; revision=19972
* Declare value in the example code for GtkSpinButton::output, as pointedJohan Dahlin2008-01-071-0/+1
| | | | | | | | | | 2008-01-06 Johan Dahlin <johan@gnome.org> * gtk/gtkspinbutton.c: Declare value in the example code for GtkSpinButton::output, as pointed out by Anders Carlsson. svn path=/trunk/; revision=19319
* Document the ::output signal and add an example. (#507566, example by OwenMatthias Clasen2008-01-061-0/+27
| | | | | | | | | 2008-01-06 Matthias Clasen <mclasen@redhat.com> * gtk/gtkspinbutton.c: Document the ::output signal and add an example. (#507566, example by Owen Taylor) svn path=/trunk/; revision=19312
* Use G_OBJECT_WARN_INVALID_PROPERTY_ID consistently. Fixes #5075Johan Dahlin2008-01-061-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | 2008-01-06 Johan Dahlin <johan@gnome.org> * gtk/gtkcellrenderercombo.c: (gtk_cell_renderer_combo_get_property), (gtk_cell_renderer_combo_set_property): * gtk/gtkcombobox.c: (gtk_combo_box_set_property): * gtk/gtkcomboboxentry.c: (gtk_combo_box_entry_set_property): * gtk/gtknotebook.c: (gtk_notebook_set_property): * gtk/gtkspinbutton.c: (gtk_spin_button_set_property): * gtk/gtktextbuffer.c: (gtk_text_buffer_set_property), (gtk_text_buffer_get_property): * gtk/gtktextview.c: (gtk_text_view_set_property): * gtk/gtktogglebutton.c: (gtk_toggle_button_set_property): * gtk/gtktoolbutton.c: (gtk_tool_button_set_property), (gtk_tool_button_get_property): * gtk/gtktoolitem.c: (gtk_tool_item_set_property), (gtk_tool_item_get_property): * gtk/gtktreeview.c: (gtk_tree_view_set_property): * gtk/gtkwidget.c: (gtk_widget_set_property): * gtk/gtkwindow.c: (gtk_window_set_property): Use G_OBJECT_WARN_INVALID_PROPERTY_ID consistently. Fixes #5075 svn path=/trunk/; revision=19311
* Set the background of the panel window on style changes. (#402144,Matthias Clasen2007-03-121-0/+16
| | | | | | | | | | | | 2007-03-12 Matthias Clasen <mclasen@redhat.com> * gtk/gtkspinbutton.c (gtk_spin_button_style_set): Set the background of the panel window on style changes. (#402144, Benjamin Berg) svn path=/trunk/; revision=17492
* call gdk_event_request_motions() for new motion events after receivingTim Janik2007-02-061-3/+3
| | | | | | | | | | | | | | | | | | | | Tue Feb 6 15:53:59 2007 Tim Janik <timj@imendio.com> * gtk/gtktextview.c (gtk_text_view_motion_event): * gtk/gtkspinbutton.c (gtk_spin_button_motion_notify): * gtk/gtkaboutdialog.c (credits_motion_notify_event): * gtk/gtkhruler.c (gtk_hruler_motion_notify): * gtk/gtkvruler.c (gtk_vruler_motion_notify): * gtk/gtkentry.c (gtk_entry_motion_notify): * gtk/gtktooltip.c (_gtk_tooltip_handle_event): * gtk/gtkhsv.c (gtk_hsv_motion): call gdk_event_request_motions() for new motion events after receiving motion hints. * gdk/gdkevents.[hc]: added gdk_event_request_motions(). svn path=/trunk/; revision=17269
* Replace a lot of idle and timeout calls by the new gdk_threads api.Matthias Clasen2006-12-221-7/+3
| | | | | | | 2006-12-22 Matthias Clasen <mclasen@redhat.com> * *.c: Replace a lot of idle and timeout calls by the new gdk_threads api.
* Add new infrastructure for notifications of failed keyboard navigation andMichael Natterer2006-11-161-0/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2006-11-16 Michael Natterer <mitch@imendio.com> Add new infrastructure for notifications of failed keyboard navigation and navigation with restricted set of keys. The patch handles configurable beeping, navigating the GUI with cursor keys only (as in phone environments), and configurable wrap-around. Fixes bugs #322640, #70986, #318827, #334726, #334742 and #309291. * gtk/gtksettings.c: added properties gtk-keynav-cursor-only, gtk-keynav-wrap-around and gtk-error-bell. * gtk/gtkwidget.[ch]: added new signal "keynav-failed" and public API to emit it. Added New function gtk_widget_error_bell() which looks at the gtk-error-bell setting and calls gdk_window_beep() accordingly. * gtk/gtk.symbols: add the new widget symbols. * gtk/gtkcellrendereraccel.c * gtk/gtkimcontextsimple.c * gtk/gtkmenu.c * gtk/gtknotebook.c: use gtk_widget_error_bell() or look at the gtk-error-bell setting instead of calling gdk_display_beep() unconditionally. * gtk/gtkcombobox.c * gtk/gtkentry.c * gtk/gtkiconview.c * gtk/gtklabel.c * gtk/gtkmenushell.c * gtk/gtkspinbutton.c * gtk/gtktextview.c * gtk/gtktreeview.c: call gtk_widget_error_bell() on failed keynav. * gtk/gtkentry.c * gtk/gtklabel.c * gtk/gtkrange.c * gtk/gtktextview.c: consult gtk_widget_keynav_failed() on failed cursor navigation and leave the widget if it returns FALSE. * gtk/gtkmenushell.c * gtk/gtknotebook.c: only wrap around if gtk-keynav-wrap-around is TRUE. * gtk/gtkradiobutton.c: ask gtk_widget_keynav_failed() to decide whether to to wrap-around, and don't select active items on cursor navigation if gtk-keynav-cursor-only is TRUE. Should look at gtk-keynav-wrap-around too, will look into that.
* Export privately. Adjust all callers.Matthias Clasen2006-08-151-3/+4
| | | | | | | | | | | 2006-08-15 Matthias Clasen <mclasen@redhat.com> * gtk/gtkentryprivate.h: * gtk/gtkentry.c (_gtk_entry_effective_inner_border): Export privately. Adjust all callers. * gtk/gtkspinbutton.c (gtk_spin_button_size_request): Use it here to get the actual inner border. (#349429, Benjamin Berg)
* More of the sameMatthias Clasen2006-05-141-1/+1
|
* Boilerplate reductionMatthias Clasen2006-05-021-57/+18
|
* Add a wrapped signal. (#322933, Carlos Garnacho Parro)Matthias Clasen2006-01-301-2/+31
| | | | | | | | 2006-01-30 Matthias Clasen <mclasen@redhat.com> * gtk/gtkspinbutton.h: * gtk/gtkspinbutton.c: Add a wrapped signal. (#322933, Carlos Garnacho Parro)
* deprecated floating/sink API and implemented it in terms of the GObjectTim Janik2005-11-231-2/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* Made button-press timeouts which work like key repeat timeoutsMichael Natterer2005-11-221-10/+18
| | | | | | | | | | | | | | | | | | | | | 2005-11-22 Michael Natterer <mitch@imendio.com> Made button-press timeouts which work like key repeat timeouts configurable. Addresses bug #142582: * gtk/gtksettings.c: added properties "gtk-timeout-initial" and "gtk-timeout-repeat" which defalt to 200/20 (ms). Use the values from GtkSettings instead of hardcoding them (the repeat value is either taken as-is for fast repeat or multiplied by 5 for slow repeat). Changed all places to use these two standard initial/repeat timings: * gtk/gtkcalendar.c (unchanged 200/20) * gtk/gtknotebook.c (unchanged 200/100) * gtk/gtkpathbar.c (changed from 300/150 to 200/100) * gtk/gtkrange.c (changed from 250/100 to 200/100) * gtk/gtkspinbutton.c (unchanged 200/20)
* Intern some more strings.Matthias Clasen2005-09-011-5/+5
| | | | | | | | | 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.
* Add some additional docs on precision. (#309238, Steve Chaplin)Matthias Clasen2005-07-061-1/+5
| | | | | | | 2005-07-05 Matthias Clasen <mclasen@redhat.com> * gtk/gtkspinbutton.c (gtk_spin_button_new_with_range): Add some additional docs on precision. (#309238, Steve Chaplin)
* 2005-06-10 Matthias Clasen <mclasen@redhat.com>Matthias Clasen2005-06-101-1/+1
| | | | | | | | | | * gtk/gtktreeviewcolumn.c (gtk_tree_view_column_set_expand): * gtk/gtktoolbar.c (gtk_toolbar_get_show_arrow): * gtk/gtktextview.c (gtk_text_view_get_iter_at_position): * gtk/gtkstock.c (gtk_stock_set_translate_func): * gtk/gtkspinbutton.c (gtk_spin_button_get_adjustment): * gtk/gtkscrolledwindow.h: * gtk/gtkmenushell.c (gtk_menu_shell_get_take_focus):
* Use canonical names for g_object_notify() as well.Matthias Clasen2005-03-261-4/+4
| | | | | | | | 2005-03-26 Matthias Clasen <mclasen@redhat.com> * gtk/*.c: * gdk/gdkdisplaymanager.c: Use canonical names for g_object_notify() as well.
* Stop scrolling when the widget is unmapped. (#168791, Ryan Lortie)Matthias Clasen2005-03-221-0/+2
| | | | | | | | | | 2005-03-22 Matthias Clasen <mclasen@redhat.com> * gtk/gtkpathbar.c (gtk_path_bar_unmap): * gtk/gtkspinbutton.c (gtk_spin_button_unmap): * gtk/gtknotebook.c (gtk_notebook_unmap): * gtk/gtkrange.c (gtk_range_unmap): Stop scrolling when the widget is unmapped. (#168791, Ryan Lortie)
* Define macros GTK_PARAM_READABLE, GTK_PARAM_WRITABLE, GTK_PARAM_READWRITEMatthias Clasen2005-03-221-9/+10
| | | | | | | | | | | | 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/+4
| | | | | | | | | | | | | | | | | | 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
|
* Allow min == max. (#158225, Vasco Alexandre da Silva Costa)Matthias Clasen2004-11-141-1/+1
| | | | | | | 2004-11-13 Matthias Clasen <mclasen@redhat.com> * gtk/gtkspinbutton.c (gtk_spin_button_new_with_range): Allow min == max. (#158225, Vasco Alexandre da Silva Costa)
* Share the three copies of get_borders() under the nameMatthias Clasen2004-10-081-35/+1
| | | | | | | | | | 2004-10-08 Matthias Clasen <mclasen@redhat.com> * gtk/gtkentry.h: * gtk/gtkentry.c: * gtk/gtkentrycompletion.c: * gtk/gtkspinbutton.c: Share the three copies of get_borders() under the name _gtk_entry_get_borders(). (#116368, Owen Taylor)
* 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
* Install the timeout before changing the value, so that a ::value_changedMatthias Clasen2004-07-161-1/+1
| | | | | | | | Thu Jul 15 20:31:28 2004 Matthias Clasen <maclas@gmx.de> * gtk/gtkspinbutton.c (start_spinning): Install the timeout before changing the value, so that a ::value_changed handler has a chance to remove it. (#122427, Elke Meier)
* Make spinbuttons work with negative increments. (#137975, Tim Gerla)Matthias Clasen2004-04-221-2/+9
| | | | | | | 2004-04-22 Matthias Clasen <mclasen@redhat.com> * gtk/gtkspinbutton.c (spin_button_at_limit): Make spinbuttons work with negative increments. (#137975, Tim Gerla)
* Use the same logic as GtkEntry when calculating border width. (#116368,Matthias Clasen2004-03-111-3/+40
| | | | | | | | Thu Mar 11 22:12:14 2004 Matthias Clasen <maclas@gmx.de> * gtk/gtkspinbutton.c (gtk_spin_button_size_request): Use the same logic as GtkEntry when calculating border width. (#116368, reported by Morten Welinder)
* 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>
* The first part of the fix for #114351 (see also gdk-pixbuf/ChangeLog andMatthias Clasen2004-01-161-17/+17
| | | | | | | | | | | | | | | | | | | | 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_().
* Add missing GDK_THREADS_ENTER()/GDK_THREADS_LEAVE(). Cast second argumentMatthias Clasen2003-12-171-2/+2
| | | | | | | | | | | Wed Dec 17 23:20:23 2003 Matthias Clasen <maclas@gmx.de> * gtk/gtkexpander.c (gtk_expander_animation_timeout): Add missing GDK_THREADS_ENTER()/GDK_THREADS_LEAVE(). * gtk/gtkcalendar.c, gtk/gtkclist.c, gtk/gtkexpander.c, gtk/gtklist.c, gtk/gtknotebook.c, gtk/gtkselection.c, gtk/gtkspinbutton.c: Cast second argument to g_timeout_add() to GSourceFunc instead of GtkFunction. (#129525, Olexiy Avramchenko)
* Merge from stable.Kristian Rietveld2003-08-201-5/+6
| | | | | | | | | | | | | Thu Aug 21 01:33:51 2003 Kristian Rietveld <kris@gtk.org> Merge from stable. * gtk/gtkspinbutton.c (gtk_spin_button_size_request): always round approximate digit widths up, to avoid truncation, convert to pango pixels when we have the full string width instead of converting the approx digit width to pango pixels, take inner border and interior focus into account correctly. (Fixes #116368, patch from Morten Welinder).
* Merged from stable.Kristian Rietveld2003-08-201-1/+1
| | | | | | | | | Wed Aug 20 22:03:25 2003 Kristian Rietveld <kris@gtk.org> Merged from stable. * gtk/gtkspinbutton.c (start_spinning): change the type of step to gdouble, since it gets it's data from a gdouble (Fixes #113547).
* Use g_strtod() to cope with C libraries with crippled locale support.Matthias Clasen2003-08-071-1/+1
| | | | | | | 2003-08-07 Matthias Clasen <maclas@gmx.de> * gtk/gtkspinbutton.c (gtk_spin_button_default_input): Use g_strtod() to cope with C libraries with crippled locale support. (#115293)
* Improve docs. (116364, Morten Welinder)Matthias Clasen2003-07-011-1/+1
| | | | | | 2003-07-01 Matthias Clasen <maclas@gmx.de> * gtk/gtkspinbutton.c (gtk_spin_button_set_digits): Improve docs. (116364, Morten Welinder)
* Add a blurb for shadow_type.Matthias Clasen2003-06-241-1/+3
| | | | | | | | | | | | 2003-06-24 Matthias Clasen <maclas@gmx.de> * gtk/gtkspinbutton.c (gtk_spin_button_class_init): Add a blurb for shadow_type. * gtk/gtkwidget.c (gtk_widget_class_install_style_property_parser): (gtk_widget_class_list_style_properties): Use same parameter names as in header (to silence gtk-doc). * gtk/gtkalignment.c (gtk_alignment_[gs]et_padding): Fix doc comments.
* Fixes for bug #56248:Matthias Clasen2003-03-291-8/+18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 2003-03-29 Matthias Clasen <maclas@gmx.de> Fixes for bug #56248: * gtk/gtknotebook.c (stop_scrolling): New function to remove the timer and queue a redraw. (gtk_notebook_grab_notify): (gtk_notebook_state_changed): New functions to call stop_scrolling() if necessary. (gtk_notebook_button_release): Use stop_scrolling(). (gtk_notebook_draw_arrow): Fix drawing of insensitive arrows. * gtk/gtkrange.c (stop_scrolling): New function to remove the grab, remove the timer and queue a redraw. (gtk_range_grab_notify): (gtk_range_state_changed): New functions to call stop_scrolling() if necessary. (gtk_range_button_release): Use stop_scrolling(). * gtk/gtkspinbutton.c (gtk_spin_button_grab_notify): (gtk_spin_button_state_changed): Redraw after stop_spinning. (gtk_spin_button_stop_spinning): Reset click_child to correct the drawing of the arrows. (gtk_spin_button_button_release): Use a local copy of click_child, since stop_spinning() resets it.
* Replace uses of gtk_timeout_* and gtk_idle_* by their non-deprecatedMatthias Clasen2003-02-051-6/+7
| | | | GLib counterparts. Fully deprecate gtk_timeout_* and gtk_idle_*.
* Deprecation cleanupManish Singh2002-10-101-61/+67
| | | | | | | | Wed Oct 9 17:40:13 2002 Manish Singh <yosh@gimp.org> * gtk/gtkaccelmap.c gtk/gtkfixed.[ch] gtk/gtkkeyhash.c gtk/gtkmenu.c gtk/gtkobject.c gtk/gtkoldeditable.c gtk/gtkrc.c gtk/gtkspinbutton.[ch] gtk/gtktable.[ch] gtk/gtkthemes.c: Deprecation cleanup
* Remove the check for editable. (Reported by Brent Fox)Owen Taylor2002-09-241-68/+70
| | | | | | | Thu Aug 8 16:58:22 2002 Owen Taylor <otaylor@redhat.com> * gtk/gtkspinbutton.c (gtk_spin_button_real_change_value): Remove the check for editable. (Reported by Brent Fox)
* Chain up so that entry->activates_default is honored. (#93865, PieterOwen Taylor2002-09-241-0/+3
| | | | | | | | Tue Sep 24 04:50:28 2002 Owen Taylor <otaylor@redhat.com> * gtk/gtkspinbutton.c (gtk_spin_button_activate): Chain up so that entry->activates_default is honored. (#93865, Pieter Penninckx)
* Patch from Joshua N Pritikin to fix problem where signal connection wasn'tOwen Taylor2002-09-231-3/+2
| | | | | | | | Mon Sep 23 12:12:48 2002 Owen Taylor <otaylor@redhat.com> * gtk/gtkspinbutton.c: Patch from Joshua N Pritikin to fix problem where signal connection wasn't removed from adjustment on finalize. (#93962)
* Handle 0 increment, to fix division-by-zero problem. (#82816, GeorgeOwen Taylor2002-06-121-0/+3
| | | | | | | | Wed Jun 12 15:43:38 2002 Owen Taylor <otaylor@redhat.com> * gtk/gtkspinbutton.c (gtk_spin_button_snap): Handle 0 increment, to fix division-by-zero problem. (#82816, George Lebl.)
* Patch from Erwann Chenede, #73900 fixing a lot of warnings with Forte CC,Owen Taylor2002-03-201-2/+0
| | | | | | | | | | | Wed Mar 20 16:36:08 2002 Owen Taylor <otaylor@redhat.com> * gtk/*.c: Patch from Erwann Chenede, #73900 fixing a lot of warnings with Forte CC, mostly implicit casts between void * and function pointers. * gdk/gdkevents.c (gdk_event_get_state): GdkEventVisibility's state field is not a GdkModifierType. (Also #73900)
* Draw arrows better (without extra baseline)Soeren Sandmann2002-02-261-16/+44
| | | | | | | | Wed Feb 27 00:45:39 2002 Soeren Sandmann <sandmann@daimi.au.dk> * gtk/gtkarrow.c, gtk/gtkmenuitem.c, gtk/gtkrange.c gtk/gtkspinbutton.c gtk/gtkstyle.c: Draw arrows better (without extra baseline)
* Many cleanups and fixes. Draw exclusively in expose handler. Feedback whenSoeren Sandmann2002-02-201-152/+182
| | | | | | | | | | Thu Feb 21 00:31:41 2002 Soeren Sandmann <sandmann@daimi.au.dk> * gtk/gtkspinbutton.c: Many cleanups and fixes. Draw exclusively in expose handler. Feedback when buttons are depressed. * gtk/gtkstyle.c: update for changes in gtkspinbutton.c. Fix spinbuttons for RTL langauges.