1. 30 Oct, 2004 1 commit
  2. 28 Oct, 2004 1 commit
  3. 06 Mar, 2004 1 commit
  4. 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
  5. 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
  6. 02 Aug, 2003 1 commit
  7. 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
  8. 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
  9. 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
  10. 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
  11. 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
  12. 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
  13. 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
  14. 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
  15. 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
  16. 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
  17. 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
  18. 31 Dec, 2001 1 commit
  19. 19 Nov, 2001 1 commit
  20. 14 Nov, 2001 1 commit
  21. 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
  22. 06 Nov, 2001 1 commit
  23. 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
  24. 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
  25. 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
  26. 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
  27. 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
  28. 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
  29. 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
  30. 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
  31. 01 May, 2001 1 commit
  32. 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
  33. 26 Apr, 2001 1 commit
  34. 24 Apr, 2001 1 commit
    • Havoc Pennington's avatar
      handle 0-height empty/invisible lines. · b84d2f12
      Havoc Pennington authored
      2001-04-21  Havoc Pennington  <hp@pobox.com>
      
      	* gtk/gtktextdisplay.c (gtk_text_layout_draw): handle 0-height
      	empty/invisible lines.
      
      	* gtk/gtktextiter.c (gtk_text_iter_set_visible_line_offset)
      	(gtk_text_iter_set_visible_line_index): new functions to set
      	indexes excluding invisible text
      
      	* gtk/gtktextlayout.c (line_display_iter_to_index): get visible
      	index
      
      	* gtk/gtktextiter.c (gtk_text_iter_get_visible_line_index)
      	(gtk_text_iter_get_visible_line_offset): new functions to
      	get indexes excluding invisible text
      
      	* gtk/gtkmessagedialog.c (gtk_message_dialog_init): strip out a
      	bunch of extra padding that served no purpose
      
      	* gtk/gtkdialog.c: Make all the spacings configurable via style
      	properties, for chubbiness configuration in themes
      
      	* tests/testtext.c: fix path to the immodules.
      b84d2f12
  35. 29 Mar, 2001 2 commits
    • Chookij Vanatham's avatar
    • Owen Taylor's avatar
      Add missing NULL on valist. · 1586ade9
      Owen Taylor authored
      Wed Mar 28 19:20:43 2001  Owen Taylor  <otaylor@redhat.com>
      
      	* gtk/testtext.c (create_buffer): Add missing NULL on
      	valist.
      
      	* gtk/gtkcheckmenuitem.c (gtk_check_menu_item_class_init): Fix
      	c-n-p problem with INCONSISTENT property.
      
              [ Patch from Havoc Pennington  <hp@redhat.com> ]
      
      	* gtk/gtkentry.h (struct _GtkEntryClass): add same populate_popup
      	hook.
      
      	* gtk/gtktextview.h (struct _GtkTextViewClass): add populate_popup
      	signal as a hook for extending the default popup menu
      
      	* gtk/gtkimmulticontext.c (gtk_im_multicontext_append_menuitems):
      	use radio menu items for the input method menuitems
      
      	* gtk/gtkimcontextsimple.c (check_hex): do better validation of
      	inserted unicode from Ctrl-Shift-hex input method
      
      	* gtk/gtktextbtree.c (_gtk_text_btree_insert): remove utf8
      	validatation here, already done at GtkTextBuffer level.
      
      	* gtk/gtkwidget.c (gtk_widget_class_init): add binding set, add
      	popup_menu run action signal and Shift+F10 and Menu keybindings.
      
      	* gtk/gtkentry.c: implement a default handler for popup_menu
      
      	* gtk/gtktextview.c: implement a default handler for popup_menu
      
      	* gtk/gtkmenu.c (gtk_menu_popup): select first item if popup is
      	from a key event
      
      	* gtk/gtklabel.c: remove "trailer" cruft
      1586ade9
  36. 24 Mar, 2001 1 commit
    • Havoc Pennington's avatar
      fix warnings · b6b4e13f
      Havoc Pennington authored
      2001-03-23  Havoc Pennington  <hp@redhat.com>
      
      	* gtk/testgtk.c: fix warnings
      
      	* gtk/gtktoolbar.c (gtk_toolbar_insert_element): fix return value
      
      	* gtk/gtktextview.c: fix warnings
      
      	* gtk/gtktext.c (find_cursor_at_line): fix warning
      
      	* gtk/gtkselection.c (gtk_selection_notify): fix warning
      
      	* gtk/gtkitemfactory.c (gtk_item_factory_menu_pos): fix signature
      	of this function
      
      	* gtk/gtkimmulticontext.c (gtk_im_multicontext_append_menuitems):
      	fix warning
      
      	* gtk/gtkhandlebox.c (gtk_handle_box_style_set): fix warning
      
      	* gtk/gtkfontsel.c: fix warning
      
      	* gtk/gtkcolorsel.c: fix warnings
      b6b4e13f
  37. 16 Mar, 2001 1 commit
    • 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
  38. 19 Feb, 2001 1 commit
    • Havoc Pennington's avatar
      add insert_child_anchor signal, bug #50245 · bc31a1bc
      Havoc Pennington authored
      2001-02-19  Havoc Pennington  <hp@redhat.com>
      
      	* gtk/gtktextbuffer.h (struct _GtkTextBufferClass): add
      	insert_child_anchor signal, bug #50245
      
      	* gtk/gtktextbtree.c (_gtk_text_btree_insert_child_anchor): change
      	from create_child_anchor, so the anchor is passed in
      
      	* gtk/gtktextchild.c (gtk_text_child_anchor_new): new function
      	(_gtk_widget_segment_new): have the child anchor object passed in,
      	instead of creating it.
      
      	* gtk/gtktextbuffer.c (gtk_text_buffer_modified): rename
      	to gtk_text_buffer_get_modified
      bc31a1bc
  39. 17 Feb, 2001 1 commit
    • Havoc Pennington's avatar
      convert the X coordinates so they're with respect to the line, rather than · 08add3cd
      Havoc Pennington authored
      2001-02-15  Havoc Pennington  <hp@redhat.com>
      
      	* gdk/gdkpango.c (gdk_pango_layout_line_get_clip_region): convert
      	the X coordinates so they're with respect to the line, rather than
      	with respect to the layout.
      
      	* gtk/gtkalignment.c: Convert to new property API, patch from Lee
      	Mallabone
      
      	* gtk/testgtk.c (create_range_controls): add vscale tests,
      	and inverted test
      
      	* gtk/gtkrange.c (gtk_range_set_inverted): new function to fix
      	#50806
      
      	* gtk/gtkentry.c (gtk_entry_get_text): add G_CONST_RETURN
      
      	* gtk/gtktextiter.h (gtk_text_iter_is_last): rename
      	gtk_text_iter_is_end
      
      	* gtk/gtktextbuffer.h (gtk_text_buffer_get_last_iter):
      	rename gtk_text_buffer_get_end_iter
      
      	* gtk/testgtk.c (create_labels): Add test for selectable
      
      	* gtk/gtkentry.c (gtk_entry_draw_text): Use new GDK API to draw
      	the selection stuff. This code is kind of broken since it doesn't
      	use the theme engine.
      
      	* gdk/gdkpango.c (gdk_pango_layout_line_get_clip_region):
      	fix infinite loop and y offset problem
      	(gdk_draw_layout_line_with_colors): fix foreground color handling
      
              * gtk/gtklabel.h, gtk/gtklabel.c: Implement a "selectable" flag
      	that makes the label selectable.
      
      	* gtk/gtklabel.c (gtk_label_style_set): recreate the label's
      	layout when the style is set, since fonts etc. could have changed.
      08add3cd