1. 11 Jan, 1999 7 commits
    • Lars Hamann's avatar
      end drag selections if necessary. · 8b095595
      Lars Hamann authored
      Mon Jan 11 23:52:58 1999  Lars Hamann  <lars@gtk.org>
      
      	* gtk/gtklist.c (gtk_list_signal_drag_begin)
      	(gtk_list_drag_begin): end drag selections if necessary.
      
      	* gtk/gtkspinbutton.c/h (gtk_spin_button_update): made function
      	public. Manually force synchronization of spin button text and
       	adjustment value.
      8b095595
    • Tim Janik's avatar
      eliminated some queue_draws when invoking gtk_widget_set_state, since that · d2e69a89
      Tim Janik authored
      Mon Jan 11 15:23:32 1999  Tim Janik  <timj@gtk.org>
      
              * gtk/gtktogglebutton.c: eliminated some queue_draws when invoking
              gtk_widget_set_state, since that cares about redrawing already.
              some code cleanups.
      
              * gtk/gtktogglebutton.[hc]:
              * gtk/gtkfontsel.c:
              * gtkgamma.c:
              s/gtk_toggle_button_set_state/gtk_toggle_button_set_active/ since
              set_state is already taken by gtkwidget.h.
      
              * gtk/gtkcompat.h: #define gtk_toggle_button_set_state
              gtk_toggle_button_set_active.
      
              * gtk/gtkstyle.c: some indentation cleanups.
      d2e69a89
    • Owen Taylor's avatar
      Only remove handlers for motion/button_release at drop, remove · 0b84fc27
      Owen Taylor authored
      Mon Jan 11 10:45:28 1999  Owen Taylor  <otaylor@redhat.com>
      
      	* gtk/gtkdnd.c: Only remove handlers for motion/button_release
      	at drop, remove "selection_get" handler later.
      0b84fc27
    • Tim Janik's avatar
      removed Paolo Molaro's type creation hooks again, since they 1) don't care · 98333524
      Tim Janik authored
      Mon Jan 11 13:31:49 1999  Tim Janik  <timj@gtk.org>
      
              * gtk/gtktypeutils.[hc]: removed Paolo Molaro's type creation hooks
              again, since they 1) don't care about infinite recursion (likely
              to achive), 2) we are in feature freeze for 1.2. this definitely
              deserves a sane implementation in 1.3 though (but without a hook
              return value, without seq_id hackery and with recursion checks).
      98333524
    • Tim Janik's avatar
      only pass key events to the focus widget if it is sensitive. · e3ee9e9d
      Tim Janik authored
      Mon Jan 11 13:18:37 1999  Tim Janik  <timj@gtk.org>
      
              * gtk/gtkwindow.c:
              (gtk_window_key_release_event):
              (gtk_window_key_press_event): only pass key events to the focus widget
              if it is sensitive.
      
              * gtk/gtkmenuitem.c (gtk_menu_item_select_timeout): don't popup the
              submenu if it isn't sensitive.
              (gtk_menu_item_paint): state_type doesn't need to be reset to
              GTK_STATE_INSENSITIVE if the widget is insensitive anyways.
      
              * gtk/gtkcontainer.c (gtk_container_real_focus):
              * gtk/gtklist.c (gtk_list_focus):
              * gtk/gtkmenushell.c (gtk_menu_shell_move_selected):
              * gtk/gtknotebook.c (gtk_notebook_focus):
              s/GTK_WIDGET_SENSITIVE/GTK_WIDGET_IS_SENSITIVE/ since a widgets
              sensitivity is determined through the parent as well,
              GTK_WIDGET_SENSITIVE is only of interest inside gtkwidget.c, everywhere
              else GTK_WIDGET_IS_SENSITIVE (widget) needs to be used to check for
              sensitivity.
      
              * gtk/gtkaccelgroup.c (gtk_accel_group_activate): don't activate
              object if it is an insensitive widget.
      e3ee9e9d
    • Paolo Molaro's avatar
      Mon, 11 Jan 1999 08:09:08 +0100 Paolo Molaro <lupus@debian.org> · f3af00f4
      Paolo Molaro authored
              * gtk/gtktypeutils.[ch]: add gtk_type_{add,remove}_creation_hook().
              You can have a notification when a type is created.
      f3af00f4
    • Tim Janik's avatar
      added an assertement. · b6714d9a
      Tim Janik authored
      1999-01-11  Tim Janik  <timj@gtk.org>
      
              * gtk/gtkmain.c (gtk_propagate_event): added an assertement.
      b6714d9a
  2. 10 Jan, 1999 2 commits
  3. 09 Jan, 1999 3 commits
    • Owen Taylor's avatar
      Added cs to ALL_LINGUAS. · 3bd19e15
      Owen Taylor authored
      Sat Jan  9 17:36:20 1999  Owen Taylor  <otaylor@redhat.com>
      
      	* configure.in (ALL_LINGUAS): Added cs to ALL_LINGUAS.
      
      Sat Jan  9 17:27:49 1999  Owen Taylor  <otaylor@redhat.com>
      
      	* gtk/gtkfilesel.c (gtk_file_selection_populate):
      	Mark another string for internationalization.
      	[ Stanislav Brabec <utx@k332.feld.cvut.cz> ]
      3bd19e15
    • Owen Taylor's avatar
      Set name "gtk-tooltips" on tip window so that a style can be set for · a40fd787
      Owen Taylor authored
      Sat Jan  9 14:02:08 1999  Owen Taylor  <otaylor@redhat.com>
      
      	* gtk/gtktooltips.c (gtk_tooltips_force_window): Set
      	name "gtk-tooltips" on tip window so that a style
      	can be set for tooltips.
      a40fd787
    • Owen Taylor's avatar
      Fixed some list-manipulation breakage. · 95843529
      Owen Taylor authored
      Fri Jan  8 19:00:17 1999  Owen Taylor  <otaylor@redhat.com>
      
      	* gdk/gdkdnd.c (gdk_window_cache_filter): Fixed
      	some list-manipulation breakage.
      
      	* gdk/gdkdnd.c (gdk_window_cache_destroy): Free
      	window cache structure.
      
      	* gtk/gtkdnd.c (gtk_drag_set_icon_pixmap): Set an
      	event mask on the drag window so clicking on it
      	doesn't pop up root menus, etc.
      
      	* gtk/gtkdnd.c (gtk_drag_button_release_cb): Remove
      	signal handlers at button release.
      95843529
  4. 08 Jan, 1999 2 commits
    • Lars Hamann's avatar
      call gtk_spin_button_update before returning a value · b56693d1
      Lars Hamann authored
      Fri Jan  8 00:42:00 1999  Lars Hamann  <lars@gtk.org>
      
      	* gtk/gtkspinbutton.c (gtk_spin_button_get_value_as_int)
      	(gtk_spin_button_get_value_as_float): call gtk_spin_button_update
      	before returning a value
      
      	* gtk/gtkclist.c (gtk_clist_motion): don't allow 'drag selections'
      	if clist is a drag source.
      	(gtk_clist_drag_begin): remove pointer grabs, end ongoing selections.
      
      	* gtk/gtkctree.c (remove_grab): copy of clist function.
      	(gtk_ctree_drag_begin): let clists drag_begin method set the
      	source info struct.
      b56693d1
    • Owen Taylor's avatar
      Fixes to drawing the background of the bin window so that clearing and · 41604dd8
      Owen Taylor authored
      Thu Jan  7 19:10:21 1999  Owen Taylor  <otaylor@redhat.com>
      
      	* gtk/gtkviewport.c (gtk_viewport_style_set): Fixes
      	to drawing the background of the bin window
      	so that clearing and redrawing of child
      	widgets work properly.
      
      	* gtk/gtkwidget.c (gtk_widget_idle_draw): Juggle around
      	data so that if somebody triggers more redraw queuing
      	from a expose_event handler, it doesn't confuse the
      	heck out of GTK+. (But is highly liable to cause
      	an infinite loop...)
      41604dd8
  5. 07 Jan, 1999 1 commit
    • Owen Taylor's avatar
      Fix some more memory leaks. · bedab705
      Owen Taylor authored
      Thu Jan  7 12:31:41 1999  Owen Taylor  <otaylor@redhat.com>
      
      	* gtk/gtkselection.c (gtk_target_list_unref): Fix some
      	more memory leaks.
      bedab705
  6. 06 Jan, 1999 4 commits
  7. 05 Jan, 1999 1 commit
  8. 04 Jan, 1999 2 commits
  9. 03 Jan, 1999 1 commit
    • Lars Hamann's avatar
      fixed auto_resize bug · 73c4ee3a
      Lars Hamann authored
      Sun Jan  3 17:41:22 1999  Lars Hamann  <lars@gtk.org>
      
      	* gtk/gtkctree.c (real_tree_expand): fixed auto_resize bug
      73c4ee3a
  10. 02 Jan, 1999 3 commits
    • Tim Janik's avatar
      make this G_PRIORITY_DEFAULT. · e573567b
      Tim Janik authored
      Sat Jan  2 03:54:30 1999  Tim Janik  <timj@gtk.org>
      
              * gdk/gdk.h (GDK_PRIORITY_EVENTS): make this G_PRIORITY_DEFAULT.
      
              * gdk/gdkevents.c (gdk_events_init): add the source and the poll fd with
              a priority of GDK_PRIORITY_EVENTS.
      e573567b
    • Jeff Garzik's avatar
      Removed features.h test. · d6890b72
      Jeff Garzik authored
              * configure.in, config.h.in, gdk/gdkimage.c:
              Removed features.h test.
      
              * gdk/gdkdnd.c:
              Guard public functions against NULL pointer derefs.
      d6890b72
    • Manish Singh's avatar
      gdk/gdk.c gdk/gdkinputnone.h casts to get rid of const warnings · a6da2cf9
      Manish Singh authored
      * gdk/gdk.c
      * gdk/gdkinputnone.h
      * gtk/gtkruler.c: casts to get rid of const warnings
      
      * gtk/Makefile.am: fix gtktypebuiltins.h dependencies, and do a
      cmp so people don't whine about rebuilds
      
      * gtk/gtknotebook.c: use g_snprintf on translated strings, so we
      don't get buffer overflows
      
      * gtk/gtkrc.c: use g_strdup_printf instead of g_malloc/sprintf
      Plug some memleaks.
      
      -Yosh
      a6da2cf9
  11. 01 Jan, 1999 1 commit
    • Jeff Garzik's avatar
      Check for features.h. · 7433badf
      Jeff Garzik authored
              * configure.in, config.h.in:
              Check for features.h.
      
              * gdk/gdkevents.c (gdk_event_put, gdk_events_queue):
              Fixed bug in linked list append logic by replacing hand-coded
              logic with a call to g_list_append.  Bug found by tml.
      
              * gdk/gdkimage.c:
              'gcc -ansi -pedantic' on GNU/Linux spews warnings and errors
              in sys/ipc.h, including one specific admonishment to use
              _SVID_SOURCE or _XOPEN_SOURCE.  Manually defined the latter, and
              included features.h if present to obtain the necessary
              side-effects.
      
              * gtk/gtkclist.c, gtk/gtkeditable.c:
              Eliminates comma-after-final-element warnings.
      
              * gtk/gtkfontsel.c (gtk_font_selection_init):
              Fixed bug where an intl string was declared as _("x") in
              local var initializer.
      7433badf
  12. 31 Dec, 1998 3 commits
  13. 29 Dec, 1998 1 commit
  14. 24 Dec, 1998 4 commits
    • Jeff Garzik's avatar
      x Pull in string.h for various mem*() and str*() functions, in an · fc07d22a
      Jeff Garzik authored
      x
         Pull in string.h for various mem*() and str*() functions,
              in an autoconf-friendly way.
      x
      fc07d22a
    • Jeff Garzik's avatar
      removed unused var 64-bit cast point to const data Made const-correct. · 553fa430
      Jeff Garzik authored
              * gdk/gdkfont.c: removed unused var
              * gdk/gdkim.c: 64-bit cast
              * gtk/gtkaccelgroup.c: point to const data
              * gtk/gtkdnd.[ch]: (gtk_drag_dest_set, gtk_drag_source_set):
                Made const-correct.
              * gtk/gtkfontsel.c: kill uninitialized var warning
              * gtk/gtkselection.[ch]: (gtk_target_list_new,
                gtk_target_list_add_table, gtk_selection_add_targets):
                Made const-correct.
              * gtk/testgtk.c: 64-bit cast
      553fa430
    • CST 1998 Shawn T. Amundson's avatar
      Released GTK+ 1.1.10 · 9775547b
      CST 1998 Shawn T. Amundson authored
      Thu Dec 24 03:16:52 CST 1998 Shawn T. Amundson <amundson@gtk.org>
      
              * Released GTK+ 1.1.10
      
              * INSTALL:
                NEWS:
                README:
                configure.in:
                gtk+.spec:
                docs/gtk-config.1:
                gtk/gtkfeatures.h.in: version=1.1.10
      
              * no.po: added translation by Kjartan Maraas <kmaraas@fib.hl.no>
      9775547b
    • Owen Taylor's avatar
      Update to changelog, to cover fix that previously slipped in. · b596355d
      Owen Taylor authored
      Wed Dec 23 20:31:40 1998  Owen Taylor  <otaylor@redhat.com>
      
      	* gtk/gtklabel.c: Fix problem where empty labels were
      	getting a requisition height of zero, and trailing
      	newlines were being ignored.
      b596355d
  15. 23 Dec, 1998 2 commits
    • Owen Taylor's avatar
      label->label should be the mb text _after_ removing the underlines, not · c6cf882e
      Owen Taylor authored
      Wed Dec 23 13:58:14 1998  Owen Taylor  <otaylor@redhat.com>
      
      	* gtk/gtklabel.c (gtk_label_parse_uline):
      	label->label should be the mb text _after_ removing
      	the underlines, not before.
      
      	* gtk/gtkmenu.c: Reverted Elliot's tearoff-menu-item
      	title hack. If it deserves being done, it deserves
      	being done right.
      c6cf882e
    • Elliot Lee's avatar
      */Makefile.am: Now passes 'make distcheck'. Now loops. I'm not sure what · fb833c47
      Elliot Lee authored
      
      
      */Makefile.am: Now passes 'make distcheck'. Now loops. I'm not sure what
      is up.
      
      1998-12-23  Elliot Lee  <sopwith@redhat.com>
      
      	* gtk/gtkmenu.c: Allow programmer to gtk_object_set_data(obj,
       	"GtkTearoffMenuItem_window_title", ..) on a GtkMenuItem and have
       	it be recognized. If we're getting the title out of the GtkLabel,
       	then remove all underscores.
      fb833c47
  16. 22 Dec, 1998 3 commits
    • Owen Taylor's avatar
      Request XmTRANFER_FAILURE on Motif drops not within a drop zone. I don't · 08b22dde
      Owen Taylor authored
      Tue Dec 22 17:01:43 1998  Owen Taylor  <otaylor@redhat.com>
      
      	* gtk/gtkdnd.c (gtk_drag_dest_handle_event):
      	Request XmTRANFER_FAILURE on Motif drops not within
      	a drop zone. I don't know why this is necessary,
      	but it is.
      
      	* gdk/gdkdnd.c (gdk_drop_reply): Fixed error where
      	Motif flag field in response was getting wrong
      	values.
      08b22dde
    • Owen Taylor's avatar
      Return TRUE for button press events we handle. (Allows option menus in · 1f8fd887
      Owen Taylor authored
      Tue Dec 22 15:55:39 1998  Owen Taylor  <otaylor@redhat.com>
      
      	* gtk/gtkoptionmenu.c (gtk_option_menu_button_press):
      	Return TRUE for button press events we handle.
      	(Allows option menus in radio buttons to work...)
      1f8fd887
    • Owen Taylor's avatar
      Optimization - when we've already found a widget, skip all checks for · 7f0156c2
      Owen Taylor authored
      Tue Dec 22 14:50:25 1998  Owen Taylor  <otaylor@redhat.com>
      
      	* gtk/gtkdnd.c (gtk_drag_find_widget): Optimization -
      	when we've already found a widget, skip all checks
      	for subsequent children.
      
      	* gtk/gtkdnd.c (gtk_drag_find_widget): Checked for
      	!MAPPED, not !VISIBLE, since a widget (like a notebook
      	page), can be VISIBLE, but !REALIZED or !MAPPED.
      
      	* gtk/gtkdnd.c (gtk_drag_find_widget): Use forall(),
      	not foreach().
      7f0156c2