1. 04 Nov, 2001 1 commit
  2. 03 Nov, 2001 5 commits
    • Tor Lillqvist's avatar
      Can't include gtkprivate.h (I added the include yesterday, without really · d36c54b4
      Tor Lillqvist authored
      2001-11-04  Tor Lillqvist  <tml@iki.fi>
      
      	* gtk/gtkimmodule.c: Can't include gtkprivate.h (I added the
      	include yesterday, without really thinking), as that defeats the
      	working of correct_libdir_prefix() (it becomes a no-op.). Add
      	comment mentioning that. Thanks to Hans Breuer for noticing.
      d36c54b4
    • Daniel Elstner's avatar
      Use GtkWindow* as first signal argument (was GtkWidget*). · ac812521
      Daniel Elstner authored
      2001-11-03  Daniel Elstner  <daniel.elstner@gmx.net>
      
      	* gtk/gtkwindow.h (frame_event): Use GtkWindow* as first
      	signal argument (was GtkWidget*).
      
      	* gtk/gtkwindow.c (gtk_window_frame_event),
      	  gtk/gtkwindow-decorate.c (gtk_decorated_window_frame_event):
      	Fixed argument types as above, removed GTK_WINDOW casts and
      	added some GTK_WIDGET casts instead.
      ac812521
    • Hans Breuer's avatar
      chain finalize to parent class to get removed from the toplevel_list. · 2a0f4e7d
      Hans Breuer authored
      2001-11-03  Hans Breuer  <hans@breuer.org>
      
      	* gtk/gtkfilesel.c (gtk_file_selection_finalize) : chain
      	finalize to parent class to get removed from the toplevel_list.
      	Should fix 'random' crashes of #63474.
      
      	* gtk/gtktreemodelsort.c : chain finalize() to parent class
      2a0f4e7d
    • Sebastian Wilhelmi's avatar
      gdk_rgb_init() doesn't need to be called anymore. Use g_object_(un)_ref · 9d8e5e0b
      Sebastian Wilhelmi authored
      2001-11-03  Sebastian Wilhelmi  <wilhelmi@ira.uka.de>
      
      	* gdk-pixbuf/tmpl/refcounting.sgml,
      	gdk-pixbuf/porting-from-imlib.sgml, tmpl/creating.sgml:
      	gdk_rgb_init() doesn't need to be called anymore. Use
      	g_object_(un)_ref instead of gdk_pixbuf_(un)ref.
      
      	* tmpl/module_interface.sgml: Typo fix.
      
      	* gdk-pixbuf/gdk-pixbuf.sgml: Fixed jade complaining about '_' by
      	replacing it with '-'. Now builds again.
      
      	* gdk-pixbuf-loader.c, gdk-pixbuf-scale.c: Documentation fixes.
      9d8e5e0b
    • Tor Lillqvist's avatar
      Correct some renamed functions. · bee6f66b
      Tor Lillqvist authored
      2001-11-03  Tor Lillqvist  <tml@iki.fi>
      
      	* gtk/gtk.def: Correct some renamed functions.
      
      	* gtk/gtkimmodule.c (correct_libdir_prefix): New function, used on
      	Windows to turn build-time paths from a gtk.immodules distributed
      	as part of a binary package into runtime ones in the
      	end-user-chosen installation directory.
      	(gtk_im_module_init): Use it for module path and domain
      	directory.
      bee6f66b
  3. 02 Nov, 2001 17 commits
    • Tor Lillqvist's avatar
      Use -no-undefined on Windows. Look for .dll or .so as appropriate as · 1d15be15
      Tor Lillqvist authored
      2001-11-03  Tor Lillqvist  <tml@iki.fi>
      
      	* modules/input/Makefile.am: Use -no-undefined on Windows. Look
      	for .dll or .so as appropriate as module suffix.
      
      	* gtk-zip.sh.in: Use correct import library names.
      
      	* gtk/gtk.def: Add a couple of missing entry points. (#63585)
      
      2001-11-02  Tor Lillqvist  <tml@iki.fi>
      
      	* gtk/gtkrc.c (gtk_rc_make_default_dir): Fix typo: extraneous
      	comma.  Include gtkprivate.h for GTK_LIBDIR etc definitions on
      	Windows.
      
      2001-10-30  Tor Lillqvist  <tml@iki.fi>
      
      	* Makefile (install-data-hook): Use cp, not $(LN_S) on the .pc
      	files. Configure on Win32 (running on Cygwin) thinks symlinks
      	exist, but pkg-config is not necesarily a Cygwin program, and
      	doesn't understand them.
      1d15be15
    • Jonathan Blandford's avatar
      Clean up height code a bit. I don't think it's completely correct yet, but · 05062529
      Jonathan Blandford authored
      Fri Nov  2 16:45:17 2001  Jonathan Blandford  <jrb@redhat.com>
      
      	* gtk/gtkrbtree.c (_gtk_rbtree_remove_node): Clean up height code
      	a bit.  I don't think it's completely correct yet, but it's
      	getting there.
      05062529
    • Owen Taylor's avatar
      Remove random + 5 for width and height. If people want padding, they · 44934dca
      Owen Taylor authored
      Fri Nov  2 16:14:15 2001  Owen Taylor  <otaylor@redhat.com>
      
      	* gtk/gtkviewport.c (gtk_viewport_size_request): Remove
      	random + 5 for width and height. If people want padding,
      	they should add padding. (Note the +5 isn't padding
      	that will always appear - it just appears in the case
      	where the widget is allocated it's requisition.)
      	(#51018, Janet Davis)
      44934dca
    • Owen Taylor's avatar
      Pad the structure for future expansion. · 92d5e4b2
      Owen Taylor authored
      Fri Nov  2 15:53:23 2001  Owen Taylor  <otaylor@redhat.com>
      
      	* gtk/gtkimcontext.h (struct _GtkIMContextClass): Pad
      	the structure for future expansion.
      92d5e4b2
    • Owen Taylor's avatar
      Patch from HideToshi Tajima (#51922) · 7f63b5db
      Owen Taylor authored
      Fri Nov  2 15:30:34 2001  Owen Taylor  <otaylor@redhat.com>
      
              Patch from HideToshi Tajima (#51922)
      
              * gtk/gtkimmulticontext.c: Proxy set_use_preedit().
      
              * gtk/modules/input/gtkimcontextxim.[ch]: Implement
              set_use_preedit().
      
              * gtk/modules/input/gtkimcontextxim.[ch]: If we have
              to destroy the input context because we change the
              client window or use_preedit, make sure we empty
              the preedit string.
      7f63b5db
    • Owen Taylor's avatar
      Go to the GUP proposed ordering of buttons with [OK] in the lower right · 782107bc
      Owen Taylor authored
      Fri Nov  2 14:55:53 2001  Owen Taylor  <otaylor@redhat.com>
      
      	* gtk/{gtkcolorseldialog.c,gtkfilesel.c,gtkfontsel.c,
      	gtkgamma.c,gtkmessagedialog.c}: Go to the GUP
      	proposed ordering of buttons with [OK] in the lower
      	right hand corner. Patch from Gregory Merchan,
      	#56331.
      782107bc
    • Jonathan Blandford's avatar
      remove extraneous gtk_label_clear_layout (label) · 1b1b2e82
      Jonathan Blandford authored
      Fri Nov  2 11:51:49 2001  Jonathan Blandford  <jrb@redhat.com>
      
      	* gtk/gtklabel.c (gtk_label_select_region_index): remove
      	extraneous gtk_label_clear_layout (label)
      1b1b2e82
    • Sebastian Wilhelmi's avatar
      Removed -DGTK_DISABLE_COMPAT_H. · d5b5427c
      Sebastian Wilhelmi authored
      
      2001-11-02  Sebastian Wilhelmi  <wilhelmi@ira.uka.de>
      
      	* tests/makefile.msc, gtk/makefile.msc.in: Removed
      	-DGTK_DISABLE_COMPAT_H.
      
      	* docs/Changes-2.0.txt:
      	s/GDK_DISABLE_COMPAT_H/GDK_DISABLE_DEPRECATED/
      
      	* gtk/gtkcompat.h.in, gdk/gdkcompat.h: Removed from CVS.
      d5b5427c
    • Owen Taylor's avatar
      Convert to use pkg-config rather than gtk-config. (#53375, Skip Montanaro) · ca21695f
      Owen Taylor authored
      Fri Nov  2 10:21:03 2001  Owen Taylor  <otaylor@redhat.com>
      
      	* examples/**/Makefile.am: Convert to use pkg-config
      	rather than gtk-config. (#53375, Skip Montanaro)
      ca21695f
    • Matt Wilson's avatar
      remove totally broken unused, non-compiling, static function. · bc0d15ab
      Matt Wilson authored
      2001-11-02  Matt Wilson  <msw@redhat.com>
      
      	* gtk/gtkdialog.c (find_child_by_response_id): remove totally
      	broken unused, non-compiling, static function.
      bc0d15ab
    • Owen Taylor's avatar
      Iterate through children of the action area, not of the vbox. (#58278, · 78fa1576
      Owen Taylor authored
      Fri Nov  2 08:17:06 2001  Owen Taylor  <otaylor@redhat.com>
      
      	* gtk/gtkdialog.c (gtk_dialog_set_response_sensitive):
      	Iterate through children of the action area, not of
      	the vbox. (#58278, Sergey Kuzminov)
      78fa1576
    • Havoc Pennington's avatar
      handle -1 argument in order to remove a workaround in Nautilus that forced · daa04f48
      Havoc Pennington authored
      2001-11-01  Havoc Pennington  <hp@pobox.com>
      
      	* gtk/gtktext.c (gtk_text_set_position): handle -1 argument in
      	order to remove a workaround in Nautilus that forced
      	GTK_ENABLE_BROKEN
      
      	* gtk/gtkwidget.c (gtk_widget_modify_style): fix typos in the docs
      daa04f48
    • Owen Taylor's avatar
      Patch from George Lebl to fix division by zero for full scroll bars. · 04e8bd13
      Owen Taylor authored
      Thu Nov  1 20:09:31 2001  Owen Taylor  <otaylor@redhat.com>
      
      	* gtk/gtkrange.c: Patch from George Lebl to
      	fix division by zero for full scroll bars. (#62114)
      04e8bd13
    • Owen Taylor's avatar
      ref/unref around gtk_widget_event() if we are going to set a flag · 55676c57
      Owen Taylor authored
      Thu Nov  1 19:56:40 2001  Owen Taylor  <otaylor@redhat.com>
      
      	* gtk/gtkmain.c (gtk_main_do_event): ref/unref
      	around gtk_widget_event() if we are going to
      	set a flag afterwards. (#63464)
      55676c57
    • Owen Taylor's avatar
      Actually add the missing/broken image icon as the image for the "missing · 05969ed5
      Owen Taylor authored
      Thu Nov  1 19:44:48 2001  Owen Taylor  <otaylor@redhat.com>
      
      	* gtk/gtkiconfactory.c gtk/stock-icons/Makefile.am:
      	Actually add the missing/broken image icon as the
      	image for the "missing image" stock icon.
      05969ed5
    • Owen Taylor's avatar
      Set a reasonable default height for the window. · c77203bd
      Owen Taylor authored
      Thu Nov  1 19:18:34 2001  Owen Taylor  <otaylor@redhat.com>
      
      	* demos/gtk-demo/stock_browser.c (do_stock_browser):
      	Set a reasonable default height for the window.
      
      	* demos/gtk-demo/stock_browser.c (id_to_macro): Fix
      	bug where subsequent '-' weren't converted to '_'.
      	(#59550, Matthias Clasen)
      
      	* demos/gtk-demo/appwindow.c (menu_items): Don't right
      	justify the Help menu - just include a comment on
      	how to do it. (#63539, 	Marius Andreiana)
      
      	* gtk/gtkiconfactory.c (gtk_icon_set_get_sizes): Don't
      	list GTK_ICON_SIZE_INVALID.
      
      	* demos/gtk-demo/stock_browser.c: Show the biggest available
      	size, not a fixed size. (Often reported, including #63539,
      	Marius Andreiana)
      c77203bd
    • Jonathan Blandford's avatar
      Fix reorder_fixup, #59583 · a2ff9e41
      Jonathan Blandford authored
      Thu Nov  1 19:11:35 2001  Jonathan Blandford  <jrb@redhat.com>
      
      	* gtk/gtkrbtree.c (gtk_rbtree_reorder_fixup): Fix reorder_fixup,
      	#59583
      
      	* gtk/gtktreeselection.c (gtk_tree_selection_set_mode): fix
      	warning.
      a2ff9e41
  4. 01 Nov, 2001 6 commits
    • Owen Taylor's avatar
      Make GtkFunction return boolean, not gint. (Daniel Elstner). · 2ced30ad
      Owen Taylor authored
      Thu Nov  1 16:54:00 2001  Owen Taylor  <otaylor@redhat.com>
      
      	* gtk/gtktypeutils.h: Make GtkFunction return boolean, not gint.
      	(Daniel Elstner).
      2ced30ad
    • Owen Taylor's avatar
      Add: - A ::retrieve_surrounding signal that asks the widget for context · a1fe2ac1
      Owen Taylor authored
      Thu Nov  1 16:20:56 2001  Owen Taylor  <otaylor@redhat.com>
      
      	* gtk/gtkimcontext.[ch]: Add:
      	  - A ::retrieve_surrounding signal that asks the widget for
      	    context around the insertion point.
      	  - A ::delete_surrounding signal that asks the widget to
      	    delete context aroudn the insertion point.
      	  - gtk_im_context_set_context() for widgets to set context
      	    around the insertion point in response to ::retrieve_context.
      	  - gtk_im_context_get_context() for context to get context
      	    around the insertion point
      
      	* gtkmarshal.list: Add BOOL:INT,INT
      
      	* gtk/gtkimmulticontext.c: Proxy the get_surrounding() /
      	set_surrounding() methods, and the ::retrieve_surrounding /
      	::delete_surrounding signals.
      
      	* gtk/gtkentry.c gtk/gtktreeview.c: Hook up to the
      	GtkIMContext::retrieve_surrounding / ::delete_surrounding
      	signals.
      a1fe2ac1
    • Jonathan Blandford's avatar
      it's amazing how well things work sometimes, even when they're completely · 2704ea2b
      Jonathan Blandford authored
      Thu Nov  1 15:45:04 2001  Jonathan Blandford  <jrb@redhat.com>
      
      	* gtk/gtktreemodelsort.c (gtk_tree_model_sort_rows_reordered):
      	it's amazing how well things work sometimes, even when they're
      	completely wrong.
      
      	* gtk/gtktreeview.c (gtk_tree_view_real_collapse_row): Fix bug
      	where you could try to collapse a node w/o it having children.
      
      	(gtk_tree_view_class_init): remove Shift L<->R as they already
      	existed for expand/collapse.
      2704ea2b
    • Jonathan Blandford's avatar
      Fix crash found by Matt Wilson. · b852358d
      Jonathan Blandford authored
      Thu Nov  1 12:21:31 2001  Jonathan Blandford  <jrb@redhat.com>
      
      	* gtk/gtktreeview.c (gtk_tree_view_focus_to_cursor): Fix crash
      	found by Matt Wilson.
      b852358d
    • Jonathan Blandford's avatar
      Support Shift, Control, and Shift|Control L<->R, #63475 · d63b7cd6
      Jonathan Blandford authored
      Thu Nov  1 00:44:50 2001  Jonathan Blandford  <jrb@redhat.com>
      
      	* gtk/gtktreeview.c (gtk_tree_view_class_init): Support Shift,
      	Control, and Shift|Control L<->R, #63475
      d63b7cd6
    • Jonathan Blandford's avatar
      fix infinite loop noticed by yosh. · e7729de2
      Jonathan Blandford authored
      Wed Oct 31 18:53:51 2001  Jonathan Blandford  <jrb@redhat.com>
      
      	* gtk/gtktreemodel.c (gtk_tree_row_ref_deleted_callback): fix
      	infinite loop noticed by yosh.
      e7729de2
  5. 31 Oct, 2001 11 commits
    • Michael Meeks's avatar
      unset the GTK_REALIZED flag so we don't re-enter when we are destroyed · f3740fb2
      Michael Meeks authored
      2001-11-01  Michael Meeks  <michael@ximian.com>
      
      	* gtk/gtksocket.c (gtk_socket_unrealize): unset the
      	GTK_REALIZED flag so we don't re-enter when we are
      	destroyed from the plug side.
      f3740fb2
    • Owen Taylor's avatar
      Add a "menu" property and notify on it. (#62798, Padraig O'Briain) · 2145a4ef
      Owen Taylor authored
      Wed Oct 31 18:23:47 2001  Owen Taylor  <otaylor@redhat.com>
      
      	* gtk/gtkoptionmenu.c (gtk_option_menu_detacher):
      	Add a "menu" property and notify on it. (#62798,
      	Padraig O'Briain)
      
      	* gtk/gtkselection.[ch] gtk/{gtkentry.c, gtkfilesel.c,
      	gtkoldeditable.c, gtktextbuffer.c, gtktextview.c}:
      	Fix set_text to take a gchar, not a guchar, and to have
      	a len argument.
      2145a4ef
    • Manish Singh's avatar
      fix typo to make it compile · 7dccab8f
      Manish Singh authored
      Wed Oct 31 15:31:13 2001  Manish Singh  <yosh@gimp.org>
      
              * gtk/gtkstock.c: fix typo to make it compile
      7dccab8f
    • Jonathan Blandford's avatar
      don't know why this didn't commit · 0cc916c5
      Jonathan Blandford authored
      0cc916c5
    • Jonathan Blandford's avatar
      if the widget is insensitive, draw the text insensitively, #63306 · a64babbb
      Jonathan Blandford authored
      Wed Oct 31 17:27:20 2001  Jonathan Blandford  <jrb@redhat.com>
      
      	* gtk/gtkcellrenderertext.c (gtk_cell_renderer_text_render): if
      	the widget is insensitive, draw the text insensitively, #63306
      a64babbb
    • Matthias Clasen's avatar
      Add stock items for most stock icons. (#61757) · 8249338a
      Matthias Clasen authored
              * gtk/gtkstock.c: Add stock items for most stock icons. (#61757)
      8249338a
    • Matthias Clasen's avatar
      include initialization_versions.sgml, file-saving.sgml and · adacd4f7
      Matthias Clasen authored
              * gdk-pixbuf/gdk-pixbuf.sgml: include initialization_versions.sgml,
              file-saving.sgml and module_interface.sgml.
      
              * gdk-pixbuf/tmpl/module_interface.sgml: add short description.
      
              * gtk/tmpl/gtkarg.sgml, gtk/tmpl/gtkdata.sgml,
              gtk/tmpl/gtkcellrenderertextpixbuf.sgml: removed, since they described
              no longer existent stuff and aren't included anymore.
      
              * gdk/tmpl/color_contexts.sgml, gdk/tmpl/input_contexts.sgml,
              gdk/tmpl/input_methods.sgml: removed, since they described no longer
              existent stuff and aren't included anymore.
      adacd4f7
    • Jonathan Blandford's avatar
      rename gtk_selection_data_set_tree_row, #60218 · d7a97b97
      Jonathan Blandford authored
      Wed Oct 31 16:53:48 2001  Jonathan Blandford  <jrb@redhat.com>
      
      	* gtk/gtktreednd.c (gtk_tree_set_row_drag_data): rename
      	gtk_selection_data_set_tree_row, #60218
      	(gtk_tree_get_row_drag_data): rename
      	gtk_selection_data_get_tree_row, #60218
      
      	* gtk/gtktreemodel.c (gtk_tree_row_ref_deleted_callback): Actually
      	get this right, after the third try, #63122.
      d7a97b97
    • jacob berkman's avatar
      these should be 31, not 3. Hooray for Xatoms (and not using the XA_* · f2f7090a
      jacob berkman authored
      2001-10-31  jacob berkman  <jacob@ximian.com>
      
      	* gdk/gdkselection.h (GDK_TARGET_STRING):
      	(GDK_SELECTION_TYPE_STRING): these should be 31, not 3.  Hooray
      	for Xatoms (and not using the XA_* macros)!
      f2f7090a
    • Owen Taylor's avatar
      Add a gtk_window_get_focus() getter to determine the currently focused · 328d834e
      Owen Taylor authored
      Wed Oct 31 15:38:14 2001  Owen Taylor  <otaylor@redhat.com>
      
      	* gtk/gtkwindow.[ch] (gtk_window_get_focus): Add a
      	gtk_window_get_focus() getter to determine the currently
      	focused widget within the window. (#63145, request
      	from Damian Ivereigh)
      328d834e
    • Jonathan Blandford's avatar
      Add GTK_SELECTION_NONE enum, #61695 · 30f9fab4
      Jonathan Blandford authored
      Wed Oct 31 14:45:08 2001  Jonathan Blandford  <jrb@redhat.com>
      
      	* gtk/gtkenums.h (enum): Add GTK_SELECTION_NONE enum, #61695
      
      	* gtk/gtktreeselection.c (gtk_tree_selection_set_mode): Handle new
      	GTK_SELECTION_NONE enum.
      	(_gtk_tree_selection_internal_select_node): ditto
      
      	* gtk/gtkcellrenderer.h (struct _GtkCellRendererClass): add
      	constness.
      
      	* gtk/gtkcellrenderertoggle.c: more yummy constness.
      
      	* gtk/gtkclist.c (gtk_clist_set_selection_mode): g_return_if_fail
      	if mode == GTK_SELECTION_NONE
      30f9fab4