1. 21 Nov, 2004 1 commit
  2. 12 Oct, 2004 1 commit
  3. 08 Oct, 2004 1 commit
  4. 05 Oct, 2004 2 commits
  5. 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
  6. 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
  7. 27 Jul, 2004 1 commit
  8. 28 May, 2004 1 commit
  9. 10 May, 2004 1 commit
  10. 14 Apr, 2004 2 commits
    • Matthias Clasen's avatar
      Make all style properties readonly. · a1fd4e4b
      Matthias Clasen authored
      2004-04-14  Matthias Clasen  <mclasen@redhat.com>
      
      	* gtk/gtkcombobox.c:
      	* gtk/gtkwidget.c:
      	Make all style properties readonly.
      a1fd4e4b
    • Matthias Clasen's avatar
      Add a11y relations between the color wheel and the spin buttons. (#132745, · 321cedab
      Matthias Clasen authored
      2004-04-14  Matthias Clasen  <mclasen@redhat.com>
      
      	* gtk/gtkcolorsel.c: Add a11y relations between the color
      	wheel and the spin buttons.  (#132745, Padraig, O'Briain)
      
      	* gtk/gtkiconfactory.c (gtk_icon_set_render_icon): Document
      	the meaning of size == -1.
      
      	* gtk/gtkwidget.c (gtk_widget_render_icon): Explicitly accept
      	a size of -1.  (#137436, Brian Cameron)
      321cedab
  11. 06 Mar, 2004 1 commit
  12. 02 Mar, 2004 1 commit
    • Tim Janik's avatar
      expose gtk_bindings_activate_event(), changed callers. · c454880a
      Tim Janik authored
      Mon Mar  1 23:52:15 2004  Tim Janik  <timj@gtk.org>
      
              * gtk/gtkbindings.[hc]: expose gtk_bindings_activate_event(), changed
              callers.
      
              * gtk/gtkwindow.[hc]: added gtk_window_propagate_key_event() to expose
              the key event propagation mechanism used for focus widgets.
              (gtk_window_key_release_event): use the same key event propagation logic
              as gtk_window_key_press_event().
      c454880a
  13. 28 Feb, 2004 1 commit
    • Matthias Clasen's avatar
      Support switching back to non-gridded mode. (#135169) · fe3e1c95
      Matthias Clasen authored
      Sat Feb 28 01:39:01 2004  Matthias Clasen  <maclas@gmx.de>
      
      	* gtk/gtkcombobox.c (gtk_combo_box_set_wrap_width): Support
      	switching back to non-gridded mode.  (#135169)
      
      Fri Feb 27 22:29:46 2004  Matthias Clasen  <maclas@gmx.de>
      
      	* gtk/gtkwidget.c (gtk_widget_can_activate_accel): Add "Since: 2.4".
      fe3e1c95
  14. 26 Feb, 2004 2 commits
  15. 25 Feb, 2004 1 commit
  16. 13 Feb, 2004 1 commit
    • Owen Taylor's avatar
      Various reentrancy fixes for widgets being destroyed out of · 3588aeb4
      Owen Taylor authored
      Thu Feb 12 21:58:20 2004  Owen Taylor  <otaylor@redhat.com>
      
              Various reentrancy fixes for widgets being destroyed
              out of focus-out-event. (#128821, Grant Gayed)
      
              * gtk/gtkwindow.c (_gtk_window_unset_focus_and_default):
              Ref window and widget over callbacks.
      
              * gtk/gtkwidget.c (gtk_widget_hide)
                gtk/gtkwidget.c (gtk_widget_set_child_visible):
              Ref the widget before calling _gtk_window_unset_focus_and_default(),
              since that can call user callbacks.
      
              * gtk/gtkwidget.c (gtk_widget_invalidate_widget_windows):
              Do nothing if the widget isn't realized.
      3588aeb4
  17. 26 Jan, 2004 1 commit
    • Federico Mena Quintero's avatar
      Fix #105497; constify uses of GdkColor. · 5ebb6b04
      Federico Mena Quintero authored
      2004-01-26  Federico Mena Quintero  <federico@ximian.com>
      
      	Fix #105497; constify uses of GdkColor.
      
      	* gdk/gdkgc.c (gdk_gc_set_rgb_fg_color): Constify.
      	(gdk_gc_set_rgb_bg_color): Constify.
      	(gdk_gc_set_foreground): Constify.
      
      	* gdk/x11/gdkcursor-x11.c (gdk_cursor_new_from_pixmap): Constify.
      	* gdk/win32/gdkcursor-win32.c (gdk_cursor_new_from_pixmap): Constify.
      	* gdk/linux-fb/gdkcursor-fb.c (gdk_cursor_new_from_pixmap): Constify.
      
      	* gdk/x11/gdkpixmap-x11.c (gdk_pixmap_create_from_data): Constify.
      	* gdk/win32/gdkpixmap-win32.c (gdk_pixmap_create_from_data): Constify.
      	* gdk/linux-fb/gdkpixmap-fb.c (gdk_pixmap_create_from_data): Constify.
      
      	* gdk/x11/gdkwindow-x11.c (gdk_window_set_background): Constify.
      	* gdk/win32/gdkwindow-win32.c (gdk_window_set_background): Constify.
      	* gdk/linux-fb/gdkwindow-fb.c (gdk_window_set_background): Constify.
      
      	* gdk/gdkpango.c (gdk_draw_layout_line_with_colors): Constify.
      	(gdk_draw_layout_with_colors): Constify.
      
      	* gdk/gdkpixmap.c (gdk_pixmap_colormap_new_from_pixbuf): Constify.
      	(gdk_pixmap_colormap_create_from_xpm): Constify.
      	(gdk_pixmap_create_from_xpm): Constify.
      	(gdk_pixmap_colormap_create_from_xpm_d): Constify.
      	(gdk_pixmap_create_from_xpm_d): Constify.
      
      	* gtk/gtkcellview.c (gtk_cell_view_set_background_color): Constify.
      
      	* gtk/gtkclist.c (gtk_clist_set_foreground): Constify.
      	(gtk_clist_set_background): Constify.
      
      	* gtk/gtkcolorbutton.c (gtk_color_button_new_with_color): Constify.
      	(gtk_color_button_set_color): Constify.
      
      	* gtk/gtkcolorsel.c (gtk_color_selection_set_current_color):
      	Constify and add a check for color != NULL.
      	(gtk_color_selection_get_current_color): Add a check for color != NULL.
      	(gtk_color_selection_set_previous_color): Constify and add a check
      	for color != NULL.
      	(gtk_color_selection_get_previous_color): Add a check for color != NULL.
      
      	* gtk/gtkctree.c (gtk_ctree_node_set_foreground): Constify.
      	(gtk_ctree_node_set_background): Constify.
      
      	* gtk/gtktext.c (gtk_text_insert): Constify.
      	(insert_text_property): Constify.
      	(text_properties_equal): Constify.
      	(new_text_property): Constify.
      
      	* gtk/gtkwidget.c (gtk_widget_modify_color_component): Constify.
      	(gtk_widget_modify_fg): Constify.
      	(gtk_widget_modify_bg): Constify.
      	(gtk_widget_modify_text): Constify.
      	(gtk_widget_modify_base): Constify.
      5ebb6b04
  18. 22 Jan, 2004 1 commit
  19. 16 Jan, 2004 1 commit
    • Matthias Clasen's avatar
      The first part of the fix for #114351 (see also gdk-pixbuf/ChangeLog and · 07d4d314
      Matthias Clasen authored
      Fri Jan 16 23:59:01 2004  Matthias Clasen  <maclas@gmx.de>
      
      	The first part of the fix for #114351 (see also
      	gdk-pixbuf/ChangeLog and po/ChangeLog):
      
      	* gtk/gtkintl.h:
      	* gdk-pixbuf/gdk-pixbuf-i18n.h:
      	* gdk/gdkintl.h: Define P_() for property blurbs and nicks.
      
      	* gdk/gdkdisplaymanager.c:
      	* gdk-pixbuf/gdk-pixbuf.c:
      	* modules/input/gtkimcontextxim.c:
      	* gtk/*.c:  Mark property blurbs and nicks with P_().
      
      	* po/Makefile.in.in: Add --keyword=P_ to the xgettext
      	invocation, since property blurbs and nicks are
      	now marked with P_().
      07d4d314
  20. 18 Dec, 2003 1 commit
  21. 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
  22. 27 Nov, 2003 1 commit
    • Tim Janik's avatar
      allow accel activation depending on sensitivity and the attach widget. · 448b576d
      Tim Janik authored
      Thu Nov 27 16:19:03 2003  Tim Janik  <timj@gtk.org>
      
              * gtk/gtkmenu.c: allow accel activation depending on sensitivity
              and the attach widget.
      
              * gtk/gtkmenuitem.c: allow accel activation depending on visibility,
              sensitivity and the parent menu.
      
              * gtk/gtkwidget.[hc]: introduced ::can-activate-accel signal which
              checks whether accelerators may activate a widget. the default handler
              demands the widget be sensitive and visible+viewable.
      
              * gtk/gtkaccelgroup.[hc]: export gtk_accel_group_activate().
      448b576d
  23. 07 Nov, 2003 1 commit
    • Matthias Clasen's avatar
      Make string setters safe for self-assignment. (#122745, Soeren Sandmann) · 96fb3e88
      Matthias Clasen authored
      Fri Nov  7 22:55:49 2003  Matthias Clasen  <maclas@gmx.de>
      
      	* gtk/gtkwindow.c (gtk_window_set_role):
      	* gtk/gtkwindow.c (gtk_window_set_title):
      	* gtk/gtkwidget.c (gtk_widget_set_name):
      	* gtk/gtktreeviewcolumn.c (gtk_tree_view_column_set_title):
      	* gtk/gtkbutton.c (gtk_button_set_label): Make string setters
      	safe for self-assignment.  (#122745, Soeren Sandmann)
      96fb3e88
  24. 21 Sep, 2003 1 commit
    • Matthias Clasen's avatar
      Changes to make cross-process merging feasible: · d381967d
      Matthias Clasen authored
      2003-09-21  Matthias Clasen  <maclas@gmx.de>
      
      	Changes to make cross-process merging feasible:
      
      	* gtk/gtkuimanager.[hc]: Add a readonly "ui" property which holds the
      	merged UI definition. Remove the "changed" signal, since its role
      	is now filled by "notify::ui". Instead add a "actions-changed" signal
      	which gets emitted when the set of actions changes.
      
      	* gtk/gtktoggleactionprivate.h:
      	* gtk/gtktoggleaction.[hc] (gtk_toggle_action_[sg]et_draw_as_radio):
      	Add a "draw_as_radio" property to toggle actions so that they can be
      	used as proxies for radio actions much like the "draw_as_radio"
      	property on check menu items enables them to operate as proxies for
      	radio actions.
      
      	Prevent the "show_all" trap for action-based menus (see
      	http://mail.gnome.org/archives/gtk-devel-list/2003-September/
      	msg00260.html):
      
      	* gtk/gtkmenu.c (gtk_menu_{hide,show}_all): Remove g_return_if_fail()
      	calls from static functions.
      
      	* gtk/gtkuimanager.c (update_node):
      	* gtk/gtkaction.c (connect_proxy): Set "no_show_all" on constructed
      	widgets whose visibility is externally controlled.
      
      	* gtk/gtkwidget.[hc] (gtk_widget_[gs]et_no_show_all): Add a boolean
      	"no_show_all" property with setter and getter. When TRUE, it keeps
      	gtk_widget_{hide,show}_all() from modifying the visibility of the
      	widget and its children.
      d381967d
  25. 07 Aug, 2003 1 commit
    • Owen Taylor's avatar
      Fix a bug where on theme change, resize/redraw wasn't properly getting · bccfe548
      Owen Taylor authored
      Thu Aug  7 16:49:29 2003  Owen Taylor  <otaylor@redhat.com>
      
              * gtk/gtkwidget.c (gtk_widget_set_style_internal):
              Fix a bug where on theme change, resize/redraw wasn't
              properly getting queued on toplevel windows. (#116346,
              Rajkumar Siva)
      
              * gtk/gtkwidget.c (gtk_widget_invalidate_widget_windows):
              Fix bug where wrong coordinates were used for toplevel
              window.
      bccfe548
  26. 30 Jul, 2003 1 commit
  27. 29 Jul, 2003 1 commit
  28. 25 Jul, 2003 1 commit
  29. 18 Jul, 2003 2 commits
    • Soeren Sandmann's avatar
      Fix C99 declaration · 0c8511d2
      Soeren Sandmann authored
      Sat Jul 19 00:18:40 2003  Soeren Sandmann  <sandmann@daimi.au.dk>
      
      	* gtk/gtkwindow.c (gtk_window_set_default_icon): Fix C99
      	declaration
      
      	* gtk/gtkwidget.c (gtk_widget_queue_shallow_draw): new function
      	(gtk_widget_real_focus_{in|out}_event): queue shallow draws
      	instead of full draws.
      0c8511d2
    • Soeren Sandmann's avatar
      Add this API. · 5171637f
      Soeren Sandmann authored
      Fri Jul 18 19:55:50 2003  Soeren Sandmann  <sandmann@daimi.au.dk>
      
      	* gtk/gtkwidget.c (gtk_widget_queue_resize_no_redraw): Add this
      	API.
      5171637f
  30. 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
  31. 29 Jun, 2003 2 commits
  32. 24 Jun, 2003 1 commit
    • Matthias Clasen's avatar
      Add a blurb for shadow_type. · 3ec234a6
      Matthias Clasen authored
      2003-06-24  Matthias Clasen  <maclas@gmx.de>
      
      	* gtk/gtkspinbutton.c (gtk_spin_button_class_init): Add a blurb for shadow_type.
      
      	* gtk/gtkwidget.c (gtk_widget_class_install_style_property_parser):
      	(gtk_widget_class_list_style_properties): Use same parameter names as in
      	header (to silence gtk-doc).
      
      	* gtk/gtkalignment.c (gtk_alignment_[gs]et_padding): Fix doc comments.
      3ec234a6
  33. 14 Jun, 2003 1 commit
    • Matthias Clasen's avatar
      Document new properties as 2.4 additions. · ec280c7b
      Matthias Clasen authored
      2003-06-15  Matthias Clasen  <maclas@gmx.de>
      
      	* gtk/gtkcalendar.c (gtk_calendar_class_init):
      	* gtk/gtknotebook.c (gtk_notebook_class_init):
      	* gtk/gtkalignment.c (gtk_alignment_class_init):
      	* gtk/gtkpaned.c (gtk_paned_class_init): Document new properties
      	as 2.4 additions.
      
      	* gtk/gtkwidget.c (gtk_widget_class_init): Move inline signal docs
      	to the proper place, immediately before the g_signal_new() call.
      
      	* gtk/gtktextiter.h: Make the flags-nature of GtkTextSearchFlags
      	more obvious.  (#115122, Jeff Franks)
      ec280c7b
  34. 12 Jun, 2003 1 commit
    • Anders Carlsson's avatar
      Special case pixmaps. (#114880) · 79895e30
      Anders Carlsson authored
      2003-06-12  Anders Carlsson  <andersca@codefactory.se>
      
      	* gtk/gtkwidget.c: (event_window_is_still_viewable):
      	Special case pixmaps. (#114880)
      79895e30
  35. 11 Jun, 2003 1 commit