1. 22 Jun, 2008 1 commit
    • Johan Dahlin's avatar
      Include "config.h" instead of <config.h> Command used: find -name · d97cdbdf
      Johan Dahlin authored
      2008-06-21  Johan Dahlin  <jdahlin@async.com.br>
      
          * *.[ch]: Include "config.h" instead of <config.h>
          Command used:
          find -name \*.[ch]|xargs perl -p -i -e 's/^#include <config.h>/#include "config.h"/g'
          Rubberstamped by Mitch and Tim
      
      
      svn path=/trunk/; revision=20669
      d97cdbdf
  2. 06 Jun, 2007 1 commit
    • Yevgen Muntyan's avatar
      new method, gtk_widget_modify_cursor() (#89314). · 2cbaeadf
      Yevgen Muntyan authored
      2007-06-06  Yevgen Muntyan  <muntyan@tamu.edu>
      
      	* gtk/gtkwidget.c:
      	* gtk/gtkwidget.h: new method, gtk_widget_modify_cursor() (#89314).
      
      	* gtkrc.c:
      	* gtkrc.h: new functions _gtk_rc_style_set_rc_property() and
      	_gtk_rc_style_unset_rc_property().
      
      	* gtk/gtk.symbols: added gtk_widget_modify_cursor.
      
      	* tests/testtext.c (do_cursor_visible_changed):
      	* tests/testgtk.c (create_styles): test it.
      
      
      svn path=/trunk/; revision=18066
      2cbaeadf
  3. 22 Dec, 2006 1 commit
  4. 17 Aug, 2006 1 commit
  5. 07 Mar, 2006 1 commit
    • Michael Natterer's avatar
      Add infrastructure for copy/paste and DND of rich text for GtkTextBuffer. · 6c1d990a
      Michael Natterer authored
      2006-03-07  Michael Natterer  <mitch@imendio.com>
      
      	Add infrastructure for copy/paste and DND of rich text for
      	GtkTextBuffer. Fixes bug #324177.
      
      	* gtk/gtktextbufferrichtext.[ch]: new files implementing a
      	per-buffer registry of rich text formats.
      
      	* gtk/gtk.h: #include gtktextbufferrichtext.h
      
      	* gtk/gtktextbufferserialize.[ch]: new files implementing an
      	internal serialization format that can handle all of a text
      	buffer's tags and pixbufs. It's not useful for anything except
      	tranfer between instances of GtkTextBuffer (Anders Carlsson).
      
      	* gtk/Makefile.am: build the new files.
      
      	* gtk/gtkclipboard.[ch]: added convenience APIs for rich text,
      	just as they exist for plain text and pixbufs.
      
      	* gtk/gtkselection.[ch]: added rich text convenience APIs here
      	too.  Return the target list from gtk_target_list_ref(). Register
      	GtkTargetList as boxed type. Added
      	gtk_target_table_new_from_list() and gtk_target_table_free(),
      	which make converting between GtkTargetList and arrays of
      	GtkTargetEntry considerably easier.
      
      	* gtk/gtktextutil.[ch]: added _gtk_text_util_create_rich_drag_icon()
      	which creates a fancy rich text icon (Matthias Clasen).
      
      	* gtk/gtktextbuffer.[ch]: use all the new stuff above and
      	implement copy and paste of rich text. Added APIs for getting the
      	target lists used for copy and paste. Added public enum
      	GtkTextBufferTargetInfo which contains the "info" IDs associated
      	with the entries of the target lists.
      
      	* gtk/gtktextview.c: use the new rich text APIs and
      	GtkTextBuffer's new target list API to enable DND of rich text
      	chunks.
      
      	* gtk/gtk.symbols: export all the new symbols added.
      
      	* tests/testtext.c: added rich text testing stuff.
      6c1d990a
  6. 13 Jul, 2005 1 commit
  7. 29 Apr, 2005 1 commit
    • Matthias Clasen's avatar
      Add some more attribute tests. · 7d2d8182
      Matthias Clasen authored
      2005-04-29  Matthias Clasen  <mclasen@redhat.com>
      
      	* tests/testtext.c: Add some more attribute tests.
      
      	* gtk/gtktexttag.c (gtk_text_tag_class_init): Correct the documentation
      	of the rise property. String change, but it is more important to
      	be correct than to be translated.  (#301740)
      7d2d8182
  8. 30 Oct, 2004 1 commit
  9. 28 Oct, 2004 1 commit
  10. 06 Mar, 2004 1 commit
  11. 01 Mar, 2004 1 commit
    • Owen Taylor's avatar
      Add gtk_entry_set_alignment() to allow right-aligned entries and a · 4ea9813d
      Owen Taylor authored
      Sun Feb 29 22:01:49 2004  Owen Taylor  <otaylor@redhat.com>
      
              * gtk/gtkentry.[ch]: Add gtk_entry_set_alignment()
              to allow right-aligned entries and a "xalign"
              property. (#59799, patch from Egon Andersen and
              Steffen Gutmann)
      
              * gtk/gtkmisc.c (gtk_misc_class_init): Use improved
              xalign property description here too.
      
              * tests/testtext.c: UNDERLINE_ERROR test addition
              from Nicolas Settons' patch.
      4ea9813d
  12. 26 Sep, 2003 1 commit
    • Matthias Clasen's avatar
      Turn off GTK_DISABLE_DEPRECATED, since this test uses the · e4507b60
      Matthias Clasen authored
      2003-09-27  Matthias Clasen  <maclas@gmx.de>
      
      	* tests/testtext.c: Turn off GTK_DISABLE_DEPRECATED, since
      	this test uses the soon-to-be-deprecated GtkItemFactory.
      
      	* demos/gtk-demo/Makefile.am (demos): Add ui_manager.c,
      	remove item_factory.c
      
      	* demos/gtk-demo/ui_manager.c: Duplicate of item_factory.c
      	using GtkUIManager instead of GtkItemFactory.
      e4507b60
  13. 02 Aug, 2003 1 commit
  14. 28 Feb, 2003 1 commit
    • Manish Singh's avatar
      demos/gtk-demo/main.c demos/gtk-demo/tree_store.c gdk/x11/gdkscreen-x11.c · dd74be94
      Manish Singh authored
      Thu Feb 27 17:44:24 2003  Manish Singh  <yosh@gimp.org>
      
              * demos/gtk-demo/main.c
              * demos/gtk-demo/tree_store.c
              * gdk/x11/gdkscreen-x11.c
              * gtk/gtkcellrenderertoggle.c
              * gtk/gtkcolorsel.c
              * gtk/gtkdnd.c
              * gtk/gtkeditable.c
              * gtk/gtkentry.c
              * gtk/gtkmenu.c
              * gtk/gtkmenubar.c
              * gtk/gtkmenuitem.c
              * gtk/gtkmenushell.c
              * gtk/gtkrc.c
              * gtk/gtksettings.c
              * gtk/gtkstyle.c
              * gtk/gtktextbuffer.c
              * gtk/gtktextview.c
              * gtk/gtktreeviewcolumn.c
              * tests/testgtk.c
              * tests/testtext.c
              * tests/testtreeedit.c
              * tests/testtreefocus.c
              * tests/testtreeview.c: remove unnecessary G_OBJECT() casts.
      dd74be94
  15. 31 Jan, 2003 1 commit
    • Manish Singh's avatar
      declare gtk_selection_clear in GTK_COMPILATION too, for gtkwidget.c. · c71f8b39
      Manish Singh authored
      Thu Jan 30 17:16:05 2003  Manish Singh  <yosh@gimp.org>
      
              * gtk/gtkselection.h: declare gtk_selection_clear in GTK_COMPILATION
              too, for gtkwidget.c. Remember people, when introducing new
              deprecations, make sure internal code isn't using it, or if so,
              reorganize appropriately like I've done in other places.
      
              * tests/testtext.c: don't use deprecated gtk_timeout_* stuff.
      c71f8b39
  16. 07 Dec, 2002 1 commit
    • Owen Taylor's avatar
      Use octal escapes rather than literal UTF-8. · f9d1107b
      Owen Taylor authored
      Fri Dec  6 19:00:59 2002  Owen Taylor  <otaylor@redhat.com>
      
              * demos/gtk-demo/testview.c tests/testgtk.c
              tests/testtext.c tests/testtextbuffer.c: Use
              octal escapes rather than literal UTF-8.
      f9d1107b
  17. 08 Nov, 2002 1 commit
    • Matthias Clasen's avatar
      Put into #ifdef DO_BLINK to avoid an unused static function. (#97965) · 2d1ce5a4
      Matthias Clasen authored
      	* tests/testtext.c (blink_timeout): Put into #ifdef DO_BLINK to
      	avoid an unused static function.  (#97965)
      
      	* gtk/gtktextiter.c (backward_line_leaving_caches_unmodified):
      	* gtk/gtkstyle.c (radio_aa_bits):
      	(draw_spin_entry_shadow): #if-0-out unused static functions and
      	variables.  (#97965)
      
      	* gtk/gtktextview.c (text_window_get_allocation):
      	* gtk/gtkcolorsel.c (gtk_color_selection_get_palette_size):
      	(gtk_color_selection_get_palette_color):
      	(gtk_color_selection_unset_palette_color): Remove unused static
      	functions.  (#97965)
      
      	* gtk/gtkcolorsel.c
      	(gtk_color_selection_set_change_palette_with_screen_hook): Fix doc
      	comment.
      2d1ce5a4
  18. 13 Oct, 2002 1 commit
    • Manish Singh's avatar
      Deprecation cleanup · 37278865
      Manish Singh authored
      Sun Oct 13 16:20:41 2002  Manish Singh  <yosh@gimp.org>
      
              * tests/pixbuf-randomly-modified.c tests/prop-editor.c
              tests/testcalendar.c tests/testdnd.c tests/testgtk.c tests/testinput.c
              tests/testmultidisplay.c tests/testmultiscreen.c tests/testrgb.c
              tests/testselection.c tests/testsocket.c tests/testsocket_common.c
              tests/testtext.c tests/testtextbuffer.c tests/testtreecolumns.c
              tests/testtreeedit.c tests/testtreeflow.c tests/testtreefocus.c
              tests/testtreesort.c tests/testtreeview.c tests/testxinerama.c
              tests/treestoretest.c: Deprecation cleanup
      
              * tests/Makefile.am: Added disable deprecation flags
      37278865
  19. 04 Oct, 2002 1 commit
    • Owen Taylor's avatar
      Improve checks on public entry points, including, among other things · 47bed428
      Owen Taylor authored
      Fri Oct  4 17:13:03 2002  Owen Taylor  <otaylor@redhat.com>
      
              * gtk/gtkdnd.c: Improve checks on public entry points,
              including, among other things checking whether drag
              contexts passed in are source or dest. (Fixes
              #76762, Alexey A. Malyshev)
      
              * tests/testtext.c tests/testgtk.c tests/testdnd.c:
              Fix uninstalled operation for new pixbuf changes.
      
              * gtk/stock-icons/Makefile.am (pixbuf_csource):
              Fix makefile for uninstalled operation.
      47bed428
  20. 03 Oct, 2002 1 commit
    • Owen Taylor's avatar
      Fix error in computing length and a memory leak. (Fixes #94072, reported · 92fa2231
      Owen Taylor authored
      Thu Oct  3 19:00:55 2002  Owen Taylor  <otaylor@redhat.com>
      
              * gdk/x11/gdkselection-x11.c (gdk_selection_property_get):
              Fix error in computing length and a memory leak.
              (Fixes #94072, reported by Hema Seetharamaiah)
      
              * gtk/gtkmenu.c (gtk_menu_motion_notify): Fix &event
              used instead of event.
      92fa2231
  21. 05 Aug, 2002 1 commit
    • Owen Taylor's avatar
      Add a note that yes, we do know what () means and we can't change it. · 090a1ac1
      Owen Taylor authored
      Mon Aug  5 14:50:13 2002  Owen Taylor  <otaylor@redhat.com>
      
      	* gtk/gtkitemfactory.h: Add a note that yes, we do know
      	what () means and we can't change it.
      
      	Fixes for warnings reported by David L. Cooper II
      
      	* tests/testtext.c: Warning fixes. Fix order of arguments
      	to gtk_message_dialog_new(). (#85891)
      
      	* gtk/gtktreeitem.c (gtk_tree_item_paint): Fix incorrect
      	use GTK_STATE_INSENSITIVE for a shadow type. (Not clear
      	what the drawing intent was, but it's ENABLE_BROKEN
      	anyways.) (#85880)
      
      	* gtk/gtktexttypes.c: Use character literals
      	instead of direct constants to avoid warning. (#85878)
      
      	* gtk/theme-bits/decompose-bits.c gtk/gtkstyle.c:
      	Fix some signed/unsigned problems (#85876)
      
      	* gtk/gtksignal.c (gtk_signal_newv): Add an explicit
      	cast from GtkSignalRunType to GSignalFlags. (#85875)
      
      	* gtk/gtkitemfactory.c (gtk_item_factory_add_item): Fix
      	use of guint instead of GdkModifierType (#85871)
      
      	* gtk/gtkimmulticontext.c (gtk_im_multicontext_append_menuitems):
      	Fix signed/unsigned problem (#85870)
      
      	* gtk/gtkimcontext.c (gtk_im_context_class_init): Get
      	rid of GtkType/Signal*. (Fixes #85869 as a side effect)
      
      	* gtk/gtkdnd.c (gtk_drag_get_cursor): Fix some
      	signed/unsigned warnings (#85865)
      090a1ac1
  22. 03 Mar, 2002 1 commit
    • Owen Taylor's avatar
      Fixes for uninstalled operation with module suffixes other than .so and in · b47b15f6
      Owen Taylor authored
      Sat Mar  2 23:08:23 2002  Owen Taylor  <otaylor@redhat.com>
      
              Fixes for uninstalled operation with module suffixes
              other than .so and in general for platforms like AIX where
              the module suffix isn't predictable. (#72185, problems
              reported by Miroslaw Dobrzanski-Neumann)
      
              * modules/input/Makefile.am (gtk.immodules): Query .la
              files rather than shared objects in .libs when creating the
              uninstalled gtk.immodules file.
      
              * gtk/gtkmain.c (_gtk_find_module): Look for .la files
              after looking for the normal soname extension to handle
              cases where the soname extension isn't predictable,
              like AIX.
      
              * gtk/gtkthemes.c (gtk_theme_engine_load): Don't
              call g_module_build_path... leave that to
              gtk_rc_find_module_in_path.
      
              * demos/gtk-demo/main.c (main) demos/pixbuf-init.c (pixbuf_init):
              tests/testgtk.c (test_init): tests/testtext.c (test_init)
              tests/testdnd.c (test_init): Point gdk-pixbuf to .la
              files rather than poking in .libs for .so files.
      
              * gtk/stock-icons/Makefile.am (gtkstockpixbufs.h): Remove
              .libs from GDK_PIXBUF_MODULEDIR.
      b47b15f6
  23. 13 Feb, 2002 1 commit
    • Havoc Pennington's avatar
      just go ahead and flush all the first validate stuff if it hasn't been · a760ad80
      Havoc Pennington authored
      2002-02-13  Havoc Pennington  <hp@redhat.com>
      
      	* gtk/gtktextview.c (gtk_text_view_paint): just go ahead and flush
      	all the first validate stuff if it hasn't been done, presumably
      	someone called process_updates at a weird time.
      
      	* tests/testtext.c (do_apply_colors): terminate on >= end, not >
      	end, avoids infinite loop when end is at the end of the buffer.
      
      	* gtk/gtktextbtree.c (_gtk_text_btree_delete): when creating a
      	line data, we were adding it to the wrong line ("line" instead of
      	"start_line")
      a760ad80
  24. 02 Jan, 2002 1 commit
    • Havoc Pennington's avatar
      propagate exposes to no window children not in the buffer window. · 290e4efd
      Havoc Pennington authored
      2002-01-01  Havoc Pennington  <hp@pobox.com>
      
      	* gtk/gtktextview.c (gtk_text_view_expose_event): propagate
      	exposes to no window children not in the buffer window.
      	(gtk_text_view_class_init): add move_focus bindings for Ctrl-Tab
      	- is this the right way to do it?
      	(gtk_text_view_focus): add focus method, just chains up for now,
      	I'm not sure why the GtkContainer implementation doesn't work
      
      	* gtk/gtktextbtree.c (_gtk_text_btree_insert_child_anchor): fill
      	in the text line for the child anchor segment
      
      	* tests/testtext.c (do_add_focus_children): add another test
      	example (to put focusable buttons into the widget)
      290e4efd
  25. 31 Dec, 2001 1 commit
  26. 19 Nov, 2001 1 commit
  27. 14 Nov, 2001 1 commit
  28. 13 Nov, 2001 1 commit
    • Havoc Pennington's avatar
      add border width to requisition, request non-anchored children · 10b3db08
      Havoc Pennington authored
      2001-11-13  Havoc Pennington  <hp@redhat.com>
      
      	* gtk/gtktextview.c (gtk_text_view_size_request): add border width
      	to requisition, request non-anchored children
      	(gtk_text_view_size_allocate): handle border width, allocate
      	non-anchored children
      	(text_view_child_new_window): set the child as object data
      	(gtk_text_view_move_child): allow children at negative
      	coordinates, no reason why not
      	(gtk_text_view_forall): make it copy the list of children before
      	walking it, to avoid reentrancy issues
      	(gtk_text_view_move_child): short-circuit if position is unchanged
      	(changed_handler): only queue_resize if requisition has changed
      	(gtk_text_view_init): don't redraw_on_allocate, since we can do
      	a better job of invalidation ourselves
      
      	* tests/testtext.c: add tests for the fixed-position children
      10b3db08
  29. 06 Nov, 2001 1 commit
  30. 22 Oct, 2001 1 commit
    • Havoc Pennington's avatar
      Clarify behavior in docs, #61777 (gtk_text_iter_forward_search) · 72e6566b
      Havoc Pennington authored
      2001-10-22  Havoc Pennington  <hp@redhat.com>
      
      	* gtk/gtktextiter.c (gtk_text_iter_set_line): Clarify behavior in
      	docs, #61777
      	(gtk_text_iter_forward_search) (gtk_text_iter_backward_search):
      	change the two boolean args to a flags field, so we can extend
      	to add case insensitive, regexp searches later. #61852
      72e6566b
  31. 10 Oct, 2001 1 commit
    • Owen Taylor's avatar
      Call setlocale (LC_ALL, ""). (#60606) · dfb3a1b0
      Owen Taylor authored
      Wed Oct 10 12:48:38 2001  Owen Taylor  <otaylor@redhat.com>
      
      	* gtk/gtkmain.c (gtk_init_check): Call setlocale (LC_ALL, "").
      	(#60606)
      
      	* gtk/gtkmain.c (gtk_disable_setlocale): Add function
      	to disable calling setlocale (LC_ALL, "").
      
      	* gtk/gtkmain.c (gtk_set_locale): Indicate in the
      	docs that this function is not typically useful.
      
      	* gdk/x11/{gdkim-x11.c,gdkmain-x11.c,gdkprivate-x11.h}:
      	Automatically initialize GDK for the current locale
      	on gdk_init(). Don't reset locale to C when
      	XSupportsLocale() fails.
      
      	* gdk/linux-fb/gdkim-fb.c (gdk_set_locale): Remove
      	useless checks for UTF-8 locale breakage that mattered
      	only for X.
      
      	* examples/calendar/calendar.c
      	tests/{testgtk.c,testtext.c,testcalendar.c}: Remove calls to
      	gtk_set_locale().
      
      	* gtk/gtkiconfactory.c gtk/gtkitemfactory.c:
      	gdk_pixbuf_new_from_stream => gdk_pixbuf_new_from_inline.
      dfb3a1b0
  32. 07 Sep, 2001 1 commit
    • Havoc Pennington's avatar
      update adjustments after validating destination yrange; fixes #53918 (This · f1427cd9
      Havoc Pennington authored
      2001-09-07  Havoc Pennington  <hp@redhat.com>
      
      	* gtk/gtktextview.c (gtk_text_view_flush_scroll): update
      	adjustments after validating destination yrange; fixes #53918
      	(This may cause other issues, but I hope it won't)
      
      2001-09-05  Havoc Pennington  <hp@redhat.com>
      
      	* gtk/gtktextbtree.c (_gtk_text_btree_delete): when merging end
      	line into start line, update the character counts in parent nodes;
      	caused a bug when end and start line had different parent nodes.
      
      2001-08-30  Havoc Pennington  <hp@redhat.com>
      
      	* gtk/gtktexttag.c (_gtk_text_attributes_fill_from_tags): add
      	assertion that tag is in a table
      f1427cd9
  33. 28 Jun, 2001 1 commit
    • Tim Janik's avatar
      up version to 1.3.7, interface age 0, binary age 0. depend on glib 1.3.7. · 10f047cf
      Tim Janik authored
      Thu Jun 28 17:18:41 2001  Tim Janik  <timj@gtk.org>
      
      	* configure.in (GTK_MICRO_VERSION): up version to 1.3.7, interface
      	age 0, binary age 0. depend on glib 1.3.7.
      
      	* gtk/gtkcontainer.c: remove g_signal_handlers_disconnect_by_func() hack.
      
      	* gtk/gtkmenubar.c: same here.
      
      	* gtk/gtkcontainer.c (gtk_container_focus_tab): fix param-spec retrival.
      
      	* gtk/gtkcolorsel.c (gtk_color_selection_init): fix connect_data() usage.
      
      	* gtk/gtkentry.c (gtk_entry_focus_in): same here.
      
      	* gtk/gtkmenubar.c (add_to_window): likewise.
      
      	* gtk/gtktextbtree.c: and here...
      
      	* gtk/gtktextview.c (gtk_text_view_ensure_layout): same thing.
      
      	* gtk/gtktoolbar.c (gtk_toolbar_init): once more.
      
      	* gtk/gtktreemodel.c (connect_ref_callbacks): and another time.
      
      	* gtk/gtktreeviewcolumn.c:
      	(_gtk_tree_view_column_set_tree_view): yet again.
      
      	* demos/gtk-demo/images.c (progressive_timeout): demonstrate
      	signal connections without g_signal_connect_data().
      
      	* demos/gtk-demo/stock_browser.c (do_stock_browser): second
      	demo of the matter.
      
      	* demos/testpixbuf.c (main): running out of equality phrases for the
      	ChangeLog, but had to adapt connections here as well.
      
      	* demos/testanimation.c (progressive_timeout): and for the fun of it,
      	tackled this the same way.
      
      	* tests/testtext.c (create_view): ok, it's becoming a pain at this
      	point, but had enough enery for one more fix.
      
      	* tests/testtreecolumns.c (main): stand up man, do your work!
      
      	* tests/testtreeview.c (set_columns_type): ok, this is the last file i
      	fix, either that's been all of it or CVS gtk is broken yet again.
      10f047cf
  34. 25 May, 2001 1 commit
    • Havoc Pennington's avatar
      get sizes an icon set can render without falling back to missing image · 87684f95
      Havoc Pennington authored
      2001-05-25  Havoc Pennington  <hp@redhat.com>
      
      	* gtk/gtkiconfactory.c (gtk_icon_set_get_sizes): get sizes an icon
      	set can render without falling back to missing image icon
      
      	* gtk/gtktextview.c (gtk_text_view_size_request): request full
      	size of text, instead of random values
      
      	* gtk/gtktreeview.c (gtk_tree_view_size_request): request full
      	size of tree view, instead of random values
      
      	* gtk/gtkiconfactory.c (gtk_icon_set_render_icon): render fallback
      	image in an appropriate size
      
              * gtk/gtkstock.h: Rename the stock items including _BUTTON_,
      	etc. not to include that. i.e. s/GTK_STOCK_BUTTON_OK/GTK_STOCK_OK/
      
              Throughout: fix GTK_STOCK_BUTTON_ instances
      
      	* gtk/gtkstock.h, gtk/gtkstock.c, gtk/gtkiconfactory.h,
      	gtk/gtkiconfactory.c, gtk/stock-icons/Makefile.am:
      	Add a bunch of new stock items/icons
      
      	* gtk/gtktreeview.c (gtk_tree_view_insert_column_with_data_func):
      	new function, convenience for inserting columns with a data func
      
      	* gtk/gtkiconfactory.c: keep a list of all existing icon factories
      	(_gtk_icon_factory_list_ids): use list of all factories to
      	generate a list of all known IDs
      
      	* gtk/gtkstock.c (gtk_stock_list_ids): replace
      	gtk_stock_list_items() with a function that returns all IDs known
      	including those for GtkIconFactory.
      87684f95
  35. 22 May, 2001 1 commit
    • Alexander Larsson's avatar
      Added properties. Based on patch by Lee Mallabone. · 811543ce
      Alexander Larsson authored
      2001-05-21  Alexander Larsson  <alexl@redhat.com>
      
      	* gtk/gtkfontsel.c:
      	Added properties. Based on patch by Lee Mallabone.
      
      	* gtk/gtkruler.c:
      	* gtk/gtkhruler.c:
      	* gtk/gtkvruler.c:
      	* gtk/gtktext.c:
      	* gtk/gtktextview.c:
      	Converted GtkArg to GParam. Based on patches by John Margaglione.
      
      	* tests/Makefile.am:
      	* tests/testtext.c:
      	Add a property editor to testtext.
      811543ce
  36. 07 May, 2001 1 commit
    • Havoc Pennington's avatar
      fix some shell typos · b4e4a0ed
      Havoc Pennington authored
      2001-05-04  Havoc Pennington  <hp@redhat.com>
      
      	* configure.in: fix some shell typos
      
      	* gtk/gtkcolorsel.c (gtk_color_selection_destroy): warning fix
      
      	* gtk/gtkimage.c: handle animations
      
      	* gtk/gtkcheckbutton.c (gtk_check_button_size_request): request
      	border_width * 2, not just border_width
      
      	* gtk/gtkscale.c: add "format_value" signal to allow people
      	to override the way values are drawn.
      	(gtk_scale_get_value_size): fix width/height mistake,
      	and compute size from actual displayed text, not
      	from made-up text.
      
      	* gtk/gtktexttag.c (gtk_text_tag_class_init): fix return type in
      	signal registration
      
      	* tests/testtext.c: Add "Remove all tags" menu item for testing
      
      	* gtk/gtktextbuffer.c (gtk_text_buffer_remove_all_tags): implement
      
      	* demos/gtk-demo/main.c (main): add hack so we can find modules
      	without installing gtk
      
      	* demos/gtk-demo/textview.c (insert_text): demo font scaling
      
      	* gtk/gtkcellrenderertext.c: Add "scale" property (font scaling
      	factor)
      	(gtk_cell_renderer_text_set_property): remove some bogus
      	g_object_notify
      
      	* gtk/gtktexttag.c: add "scale" property which is a font scaling
      	factor
      
      	* gtk/gtktextlayout.c (add_text_attrs): add font scale attribute
      	to layout
      
      	* gtk/gtktextiter.c (gtk_text_iter_is_start): rename from
      	gtk_text_iter_is_first
      
      2001-05-04  Havoc Pennington  <hp@redhat.com>
      
      	* pixops/pixops.c (pixops_process): merge fix from stable: Patch
      	 from hoshem@mel.comcen.com.au to fix nonzero X offsets.  Fixes
      	 bug #50371.
      
              * gdk-pixbuf/pixops/pixops.c (pixops_composite_nearest): merge
      	from stable: Patch from OKADA Mitsuru <m-okada@fjb.co.jp> to fix
      	confusion of using "src" instead of "p".
              (pixops_composite_color_nearest): Use a more accurate (and
      	correct, to begin with) compositing method.  This cures checks
      	showing through on images with no alpha.
      
      	* gdk-pixbuf.c (gdk_pixbuf_fill): fix bug that left some trailing
      	bytes unfilled.
      
      	* gdk-pixbuf-io.h: fix UpdatedNotifyFunc to use signed ints
      
      	* gdk-pixbuf-loader.h (struct _GdkPixbufLoaderClass): Change
      	area_updated signal to use signed ints.  Removed animation-related
      	signals.
      
      	* io-gif.c, io-gif-animation.h, io-gif-animation.c: Massive
      	rewrite action
      
      	* gdk-pixbuf-animation.c: Add GdkPixbufAnimationIter to abstract
      	all the pesky details. Remove old frame-based API. Make
      	GdkPixbufAnimation an abstract base class, derived by the loaders.
      b4e4a0ed
  37. 03 May, 2001 1 commit
    • Owen Taylor's avatar
      Patch from Juan Pablo Mendoza Mendoza to fix things so clicking inside · 7e9df644
      Owen Taylor authored
      Thu May  3 07:00:09 2001  Owen Taylor  <otaylor@redhat.com>
      
      	* gtk/gtktextview.c: Patch from Juan Pablo Mendoza Mendoza
      	to fix things so clicking inside selection leaves cursor
      	at point where clicked. (#50324)
      
      	* gtk/gtksettings.c (gtk_settings_class_init): Restore
      	sane value for default double click time.
      
      	* tests/testtext.c (test_init): Really path to input modules.
      7e9df644
  38. 01 May, 2001 1 commit
  39. 28 Apr, 2001 1 commit
    • Havoc Pennington's avatar
      fix warning · 7e9b154f
      Havoc Pennington authored
      2001-04-27  Havoc Pennington  <hp@redhat.com>
      
      	* gtk/gtkcombo.c (gtk_combo_popup_button_press): fix warning
      
      	* gtk/gtkmessagedialog.c (gtk_message_dialog_init): make messages selectable
      
      	* gtk/gtkentry.c (gtk_entry_real_insert_text): don't strip
      	line/para separators
      	(gtk_entry_create_layout): set single paragraph mode on the layout
      
      	* gtk/gtkbutton.c (gtk_button_new_from_stock): don't put much
      	spacing between the image and label; instead, inside a button box
      	the button will get extra space that will go there, but if people
      	configure button box for 0 chubbiness, then there's no spacing.
      
      	* gtk/gtkbbox.c (gtk_button_box_class_init): Make child ipadding
      	and min/max size style properties, so people can tune their
      	chubbiness.
      
      	* tests/testgtk.c (make_toolbar): remove calls to removed toolbar
      	functions
      
      	* gtk/gtktoolbar.c (gtk_toolbar_class_init): Make space_size,
      	space_style, and button_relief into style properties, remove
      	functions for setting them
      
      	* gtk/gtkmenu.c (gtk_menu_key_press): handle menu bar accel to pop
      	it back down
      
      	* gtk/gtkoptionmenu.c (gtk_option_menu_get_props): free boxed
      	types from gtk_widget_style_get
      
      	* gtk/gtkmenubar.c (gtk_menu_bar_set_shadow_type): Remove, replace
      	with a style property.
      
      	* gdk/x11/gdkevents-x11.c: namespace the settings
      
      	* gtk/gtkmenubar.c: Add F10 accelerator to move between menubars.
      
      	* gtk/gtksettings.c (gtk_settings_class_init): remove code with
      	side effects from inside g_assert(), so that G_DISABLE_ASSERT can
      	be used. Also, translate doc strings for settings. Also, namespace
      	the double-click-time property. Also, remove bell properties crap.
      7e9b154f
  40. 26 Apr, 2001 1 commit