1. 10 Aug, 2010 1 commit
  2. 26 Jul, 2010 4 commits
  3. 10 Jul, 2010 1 commit
  4. 29 Jun, 2010 2 commits
  5. 04 Apr, 2010 1 commit
  6. 01 Mar, 2010 1 commit
  7. 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
  8. 16 Jun, 2007 1 commit
  9. 12 Jun, 2007 1 commit
    • Yevgen Muntyan's avatar
      Implement block-cursor for overwrite mode. (#80378) · ef1e05f7
      Yevgen Muntyan authored
      2007-06-12  Yevgen Muntyan  <muntyan@tamu.edu>
      
              * gtk/gtkentry.c (gtk_entry_expose), (gtk_entry_toggle_overwrite),
              (gtk_entry_draw_cursor):
              * gtk/gtkstyle.c (_gtk_widget_get_cursor_gc),
              (_gtk_widget_get_cursor_color):
              * gtk/gtkstyle.h:
              * gtk/gtktextdisplay.c (gtk_text_renderer_prepare_run),
              (gtk_text_renderer_draw_shape), (text_renderer_set_state),
              (render_para):
              * gtk/gtktextlayout.c (gtk_text_layout_set_overwrite_mode),
              (gtk_text_layout_invalidate_cache), (get_block_cursor),
              (add_cursor), (gtk_text_layout_get_line_display),
              (_gtk_text_layout_get_block_cursor):
              * gtk/gtktextlayout.h:
              * gtk/gtktextutil.c (layout_get_char_width),
              (_gtk_text_util_get_block_cursor_location):
              * gtk/gtktextutil.h:
              * gtk/gtktextview.c (gtk_text_view_set_editable),
              (gtk_text_view_toggle_overwrite), (gtk_text_view_set_overwrite),
              (gtk_text_view_ensure_layout), (text_window_invalidate_cursors):
              Implement block-cursor for overwrite mode.  (#80378)
      
      
      svn path=/trunk/; revision=18108
      ef1e05f7
  10. 24 Dec, 2006 1 commit
    • Behdad Esfahbod's avatar
      Bug 340141 – Update to Pango 1.16 API · d698e3ea
      Behdad Esfahbod authored
      2006-12-24  Behdad Esfahbod  <behdad@gnome.org>
      
              Bug 340141 – Update to Pango 1.16 API
      
              * gdk/gdkpango.c (layout_iter_get_line_clip_region),
              (gdk_pango_layout_line_get_clip_region):
              * gtk/gtkcalendar.c (gtk_calendar_size_request):
              * gtk/gtkentry.c (gtk_entry_get_pixel_ranges),
              (get_layout_position), (gtk_entry_find_position),
              (gtk_entry_adjust_scroll):
              * gtk/gtkiconview.c (get_pango_text_offsets):
              * gtk/gtklabel.c (get_cursor_direction):
              * gtk/gtkstyle.c (get_insensitive_layout):
              * gtk/gtktextdisplay.c (render_para):
              * gtk/gtktextlayout.c (allocate_child_widgets),
              (find_display_line_below), (find_display_line_above),
              (gtk_text_layout_move_iter_to_previous_line),
              (gtk_text_layout_move_iter_to_next_line),
              (gtk_text_layout_move_iter_to_line_end),
              (gtk_text_layout_iter_starts_line),
              (gtk_text_layout_move_iter_to_x):
              * gtk/gtktextutil.c (limit_layout_lines):
              Use the _readonly version of pango_layout_iter_get_line(),
              pango_layout_iter_get_run(), pango_layout_get_line(), and
              pango_layout_get_lines().
      
              * gtk/gtkmain.c (gtk_get_default_language): Use
              pango_get_default_language().
      d698e3ea
  11. 06 Jul, 2006 1 commit
  12. 10 Nov, 2005 1 commit
    • Michael Natterer's avatar
      Applied patch from maemo-gtk that addresses many issues wrt display · 8bdc0bf9
      Michael Natterer authored
      2005-11-10  Michael Natterer  <mitch@imendio.com>
      
      	Applied patch from maemo-gtk that addresses many issues wrt
      	display migration and display closing (bug #85715).
      
      	* gdk/gdkdisplay.c (gdk_display_dispose): don't just set the
      	default display to NULL when it's closed. Instead set the most
      	recently opened display as new default (if one exists).
      
      	* gdk/gdkpango.c (on_renderer_display_closed): fixed signature
      	of this callback.
      
      	* gdk/gdkscreen.c (gdk_screen_dispose): check if the GCs still
      	exist before unrefing them.
      
      	* gdk/gdkwindow.c (_gdk_window_destroy_hierarchy): if the screen
      	is closed, allow destruction of the root window.
      
      	* gdk/x11/gdkdisplay-x11.c: moved some stuff from finalize() to
      	dispose(), free stuff that was leaked before.
      
      	* gdk/x11/gdkevents-x11.c (_gdk_x11_events_uninit_screen): check if
      	the xsettings_client still exists before destroying it.
      
      	* gdk/x11/gdkkeys-x11.c: added finalization and free the allocated
      	X resources.
      
      	* gdk/x11/gdkpixmap-x11.c: moved stuff from finalize() to new
      	dispose() implementation.
      
      	* gdk/x11/gdkscreen-x11.c: moved stuff from finalize() to
      	dispose() and check if it still exists before unrefing it. Set
      	their pointers to NULL/None *after* upchaining in dispose(),
      	because X11 implementations of members of the parent class still
      	need them for their own destruction.
      
      	* gdk/x11/gdkvisual-x11.c: removed finalize() implementation which
      	was g_error()ing when finalizing a visual.
      
      	* gtk/gtkclipboard.c (gtk_clipboard_finalize): don't use
      	get_clipboard_widget() because it would create the widget if it
      	doesn't exist. Use g_object_get_data() directly instead.
      
      	* gtk/gtktextdisplay.c (on_renderer_display_closed): fixed signature
      	of this callback.
      8bdc0bf9
  13. 01 Sep, 2005 1 commit
    • Matthias Clasen's avatar
      Intern some more strings. · 94eec042
      Matthias Clasen authored
      2005-09-01  Matthias Clasen  <mclasen@redhat.com>
      
              * gdk/*.c: Intern some more strings.
              * gtk/gtkintl.h:
              * gtk/*.c: Define an I_() macro and use it instead of the
              bulky g_intern_static_string().
      94eec042
  14. 31 Aug, 2005 1 commit
  15. 11 Jun, 2005 1 commit
  16. 10 Jun, 2005 1 commit
    • Matthias Clasen's avatar
      Allow setting paragraph background. (#81045, Gustavo Carneiro, patch by · 43f263a0
      Matthias Clasen authored
      2005-06-10  Matthias Clasen  <mclasen@redhat.com>
      
      	Allow setting paragraph background.  (#81045, Gustavo
      	Carneiro, patch by Jeroen Zwartepoorte)
      
      	* gtk/gtktextlayout.c (set_para_values): Propagate
      	pg_bg_color to the display struct.
      	(gtk_text_layout_free_line_display): Free it here.
      
      	* gtk/gtktextdisplay.c (render_para): If pg_bg_color
      	is set, draw a rectangle in that color behind
      	the paragraph.
      
      	* gtk/gtktexttag.c (gtk_text_tag_class_init): Add
      	paragraph-background, paragraph-background-gdk and
      	paragraph-background-set properties.
      	(set_pg_bg_color): A setter for paragraph-background.
      
      	* gtk/gtktextlayout.h (struct _GtkTextLineDisplay): Add
      	pg_bg_color.
      
      	* gtk/gtktexttag.h (struct _GtkTextAttributes): Add
      	pg_bg_color.
      	(struct _GtkTextTag): Add pg_bg_color_set.
      43f263a0
  17. 20 Mar, 2005 1 commit
    • Matthias Clasen's avatar
      Make PLT-reduction work with gcc4, and don't include everything in · cca8dd63
      Matthias Clasen authored
      2005-03-20  Matthias Clasen  <mclasen@redhat.com>
      
      	Make PLT-reduction work with gcc4, and don't include
      	everything in gdkalias.h:
      
      	* gtk/grk.symbols: Group symbols by header and source file.
      	* gtk/makegtkalias.pl: Protect definitions by the same
      	preprocessor symbols used to guard the headers. Move
      	the alias declarations to a separate file which is
      	produced when calling makegtkalias.pl -def
      	* gdk/Makefile.am (gtkaliasdef.c): Add a rule to generate
      	this file.
      	* gtk/*.c: Include gtkalias.h after the other headers,
      	include gtkaliasdef.c at the bottom.
      	* gtk/*.h: Small cleanups.
      cca8dd63
  18. 03 Dec, 2004 1 commit
  19. 30 Nov, 2004 1 commit
    • Owen Taylor's avatar
      Don't paint in the trailing end of a wrapped line when the selection · 126efafc
      Owen Taylor authored
      Tue Nov 30 16:25:29 2004  Owen Taylor  <otaylor@redhat.com>
      
              * gtk/gtktextdisplay.c (render_para): Don't paint in the
              trailing end of a wrapped line when the selection
              starts after the line. (#159984, Matthias Clasen)
      
              * gtk/gtktextdisplay.c (gtk_text_layout_draw): pass in byte_count + 1
              for selection_end index when the selection end is past the end of the
              line so that render_para() can distinguish it from selection-end
              *at* the end of the line. Fixes newlines not being selected.
      126efafc
  20. 21 Nov, 2004 1 commit
    • Owen Taylor's avatar
      Add GdkPangoRenderer, a subclass of PangoRenderer targeting GDK drawables. · 3d737ee8
      Owen Taylor authored
      Sat Nov 20 15:13:51 2004  Owen Taylor  <otaylor@redhat.com>
      
      	* gdk/gdkpango.[ch]: Add GdkPangoRenderer, a subclass of
      	PangoRenderer targeting GDK drawables. Use to implement the old
      	gdk_draw_layout() and friends.
      
      	* gdk/gdkdraw.c gdk/gdkdrawable.h gdk/gdkwindow.c gdk/gdkpixmap.c:
      	Add gdk_draw_glyphs_transformed() gdk_draw_trapezoids() and
      	the corresponding members of GdkDrawableClass. Add a fallback
      	implementation of gdk_draw_trapezoids() in terms of pixbufs.
      
      	* gdk/gdkwindowing.h gdk/x11/gdkg-x11.h: Add
      	_gdk_windowing_gc_get_foreground() to enable the fallback
      	trapezoid implementation.
      
      	* gdk/x11/gdkdrawable-x11.c gdk/x11/gdkdisplay-x11.h: Implement
      	draw_glyph_transformed,	draw_trapezoids.
      
      	* gdk/x11/gdkdrawable-x11.[ch]: Add
      	_gdk_x11_drawable_draw_xtrapezoids, _gdk_x11_drawable_draw_xft_glyphs
      	for use of GdkX11Renderer.
      
      	* gdk/x11/gdkgc-x11.c gdk/x11/gdkprivate-x11.h: Implement
      	GDK_TILED, GDK_STIPPLED, GDK_OPAQUE_STIPPLED in the RENDER codepath.
      
      	* gdk/gdkpango-x11.c: Add GdkX11Renderer... a subclass of
      	PangoXftRenderer that does tiles/stipples and fallback rendering
      	of trapezoids without the RENDER extension.
      
      	* gdk/gdkpango-x11.c gdk/x11/gdkscreen-x11.[ch] _gdk_x11_renderer_get:
      	Add _gdk_x11_renderer_get() to get a singleton GdkX11Renderer
      	for the screen.
      
      	* gdk/x11/gdkdrawable-x11.c (get_impl_drawable): Fix a None/NULL
      	confusion.
      
      	* gtk/gtklabel.[ch] gtk/gtk.symbols: Add gtk_label_set/get_angle(),
      	and an ::angle property.
      
      	* gtk/gtklabel.c: Remove #if 0'd dead code gtk_label_paint_word().
      
      	* gtk/gtktextdisplay.c: Switch to using a GtkTextRenderer subclass
      	of GdkPangoRenderer for drawing.
      
      	* gtk/gtktextlayout.[ch] gtk/gtktextdisplay.c: Switch to using
      	gtk_attr_shape_new_with_data() to store backreferences to
      	embedded pixmaps and widgets. Leave line_display->shaped_objects
      	around for backwords compatibility.
      
      	* gdk/gdkpango.[ch] (gdk_pango_context_set_colormap): Describe
      	as deprecated, remove implementation.
      
      	* gtk/gtkwidget.c (gtk_widget_create_pango_context): Remove
      	call to gdk_pango_context_set_colormap.
      
      	* demos/gtk-demo/Makefile.am demos/gtk-demo/rotated_text.c: Add
      	a demo showing drawing rotated text.
      
      	* tests/testgtk.c: Add a rotated-label test, and also a rotated
      	drawing test (differs from demos/gtk-demo/rotated_text by also
      	using a tile)
      3d737ee8
  21. 09 Aug, 2004 1 commit
    • Matthias Clasen's avatar
      Add hidden aliases for exported symbols which are used internally in order · 3612aee5
      Matthias Clasen authored
      Mon Aug  9 12:48:04 2004  Matthias Clasen  <maclas@gmx.de>
      
      	Add hidden aliases for exported symbols which are
      	used internally in order to get rid of many PLT
      	entries.  (#145519, Arjan van de Ven)
      
      	* gtk/Makefile.am: Add rules to generate gtk.def and
      	from gtk.symbols, and make make check check the abi
      	with abicheck.sh.
      	(gtk_private_h_sources): Add gtkinternals.h
      	(gtk_built_private_headers): Add gtkalias.h
      	(gtk_extra_sources): Add gtk.symbols
      	(EXTRA_DIST): Add makegtkalias.pl and abicheck.sh
      
      	* gtk/gtk.symbols: New file. Definition of the GTK+ ABI.
      	The file can be processed by cpp to filter out certain
      	subsets of symbols.
      
      	* gtk/abicheck.sh: New file. Script to check the actually
      	symbols exported from libgtk-x11.2.0.so against the symbols
      	found in gtk.symbols.
      
      	* gtk/makegtkalias.pl: New file. Perl script to generate the
      	header containing the alias definitions for internally used
      	exported symbols from a list of symbols.
      
      	* gtk/gtkinternals.h: New file. An uninstalled header listing
      	symbols which must be exported for some reason and do not appear
      	in any other header.
      
      	* gtk/*.c: Include gtkalias.h
      3612aee5
  22. 06 Mar, 2004 1 commit
  23. 29 Feb, 2004 1 commit
  24. 26 Feb, 2004 1 commit
    • Owen Taylor's avatar
      hu Feb 26 15:43:43 2004 Owen Taylor <otaylor@redhat.com> · 0459484c
      Owen Taylor authored
              * gtk/gtkstyle.[ch]: Export insertion cursor drawing functionality
              in a simplified form as gtk_draw_insertion_cursor().
              (#99031, request from Alex Larsson)
      
              * gtk/gtktextdisplay.c gtk/gtkentry.c gtk/gtklabel.c:
              Adapt to new gtk_draw_insertion_cursor().
      
              * gtk/gtkradiomenuitem.c (gtk_radio_menu_item_class_init)
              gtk/gtkstyle.c (gtk_style_class_init): Add some missed
              Since: 2.4.
      
              * gtk/gtkiconfactory.c (icon_size_settings_changed)
                gtk/gtkicontheme.c (do_theme_change)
                gtk/gtkrc.c (_gtk_rc_context_get_default_font_name)
              * gtk/gtksettings.c (gtk_settings_notify):
              _gtk_rc_reset_styles => gtk_rc_reset_styles.
      0459484c
  25. 04 Jun, 2003 1 commit
    • Owen Taylor's avatar
      Keep track of when we have a clip mask set for the GC, and when we unset · 76fc08a3
      Owen Taylor authored
      Wed Jun  4 19:24:28 2003  Owen Taylor  <otaylor@redhat.com>
      
              * gdk/x11/gdkgc-x11.c gdk/x11/gdkprivate-x11.h: Keep
              track of when we have a clip mask set for the GC,
              and when we unset it, or switch to a clip region,
              immediately call XSetClipMask (..., None) to avoid
              Xlib caching stale data. (#111806)
      
              * gtk/gtktextdisplay.c: Don't set a clip mask
              when drawing alpha pixmaps; it isn't necessary any more.
              (#111806)
      76fc08a3
  26. 08 Jan, 2003 1 commit
  27. 25 Dec, 2002 1 commit
  28. 10 Oct, 2002 1 commit
    • Manish Singh's avatar
      Deprecation cleanup · ac770765
      Manish Singh authored
      Thu Oct 10 14:41:05 2002  Manish Singh  <yosh@gimp.org>
      
              * gtk/gtktextbtree.c gtk/gtktextbuffer.c gtk/gtktextdisplay.c
              gtk/gtktextlayout.c gtk/gtktextmark.c gtk/gtktexttag.[ch]
              gtk/gtktexttagtable.c gtk/gtktextutil.c gtk/gtktextview.[ch]:
              Deprecation cleanup
      ac770765
  29. 02 Oct, 2002 1 commit
    • Owen Taylor's avatar
      Export _gdk_draw_pixbuf as gdk_draw_pixbuf(), rename the _draw_pixbuf · 6cb79658
      Owen Taylor authored
      Wed Oct  2 17:46:53 2002  Owen Taylor  <otaylor@redhat.com>
      
              * gdk/gdkdrawable.h gdk/gdkinternals.h gdk/gdkdraw.c
              gdk/gdkwindow.c gdk/gdkdrawable.c: Export _gdk_draw_pixbuf
              as gdk_draw_pixbuf(), rename the _draw_pixbuf virtual
              function to draw_pixbuf. (#60582)
      
              * gdk/gdkpixbuf-render.c (gdk_pixbuf_render_to_drawable[_alpha]):
              Note that these functions are obsolete in the docs.
      
              * gdk/gdkpixbuf-render.c (gdk_pixbuf_render_to_drawable):
              Remove all the sanity checks now we make it clear
              that it is obsolete name for gdk_draw_pixbuf().
      
              * gdk/gdkpixmap.c gtk/gtkcellrendererpixbuf.c gtk/gtkimage.c
                gtk/gtkpixmap.c demos/testpixbuf-scale.c demos/testpixbuf.c
                tests/testrgb.c: Use gdk_draw_pixbuf() everywhere.
      
              * gtk/gtklabel.c (gtk_label_set_mnemonic_widget): Fix
              some warnings.
      
              * gdk/gdkinternals.h (struct _GdkEventPrivate): Fix missed
              bit from last gdk_event_get_screen() change.
      
              * gdk/gdkevents.c: Couple of small fixes.i
      6cb79658
  30. 29 Apr, 2002 1 commit
    • Alexander Larsson's avatar
      Integrate Erwann Chenede's multihead changes for the gtk/ directory. · 4632fb81
      Alexander Larsson authored
      Mon Apr 29 18:28:00 2002  Owen Taylor  <otaylor@redhat.com>
      
      	Integrate Erwann Chenede's multihead changes for the gtk/ directory.
      
      	* gtk/gtkclipboard.[ch]: Add gtk_clipboard_get_for_display(),
      	make internals multihead aware.
      
      	* gtk/gtkcolorsel.[ch]: Add
      	gtk_color_selection_set_change_palette_with_screen_hook () [ugh!]
      	make up for non-multihead safety of
      	gtk_color_selection_set_change_palette_hook()
      
      	* gtk/gtkinvisible.[ch] gtk/gtkmenu.[ch] gtkwindow.[ch]: Add
      	gtk_{invisible,menu,window}_set_screen(); add "screen" properties
      	for GtkWindow and GtkMenu.
      
      	* gtk/gtkplug.[ch]: Add gtk_plug_construct_for_display(),
      	gtk_plug_new_for_display(). Multihead fixes.
      
      	* gtk/gtkselection.[ch]: Add gtk_selection_owner_set_for_display(),
      	make internals multihead aware.
      
      	* gtk/gtksettings.[ch]: Add gtk_settings_get_for_screen(), get
      	rid of now-useless gtk_settings_constructor().
      
      	* gtk/gtkstyle.[ch]: Add gtk_style_get_font_for_display(), fix
      	check/radio button indicators bitmap handling to be multihead
      	safe.
      
      	* gtk/gtkwidget.[ch]: Add gtk_widget_get_screen(), gtk_widget_has_screen(),
      	gtk_widget_get_display(), gtk_widget_get_clipboard(),
      	gtk_widget_get_root_window().
      
      	* gtk/gtkbindings.c gtk/gtkbutton.c gtk/gtkclist.c gtk/gtkcombo.c
      	gtk/gtkctree.c gtk/gtkdnd.c gtk/gtkfilesel.c gtk/gtkgamma.c
      	gtk/gtkhandlebox.c gtk/gtkhsv.c gtk/gtkimcontext.c gtk/gtklabel.c
      	gtk/gtklist.c gtk/gtkmain.c gtk/gtkmenuitem.c gtk/gtkmenushell.c
      	gtk/gtknotebook.c gtk/gtkoldeditable.c gtk/gtkoptionmenu.c
      	gtk/gtkpaned.c gtk/gtkpreview.c gtk/gtksocket.c gtk/gtktext.c
      	gtk/gtktextbuffer.c gtk/gtktextview.c gtk/gtktipsquery.c
      	gtk/gtktooltips.c gtk/gtktreeview.c gtk/gtktreeviewcolumn.c:
      	misc mechanical multihead-safety fixes.
      
      	* gtk/gtkclipboard.c: Use a GtkImage rather than a pixmap for
      	the dropper, look up the color palette only at realization time,
      	other multihead fixes.
      
      	* gtk/gtkcombo.c (gtk_combo_unrealize): Popdown the list when
      	unrealizing.
      
      	* gtk/gtkentry.c: Only claim ownership of the primary selection
      	when realized, misc multihead fixes.
      
      	* gtk/gtkfontsel.c: Only fill in fonts when attached to a screen,
      	fix gtk_font_selection_get_font() for multihead.
      
      	* gtk/gtkgc.c: make the depth => drawable hash per-screen.
      
      	* gtk/gtkinvisible.c: Add a constructor that realizes the
      	widget, so we get a realized widget with g_object_new() as
      	well gtk_invisible_new() as before.
      
      	* gtk/gtkmain.c: Get rid of unused gtk_visual/gtk_colormap
      	variables.
      
      	* gtk/gtktextdisplay.c: Add warnings if stipple bitmaps
      	are used on the wrong screen.
      
      	* gtk/gtktoolbar.c: Make handling of GtkSettings-based layout
      	read properties and connect to settings when the screen is changed,
      	rather than on init/finalize.
      
      	* gtk/gtkwindow.c: Fix icon handing to be multihead safe ...
      	default icon pixmaps/mask are only shared between windows on the
      	same screen. Misc multihead fixes.
      
      Sat Apr 27 13:49:53 2002  Owen Taylor  <otaylor@redhat.com>
      
      	* gtk/gtkclipboard.c (gtk_clipboard_get_for_display):
      	Update docs to reference GDK_SELECTION_CLIPBOARD rather GDK_NONE.
      
      2002-04-29  Alex Larsson  <alexl@redhat.com>
      
      	* gdk/linux-fb/gdkproperty-fb.c (gdk_property_get):
      	Fix silly bug, noticed by Sven Neumann.
      
      Sun Apr 28 22:43:55 2002  Jonathan Blandford  <jrb@gnome.org>
      
      	* gtk/gtktreemodelsort.c (gtk_tree_model_sort_set_sort_func): Fix
      	so that you can set a new sort func.
      4632fb81
  31. 03 Mar, 2002 1 commit
    • Owen Taylor's avatar
      Centralize lookup and caching of cursor GC's here. · c848fbbc
      Owen Taylor authored
      Sun Mar  3 14:26:33 2002  Owen Taylor  <otaylor@redhat.com>
      
              * gtk/gtkstyle.[ch] (_gtk_get_insertion_cursor_gc):
              Centralize lookup and caching of cursor GC's here.
      
              * gtk/gtkentry.[ch] gtk/gtktextview.[ch] gtk/gtktextdisplay.c
              gtk/gtklabel.c: Move to using _gtk_get_insertion_cursor_gc().
      
              * gtk/gtkentry.c (gtk_entry_expose): Draw cursors
              under the text, not over the text.
      
              * gtk/gtkwidget.c (gtk_widget_class_init): add
              a secondary-cursor-color property.
      
              * gtk/gtkwidget.c (gtk_widget_class_init): Decrease
              the default aspect ratio to 1/25 (0.04).
      
              * tests/testgtkrc (bell_duration): Comment out
              cursor color setting.
      c848fbbc
  32. 25 Feb, 2002 1 commit
    • Havoc Pennington's avatar
      change to pass in the cursor direction always, not just when we need an · 8ddb92e4
      Havoc Pennington authored
      2002-02-24  Havoc Pennington  <hp@pobox.com>
      
      	* gtk/gtkstyle.c (_gtk_draw_insertion_cursor): change to pass in
      	the cursor direction always, not just when we need an arrow, so we
      	can flip the cursor around its axis for RTL. Resolves #72372
      
      	* gtk/gtkentry.c (gtk_entry_draw_cursor): update for
      	draw_insertion_cursor change
      
      	* gtk/gtklabel.c (gtk_label_draw_cursor): ditto
      
      	* gtk/gtktextdisplay.c (gtk_text_layout_draw): ditto
      8ddb92e4
  33. 14 Feb, 2002 1 commit
    • Owen Taylor's avatar
      Patch from Bill Haneman and Padraig O'Briain to add cursor_aspect_ratio · 8f5c2c76
      Owen Taylor authored
      Thu Feb 14 16:46:48 2002  Owen Taylor  <otaylor@redhat.com>
      
      	* gtk/gtkentry.c gtk/gtktextdisplay.c gtk/gtklabel.c
      	gtk/gtkstyle.[ch] gtk/gtkwidget.c: Patch from Bill
      	Haneman and Padraig O'Briain to add cursor_aspect_ratio
      	style property to GtkWidget to allow theming the aspect
      	ratio of the cursor.
      
      	* gtk/gtkentry.c gtk/gtktextview.c gtk/gtklabel.c
      	gtk/gtkwidget.c tests/testgtkrc: Move cursor-color style property
      	to GtkWidget.
      8f5c2c76
  34. 13 Nov, 2001 1 commit
    • Havoc Pennington's avatar
      fix to properly replace selection with Return or Tab · 8befd2f8
      Havoc Pennington authored
      2001-11-13  Havoc Pennington  <hp@redhat.com>
      
      	* gtk/gtktextview.c (gtk_text_view_key_press_event): fix to
      	properly replace selection with Return or Tab
      
      	* gtk/gtktextdisplay.c (gtk_text_layout_draw): fix broken code
      	that didn't locate the end of the line correctly, should fix #63800
      8befd2f8
  35. 06 Nov, 2001 1 commit
    • Havoc Pennington's avatar
      expose the child widgets in here (gtk_text_view_realize): set parent · 604eebd3
      Havoc Pennington authored
      2001-11-05  Havoc Pennington  <hp@redhat.com>
      
      	* gtk/gtktextview.c (gtk_text_view_paint): expose the child
      	widgets in here
      	(gtk_text_view_realize): set parent window of child widgets
      	(gtk_text_view_size_request): use child req to decide whether
      	to invalidate layout, not widget->requisition
      
      	* gtk/gtktextdisplay.c (render_layout_line): set
      	shaped_width_pixels for NULL shape objects, so that we properly
      	draw the "missing pixbuf/widget" thing
      	(render_layout_line): don't draw the widget here
      	(gtk_text_layout_draw): pass out a list of widgets that need exposing
      
      	* demos/gtk-demo/textview.c (insert_text): add demo of child
      	widgets
      
      	* gtk/gtktextlayout.c (add_child_attrs): remove debug spew
      
      	* gtk/gtktextdisplay.c (render_layout_line): remove debug spew
      
      	* gtk/gtktextview.c (gtk_text_view_update_child_allocation): add
      	scroll offsets
      	(gtk_text_view_value_changed): poke new X and Y into child allocations
      604eebd3
  36. 22 Oct, 2001 1 commit