1. 17 Mar, 2001 2 commits
  2. 16 Mar, 2001 8 commits
    • Jonathan Blandford's avatar
      modified to use "row_activated" signal. · 73dc88d2
      Jonathan Blandford authored
      Fri Mar 16 18:24:53 2001  Jonathan Blandford  <jrb@redhat.com>
      
      	* demos/gtk-demo/main.c (row_activated_cb): modified to use
      	"row_activated" signal.
      
      	* gtk/gtktreeview.c (gtk_tree_view_row_activated): oh, the
      	stupidity.  Lets actually pass in the row with this signal...
      73dc88d2
    • Jonathan Blandford's avatar
      s/GTK_TREE_COLUMN/GTK_TREE_VIEW_COLUMN · 4d4af294
      Jonathan Blandford authored
      Fri Mar 16 18:01:17 2001  Jonathan Blandford  <jrb@redhat.com>
      
      	* gtk/gtktreeviewcolumn.[ch]: s/GTK_TREE_COLUMN/GTK_TREE_VIEW_COLUMN
      
      	* gtk/gtktreeview.c (gtk_tree_view_row_activated): New signal.
      
      	* gtk/gtktreeview.c (gtk_tree_view_destroy): moved pretty much
      	everything into the ::destroy function, and freed a lot more.
      4d4af294
    • Havoc Pennington's avatar
      change to use gint instead of gint16, to avoid overflow issues, since · 23e3673e
      Havoc Pennington authored
      2001-03-16  Havoc Pennington  <hp@redhat.com>
      
      	* gtk/gtkwidget.h (struct _GtkWidgetAuxInfo): change to use gint
      	instead of gint16, to avoid overflow issues, since sizes > 16-bit
      	are now allowed.
      
      2001-03-16  Havoc Pennington  <hp@redhat.com>
      
      	* gtk/gtk-docs.sgml: remove GtkData entity usage
      23e3673e
    • Havoc Pennington's avatar
      Applied patch from Nils Barth (bug # 51041) to replace "gint" with · 52658cd3
      Havoc Pennington authored
      2001-03-16  Havoc Pennington  <hp@redhat.com>
      
      	* Applied patch from Nils Barth (bug # 51041) to
      	replace "gint" with "gboolean" and 0/1 with TRUE/FALSE
      	in various places.
      52658cd3
    • Havoc Pennington's avatar
      add varargs for properties to set on the tag. · e7a21a2e
      Havoc Pennington authored
      2001-03-15  Havoc Pennington  <hp@redhat.com>
      
      	* gtk/gtktextbuffer.c (gtk_text_buffer_create_tag): add varargs
      	for properties to set on the tag.
      
      	* gtk/testtext.c: fixups to reflect create_tag change
      
      	* gtk/gtktexttag.c (gtk_text_tag_set_property):
      	background/foreground stipple are objects, not boxed.
      
      	* demos/gtk-demo/textview.c: intellihancing
      e7a21a2e
    • Jonathan Blandford's avatar
      Fixed some braindeadness spotted by Jamie Strachan <frostfreek@yahoo.com>. · 1a72ab25
      Jonathan Blandford authored
      Fri Mar 16 11:38:42 2001  Jonathan Blandford  <jrb@redhat.com>
      
      	* gtk/gtktreeview.c (gtk_tree_view_set_model): Fixed some
      	braindeadness spotted by Jamie Strachan <frostfreek@yahoo.com>.
      1a72ab25
    • Alexander Larsson's avatar
      Fix sign error with queued region translations. · bd51a589
      Alexander Larsson authored
      2001-03-16  Alexander Larsson  <alexl@redhat.com>
      
      	* gdk/x11/gdkgeometry-x11.c (_gdk_window_process_expose):
      	Fix sign error with queued region translations.
      bd51a589
    • HideToshi Tajima's avatar
      rename set_cursor_pos to set_cursor_location in GtkInputContext class · df726ee8
      HideToshi Tajima authored
      2001-03-15  HideToshi Tajima  <tajima@happy>
      
              * modules/input/gtkimcontextxim.c (gtk_im_context_xim_set_cursor_locat
      ion):
              * gtk/gtkimmulticontext.c (gtk_im_multicontext_set_cursor_location):
              * gtk/gtkentry.c (update_im_cursor_location):
              * gtk/gtkimcontext.c (gtk_im_context_set_cursor_location):
              * gtk/gtkimcontext.h (struct _GtkIMContextClass): rename
              set_cursor_pos to set_cursor_location in GtkInputContext class
      df726ee8
  3. 15 Mar, 2001 6 commits
    • Jonathan Blandford's avatar
      Changed prototype to allow for getting the location of the cell relative · e4d16600
      Jonathan Blandford authored
      Thu Mar 15 18:22:44 2001  Jonathan Blandford  <jrb@redhat.com>
      
      	* gtk/gtkcellrenderer.h: Changed prototype to allow for getting
      	the location of the cell relative to its area.
      	* gtk/gtkcell*: modified for above change
      	* gtk/gtktreeview.c: modified for above change.
      
      Wed Mar 14 13:58:32 2001  Jonathan Blandford  <jrb@redhat.com>
      
      	* gtk/gtktreeview.c (gtk_tree_view_set_model): Ref the model.
      	 (gtk_tree_view_finalize): actually unref the model.  Thanks to
      	Jamie Strachan <frostfreek@yahoo.com> for noticing this error.
      e4d16600
    • Havoc Pennington's avatar
      Delete. · 872efdd9
      Havoc Pennington authored
      2001-03-14  Havoc Pennington  <hp@redhat.com>
      
              * gtk/gtkdata.h, gtk/gtkdata.c: Delete.
      
      	* gtk/gtk.h: remove gtkdata.h
      
      	* gtk/Makefile.am: remove gtkdata
      
      	* gtk/gtktext.c (gtk_text_set_adjustments): connect to "destroy"
      	not "disconnect" on the adjustments.
      
      	* gtk/gtktooltips.h, gtk/gtktooltips.c: derive from GtkObject not
      	GtkData
      
      	* gtk/gtkadjustment.h, gtk/gtkadjustment.c: derive from GtkObject
      	not GtkData
      
      	* configure.in: handle case where X render exists, but Pango lacks
      	Xft support.
      
      2001-03-14  Havoc Pennington  <hp@redhat.com>
      
      	* Makefile.am (gdk-pixbuf-marshal.c): Use different temporary file
      	from gdk-pixbuf-marshal.h, fixes parallel makes.
      
      2001-03-14  Havoc Pennington  <hp@redhat.com>
      
      	* gtk/gtk-docs.sgml: remove gtkdata, gtktreemodelsimple
      
      	* gtk/gtk.types: remove gtk_data_get_type
      872efdd9
    • Pablo Saratxaga's avatar
      updated Azeri file Added Nynorsk and Vietnamese from the 1.2 branch · 549537e6
      Pablo Saratxaga authored
      updated Azeri file
      Added Nynorsk and Vietnamese from the 1.2 branch
      549537e6
    • Alexander Larsson's avatar
      699b91d2
    • Alexander Larsson's avatar
      New functions gtk_toolbar_set_icon_size and gtk_toolbar_insert_stock to · 14067794
      Alexander Larsson authored
      2001-03-15 Alexander Larsson  <alexl@redhat.com>
      
      	* gtk/gtktoolbar.[ch]:
      	New functions gtk_toolbar_set_icon_size and gtk_toolbar_insert_stock
      	to add stock items to toolbars.
      
      	* gtk/Makefile.am:
      	Remove ../gdk/gdkim.h from gdk_headers.
      14067794
    • Sven Neumann's avatar
      removed · 3e9a5c84
      Sven Neumann authored
      2001-03-15  Sven Neumann  <sven@gimp.org>
      
      	* gdk/gdkim.h: removed
      
      	* gdk/gdkprivate.h
      	* gdk/x11/gdkim-x11.c: do not include gdkim.h
      3e9a5c84
  4. 14 Mar, 2001 1 commit
    • HideToshi Tajima's avatar
      add set_cursor_pos() virtual method · 02f376a9
      HideToshi Tajima authored
      2001-03-14  HideToshi Tajima  <tajima@happy.sunsoft.eng.sun.com>
      
      	* gtk/gtkimmulticontext.c (gtk_im_multicontext_set_cursor_pos):
      	* gtk/gtkimcontext.c (gtk_im_context_set_cursor_pos):
      	* gtk/gtkimcontext.h (struct _GtkIMContextClass): add
      	set_cursor_pos() virtual method
      
      	* modules/input/gtkimcontextxim.c (gtk_im_context_xim_class_init):
      	(gtk_im_context_xim_set_cursor_pos): add implementation for
      	set_cursor_pos() method
      
      	* gtk/gtkentry.c (recompute_idle_func): set current cursor
      	position to input methods
      02f376a9
  5. 13 Mar, 2001 1 commit
    • Jonathan Blandford's avatar
      Fix up focus code a lot. · cf89a05f
      Jonathan Blandford authored
      Mon Mar 12 21:02:08 2001  Jonathan Blandford  <jrb@redhat.com>
      
      	* gtk/gtktreeview.c (gtk_tree_view_header_focus): Fix up focus
      	code a lot.
      
      	* gtk/gtktreedatalist.c (_gtk_tree_data_list_free): use
      	g_mem_chunk.
      	(_gtk_tree_data_list_alloc): use g_mem_chunk.
      	(_gtk_tree_data_list_node_to_value): Fix to switch on
      	G_TYPE_FUNDAMENTAL.
      	(_gtk_tree_data_list_value_to_node): Fix to switch on
      	G_TYPE_FUNDAMENTAL.
      	(_gtk_tree_data_list_node_copy): Fix to switch on
      	G_TYPE_FUNDAMENTAL.
      cf89a05f
  6. 12 Mar, 2001 5 commits
  7. 10 Mar, 2001 3 commits
    • Hans Breuer's avatar
      updated · 0f6d1b4a
      Hans Breuer authored
      2001-03-10  Hans Breuer  <hans@breuer.org>
      
      	* gdk/gdk.def : updated
      
      	* gdk/win32/gdkgc-win32.c : pixmaps are visible again, due
      	to offseting the clip_mask at the right place
      
      	* gdk/win32/gdkwindow-win32.c : don't create background brushes
      	for all the gdkClasses, especially not for the input_only case.
      	Otherwise flickering wont be avoidable, because we don't get
      	WM_ERASEBKGND message for these windows.
      
      	* gdk/win32/gdkevents-win32.c : initialize event->expose.region
      	and fixed massive redraw problems apparently triggered by Alexanders
      	recent change. Not fully understood the GDK_EXPOSE / WM_PAINT handling
      	but it seems to work quite well :-)
      
      	* gdk/win32/gdkprivate-win32.h : added _gdk_window_process_expose
      	prototype
      0f6d1b4a
    • Jonathan Blandford's avatar
      Fix a stupid typo. (gtk_list_store_set_cell): Fix a stupid typo. · d9582bd3
      Jonathan Blandford authored
      Sat Mar 10 12:15:31 2001  Jonathan Blandford  <jrb@redhat.com>
      
      	* gtk/gtktreestore.c (gtk_tree_store_set_cell): Fix a stupid typo.
      	(gtk_list_store_set_cell): Fix a stupid typo.
      d9582bd3
    • Jonathan Blandford's avatar
      Make select_all not work if you're in SINGLE mode (it doesn't make that · 351052e1
      Jonathan Blandford authored
      Fri Mar  9 20:36:21 2001  Jonathan Blandford  <jrb@redhat.com>
      
      	* gtk/gtktreeselection.c (gtk_tree_selection_select_all): Make
      	select_all not work if you're in SINGLE mode (it doesn't make that
      	much sense, anyway.)
      
      	* gtk/gtktreedatalist.c (_gtk_tree_data_list_node_to_value):
      	handle types more sanely.
      	(_gtk_tree_data_list_value_to_node): handle types more sanely.
      	(_gtk_tree_data_list_node_copy): handle types more sanely.
      
      	* gtk/gtkliststore.c (gtk_list_store_set_cell): fix to work with
      	GValue better. Converts the type as well.
      
      	* gtk/gtktreestore.c (gtk_tree_store_set_cell): fix to work with
      	GValue better. Converts the type as well.
      351052e1
  8. 09 Mar, 2001 7 commits
    • Owen Taylor's avatar
      Remove old XIM code. · 79fed460
      Owen Taylor authored
      Wed Mar  7 20:47:41 2001  Owen Taylor  <otaylor@redhat.com>
      
      	* gtk/gtktext.c gtk/gtkoldeditable.[ch] gdk/gdk.[ch]
      	gdk/Makefile.am gdk/x11/Makefile.am gdk/x11/gdkevents-x11.c
      	gdk/x11/gdkglobals-x11.c gdk/x11/gdkprivate-x11.c
      	gdk/x11/gdkx.h gdk/x11/gdkim-x11.c: Remove old XIM code.
      
      	* gdk/win32/gdkim-win32.c gdk/linux-fb/gdkim-fb.c: Remove
      	gdk_im/gdk_ic.
      79fed460
    • Hans Breuer's avatar
      updated · f4cd3854
      Hans Breuer authored
      2001-03-09  Hans Breuer  <hans@breuer.org>
      
      	* gdk/gdk.def : updated
      
      	* gdk/win32/gdkevents-win32.c : don't ask input_only windows
      	for their palette
      
      	* gdk/win32/gdkgeometry-win32.c : reflect GdkWindowObject::mapped
      	removing
      
      	* gdk/win32/gdkwindow-win32.c : reflect GdkWindowObject::mapped
      	removing and implemented Havoc's GdkWindow state functions;
      	stick/unstick only as no-op, cause I don't know how to emulate
      	on win32 ...
      
      	* gtk/gtk.def : updated
      
      	* gtk/gtkbox.c (gtk_box_get_spacing) : use g_return_val_if_fail ()
      
      	* gtk/gtktypeutils.c : #include <string.h>
      
      	* gtk/gtkwindow.h : declare gtk_window_set_decorated ()
      f4cd3854
    • Tim Janik's avatar
      fixed signals with GDK_TYPE_DRAG_CONTEXT, it needs to be marshaled as an · 587197ff
      Tim Janik authored
      Fri Mar  9 09:31:55 2001  Tim Janik  <timj@gtk.org>
      
              * gtk/gtkwidget.c (gtk_widget_class_init): fixed signals with
              GDK_TYPE_DRAG_CONTEXT, it needs to be marshaled as an object,
              not a boxed.
      587197ff
    • Alexander Larsson's avatar
      44c67993
    • Alexander Larsson's avatar
      Document expose event->region change and that gtk_widget_event doesn't · e7d4a7f9
      Alexander Larsson authored
      2001-03-09  Alexander Larsson  <alexl@redhat.com>
      
      	* docs/Changes-2.0.txt:
      	Document expose event->region change and that gtk_widget_event
      	doesn't allow passing expose events.
      
      	* gdk/gdkevents.h:
      	Add region to expose event.
      
      	* gdk/gdkevents.c:
      	Handle event->region in gdk_event_copy() and gdk_event_free().
      
      	* gdk/gdkwindow.c (gdk_window_process_updates_internal):
      	Generate expose_event->region when creating expose events.
      
      	* gdk/x11/gdkevents-x11.c:
      	Generate expose events with regions when translating X events.
      
      	* gtk/gtkcontainer.[ch]:
      	Default expose handler that propagates expose events to NO_WINDOW
      	children. New function gtk_container_propagate_expose()
      
      	* gtk/gtkwidget.[ch]:
      	Moved gtk_widget_event implementation to gtk_widget_event_internal.
      	gtk_widget_event calls gtk_widget_event_internal but doesn't allow
      	expose events. New function gtk_widget_send_expose() to send expose
      	events. New function gtk_widget_region_intersect() to calculate
      	window/region intersections.
      
      	* gtk/gtkmain.c (gtk_main_do_event):
      	Use gdk_window_begin_paint_region() instead of gdk_window_begin_paint_rect().
      	Use gtk_widget_send_expose() to send expose events.
      
      	* gtk/gtkbin.c:
      	* gtk/gtkbox.c:
      	* gtk/gtkfixed.c:
      	* gtk/gtkimagemenuitem.c:
      	* gtk/gtklist.c:
      	* gtk/gtkpacker.c:
      	* gtk/gtktable.c:
      	* gtk/gtktree.c:
      	Remove expose handler, using the default container implementation
      	instead.
      
      	* gtk/gtkbutton.c:
      	* gtk/gtkcheckbutton.c:
      	* gtk/gtkeventbox.c:
      	* gtk/gtkfixed.c:
      	* gtk/gtkhandlebox.c:
      	* gtk/gtklayout.c:
      	* gtk/gtklistitem.c:
      	* gtk/gtkmenu.c:
      	* gtk/gtkmenubar.c:
      	* gtk/gtkmenuitem.c:
      	* gtk/gtknotebook.c:
      	* gtk/gtkoptionmenu.c:
      	* gtk/gtkpaned.c:
      	* gtk/gtkscrolledwindow.c:
      	* gtk/gtktogglebutton.c:
      	* gtk/gtktoolbar.c:
      	* gtk/gtktreeitem.c:
      	* gtk/gtkviewport.c:
      	Chain expose handler to parent class handler. Use
      	gtk_container_propagate_expose() to propagate exposes.
      
      	* gtk/gtkclist.c (check_exposures):
      	* gtk/gtktext.c (process_exposes):
      	Use gtk_widget_send_expose instead of gtk_widget_event.
      e7d4a7f9
    • Jonathan Blandford's avatar
      Add destroy function. · 8f35f030
      Jonathan Blandford authored
      Thu Mar  8 19:40:28 2001  Jonathan Blandford  <jrb@redhat.com>
      
      	* gtk/gtktreeview.c (gtk_tree_view_destroy): Add destroy function.
      8f35f030
    • Jonathan Blandford's avatar
      Actually unref the nodes. Fixes bug #50058. · 8401ea1a
      Jonathan Blandford authored
      Thu Mar  8 19:18:27 2001  Jonathan Blandford  <jrb@redhat.com>
      
      	* gtk/gtktreeview.c (gtk_tree_view_unref_tree_helper): Actually
      	unref the nodes.   Fixes bug #50058.
      
      	* gtk/gtktreemodel.c (gtk_tree_model_ref_node): change
      	"::ref_iter" to "::ref_node".
      	(gtk_tree_model_unref_node): change "::unref_iter" to
      	"::unref_node". Fixes bug #50064.
      8401ea1a
  9. 08 Mar, 2001 7 commits
    • Jonathan Blandford's avatar
      add support for invisible cells. (gtk_tree_view_bin_expose): ditto · bd10a077
      Jonathan Blandford authored
      Thu Mar  8 17:40:09 2001  Jonathan Blandford  <jrb@redhat.com>
      
      	* gtk/gtktreeview.c (gtk_tree_view_create_row_drag_icon): add
      	support for invisible cells.
      	 (gtk_tree_view_bin_expose): ditto
      
      also, forgot to commit tests/testtreeview.c last commit
      bd10a077
    • Jonathan Blandford's avatar
      add prerequesite on gobjects. · ce9d9a4a
      Jonathan Blandford authored
      Thu Mar  8 16:36:00 2001  Jonathan Blandford  <jrb@redhat.com>
      
      	* gtk/gtktreemodel.c (gtk_tree_model_get_type): add prerequesite
      	on gobjects.
      
      	* tests/testtreefocus.c (main): New test file.
      
      	* tests/testtreeview.c: update to latest glib changes.
      
      	* tests/testtreecolumns.c: update to latest glib changes.
      ce9d9a4a
    • Tim Janik's avatar
      re-enabled event watcher emission hooks. · 73789e5a
      Tim Janik authored
      Thu Mar  8 18:13:20 2001  Tim Janik  <timj@gtk.org>
      
              * gtk/testgtk.c: re-enabled event watcher emission hooks.
      73789e5a
    • Tim Janik's avatar
      added accumulator data argument to g_signal_newc() functions. · 06718ecf
      Tim Janik authored
      Thu Mar  8 16:51:21 2001  Tim Janik  <timj@gtk.org>
      
              * *.c: added accumulator data argument to g_signal_newc()
              functions.
      
              * gtk/gtktreemodelsort.c (gtk_tree_model_sort_set_model):
              * gtk/gtktreeview.c (gtk_tree_view_setup_model):
              * gtk/treestoretest.c (make_window):
              s/g_signal_connect/g_signal_connectc/.
      
              * gtk/gtktextbuffer.c: completed signal arg fixups,
              they also needed G_SIGNAL_TYPE_STATIC_SCOPE flag.
      06718ecf
    • Owen Taylor's avatar
      Document ::hierarchy-changed. · 23f37e31
      Owen Taylor authored
      Wed Mar  7 23:58:53 2001  Owen Taylor  <otaylor@redhat.com>
      
      	* gtk/tmpl/gtkwidget.sgml: Document ::hierarchy-changed.
      23f37e31
    • Owen Taylor's avatar
      Make G_CONST_RETURN. · 85af7963
      Owen Taylor authored
      Thu Mar  8 00:02:30 2001  Owen Taylor  <otaylor@redhat.com>
      
      	* gtk/gtkwidget.[ch] (gtk_widget_get_name): Make
      	G_CONST_RETURN.
      
      	* gtk/gtkwidget.[ch] gtk/gtkprivate.h: Add a
      	::hierarchy-changed signal when a widget changes
      	from anchored to unanchored or vice versa.
      	(anchored means
      	 gtk_widget_get_ancestor (widget, GTK_TYPE_WINDOW) != NULL.)
      	Use a private flag to keep track of this efficiently.
      85af7963
    • Havoc Pennington's avatar
      uglify so that size request gets tested. · d85dd6bd
      Havoc Pennington authored
      2001-03-07  Havoc Pennington  <hp@redhat.com>
      
      	* gtk/testgtk.c (create_spins): uglify so that size request gets
      	tested.
      
      	* gtk/gtkspinbutton.c (gtk_spin_button_size_request): Base size
      	request on values for upper/lower, completes #6152
      d85dd6bd