1. 12 Mar, 2005 1 commit
  2. 01 Mar, 2005 1 commit
  3. 02 Feb, 2005 1 commit
  4. 03 Jan, 2005 1 commit
    • Matthias Clasen's avatar
      Make gtk_icon_theme_load_icon() work independent of icon factory · 35dfce0f
      Matthias Clasen authored
      2005-01-03  Matthias Clasen  <mclasen@redhat.com>
      
      	Make gtk_icon_theme_load_icon() work independent of
      	icon factory initialization.  (#162791, Tristan Van Berkom)
      
      	* gtk/gtkiconfactory.[hc]: Rename ensure_default_icons to
      	_gtk_icon_factory_ensure_default_icons, and make it non-static.
      
      	* gtk/gtkicontheme.c (find_builtin_icon): ..and call it here.
      35dfce0f
  5. 30 Dec, 2004 1 commit
  6. 12 Dec, 2004 1 commit
    • Tor Lillqvist's avatar
      gtk/gtkaccelmap.[ch] gtk/gtkfilechooser.[ch] gtk/gtkfilesel.c · f3da1705
      Tor Lillqvist authored
      2004-12-12  Tor Lillqvist  <tml@iki.fi>
      
      	* gtk/gtkaccelmap.[ch]
      	* gtk/gtkfilechooser.[ch]
      	* gtk/gtkfilesel.c
      	* gtk/gtkfilesystemwin32.c
      	* gtk/gtkiconfactory.[ch]
      	* gtk/gtkicontheme.[ch]
      	* gtk/gtkimage.[ch]
      	* gtk/gtkimmodule.c
      	* gtk/gtkmodules.c
      	* gtk/gtkrc.[ch]
      	* gtk/gtkuimanager.[ch]
      	* gtk/gtkwindow.[ch]
      	* gtk/updateiconcache.c
      	* gtk/gtk.symbols: Use gstdio wrappers. On Windows, convert
      	environment variables referring to pathnames from locale encoding
      	to UTF-8. As in GLib, in order to preserve Windows DLL ABI
      	stability, add binary compatibility versions of functions that
      	take file names as arguments, or return file names. Add a _utf8
      	suffix to the "real" such functions on Windows. The ABI
      	compatibility versions keep the old name.
      
      	* gtk/Makefile.am: Strip PRIVATE symbols from the GNU import
      	library.
      
      	* gtk/gtkiconcache.c (_gtk_icon_cache_new_for_path): Implement
      	file mapping on Win32.
      
      	* gtk/updateiconcache.c: Don't crash if invoked without
      	argument. Use binary mode when opening file.
      
      	* modules/engines/ms-windows/Theme/gtk-2.0/Makefile.am: Install
      	gtkrc in correct place, in <datadir>/themes/MS-Windows/gtk-2.0.
      f3da1705
  7. 10 Nov, 2004 1 commit
  8. 02 Nov, 2004 1 commit
  9. 28 Oct, 2004 1 commit
  10. 24 Oct, 2004 1 commit
    • Matthias Clasen's avatar
      Use the new g_key_file api in GLib. · ed19394c
      Matthias Clasen authored
      2004-10-24  Matthias Clasen  <mclasen@redhat.com>
      
      	* gtk/gtkicontheme.c: Use the new g_key_file api in GLib.
      
      	* gtk/Makefile.am (gtk_c_sources): Remove gtkiconthemeparser.[hc]
      
      	* gtk/gtkiconthemeparser.[hc]: Removed.
      ed19394c
  11. 21 Oct, 2004 1 commit
    • Matthias Clasen's avatar
      Implement for cached themes. · a34d841d
      Matthias Clasen authored
      2004-10-21  Matthias Clasen  <mclasen@redhat.com>
      
      	* gtk/gtkicontheme.c (gtk_icon_theme_has_icon): Implement for
      	cached themes.
      
      	* gtk/gtkiconcache.h:
      	* gtk/gtkiconcache.c (_gtk_icon_cache_has_icon): New function.
      
      	* gtk/updateiconcache.c (scan_directory): Don't skip .icon
      	files which are listed before their images.
      	(foreach_remove_func): Instead filter lonely .icon files out
      	here.
      
      	* gtk/gtkicontheme.c (theme_dir_get_icon_suffix): Filter out
      	the HAS_ICON_FILE flag.
      a34d841d
  12. 20 Oct, 2004 1 commit
    • Matthias Clasen's avatar
      Small fixes. · 73fd5538
      Matthias Clasen authored
      2004-10-20  Matthias Clasen  <mclasen@redhat.com>
      
      	* gtk/gtkicontheme.c: Small fixes.
      73fd5538
  13. 19 Oct, 2004 1 commit
    • Matthias Clasen's avatar
      Implement icon theme caching. (#154034, Martijn Vernooij, caching schema · 6fc2b811
      Matthias Clasen authored
      2004-10-19  Matthias Clasen  <mclasen@redhat.com>
      
      	Implement icon theme caching.  (#154034, Martijn Vernooij,
      	caching schema proposed by Owen Taylor, initial implementation
      	by Anders Carlsson)
      
      	* gtk/gtkdebug.h:
      	* gtk/gtkmain.c: Add a "icontheme" debug flag.
      
      	* gtk/Makefile.am (gtk_c_sources): Add gtkiconcache.c
      	(gtk_private_h_sources): Add gtkiconcache.h
      	(bin_PROGRAMS): Add gtk-update-icon-cache
      
      	* gtk/gtkicontheme.c: Use icon caches if they are available.
      	Currently, GTK+ uses the cache to get information about the
      	available sizes, image file formats and .icon files. The
      	actual image data, and the .icon file contents are not
      	cached yet.
      
      	* gtk/updateiconcache.c: A cmdline utility for generating
      	icon cache files.
      
      	* gtk/gtkiconcache.h:
      	* gtk/gtkiconcache.c: The glue code to mmap an icon cache
      	file and manage the information it contains.
      6fc2b811
  14. 05 Oct, 2004 2 commits
  15. 18 Aug, 2004 1 commit
    • Manish Singh's avatar
      Applied patch from Olivier Andrieu to fix bug #150440. · 9f326d61
      Manish Singh authored
      Wed Aug 18 08:31:17 2004  Manish Singh  <yosh@gimp.org>
      
              * gtk/gtkiconview.c: Applied patch from Olivier Andrieu to fix
              bug #150440.
      
              * gtk/gtkicontheme.c (gtk_icon_theme_init): xdg_data_dirs should
              match constness attributes of g_get_system_data_dirs ().
      9f326d61
  16. 17 Aug, 2004 1 commit
    • Matthias Clasen's avatar
      Look up icon themes in the directories specified in the icon theme spec: · 11396cb7
      Matthias Clasen authored
      2004-08-17  Matthias Clasen  <mclasen@redhat.com>
      
      	* gtk/gtkicontheme.c (gtk_icon_theme_init): Look up icon themes in the
      	directories specified in the icon theme spec: $HOME/.icons,
      	$XDG_DATA_DIRS/icons, /usr/share/pixmaps. Note that GTK+ used to also look
      	in $GTK_DATA_DIR/icons, $GTK_DATA_DIR/pixmaps and /usr/share/icons.  (#148694)
      11396cb7
  17. 16 Aug, 2004 1 commit
    • Matthias Clasen's avatar
      Doc update. · 517c3c9d
      Matthias Clasen authored
      2004-08-16  Matthias Clasen  <mclasen@redhat.com>
      
      	* gtk/gtkwidget.c (gtk_widget_render_icon): Doc update.
      
      	* gtk/gtkiconfactory.c (render_icon_name_pixbuf): When the size is -1,
      	use the available size closest to 48.  (#150147)
      
      	* gtk/gtkicontheme.c (gtk_icon_theme_get_icon_sizes): Actually return
      	a pointer to the beginning of the sizes array, not the end.
      517c3c9d
  18. 09 Aug, 2004 2 commits
    • 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
    • Matthias Clasen's avatar
      Don't leak the file contents. · ad534c2b
      Matthias Clasen authored
      Mon Aug  9 00:28:34 2004  Matthias Clasen  <maclas@gmx.de>
      
      	* gtk/gtkicontheme.c (load_svg_at_size): Don't leak the
      	file contents.
      ad534c2b
  19. 03 Aug, 2004 1 commit
  20. 21 Jul, 2004 1 commit
    • Matthias Clasen's avatar
      Remove trailing commas from enumerations. (#148035) · 44663458
      Matthias Clasen authored
      Tue Jul 20 22:26:29 2004  Matthias Clasen  <maclas@gmx.de>
      
      	* gtk/gtkfilechooserutils.h:
      	* gtk/gtktoolbutton.c:
      	* gtk/gtktoolbar.c:
      	* gtk/gtkicontheme.c:
      	* gtk/gtkcalendar.c:
      	* demos/gtk-demo/ui_manager.c:
      	* demos/gtk-demo/appwindow.c: Remove trailing commas
      	from enumerations.  (#148035)
      44663458
  21. 17 Jul, 2004 1 commit
  22. 14 Jul, 2004 1 commit
  23. 02 Jun, 2004 1 commit
    • Matthias Clasen's avatar
      Handle accel_closure being NULL on an accel label. (#139641, Sam · 018511c3
      Matthias Clasen authored
      Tue Jun  1 22:45:42 2004  Matthias Clasen  <maclas@gmx.de>
      
      	* gtk/gtkmenu.c (get_accel_path): Handle accel_closure being
      	NULL on an accel label. (#139641, Sam Stephenson, patch by
      	Michael Natterer)
      
      Tue Jun  1 22:19:55 2004  Matthias Clasen  <maclas@gmx.de>
      
      	* gtk/gtkicontheme.c (theme_subdir_load):  Prevent icon
      	lookup finding icons in the wrong prefix.  (#143328,
      	Mark McLoughlin)
      018511c3
  24. 19 Apr, 2004 1 commit
    • Owen Taylor's avatar
      Update libpng and libjpeg URLs, remove note about building without since · 5db67b8b
      Owen Taylor authored
      Mon Apr 19 17:59:17 2004  Owen Taylor  <otaylor@redhat.com>
      
              * INSTALL.in: Update libpng and libjpeg URLs, remove
              note about building without since that's not the normal
              case.
      
      Sun Apr 11 09:45:11 2004  Owen Taylor  <otaylor@redhat.com>
      
              * gtk/gtkicontheme.c (load_themes): Fix a couple of typos in
              handling of SVG/non-SVG unthemed icons.
      5db67b8b
  25. 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
  26. 22 Feb, 2004 1 commit
    • Matthias Clasen's avatar
      Add chains to the parent's ::finalize() handler (#134901, Morten Welinder, · a362428d
      Matthias Clasen authored
      Sun Feb 22 03:03:29 2004  Matthias Clasen  <maclas@gmx.de>
      
      	* gtk/gtkaction.c: (gtk_action_finalize):
      	* gtk/gtkclipboard.c: (gtk_clipboard_finalize):
      	* gtk/gtkentrycompletion.c: (gtk_entry_completion_class_init),
      	(gtk_entry_completion_finalize):
      	* gtk/gtkfilechooserwidget.c: (gtk_file_chooser_widget_finalize):
      	* gtk/gtkfilesystemmodel.c: (gtk_file_system_model_class_init),
      	(gtk_file_system_model_finalize):
      	* gtk/gtkicontheme.c: (gtk_icon_theme_class_init),
      	(gtk_icon_theme_finalize):
      	* gtk/gtktextchild.c: (gtk_text_child_anchor_finalize):
      	* gtk/gtkuimanager.c: (gtk_ui_manager_class_init),
      	(gtk_ui_manager_finalize):
      	* modules/input/gtkimcontextxim.c: (gtk_im_context_xim_finalize):
      	Add chains to the parent's ::finalize() handler  (#134901, Morten Welinder,
      	patch by Jan Arne Petersen)
      a362428d
  27. 12 Feb, 2004 1 commit
  28. 11 Feb, 2004 2 commits
  29. 22 Jan, 2004 1 commit
    • Owen Taylor's avatar
      Patch from Christian Neumair to make warning string more translator · 1b2ff84c
      Owen Taylor authored
      Thu Jan 22 18:45:26 2004  Owen Taylor  <otaylor@redhat.com>
      
              * gtk/gtkicontheme.c: Patch from Christian Neumair
              to make warning string more translator friendly.
      
              * gtk/gtktreemodelfilter.h gtkseparatortoolitem.[ch]
              gtk/gtktoolbar.c: Parameter name fixes to keep gtk-doc
              happy.
      
              * configure.in: Require GLib-2.3.2, version 2.3.2,
              interface age 0, binary age 302.
      
              * NEWS: Organized, added some names.
      1b2ff84c
  30. 20 Jan, 2004 1 commit
    • Jody Goldberg's avatar
      add stock indent, unindent I would have prefered outdent, but · 245308c3
      Jody Goldberg authored
      
      2004-01-05  Jody Goldberg <jody@gnome.org>
      
      	* gtk/gtkiconfactory.c (get_default_icons) : add stock indent, unindent
      	  I would have prefered outdent, but compatibility seems more
      	  important.
      	* gtk/gtkstock.c (builtin_items) : ditto.
      	* gtk/gtkstock.h : ditto.
      	* gtk/stock-icons/Makefile.am : ditto.
      	* gtk/stock-icons/stock_text_indent_16.png :
      	* gtk/stock-icons/stock_text_indent_24.png :
      	* gtk/stock-icons/stock_text_unindent_16.png :
      	* gtk/stock-icons/stock_text_unindent_24.png : from gnome-icon-theme
      
      2003-12-18  Jody Goldberg <jody@gnome.org>
      
      	* gtk/gtkicontheme.c (gtk_icon_theme_lookup_icon)) : Add a sanity test
      	  to ensure that the base hicolor theme is installed.  Silently
      	  failing to produce icons that apps assume exist in the theme seems
      	  like a bad idea.
      245308c3
  31. 18 Dec, 2003 1 commit
  32. 08 Dec, 2003 1 commit
    • Owen Taylor's avatar
      === Released 2.3.1 === · 85c05a86
      Owen Taylor authored
      Mon Dec  8 10:54:44 2003  Owen Taylor  <otaylor@redhat.com>
      
              * === Released 2.3.1 ===
      
              * NEWS: Updates for 2.3.1
      
              * configure.in: Version 2.3.1, interface age 0, binary age 301.
      
              * gtk/gtkmenuitem.c (gtk_menu_item_can_activate_accel):
              Rename from gtk_menu_item_real_can_activate_accel() to
              match GTK+ convention, improve comment.
      
              * gtk/gtkwidget.c: Document gtk_widget_can_activate_accel(),
              can ::can-activate-accel signal.
      
              * gtk/gtkwidget.c (closure_accel_activate): Fix spelling
              in comment.
      
              * gtk/gtkmenu.c (gtk_menu_real_can_activate_accel): Clean
              up comment.
      
              * gtk/gtkcellview{,menuitem}.[ch]: Move GET_PRIVATE() macros
              into the .c file.
      
      Mon Dec  8 12:09:21 2003  Owen Taylor  <otaylor@redhat.com>
      
              * gtk/gtkicontheme.c (find_builtin_icon): Fix a
              missing 'else'. (#128816, Jorn Baayen)
      85c05a86
  33. 07 Dec, 2003 1 commit
  34. 13 Nov, 2003 1 commit
    • Matthias Clasen's avatar
      Use GTK_DATADIR/{icons,pixmaps} instead of · 99a9ad8c
      Matthias Clasen authored
      Thu Nov 13 01:46:32 2003  Matthias Clasen  <maclas@gmx.de>
      
      	* gtk/gtkicontheme.c (gtk_icon_theme_init): Use
      	GTK_DATADIR/{icons,pixmaps} instead of
      	GTK_DATA_PREFIX/{icons,pixmaps}.  (#123365, Marco Pesenti Gritti)
      99a9ad8c
  35. 08 Nov, 2003 1 commit
    • Matthias Clasen's avatar
      Mark as 2.4 additions. · 6e6d780b
      Matthias Clasen authored
      Sat Nov  8 01:50:17 2003  Matthias Clasen  <maclas@gmx.de>
      
      	* gtk/gtkicontheme.c:
      	* gtk/gtkfilechooserwidget.c (gtk_file_chooser_widget_new):
      	* gtk/gtkfilechooserdialog.c (gtk_file_chooser_dialog_new):
      	* gtk/gtkfilechooser.c (gtk_file_chooser_[un]select_all): Mark as
      	2.4 additions.
      6e6d780b
  36. 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
  37. 11 Jul, 2003 1 commit
    • Matthias Clasen's avatar
      Use g_strfreev() to free mime_types. (#117219, Steve Chaplin) · aa013939
      Matthias Clasen authored
      2003-07-11  Matthias Clasen  <maclas@gmx.de>
      
      	* gtk/gtkicontheme.c (pixbuf_supports_svg): Use g_strfreev() to free mime_types.
      	(#117219, Steve Chaplin)
      
      	* queryloaders.c (query_module): Handle absolute filenames properly. (#117170, Jens Elkner)
      
      	* gdk-pixbuf-io.c: Mention that NULL-terminated arrays returned by
      	gdk_pixbuf_format_get_mime_types() and gdk_pixbuf_format_get_extensions() must be
      	freed with g_strfreev().
      aa013939