1. 03 Sep, 2003 1 commit
    • Kristian Rietveld's avatar
      Merge from stable. · 1c9d02b4
      Kristian Rietveld authored
      Wed Sep  3 21:58:03 2003  Kristian Rietveld  <kris@gtk.org>
      
      	Merge from stable.
      
      	* gtk/gtkiconfactory.c (cached_icon_free): if icon->style != NULL,
      	unref it. (Fixes memleak, patch from Kjartan Maraas).
      1c9d02b4
  2. 20 Jul, 2003 1 commit
    • Hans Breuer's avatar
      new file to build it all ... added to EXTRA_DIST · 364272b5
      Hans Breuer authored
      2003-07-20  Hans Breuer  <hans@breuer.org>
      
      	* makefile.msc : new file to build it all
      	* Makefile.am : ... added to EXTRA_DIST
      
      	* gdk/makefile.msc gtk/stock-icons/makefile.msc
      	  gtk/makefile.msc.in tests/makefile.msc : updated
      
      	* gdk/gdk.def gtk/gtk.def : export a bunch of new
      	functions
      
      	* gtk/gtkbbox.c : use g_return_val_if_fail() if
      	there is a value to return
      
      	* gtk/gtkfontsel.c gtk/gtkiconfactory.c :
      	static correctness
      
      	* gtk/gtkicontheme.c : ported to use GTimeVal instead of
      	struct timeval and GTK_DATA_PREFIX instead of GTK_DATADIR
      
      	* gtk/gtkicontheme.c : use HAVE_LC_MESSAGES
      
      	* gtk/gtkimmulticontext.c : use gtkprivate.h
      
      	* gtk/stock-icons/stock_color_picker_25.png
      	  gtk/stock-icons/stock_jump_to_rtl_16.png
      	  gtk/stock-icons/stock_jump_to_rtl_24.png
      	  gtk/stock-icons/stock_redo_rtl_16.png
      	  gtk/stock-icons/stock_redo_rtl_24.png
      	  gtk/stock-icons/stock_undelete_rtl_16.png
      	  gtk/stock-icons/stock_undelete_rtl_24.png
      	  gtk/stock-icons/stock_undo_rtl_16.png :
      	  gtk/stock-icons/stock_undo_rtl_24.png :
      	readded as binary
      364272b5
  3. 18 Jul, 2003 1 commit
  4. 02 Jul, 2003 1 commit
    • Owen Taylor's avatar
      Implement a loader for named themed icon based on from gnome-desktop · a72aed4e
      Owen Taylor authored
      Wed Jul  2 18:00:56 2003  Owen Taylor  <otaylor@redhat.com>
      
              * gtk/gtkicontheme.[ch]: Implement a loader for
              named themed icon based on from gnome-desktop library
              by Alex Larsson.
      
              * gtk/gtkiconthemeparser.[ch]: .ini file parsing code
              from gnome-desktop.
      
              * gtk/gtkiconfactory.[ch]: Add
              gtk_icon_source_set/get_icon_name() to allow stock icons
              to be based off of named theme icons.
      
              * gtk/gtkiconfactory.c: Rework sources so that the source
              is *either* a pixbuf, or a filename, or an icon name,
              instead of the pixbuf/filename mix it was before. Put a
              workaround for get_pixbuf() so that it can return the
              filename pixbuf, e.g, for render_icon().
      
              * gtk/gtkiconfactory.c: Make the default setup use
              themed icons, and add builtin icons to the default
              icon theme for all the standard pixbufs, so we
              don't rely on actually having an icon theme on disk.
      
              * gtk/gtkrc.c: Add support for @"icon-name" to specify
              a themed icon for a stock icon source.
      
              * tests/Makefile.am test/testicontheme.c: Add a test
              program from gnome-desktop.
      
              * gdk/x11/gdkevents-x11.c gtk/gtksettings.c: Add
              Net/IconThemeName / gtk-icon-theme-name setting.
      
              * gtk/gtkiconfactory.c (ensure_cache_up_to_date): Actually
              update the icon cache serial so we don't continually
      
              * gtk/gtkwidget.c: Fix a couple of references in doc comments
              to ::direction_set that should have been to ::direction-changed
      a72aed4e
  5. 07 Jun, 2003 1 commit
  6. 21 Apr, 2003 1 commit
  7. 09 Dec, 2002 1 commit
  8. 28 Nov, 2002 1 commit
  9. 02 Nov, 2002 1 commit
  10. 29 Oct, 2002 1 commit
  11. 10 Oct, 2002 2 commits
  12. 09 Oct, 2002 1 commit
    • Owen Taylor's avatar
      Add GO_FORWARD and GO_BACK with both left and right arrows depending on · 7eecad56
      Owen Taylor authored
      Wed Oct  9 17:06:21 2002  Owen Taylor  <otaylor@redhat.com>
      
              * gtk/gtkiconfactory.c (add_size_and_dir_with_fallback):
              Add GO_FORWARD and GO_BACK with both left and right
              arrows depending on the direction. (#92211,
              Kenneth Christiansen)
      
              * tests/testgtk.c (create_flipping): Add forward/back button
              pairs in default, RTL, LTR configurations.
      7eecad56
  13. 24 Sep, 2002 1 commit
    • Owen Taylor's avatar
      Make icon sizes configurable (#70648, slightly based on a patch from Bill · 15896b96
      Owen Taylor authored
      Tue Sep 24 16:40:14 2002  Owen Taylor  <otaylor@redhat.com>
      
      	Make icon sizes configurable (#70648, slightly based
      	on a patch from Bill Haneman, Brian Cameron)
      
      	* gtk/gtkiconfactory.[ch]: Add
      	gtk_icon_size_lookup_for_settings().
      
      	* gtk/gtksettings.c: Add gtk-icon-sizes XSETTING
      
      	* gtk/gtkiconfactory.c: Make icon sizes per-GtkSettings.
      
      	* gtk/gtkstyle.c: Use gtk_icon_size_lookup_for_settings()
      
      	* gtk/gtkrc.[ch]: Privately export _gtk_rc_reset_styles()
      	to force all the widgets to recompute their appearance.
      15896b96
  14. 16 Sep, 2002 1 commit
    • Matthias Clasen's avatar
      Stockify color picker icon. (#89880) · 703b02db
      Matthias Clasen authored
      	* gtk/stock-icons/stock_color_picker_25.png:
      	* gtk/stock-icons/Makefile.am (VARIABLES1):
      	* gtk/gtkstock.h (GTK_STOCK_COLOR_PICKER):
      	* gtk/gtkiconfactory.c (get_default_icons):
      	* gtk/gtkcolorsel.c (gtk_color_selection_init): Stockify color
      	picker icon.   (#89880)
      703b02db
  15. 10 Aug, 2002 1 commit
    • Soren Sandmann's avatar
      Minor documentation fixes · 77eee887
      Soren Sandmann authored
      2002-08-10  Soren Sandmann  <sandmann@daimi.au.dk>
      
      	* docs/reference/gtk/tree_widget.sgml,
      	docs/reference/gtk/tmpl/gtkdialog.sgml,
      	docs/reference/gtk/tmpl/gtkentry.sgml,
      	docs/reference/gtk/tmpl/gtkfilesel.sgml,
      	docs/reference/gtk/tmpl/gtkfontsel.sgml,
      	docs/reference/gtk/tmpl/gtkfontseldlg.sgml,
      	docs/reference/gtk/tmpl/gtktreemodel.sgml,
      	docs/reference/gtk/tmpl/gtkwidget.sgml, gdk/x11/gdkdisplay-x11.c,
      	gtk/gtkbbox.c, gtk/gtkbox.c, gtk/gtkbutton.c, gtk/gtkcellrenderer.c,
      	gtk/gtkcellrendererpixbuf.c, gtk/gtkcellrenderertext.c,
      	gtk/gtkcheckmenuitem.c, gtk/gtkcontainer.c, gtk/gtkcurve.c,
      	gtk/gtkdialog.h, gtk/gtkentry.c, gtk/gtkfilesel.c, gtk/gtkfontsel.c,
      	gtk/gtkframe.c, gtk/gtkhandlebox.c, gtk/gtkiconfactory.c,
      	gtk/gtkimage.c, gtk/gtkinvisible.c, gtk/gtkitemfactory.c,
      	gtk/gtklabel.c, gtk/gtklayout.c, gtk/gtkmenu.c, gtk/gtkprogress.c,
      	gtk/gtkprogressbar.c, gtk/gtkscrolledwindow.c, gtk/gtksizegroup.c,
      	gtk/gtktable.c, gtk/gtktextiter.c, gtk/gtktexttag.c,
      	gtk/gtktexttag.h, gtk/gtktextview.c, gtk/gtktogglebutton.c,
      	gtk/gtktoolbar.c, gtk/gtktreemodel.c, gtk/gtktreeselection.c,
      	gtk/gtktreestore.c, gtk/gtktreeview.c, gtk/gtktreeviewcolumn.c,
      	gtk/gtkviewport.c, gtk/gtkwidget.c, gtk/gtkwidget.h,
      	gtk/gtkwindow.c:
      
      	Minor documentation fixes
      
      	(#89254, patch from Brett Nash;
      	 #85809, patch from daten@dnetc.org;
      	 #76391, patch from Ross Burton;
      	 #74559, Manuel Clos;
      	 #73569, #72005, Alexey A. Malyshev;
      	 #70061, patch from Dennis Bj"orklund;
      	 #64566, #63388, #58328, #57499, #81007, #77349, Vitaly Tishkov;
      	 #78932, Vitaly Tishkov, patch from Ross Burton;
      	 #73306)
      77eee887
  16. 13 Jun, 2002 1 commit
    • Owen Taylor's avatar
      Fix type names for GtkIconSet, GtkIconSource, GtkSelectionData, GtkBorder, · 2ea857cb
      Owen Taylor authored
      Thu Jun 13 19:41:56 2002  Owen Taylor  <otaylor@redhat.com>
      
              * gtk/gtkiconfactory.c gtk/gtkselection.c gtk/gtkstyle.c
              gtk/gtktextiter.c gtk/gtktexttag.c gtk/gtktreemodel.c
              gtk/gtkwidget.c: Fix type names for GtkIconSet,
              GtkIconSource, GtkSelectionData, GtkBorder, GtkTextIter,
              GtkTextAttributes, GtkTreePath, GtkTreeIter,
              GtkRequisition, which were all registered as GtkType*.
              (#84634, James Henstridge; patch from Jonathan Blandford.)
      2ea857cb
  17. 18 Apr, 2002 1 commit
    • Matthias Clasen's avatar
      s/<!>/<!-- -->/g throughout the documentation to bring the produced · 1f75708d
      Matthias Clasen authored
      	* gtk/gtkitemfactory.c:
      	* gtk/gtkiconfactory.c:
      	* gtk/gtkwidget.c:
      	* gtk/gtkstyle.c:
      	* gtk/gtkrc.c:
      	* gtk/gtktreeviewcolumn.c:
      	* gtk/gtkdialog.c:
      	* gtk/gtktreemodel.c: s/<!>/<!-- -->/g throughout the
      	documentation to bring the produced Docbook closer to XML.
      
      	* gdk/tmpl/rgb.sgml:
      	* gdk/tmpl/general.sgml:
      	* gtk/tmpl/gtktogglebutton.sgml:
      	* gtk/tmpl/gtkaccellabel.sgml:
      	* gtk/tmpl/gtkradiobutton.sgml:
      	* gtk/tmpl/gtktreemodel.sgml:
      	* gtk/tmpl/gtkwidget.sgml:
      	* gtk/tmpl/gtkimage.sgml:
      	* gtk/tmpl/gtktooltips.sgml:
      	* gtk/tmpl/gtksignal.sgml:
      	* gtk/tmpl/gtkcombo.sgml:
      	* gtk/tmpl/gtkdnd.sgml:
      	* gtk/tmpl/gtksocket.sgml:
      	* gtk/tmpl/gtkdrawingarea.sgml:
      	* gtk/tmpl/gtkobject.sgml:
      	* gtk/tmpl/gtkpaned.sgml:
      	* gtk/tmpl/gtkmain.sgml: s/<!>/<!-- -->/g throughout the
      	documentation to bring the produced Docbook closer to XML.
      1f75708d
  18. 29 Mar, 2002 2 commits
    • Owen Taylor's avatar
      Fix wrong stock id's for ADD/REMOVE. (#76915, Vitaly Tishkov) · b123b8d3
      Owen Taylor authored
      Fri Mar 29 17:57:36 2002  Owen Taylor  <otaylor@redhat.com>
      
              * gtk/gtkiconfactory.c (get_default_icons): Fix wrong
              stock id's for ADD/REMOVE. (#76915, Vitaly Tishkov)
      b123b8d3
    • Owen Taylor's avatar
      Updates · bf5d6a7e
      Owen Taylor authored
      Fri Mar 29 00:19:41 2002  Owen Taylor  <otaylor@redhat.com>
      
              * NEWS: Updates
      
              * configure.in: Version 2.0.1, binary, interface age 1.
      
              * configure.in (GDK_PIXBUF_VERSION): Up required versions
              of dependencies.
      
              * gtk/gtkiconfactory.c gtk/stock-icons/Makefile.am:
              Add stock_add/remove_16.
      bf5d6a7e
  19. 06 Mar, 2002 1 commit
  20. 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.
      f832e348
  21. 27 Feb, 2002 1 commit
    • Owen Taylor's avatar
      Register all stock icons "unscaled" so that we don't have icons only · e6f466c1
      Owen Taylor authored
      Wed Feb 27 12:34:21 2002  Owen Taylor  <otaylor@redhat.com>
      
      	* gtk/gtkiconfactory.c: Register all stock icons
      	"unscaled" so that we don't have icons only available
      	at some sizes. (#68896)
      
      Wed Feb 27 11:59:05 2002  Owen Taylor  <otaylor@redhat.com>
      
      	Some ASCII vs. locale fixes from Darin Adler (#55837)
      
      	* gtk/gtkcombo.c (gtk_combo_find): Implement real
      	case-insensitive comparison using g_utf8_casefold().
      
      	* gtk/gtkaccellabel.c (gtk_accel_label_refetch): Fix
      	assignment of gunichar to char by replacing g_unichar_totitle
      	with g_ascii_toupper ... the contents would only be ascii
      	here anyways.
      
      	* gdk/x11/gdkim-x11.c (_gdk_x11_initialize_locale)
      	* gtk/gtkfontsel.c (gtk_font_selection_show_available_fonts):
      	Replace a calls to g_strcasecmp() with g_ascii_strcasecmp().
      e6f466c1
  22. 23 Feb, 2002 1 commit
    • Anders Carlsson's avatar
      Register 16x16 versions of most icons. · 1eae84bc
      Anders Carlsson authored
      2002-02-23  Anders Carlsson  <andersca@gnu.org>
      
      	* gtk/gtkiconfactory.c (get_default_icons): Register 16x16
      	versions of most icons.
      
      	* gtk/stock-icons: Add 16x16 versions
      	of most icons.
      1eae84bc
  23. 22 Feb, 2002 1 commit
    • Anders Carlsson's avatar
      Rename icons. · 7d69cbed
      Anders Carlsson authored
      2002-02-22  Anders Carlsson  <andersca@gnu.org>
      
      	* gtk/stock-icons/*: Rename icons.
      
      	* gtk/stock-icons/Makefile.am: Update for new icon names.
      
      	* gtk/gtkiconfactory.c (init_icon_sizes): Set the
      	GTK_ICON_SIZE_BUTTON size to be 20x20.
      	(get_default_icons): Change stock names.
      
      2002-02-22  Anders Carlsson  <andersca@gnu.org>
      
      	* gtk/Makefile.am (HTML_IMAGES): Update for name changes.
      7d69cbed
  24. 08 Feb, 2002 1 commit
    • Darin Adler's avatar
      isspace -> g_ascii_isspace Remove gdki8n.h include. Remove <ctype.h> · 6ec06edb
      Darin Adler authored
      	* demos/gtk-demo/main.c: (load_file): isspace -> g_ascii_isspace
      	* gdk/x11/gdkim-x11.c: Remove gdki8n.h include.
      	* gdk/x11/gdkkeys-x11.c: Remove <ctype.h> include.
      	* gdk/x11/gdkmain-x11.c: Remove <ctype.h> include.
      	* gtk/fnmatch.c: Remove <ctype.h> include.
      	* gtk/gtkaccelgroup.c: Remove <ctype.h> include.
      	* gtk/gtkaccellabel.c: (gtk_accel_label_refetch): toupper ->
      	g_unichar_toupper, toupper -> g_unichar_totile
      	* gtk/gtkbindings.c: Remove <ctype.h> include.
      	* gtk/gtkfontsel.c: Remove <ctype.h> include.
      	* gtk/gtkiconfactory.c: Remove <ctype.h> include.
      	* gtk/gtkinputdialog.c: Remove <ctype.h> include.
      	* gtk/gtklabel.c: Remove <ctype.h> include.
      	* gtk/gtkmain.c: Remove <ctype.h> include.
      	* gtk/gtkmenu.c: Remove <ctype.h> include.
      	* gtk/gtkoldeditable.c: Remove <ctype.h> include.
      	* gtk/gtkrc.c: Remove <ctype.h> include.
      	* gtk/gtktextbtree.c: Remove <ctype.h> include.
      	* gtk/gtktextiter.c: Remove <ctype.h> include.
      	* gtk/gtktextsegment.c: Remove <ctype.h> include.
      6ec06edb
  25. 08 Jan, 2002 1 commit
    • Matthias Clasen's avatar
      Doc typo fix. (#68172) · c1808baa
      Matthias Clasen authored
              * gtk/gtksocket.c (gtk_socket_get_id): Doc typo fix. (#68172)
      
              * gtk/gtktreemodel.c (gtk_tree_path_is_descendant): Fix docs.
      
              * gtk/gtktreemodel.c (gtk_tree_model_rows_reordered): Document.
      
              * gtk/gtkwindow.c (gtk_window_remove_accel_group): Fix docs.
      
              * gtk/gtkrc.c (gtk_rc_get_style_by_paths),
              gtk/gtkwidget.c (gtk_widget_get_toplevel,
              gtk_widget_push_composite_child), gtk/gtkdialog.c
              (gtk_dialog_new_with_buttons, gtk_dialog_run): Keep gtk-doc
              from messing up the indentation of inline examples.
      
              * gtk/gtkmain.c, gtk/gtkrc.c: Consistently call g_getenv()
              instead of getenv().
      
              * gtk/gtktreemodel.c, gtk/gtkaccelgroup.c, gtk/gtkclipboard.c,
              gtk/gtkdnd.c, gtk/gtkiconfactory.c, gtk/gtkrc.c,
              gtk/gtkstyle.c, gtk/gtkselection.c: Doc fixes.
      
              * gtk/gtkaccelmap.c (gtk_accel_map_add_filter,
              gtk_accel_map_foreach_unfiltered, gtk_accel_map_load_scanner):
              Document.
      
              * gtk/tmpl/gtksocket.sgml: Mention gtk_socket_get_id()
              instead of GTK_WINDOW_XWINDOW().  (#68172)
      
              * gtk/gtk-sections.txt: Move functions which are documented
              as "private" or "internal" into Private subsections.
      
              * gtk/tmpl/gtkdnd.sgml, gtk/tmpl/gtkobject.sgml,
              gtk/tmpl/gtkrc.sgml, gtk/tmpl/gtktooltips.sgml,
              gtk/tmpl/gtkwidget.sgml, gtk/tmpl/gtkclipboard.sgml,
              gtk/tmpl/gtkstyle.sgml, gtk/tmpl/gtkselection.sgml,
              gtk/tmpl/gtkfeatures.sgml: Minor markup fixes.
      
              * gtk/tmpl/gtksignal.sgml: Add link to GLib signal docs.
      
              * gtk/tmpl/gtkpreview.sgml, gtk/tmpl/gtktext.sgml,
              gtk/tmpl/gtktree.sgml: Remove "deprecated" from short desc.
      
              * gtk/tmpl/gtkrc.sgml: Correct names of default RC files.
      c1808baa
  26. 10 Nov, 2001 1 commit
    • Matthias Clasen's avatar
      Mass fixing of trivial doc bugs. (#63544, #57007, #64141, #63472, #57108, · 79e4b185
      Matthias Clasen authored
              * gtk/gtkiconfactory.c, gtk/gtktextbuffer.c, gtk/gtktreemodel.c,
              gtk/gtkwindow.c, gtk/gtknotebook.c, gtk/gtkradiobutton.c,
              gtk/gtktextiter.c, gtk/gtkdialog.c: Mass fixing of trivial doc bugs.
              (#63544, #57007, #64141, #63472, #57108, #60818, #61562)
      
              * gtk/tmpl/gtkaccellabel.sgml, gtk/tmpl/gtkcombo.sgml,
              gtk/tmpl/gtkentry.sgml, gtk/tmpl/gtkhscrollbar.sgml,
              gtk/tmpl/gtkvscrollbar.sgml, gtk/tmpl/gtktoolbar.sgml,
              gtk/tmpl/gtkdialog.sgml, gtk/tmpl/gtkstatusbar.sgml:
              Mass fixing of trivial doc bugs. (#55579, #56760, #58769, #55918,
              #64154, #60422, #54697)
      79e4b185
  27. 02 Nov, 2001 2 commits
    • Owen Taylor's avatar
      Actually add the missing/broken image icon as the image for the "missing · 05969ed5
      Owen Taylor authored
      Thu Nov  1 19:44:48 2001  Owen Taylor  <otaylor@redhat.com>
      
      	* gtk/gtkiconfactory.c gtk/stock-icons/Makefile.am:
      	Actually add the missing/broken image icon as the
      	image for the "missing image" stock icon.
      05969ed5
    • Owen Taylor's avatar
      Set a reasonable default height for the window. · c77203bd
      Owen Taylor authored
      Thu Nov  1 19:18:34 2001  Owen Taylor  <otaylor@redhat.com>
      
      	* demos/gtk-demo/stock_browser.c (do_stock_browser):
      	Set a reasonable default height for the window.
      
      	* demos/gtk-demo/stock_browser.c (id_to_macro): Fix
      	bug where subsequent '-' weren't converted to '_'.
      	(#59550, Matthias Clasen)
      
      	* demos/gtk-demo/appwindow.c (menu_items): Don't right
      	justify the Help menu - just include a comment on
      	how to do it. (#63539, 	Marius Andreiana)
      
      	* gtk/gtkiconfactory.c (gtk_icon_set_get_sizes): Don't
      	list GTK_ICON_SIZE_INVALID.
      
      	* demos/gtk-demo/stock_browser.c: Show the biggest available
      	size, not a fixed size. (Often reported, including #63539,
      	Marius Andreiana)
      c77203bd
  28. 28 Oct, 2001 2 commits
    • Anders Carlsson's avatar
      Fix build. · 2933fbda
      Anders Carlsson authored
      2001-10-29  Anders Carlsson  <andersca@gnu.org>
      
      	* gtk/gtkiconfactory.c (get_default_icons): Fix build.
      2933fbda
    • Matthias Clasen's avatar
      Documentation updates. · c27900c3
      Matthias Clasen authored
              * gtk/gtkcellrenderertoggle.c, gtk/gtkimcontextsimple.c,
              gtk/gtkimmulticontext.c, gtk/gtkimagemenuitem.c,
              gtk/gtkiconfactory.c, gtk/gtkwindow.c: Documentation updates.
      
              * docs/reference/gtk/tmpl/gtkmenuitem.sgml,
              docs/reference/gtk/tmpl/gtkmenu.sgml,
              docs/reference/gtk/tmpl/gtkmenushell.sgml,
              docs/reference/gtk/tmpl/gtkcontainer.sgml,
              docs/reference/gtk/gtk-sections.txt: Updates.
      c27900c3
  29. 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
  30. 21 Sep, 2001 1 commit
    • Havoc Pennington's avatar
      add variables and checks for specific versions of dependencies. Previously · 85b43351
      Havoc Pennington authored
      2001-09-20  Havoc Pennington  <hp@pobox.com>
      
      	* configure.in (PANGO_REQUIRED_VERSION)
      	(ATK_REQUIRED_VERSION): add variables and checks for specific
      	versions of dependencies. Previously we didn't verify the
      	Pango or ATk versions.
      
      2001-09-09  Havoc Pennington  <hp@pobox.com>
      
      	* gtk/gtktextiter.c: fool with indentation
      	(gtk_text_iter_in_range): add g_return_if_fail
      85b43351
  31. 20 Jul, 2001 1 commit
    • Hans Breuer's avatar
      gdk_device_get_history moved to gdk/gdkinput.c like the other backends · 4c5b559e
      Hans Breuer authored
      2001-07-20  Hans Breuer  <hans@breuer.org>
      
      	* gdk/win32/gdkinput-win32.c : gdk_device_get_history moved to
      	gdk/gdkinput.c like the other backends
      
      	* gdk/win32/gdkinput-win32.h :
      	* gdk/win32/gdkinput.c :
      	* gdk/win32/gdkvisual-win32.c :
      	* gdk/win32/gdkwin32.h : mechanical adaption to GdkDevice and
      	GdkVisual GObjectification. UNTESTED for pen-devices because
      	I simply have none.
      
      	* gdk/gdk.def :
      	* gtk/gtk.def : updated externals
      
      	* gtk/gtkiconfactory.c :
      	* gtk/gtkoldeditable.c : GError *error needs to be initialized (= NULL)
      	before passing &error to functions to avoid strange crashes
      
      	* gtk/gtkcontainer.c (gtk_container_real_set_focus_child) : is static
      
      	* gtk/gtkwidget.c (gtk_widget_get_child_visible): use g_return_val_if_fail
      
      	* gtk/makefile.msc.in : updated
      4c5b559e
  32. 18 Jul, 2001 1 commit
  33. 30 Jun, 2001 1 commit
    • Owen Taylor's avatar
      Allow %NULL for style to mean "revert to default style" · fbfc3051
      Owen Taylor authored
      Tue Jun 26 19:39:03 2001  Owen Taylor  <otaylor@redhat.com>
      
      	* gtk/gtkwidget.c (gtk_widget_set_style): Allow %NULL
      	for style to mean "revert to default style"
      
      	* gtk/gtkwidget.[ch] (gtk_widget_set_rc_style,
      	  gtk_widget_restore_default_style): Make this functions
      	deprecated aliases for gtk_widget_set_style (widget, NULL).
      
      	* gtk/gtkwidget.[ch]: Remove:
      	   gtk_widget_set_default_style ()
      	   gtk_widget_push_style ()
      	   gtk_widget_pop_style ()
      	These functions interact are overriden by RC files, and
      	thus virtually useless, and complicated.
      
      Fri Jun 22 18:49:48 2001  Owen Taylor  <otaylor@redhat.com>
      
              * gtk/gtkrc.c: Add a GtkRcContext structure to hold
      	most of the previous global variables in gtkrc.c. This is
      	in preparation for multi-head, since each screen can
      	have different GtkSettings and RC information.
      
      	* gtk/gtkrc.[ch]:
      
      	* gtk/gtkrc.h (struct _GtkRcStyleClass): Add a
      	GtkSettings parameter to GtkRcStyle::parse.
      
      	* gdk/x11/gdkevents-x11.c gtk/gtksettings.c gtk/gtkrc.c:
      	Add two new settings gtk-theme-name, gtk-key-theme-name,
      	for RC files that are loaded by name after reading
      	the default RC files.
      
      	* gtk/gtkrc.c: Allow priorities for styles, as wll as
      	bindings.
      
      	* gtk/gtkenums.h gtk/gtkrc.c: Add GTK_PATH_PRIO_THEME,
      	and use it by default for RC files loaded via
      	gtk-theme-name, gtk-key-theme-name.
      
      	* gtk/gtkiconfactory.c (gtk_icon_source_set_filename)
              gtk/gtkrc.c (gtk_rc_parse_pixmap_path_string)
      	tests/testgtkrc: Require pathnames to be absolute.
      
      	* gtk/gtkrc.c gtk/gtkiconfactory.c: Look up the full filename for
      	the source when parsing, since the operation of looking up a
      	pixmap from an RC file depends on the parsing context.
      
      	* gtk/gtkrc.c (gtk_rc_context_reparse_all): Automatically
      	reset RC styles on all widgets when files are reparsed.
      
      	* tests/testgtk.c (create_rc_file)
      	  gtk/gtkwindow.c (gtk_window_read_rcfiles):
      	Simplify, now that gtk_rc_reparse_all() resets styles on
      	all widgets itself.
      
      	* gtk/gtkmain.c (gtk_get_default_language): Fix broken
      	return value.
      
      	* gtk/gtksettings.[ch] (gtk_settings_install_property[_ch]): Remove
      	GtkSettings argument.
      
      	* gtk/gtksettings.[ch] (gtk_settings_get_default): Rename from
      	gtk_settings_get_global().
      
      	* gtk/gtkwidget.[ch]: Add a function gtk_widget_Get_settings()
      	to get the appropriate GtkSettings for a widget. (For now,
      	just gets the default GtkSetttings.)
      
      	* gtk/gtkcolorsel.c gtk/gtkentry.c gtk/gtkmenu.c gtk/gtkmenubar.c
      	  gtk/gtktextview.c gtk/gtktoolbar.c: Fixes for GtkSettings
              changes.
      
      	* gtk/gtkrc.[ch]: Add gtk_rc_get_style_by_paths() to allow
      	getting a style for a path without actually having a widget.
      	(Allows using a style for a subpart of a widget, for
      	example.)
      
      	* gtk/gtkrc.[ch]: Add gtk_rc_reparse_all_for_setting() to allow forcing
      	the RC files to be reloaded for just one GtkSettings
      	(not sure how useful this really is.)
      
      	* gtk/gtkrc.h: Deprecate
      	gtk_rc_add_widget_name/widget_class/class_style
      fbfc3051
  34. 26 Jun, 2001 3 commits
    • Tim Janik's avatar
      use gdk_pixbuf_new_from_stream(). fixed up item factory so inlined pixbufs · d4f0062f
      Tim Janik authored
      Tue Jun 26 10:04:30 2001  Tim Janik  <timj@gtk.org>
      
              * gtk/gtkiconfactory.c:
              * gtk/gtkitemfactory.c: use gdk_pixbuf_new_from_stream(). fixed up
              item factory so inlined pixbufs actually work.
      
      Tue Jun 26 09:48:02 2001  Tim Janik  <timj@gtk.org>
      
              * Makefile.am (noinst_PROGRAMS): get rid of make-inline-pixbuf
      
              * gdk-pixbuf-data.[hc]: provide gdk_pixbuf_new_from_stream()
              instead from gdk_pixbuf_new_from_inline().
      
              * gdk-pixdata.[hc]: auxillary GdkPixdata structure, public
              installed API for applications that need to serialize/deserialize
              on their own (gimp, BEAST).
      
              * gdk-pixbuf/gdk-pixbuf-csource.c: provide publically installed
              program that can dump images in CSource format and Pixbuf
              stream format. supports RLE encoding, MACRO formatting etc...
              invoke with --help.
      d4f0062f
    • Owen Taylor's avatar
    • Tim Janik's avatar
      hm, second attempt. it's fight CVS time again. · 0b741857
      Tim Janik authored
      Tue Jun 26 09:48:02 2001  Tim Janik  <timj@gtk.org>
      
              * Makefile.am (noinst_PROGRAMS): get rid of make-inline-pixbuf
      
              * gdk-pixbuf-data.[hc]: provide gdk_pixbuf_new_from_stream()
              instead from gdk_pixbuf_new_from_inline().
      
              * gdk-pixdata.[hc]: auxillary GdkPixdata structure, public
              installed API for applications that need to serialize/deserialize
              on their own (gimp, BEAST).
      
              * gdk-pixbuf/gdk-pixbuf-csource.c: provide publically installed
              program that can dump images in CSource format and Pixbuf
              stream format. supports RLE encoding, MACRO formatting etc...
              invoke with --help.
      
      Tue Jun 26 10:04:30 2001  Tim Janik  <timj@gtk.org>
      
              * gtk/gtkiconfactory.c:
              * gtk/gtkitemfactory.c: use gdk_pixbuf_new_from_stream(). fixed up
              item factory so inlined pixbufs actually work.
      0b741857