1. 13 Sep, 2010 1 commit
    • Havoc Pennington's avatar
      Use gint16 for GtkBorder · b3079c0d
      Havoc Pennington authored
      32K of border ought to be enough for any pixel dimensions. At least
      until screens are so huge we start using doubles.
      This saves a nice 64 bits of space when we have a GtkBorder
      stored somewhere.
      Signed integers are used to avoid surprising unsigned math
      issues. Just search GTK's whole git log from inception
      for "unsigned" if you want to find any number of commits
      fixing signed/unsigned bugs.
  2. 10 Aug, 2010 2 commits
  3. 26 Jul, 2010 1 commit
  4. 28 Jun, 2010 1 commit
  5. 07 Jun, 2010 1 commit
    • Sven Herzberg's avatar
      drop the draw_string() function from GtkStyle · 5300dc2b
      Sven Herzberg authored
      Reviewed by Michael Natterer.
      * gtk/gtkstyle.c,
      * gtk/gtkstyle.h: gdk_draw_string() has been deprecated and removed
        already. There's no one left who should be using this function
        (found this when porting sapwood to GTK+ 3.0)
      * modules/engines/pixbuf/pixbuf-draw.c: don't implement this unused
  6. 15 May, 2010 1 commit
  7. 02 May, 2010 2 commits
  8. 27 Nov, 2009 1 commit
  9. 14 Oct, 2009 1 commit
  10. 10 Mar, 2009 1 commit
  11. 01 Nov, 2008 1 commit
    • Matthias Clasen's avatar
      Bug 412134 – Add API to query style properties from the style · 4f8f2881
      Matthias Clasen authored
      2008-11-01  Matthias Clasen  <mclasen@redhat.com>
              Bug 412134 – Add API to query style properties from the style
              * gtk/gtk.symbols:
              * gtk/gtkstyle.[hc]: Add getters for style properties to
              avoid the need for ugly workarounds with dummy widget instances.
              Patch by Mariano Suárez-Alvarez
      svn path=/trunk/; revision=21744
  12. 30 Oct, 2008 2 commits
  13. 01 Jul, 2008 1 commit
  14. 30 Jun, 2008 1 commit
    • Cody Russell's avatar
      Practically everything changed. · fce9c8b7
      Cody Russell authored
      2008-06-30  Cody Russell  <bratsche@gnome.org>
              * Practically everything changed.
              Change	all references	of GIMP	Toolkit	(and variations	of it)
              to GTK+	Toolkit, showing no mercy at all to our	beloved
      	ancestry. (#540529)
      svn path=/trunk/; revision=20709
  15. 28 May, 2008 2 commits
    • Michael Natterer's avatar
      whitespace cleanup: remove trailing whitespace and excess newlines and · 2c5f8a5c
      Michael Natterer authored
      2008-05-28  Michael Natterer  <mitch@imendio.com>
      	* gtk/gtk*.h: whitespace cleanup: remove trailing whitespace and
      	excess newlines and sprinkled some newlines where needed. Zero
      	code or formatting changes included.
      svn path=/trunk/; revision=20225
    • Michael Natterer's avatar
      define __GTK_H_INSIDE__ around including all other headers. · eff99c28
      Michael Natterer authored
      2008-05-28  Michael Natterer  <mitch@imendio.com>
      	* gtk/gtk.h: define __GTK_H_INSIDE__ around including all other
      	* gtk/gtktypebuiltins.h.template
      	* gtk/gtkversion.h.in
      	* gtk/gtk*.h: add single-include guards that #error out if
      	GTK_DISABLE_SINGLE_INCLUDES is defined and any of these files is
      	included individually.
      	* gtk/gtkprintbackend.h
      	* gtk/gtkprinter-private.h
      	* gtk/gtktextlayout.h
      	* gtk/gtktexttagprivate.h
      	* gtk/gtktexttypes.h
      	* gtk/gtktreedatalist.h: include <gtk/gtk.h> instead of individual
      	headers in these private or semi-private headers.
      	* gtk/gtkimmodule.h: also here because it's not in gtk.h.
      	* gtk/gtkpagesetupunixdialog.h
      	* gtk/gtkprinter.h
      	* gtk/gtkprintjob.h
      	* gtk/gtkprintunixdialog.h: likewise in the gtkunixprint headers.
      	* gtk/gtkclist.h
      	* gtk/gtkcombo.h
      	* gtk/gtkctree.h
      	* gtk/gtkfilesel.h
      	* gtk/gtkitemfactory.h
      	* gtk/gtklist.h
      	* gtk/gtklistitem.h
      	* gtk/gtkoldeditable.h
      	* gtk/gtkoptionmenu.h
      	* gtk/gtkpixmap.h
      	* gtk/gtkpreview.h
      	* gtk/gtksignal.h
      	* gtk/gtktipsquery.h: whenever possible, include only <gtk/gtk.h>
      	instead of individual headers in these deprecated headers. They
      	don't get included at all when GTK_DISABLE_DEPRECATED is defined,
      	so if an app needs them anyway, it must undef GTK_DISABLE_DEPRECATED
      	and include them individually, which should continue to work.
      	* gtk/gtkclist.c: include "gtkctree.h" because of the change
      svn path=/trunk/; revision=20221
  16. 25 Jan, 2008 1 commit
    • Michael Natterer's avatar
      gtk/gtkbutton.h gtk/gtkcellrenderer.h gtk/gtkimcontext.h gtk/gtkstyle.h · a362eecc
      Michael Natterer authored
      2008-01-25  Michael Natterer  <mitch@imendio.com>
      	* gtk/gtkbutton.h
      	* gtk/gtkcellrenderer.h
      	* gtk/gtkimcontext.h
      	* gtk/gtkstyle.h
      	* gtk/gtktoolbar.h
      	* gtk/gtktooltip.h
      	* gtk/gtktreeprivate.h
      	* gtk/gtktreeviewcolumn.h
      	* gtk/gtkwidget.h: add const to constant structs which are passed
      	into GTK+. Also add some forgotten const for const strings.
      	* gtk/gtkbutton.c
      	* gtk/gtkcellrenderer.c
      	* gtk/gtkimcontext.c
      	* gtk/gtkstyle.c
      	* gtk/gtktoolbar.c
      	* gtk/gtktooltip.c
      	* gtk/gtktreeview.c
      	* gtk/gtktreeviewcolumn.c
      	* gtk/gtkwidget.c: changed accordingly.
      svn path=/trunk/; revision=19399
  17. 27 Dec, 2007 1 commit
    • Xan Lopez's avatar
      Add gtk_border_new to avoid memory allocator confusions when using · b28fea94
      Xan Lopez authored
      2007-12-27  Xan Lopez  <xan@gnome.org>
      	* gtk/gtk.symbols:
      	* gtk/gtkstyle.c (gtk_border_new, gtk_border_copy):
      	Add gtk_border_new to avoid memory allocator confusions when using
      	GtkBorders. Also, make gtk_border_copy use g_slice_dup. (#454042)
      svn path=/trunk/; revision=19248
  18. 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/gtkstyle.c (_gtk_widget_get_cursor_gc),
              * gtk/gtkstyle.h:
              * gtk/gtktextdisplay.c (gtk_text_renderer_prepare_run),
              (gtk_text_renderer_draw_shape), (text_renderer_set_state),
              * 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/gtktextlayout.h:
              * gtk/gtktextutil.c (layout_get_char_width),
              * 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
  19. 22 Jan, 2007 1 commit
    • Chris Wilson's avatar
      Bug 399314 – Add G_GNUC_WARN_UNUSED_RESULT to gtk_style_attach · c4129633
      Chris Wilson authored
      2007-01-22  Chris Wilson <chris@chris-wilson.co.uk>
      	Bug 399314 – Add G_GNUC_WARN_UNUSED_RESULT to gtk_style_attach
      	* gtk/gtkstyle.h:
      		Cause gcc to issue a warning if the style returned from
      		gtk_style_attach is not used. Failure to update
      		widget->style causes some very difficult to identify bugs,
      		eg Bug 353498 – crash in Terminal: changing icon theme.
      svn path=/trunk/; revision=17199
  20. 23 Nov, 2005 1 commit
    • Michael Natterer's avatar
      Added symbolic themable colors. Patch is a merged version of proposals · de3155a4
      Michael Natterer authored
      2005-11-23  Michael Natterer  <mitch@imendio.com>
      	Added symbolic themable colors. Patch is a merged version of
      	proposals from Matthias and maemo-gtk. Fixes bug #114355.
      	* configure.in: require glib >= 2.9.1 for refcountable hashtables.
      	* gtk/gtksettings.c: added property "color-scheme" which is a
      	string defining colors like "foreground:black\nbackground:grey".
      	Automatically provide a name->GdkColor hash table mapping for the
      	color scheme.
      	* gtk/gtkrc.[ch]: added list of color hashes that works like the
      	list of icon factories. Append the color scheme hash from
      	GtkSettings if it exists. Extended gtkrc syntax to allow defining
      	and referencing of logical colors. Also allow to modulate colors
      	in gtkrc by using arbitrary expressions of mix(), shade(),
      	lighter() and darker(). Added internal function
      	* gtk/gtkstyle.[ch]: keep a private list of color hashes around.
      	Get the list from _gtk_rc_style_get_color_hashes(). Export
      	internal function _gtk_style_shade() (used by above color
      	expressions). Added public API gtk_style_lookup_color() which
      	looks up a logical color by name.
      	* gtk/gtk.symbols: add gtk_style_lookup_color
      	* tests/testgtkrc: use symbolic colors for making
      	the scrollbars red.
  21. 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.
  22. 28 Nov, 2004 1 commit
    • Matthias Clasen's avatar
      Mark as const. · c50066b4
      Matthias Clasen authored
      2004-11-28  Matthias Clasen  <mclasen@redhat.com>
      	* gtk/gtkwidget.h (gtk_requisition_get_type):
      	* gtk/gtktypeutils.h (gtk_identifier_get_type):
      	* gtk/gtktexttag.h (gtk_text_attributes_get_type):
      	* gtk/gtkstyle.h (gtk_border_get_type):
      	* gtk/gtkfilesystemmodel.h (_gtk_file_system_model_get_type):
      	* gtk/gtkfilechooserentry.h (_gtk_file_chooser_entry_get_type):
      	* gtk/gtkfilechooserembed.h (_gtk_file_chooser_embed_get_type):
      	* gtk/gtkfilechooserdefault.h (_gtk_file_chooser_default_get_type):
      	* gtk/gtkaccelmap.h (gtk_accel_map_get_type): Mark as const.
      	* gtk/gtk.symbols:
      	* gtk/Makefile.am: Mark get_type() functions
      	generated by glib-mkenums as const.
  23. 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.
  24. 08 Nov, 2002 1 commit
    • Soeren Sandmann's avatar
      docs/reference/gdk/tmpl/dnd.sgml docs/reference/gdk/tmpl/drawing.sgml · b1165617
      Soeren Sandmann authored
      Fri Nov  8 20:14:52 2002  Soeren Sandmann  <sandmann@daimi.au.dk>
      	* docs/reference/gdk/tmpl/dnd.sgml
      	docs/reference/gtk/tmpl/gtkwidget.sgml gdk/gdk.h gdk/gdkdisplay.c
      	gdk/gdkdisplay.h gdk/gdkdnd.h gdk/gdkdraw.c gdk/gdkdrawable.h
      	gdk/gdkinput.h gdk/gdkselection.h gdk/x11/gdkdisplay-x11.c
      	gdk/x11/gdkdnd-x11.c gdk/x11/gdkselection-x11.c gtk/gtkcurve.h
      	gtk/gtkdnd.h gtk/gtkitemfactory.c gtk/gtkitemfactory.h
      	gtk/gtkmenu.h gtk/gtkoldeditable.c gtk/gtkoldeditable.h
      	gtk/gtkoptionmenu.h gtk/gtkplug.c gtk/gtkplug.h gtk/gtkpreview.h
      	gtk/gtkrange.h gtk/gtkselection.c gtk/gtkselection.h
      	gtk/gtksocket.c gtk/gtksocket.h gtk/gtkstyle.c gtk/gtkstyle.h
      	gtk/gtktextlayout.c gtk/gtktextlayout.h gtk/gtktreemodel.c
      	gtk/gtktreemodel.h gtk/gtkwidget.h
      	Trivial s/foo/foo_/ fixes to make gtk.h includable with -Wshadow
      	without warnings. (#91680)
  25. 01 Aug, 2002 1 commit
    • Owen Taylor's avatar
      New demo for window migration between different displays and screens. · 63489392
      Owen Taylor authored
      Thu Aug  1 19:09:39 2002  Owen Taylor  <otaylor@redhat.com>
      	* demos/gtk-demo/changedisplay.c: New demo for
      	window migration between different displays and screens.
      	* gtk/gtkrc.c gtkstyle.[ch]: Add
      	_gtk_style_init_for_settings(), so that gtkrc.c
      	can initialize the styles it creates for the
      	right display.
      	* gdk/gdkdisplaymanager.c (gdk_screen_get_default)
      	* gtk/gtksettings.c (gtk_settings_get_default)
      	* gtk/gtkstyle.c (gtk_style_init): Handle absence of
      	a default screen.
      	* gdk/x11/gdkmain-x11.c (_gdk_windowing_set_default_display):
      	Handle display == NULL.x
      	* gdk/gdkdisplay.c (gdk_display_dispose): Free the
      	event queue.
      	* gdk/x11/gdkevents-x11.c gdk/x11/gdkdisplay-x11.c:
      	Remove the event source when closing a display.
      	* gdk/gdkdisplay.[ch]: Add a ::closed signal, dispose()
      	isn't convenient enough by itself.
      	* gdk/x11/gdkevents-x11.c (gdk_xsettings_watch_cb):
      	Create foreign windows for watch windows if there isn't
      	an existing window, instead of installing a global filter.
      	* gdk/x11/gdkscreen-x11.c gdk/x11/gdkprivate-x11.h
      	gdk/x11/gdkevents-x11.c (_gdk_x11_events_uninit_screen):
      	Clean up the xsettings_client when we are done with
      	* gdk/x11/gdkevents-x11.c (_gdk_events_init): Remove
      	excess call to _gdk_x11_events_init_screen()
  26. 20 Jun, 2002 1 commit
    • Owen Taylor's avatar
      Get rid of gtk_style_get_font_for_display(), make gtk_style_get_font() · 4b47bcb3
      Owen Taylor authored
      Thu Jun 20 15:17:14 2002  Owen Taylor  <otaylor@redhat.com>
              * gtk/gtkstyle.[ch]: Get rid of gtk_style_get_font_for_display(),
              make gtk_style_get_font() warn for multihead if called
              on an unattached style.
              * gtk/gtktext.c: Remove use of gtk_style_get_font_for_display();
              this makes gtktext not multihead safe, but it doesn't matter;
              it's ENABLE_BROKEN anyways.
              * gtk/gtkmain.c gtk/gtkdebug.h: Add GTK_NOTE(MULTIHEAD,[])
  27. 29 Apr, 2002 1 commit
    • Alex Larsson's avatar
      Integrate Erwann Chenede's multihead changes for the gtk/ directory. · 4632fb81
      Alex 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/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
      	* gtk/gtkwidget.[ch]: Add gtk_widget_get_screen(), gtk_widget_has_screen(),
      	gtk_widget_get_display(), gtk_widget_get_clipboard(),
      	* 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
      	* 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
      	* 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.
  28. 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.
  29. 02 Mar, 2002 1 commit
    • Owen Taylor's avatar
      Switch style of stamp file usage. · f832e348
      Owen Taylor authored
      Sat Mar  2 13:26:58 2002  Owen Taylor  <otaylor@redhat.com>
              * gtk/Makefile.am: Switch style of stamp file usage.
              * gtk/Makefile.am gtk/typeutils.[ch]: Switch all the exported
              enumeration/fags TYPE variables over to macros for get_type() functions,
              for lazy definition and to get rid of expensive relocations.
              * gtk/gtkiconfactory.[ch] gtk/gtkselection.[ch] gtk/gtkstyle.[ch]
              gtk/gtktextiter.[ch] gtk/gtktexttag.[ch] gtk/gtktreemodel.[ch]
              gtk/gtktypeutils.[ch] gtk/gtkwidget.[ch]: Switch boxed type
              definitions over manually coded get_type() functions.
              * gtk/gtk.def: Updates for above
              * gtk/{genmarshal.pl,makeenums.awk,makeenums.h,maketypes.awk}:
              Remove from CVS, no longer used.
              * configure.in: Remove checks for awk.
  30. 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
  31. 23 Feb, 2002 1 commit
    • Owen Taylor's avatar
      Massive padding addition to class structures. · e5d1ea8c
      Owen Taylor authored
      Sat Feb 23 11:54:12 2002  Owen Taylor  <otaylor@redhat.com>
              * gtk/*.h gdk/*.h: Massive padding addition to class structures.
              * gtk/gtktextmark.h: Fix a FIXME about G_CONST_RETURN.
  32. 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.
  33. 12 Dec, 2001 1 commit
    • Matthias Clasen's avatar
      Typo fixes Typo fix. (#66746) · 43851fe0
      Matthias Clasen authored
              * gtk/gtktextlayout.c: Typo fixes
              * gtk/gtkwindow.c (gtk_window_set_position): Typo fix. (#66746)
              * gtk/gtkwidget.c (gtk_widget_send_expose, gtk_widget_get_toplevel,
              gtk_widget_get_default_direction): Doc fixes. (#66727, #66737, #66744)
              * gtk/gtkstyle.h (GTK_STYLE_NUM_STYLECOLORS): Remove. (#66467)
              * gtk/tmpl/gtklist.sgml: Markup fixes.
              * gdk/tmpl/selections.sgml, gtk/tmpl/gtksocket.sgml: s/succesful/successful/g.
              * gtk/gtk-sections.txt, gtk/tmpl/gtkstyle.sgml: Remove
              GTK_STYLE_NUM_STYLECOLORS. (#66467)
  34. 07 Dec, 2001 1 commit
    • Matthias Clasen's avatar
      Typo fixes. · 13e498ca
      Matthias Clasen authored
              * gtk/gtkstyle.h: Typo fixes.
              * gtk/gtkstyle.c, gtk/gtktoolbar.c: Add docs.
              * gtk/gtkrc.c (gtk_rc_find_pixmap_in_path): Fix docs.
              * gtk/tmpl/gtktypeutils.sgml, gtk/tmpl/gtkobject.sgml,
              gtk/tmpl/gtkstyle.sgml: Add docs.
  35. 04 Dec, 2001 1 commit
    • Owen Taylor's avatar
      Patch from Bill Haneman (with many modifications) to make the focus color · 7537825b
      Owen Taylor authored
      Mon Dec  3 16:39:17 2001  Owen Taylor  <otaylor@redhat.com>
      	Patch from Bill Haneman (with many modifications) to make
      	the focus color work on dark themes and to make the
      	focus line width configurable. (#61079, #63074)
              * gtk/gtkwidget.c: Add style properties,
      	::focus-widget, ::focus-line-width, and ::focus-padding.
      	* gtk/gtkstyle.[ch]: Make gtk_paint_focus() take a
      	state argument as well so we can use fg[STATE] to
      	draw instead of always drawing with black.
      	Cange paint_focus() to respect GtkWidget::focus-width
      	and GtkWidget::focus-line-pattern. Fix continuity
      	problem where the default 1-1 stipple had a blob
      	in one corner and a gap in the other. Change the
      	interpretation of x/y/width/height to be the bounding
      	box of the focus rect instead of the rectangle
      	passed to gdk_draw_rectangle.
      	* gtk/gtkcheckbutton.c gtk/gtklistitem.c gtk/gtknotebook.c
      	gtk/gtkoptionmenu.c gtk/gtkradiobutton.c gtk/gtkspinbutton.c
      	gtk/gtktextview.c gtk/gtktreeview.c: Handle ::focus-width
      	and ::focus-line-padding.
      	* gtk/gtkentry.c: Handle :;focus-width property; cleanup
      	and remove duplicated code; fix drawing of focus rectangle
      	when interior-focus = FALSE. (#63072, #63073)
      	* gtk/gtkrange.c gtk/gtktext.c gtk/gtktreeitem.c
      	gtk/gtktreeviewcolumn.c: Basic fixups to make compile;
      	Range and TreeViewColumn will need more extensive fixing.
      	* gtk/gtkcolorsel.c: Honor focus line attributes when
      	drawing the focus on the color swatches. (#63071)
      	* gtk/gtkhsv.c: Honor focus line attributes when
      	drawing the focus for the ring and triangle.
      	* docs/widget_geometry.txt: Start at documenting how
      	various widgets are drawn.
      	* gtk/gtkbutton.c (_gtk_button_paint): Export
      	_gtk_button_paint() librarywide, so we don't have
      	duplicate a bunch of code in gtktogglebutton.c.
      	* gtk/gtktogglebutton.c: Use _gtk_button_paint().
  36. 22 Oct, 2001 1 commit
    • Owen Taylor's avatar
      Deprecate gtk_entry_set_editable. (#58768, Vitaly Tishkov) · 0c6a8f53
      Owen Taylor authored
      Sat Oct 20 18:58:25 2001  Owen Taylor  <otaylor@redhat.com>
              * gtk/gtkentry.h: Deprecate gtk_entry_set_editable.
              (#58768, Vitaly Tishkov)
              * gtk/gtkobject.h: Deprecate with abandon.
              (#61942, Vitaly Tishkov, Matthias Clasen)
              * gtk/gtksignal.h: Deprecate everything.
              * gtk/gtkmain.h (GTK_PRIORITY_INTERNAL): Deprecate
              all GTK_PRIORITY_* defines other than GKT_PRIORITY_RESIZE>
              (#61942, Matthias Clasen)
              * gtk/gtkstyle.h: Deprecate gtk_draw_*. (#61140,
              Havoc Pennington)
              * gtk/gtkitemfactory.h: Deprecate compat functions
              for GtkMenuFactory code. (#62071)
              * gdk/gdkdrawable.h: Deprecate gdk_draw_string,
              gdk_draw_text,gdk_draw_text_wc. (#62071)
              * gtk/{gtkentry.c,gtklabel.c,gtkoldeditable.c,gtktextview.c}:
              Use GDK_SELECTION_CLIPBOARD instead of GDK_NONE in calls
              to gtk_clipboard_get().