1. 21 Nov, 2004 1 commit
  2. 25 Oct, 2004 2 commits
    • Matthias Clasen's avatar
      Fix the doc formatting. · e18bbad7
      Matthias Clasen authored
      2004-10-25  Matthias Clasen  <mclasen@redhat.com>
      
      	* gtk/gtkdialog.c (gtk_dialog_set_alternative_button_order): Fix the
      	doc formatting.
      
      	* gtk/gtkcellview.[hc]: Make function parameter names consistent.
      e18bbad7
    • Matthias Clasen's avatar
      Add a public setting for button ordering (#74669, Owen Taylor) · 8ab4fd45
      Matthias Clasen authored
      2004-10-25  Matthias Clasen  <mclasen@redhat.com>
      
      	Add a public setting for button ordering (#74669, Owen Taylor)
      
      	* gtk/gtksettings.c (gtk_settings_class_init): Add a
      	gtk-alternative-button-order setting.
      
      	* gtk/gtkdialog.h:
      	* gtk/gtkdialog.c (gtk_alternative_dialog_button_order): A
      	getter for the alternative button order setting.
      	* gtk/gtkdialog.c (gtk_dialog_set_alternative_button_order):
      	New function to install an alternative button order for a
      	dialog.
      
      	* gtk/gtkfilesel.c (gtk_file_selection_init):
      	* gtk/gtkfontsel.c (gtk_font_selection_dialog_init):
      	* gtk/gtkmessagedialog.c (gtk_message_dialog_add_buttons):
      	* gtk/gtkcolorseldialog.c (gtk_color_selection_dialog_init):
      	* gtk/gtkfilechooserdefault.c (location_popup_handler):
      	Set up an alternative button order.
      8ab4fd45
  3. 29 Sep, 2004 1 commit
  4. 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
  5. 12 Mar, 2004 1 commit
    • Federico Mena Quintero's avatar
      Don't ignore the return value of gtk_widget_activate(). · edf8e6f5
      Federico Mena Quintero authored
      2004-03-12  Federico Mena Quintero  <federico@ximian.com>
      
      	* gtk/gtkwindow.c (gtk_window_activate_focus): Don't ignore the
      	return value of gtk_widget_activate().
      	(gtk_window_activate_default): Likewise.  Fixes #137008.
      
      	* gtk/gtkfilechooserdialog.c (response_cb): Act on positive
      	response IDs we recognize, rather than bailing out on cancellation
      	ones.  Fixes #136237; patch by Olivier Andrieu
      	<oliv__a@users.sourceforge.net>.
      	(file_chooser_widget_file_activated): If the dialog doesn't have a
      	default widget, try to find a suitable response widget on our own.
      	People should *really* be using gtk_dialog_set_default_response(),
      	but this is to help lazy programmers.
      
      	* gtk/gtkdialog.c (_gtk_dialog_get_response_for_widget): New
      	internal function.
      	(get_response_data): Add a "create" argument so that we don't
      	unconditionally create the response data.
      edf8e6f5
  6. 06 Mar, 2004 1 commit
  7. 03 Feb, 2004 1 commit
    • Federico Mena Quintero's avatar
      Fix #68938. · d08dd112
      Federico Mena Quintero authored
      2004-02-03  Federico Mena Quintero  <federico@ximian.com>
      
      	Fix #68938.
      
      	* gtk/gtkdialog.c (GtkDialogPrivate): New private structure for
      	GtkDialog; right now it only contains an ignore_separator field.
      	(gtk_dialog_class_init): Register the private structure.
      	(gtk_dialog_init): Initialize the priv->ignore_separator field.
      	(_gtk_dialog_set_ignore_separator): New private function.
      	(gtk_dialog_set_has_separator): Ignore the setting if appropriate.
      
      	* gtk/gtkmessagedialog.c (gtk_message_dialog_class_init): Add a
      	use_separator style property.
      	(gtk_message_dialog_style_set): Change the dialog's separator
      	based on the style property.
      	(gtk_message_dialog_init): Set the dialog box to ignore the
      	separator setting.
      d08dd112
  8. 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
  9. 15 Dec, 2003 2 commits
  10. 16 Dec, 2002 1 commit
    • Owen Taylor's avatar
      Some fixes for modal hint setting based on a patch from Arvind Samptur · 6669d0c5
      Owen Taylor authored
      Sun Dec 15 18:47:30 2002  Owen Taylor  <otaylor@redhat.com>
      
      	Some fixes for modal hint setting based on a patch
      	from Arvind Samptur (#100416)
      
      	* gtk/gtkdialog.c (gtk_dialog_run): Call gtk_window_set_modal
      	before showing the window for efficiency.
      
      	* gtk/gtkwindow.c (gtk_window_realize): Ignore the EWMH
      	constraint that the transient-for hint must always be
      	set on windows with the modal hint and just always set
      	the modal hint.
      
      	* gtk/gtkwindow.c (gtk_window_set_modal): Update the
      	modal hint on the GdkWindow when the window is realized.
      6669d0c5
  11. 14 Dec, 2002 2 commits
  12. 25 Nov, 2002 1 commit
  13. 13 Oct, 2002 1 commit
    • Soeren Sandmann's avatar
      Documentation fixes. · a130f089
      Soeren Sandmann authored
      Sun Oct 13 18:50:14 2002  Soeren Sandmann  <sandmann@daimi.au.dk>
      
      	* gtkmenu.c, gtkmenu.sgml, gtkitemfactory.c, gdkwindow.c,
      	gtkwindow.c, gtkpaned.sgml, gtkdialog.c, gtkbox.h, gtkbutton.sgml,
      	gtktreemodel.sgml,gtktable.sgml, gtktable.c:
      
      	Documentation fixes.
      
      	#85719, #90759, #95169, Owen Taylor;
      	#89221, Yao Zhang, Matthias Clasen;
      	#95592, Joost Faassen;
      	#92637, Vitaly Tishkov;
      	#94616, Ben Martin;
      	#94772, sbaillie@bigpond.net.au;
      a130f089
  14. 11 Oct, 2002 1 commit
    • Manish Singh's avatar
      Deprecation cleanup · f18d5d35
      Manish Singh authored
      Fri Oct 11 15:56:20 2002  Manish Singh  <yosh@gimp.org>
      
              * gtk/gtkaccellabel.[ch] gtk/gtkaccessible.[ch] gtk/gtkbutton.[ch]
              gtk/gtkcheckbutton.[ch] gtk/gtkcolorseldialog.[ch] gtk/gtkdialog.[ch]
              gtk/gtkhandlebox.[ch] gtk/gtkinputdialog.[ch] gtk/gtkmessagedialog.[ch]
              gtk/gtktearoffmenuitem.[ch] gtk/gtktogglebutton.[ch]: Deprecation
              cleanup
      f18d5d35
  15. 03 Oct, 2002 1 commit
    • Owen Taylor's avatar
      Add a 'type' parameter, make public. · ef33adff
      Owen Taylor authored
      Thu Oct  3 14:13:33 2002  Owen Taylor  <otaylor@redhat.com>
      
              * gdk/gdkevents.c (gdk_event_new): Add a 'type'
              parameter, make public.
      
              * gdk/gdkevents.c (gdk_event_copy): Copy the screen.
      
              * gdk/gdkevents.c gdk/linux-fb/gdkmain-fb.c
              gdk/x11/gdkevents-x11.c gdk/win32/gdkevents-win32.c:
              _gdk_event_new() => gdk_event_new().
      
              * gdk/win32/gdkevents-win32.c (real_window_procedure):
              Fix event_private->screen breakage that results from evil
              encapsulation breakage here.
      
              * gtk/gtkclist.c gtk/gtkcombo.c gtk/gtkcontainer.c
              gtk/gtkdialog.c gtk/gtkdnd.c gtk/gtkdrawingarea.c
              gtk/gtkimcontextsimple.c gtk/gtklist.c gtk/gtkmenu.c
              gtk/gtknotebook.c gtk/gtkplug.c gtk/gtkselection.c
              gtk/gtktext.c gtk/gtktreeitem.c gtk/gtktreeview.c
              gtk/gtkviewport.c gtk/gtkwindow-decorate.c gtk/gtkwindow.c
              tests/testgtk.c: Remove most usage of stack-allocated
              GdkEvent structures.
      
              * gtk/gtktreeview.c: Use a cut-and-paste of the full
              send_focus_event() from gtkwindow.c that does the necessary
              notification of the ::has-focus property and setting of
              the HAS_FOCUS flag.x
      
              * gtk/gtkdnd.c: Clean up some mess/duplicated code; removing
              an extraneous use of a GdkEvent.
      ef33adff
  16. 10 Jul, 2002 1 commit
  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. 30 Jan, 2002 1 commit
    • Owen Taylor's avatar
      Try to make sure that we have some focused widget on map. (#50339) · 2a9af2ff
      Owen Taylor authored
      Wed Jan 30 13:55:59 2002  Owen Taylor  <otaylor@redhat.com>
      
      	* gtk/gtkwindow.c (gtk_window_show): Try to make
      	sure that we have some focused widget on map. (#50339)
      
      	* gtk/gtkdialog.c (gtk_dialog_map): Handling picking
      	a focus widget here differently so that if a
      	response button gets picked, it's the default one.
      
      	* tests/testgtk.c (make_message_dialog): Set the
      	default response for the dialogs.
      2a9af2ff
  19. 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
  20. 24 Dec, 2001 1 commit
  21. 13 Dec, 2001 1 commit
    • Matthias Clasen's avatar
      Markup fixes. · fc4a6b95
      Matthias Clasen authored
      
              * gtk/gtkdialog.c, gtk/gtkrc.c, gtk/gtkwidget.c: Markup fixes.
      
              * gdk-pixbuf-io.c: Markup fixes.
      
              * gdk-pixbuf/tmpl/scaling.sgml, gdk/tmpl/fonts.sgml,
              gdk/tmpl/general.sgml, gdk/tmpl/rgb.sgml, gdk/tmpl/visuals.sgml,
              gdk/tmpl/windows.sgml, gtk/gtk-docs.sgml, gtk/tmpl/gtkaccellabel.sgml,
              gtk/tmpl/gtkcombo.sgml, gtk/tmpl/gtkdialog.sgml,
              gtk/tmpl/gtkdrawingarea.sgml, gtk/tmpl/gtkeditable.sgml,
              gtk/tmpl/gtkfilesel.sgml, gtk/tmpl/gtkfontseldlg.sgml,
              gtk/tmpl/gtkimage.sgml, gtk/tmpl/gtkmain.sgml, gtk/tmpl/gtkmenu.sgml,
              gtk/tmpl/gtkmessagedialog.sgml, gtk/tmpl/gtkobject.sgml,
              gtk/tmpl/gtkpaned.sgml, gtk/tmpl/gtkradiobutton.sgml,
              gtk/tmpl/gtkrc.sgml, gtk/tmpl/gtkscale.sgml, gtk/tmpl/gtksignal.sgml,
              gtk/tmpl/gtksocket.sgml, gtk/tmpl/gtkspinbutton.sgml,
              gtk/tmpl/gtktogglebutton.sgml, gtk/tmpl/gtksignal.sgml,
              gtk/tmpl/gtktooltips.sgml, gtk/tmpl/gtkwindow.sgml,
              gdk/tmpl/regions.sgml, gtk/tmpl/gtkfontsel.sgml,
              gtk/tmpl/gtkpixmap.sgml, gtk/tmpl/gtkprogress.sgml,
              gtk/tmpl/gtkselection.sgml, gtk/tmpl/gtktable.sgml,
              gtk/tmpl/gtktipsquery.sgml: Markup fixes (mainly examples).
      fc4a6b95
  22. 19 Nov, 2001 1 commit
    • Owen Taylor's avatar
      Rename the GTK_DESTROYED flag to GTK_IN_DESTRUCTION, remove the · e4be2240
      Owen Taylor authored
      Sun Nov 18 19:47:29 2001  Owen Taylor  <otaylor@redhat.com>
      
      	* gtk/gtkobject.h docs/Changes-2.0.txt: Rename the
      	GTK_DESTROYED flag to GTK_IN_DESTRUCTION, remove the
      	GTK_OBJECT_DESTROYED() check macro.
      
      	* gtk/gtkbindings.c (gtk_bindings_activate): Remove
      	instances of GTK_OBJECT_DESTROYED() that weren't
      	needed any more.
      
      	* gtk/gtkdialog.c: Exchange use of GTK_OBJECT_DESTROYED
      	for a connection to ::destroy.
      e4be2240
  23. 17 Nov, 2001 1 commit
    • Owen Taylor's avatar
      Make gtkmarshal.list/gtkmarshal.h only for compatibility with GTK+-1.2; · a036c6e5
      Owen Taylor authored
      Sat Nov 17 18:26:45 2001  Owen Taylor  <otaylor@redhat.com>
      
      	* gtk/Makefile.am gtk/gtkmarshal.list gtk/gtkmarshalers.list
      	gtk/*.c gtk/gtksignal.h: Make gtkmarshal.list/gtkmarshal.h
      	only for compatibility with GTK+-1.2; and deprecate it;
      	put all marshalers we actually use into gtkmarshalers.list
      	and use the _gtk_marshal_ prefix for these marshalers.
      a036c6e5
  24. 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
  25. 07 Nov, 2001 1 commit
    • Darin Adler's avatar
      Add g_return_if_fail. · 966fc7ed
      Darin Adler authored
      	* gtk/gtkdialog.c: (gtk_dialog_set_response_sensitive),
      	(gtk_dialog_set_default_response): Add g_return_if_fail.
      966fc7ed
  26. 02 Nov, 2001 2 commits
  27. 20 Sep, 2001 1 commit
  28. 08 Sep, 2001 1 commit
    • Havoc Pennington's avatar
      default xscale/yscale to 0.0, not 0.5, 0.5 isn't useful · 9ddcb3e0
      Havoc Pennington authored
      2001-09-08  Havoc Pennington  <hp@pobox.com>
      
      	* gtk/gtkalignment.c (gtk_alignment_class_init): default
      	xscale/yscale to 0.0, not 0.5, 0.5 isn't useful
      
      	* tests/testtextbuffer.c: fix usage of gtk_text_iter_spew
      
      	* gtk/gtktextiter.c: fix docs
      	(gtk_text_iter_spew): get rid of this
      
      	* gtk/gtklayout.c: docs
      
      	* gtk/gtkbutton.c (gtk_button_construct_child): add an alignment
      	to center image and label together, instead of having image on
      	left and label centered, patch/suggestion from Jacob
      
      	* gtk/gtkdialog.c: docs
      
      2001-09-08  Havoc Pennington  <hp@pobox.com>
      
      	* gtk/tmpl/gtklayout.sgml: docs
      
      	* gdk-pixbuf/gdk-pixbuf.sgml: remove the section on compiling
      	gdk-pixbuf since it isn't a standalone package anymore
      
      	* gtk/building.sgml: section on compiling GTK itself
      9ddcb3e0
  29. 23 Aug, 2001 1 commit
    • Owen Taylor's avatar
      Rename gtk_container_children() to gtk_container_get_children. Added · 991a7188
      Owen Taylor authored
      Thu Aug 23 19:33:54 2001  Owen Taylor  <otaylor@redhat.com>
      
      	* gtk/gtkcontainer.[ch]: Rename gtk_container_children()
      	to gtk_container_get_children. Added deprecated compatibility
      	macro.	(Suggested by Vitaly Tishkov, #59051)
      
      	* gtk/gtktoolbar.c gtkdialog.c: Fix gtk_container_children()
      	calls.
      991a7188
  30. 18 Jul, 2001 2 commits
    • Owen Taylor's avatar
      Patch from Matthias Clasen to remove remove all instances of · 4e2b60ac
      Owen Taylor authored
      Wed Jul 18 19:28:46 2001  Owen Taylor  <otaylor@redhat.com>
      
      	* gtk/*.c: Patch from Matthias Clasen to remove remove
      	all instances of g_return_if_fail (foo != NULL); that are
      	immediately before a g_return_if_fail (GTK_IS_FOO (foo));
      	since the second check catches the NULL anyways.
      4e2b60ac
    • Owen Taylor's avatar
      Fix idles and timeouts to be properly surrounded by · b613a74c
      Owen Taylor authored
      Wed Jul 18 18:23:05 2001  Owen Taylor  <otaylor@redhat.com>
      
      	* gtk/gtkbutton.c gtk/gtkentry.c gtk/gtkmenu.c gtk/gtktextview.c
      	gtktreeview.c: Fix idles and timeouts to be properly surrounded by
      	GDK_THREADS_ENTER()/LEAVE() pairs.
      
      	* gtk/gtkdialog.c gtk/gtkclipboard.c: Surround calls
      	to g_main_loop_run() with GDK_THREADS_LEAVE()/ENTER()
      	pairs. (Problem found by M. Meeks)
      b613a74c
  31. 06 Jul, 2001 1 commit
    • Owen Taylor's avatar
      Patch from Gregory Merchan to add gtk_button_box_set_secondary(), which · 0b6c3f54
      Owen Taylor authored
      Thu Jul  5 21:53:46 2001  Owen Taylor  <otaylor@redhat.com>
      
      	* gtk/gtkbbox.[ch] gtk/gtkbox.[ch] gtk/gtk[hv]bbox.c:
      	Patch from Gregory Merchan to add
      	gtk_button_box_set_secondary(), which separates
      	the child into a separate group from the normal
      	buttons. (#56331)
      
      	* gtk/gtkdialog.c: Make help buttons secondary by
      	default.
      
      	* gtk/gtkbbox.c: Added a child property "secondary".
      
      	* gtk/testgtk.c: Turn on the help button for the
      	color selector to check that it properly appears
      	as secondary.
      0b6c3f54
  32. 29 Jun, 2001 1 commit
    • Havoc Pennington's avatar
      Clip the retrieved image data to the screen, using a server grab to avoid · 0bee26c7
      Havoc Pennington authored
      2001-06-28  Havoc Pennington  <hp@pobox.com>
      
      	* gdk/x11/gdkimage-x11.c (_gdk_x11_get_image): Clip the retrieved
      	image data to the screen, using a server grab to avoid race
      	conditions.
      
      	* gtk/gtkitemfactory.c (gtk_item_factory_create_item): remove
      	check for NULL return from gtk_image_new_from_stock(), it never
      	returns NULL.
      	(gtk_item_factory_create_item): fix bug where we parsed the stock
      	ID as an inline pixbuf
      
      	* gtk/gtktext.c (gtk_text_key_press): numeric keypad support
      
      	* gtk/gtkspinbutton.c (gtk_spin_button_key_press): numeric keypad
      	support (should be using binding set here)
      
      	* gtk/gtkoptionmenu.c (gtk_option_menu_key_press): numeric keypad
      	support (should be using binding set here)
      
      	* gtk/gtkmenushell.c (gtk_menu_shell_class_init): numeric keypad
      	support
      
      	* gtk/gtkmenu.c (gtk_menu_class_init): numeric keypad support
      
      	* gtk/gtkmenubar.c (gtk_menu_bar_class_init): numeric keypad
      
      	* gtk/gtklistitem.c (gtk_list_item_class_init): numeric keypad
      
      	* gtk/gtkimcontextsimple.c
      	(gtk_im_context_simple_filter_keypress): keypad
      
      	* gtk/gtkfilesel.c (gtk_file_selection_key_press): keypad
      
      	* gtk/gtkentry.c (gtk_entry_class_init): numeric keypad fixes
      
      	* gtk/gtkctree.c (gtk_ctree_class_init): numeric keypad support
      
      	* gtk/gtkcolorsel.c (palette_activate): keypad support (of course,
      	should be binding-setted)
      
      	* gtk/gtkwindow.c (gtk_window_class_init): numeric keypad fixes
      
      	* gtk/gtkclist.c (gtk_clist_class_init): numeric keypad fixes
      
      	* gtk/gtkcalendar.c: numeric keypad fixes
      
      	* gtk/gtktextview.c (gtk_text_view_class_init): numeric keypad
      	support
      
      	* gdk/gdkwindow.c (gdk_window_get_clip_region): fix infinite loop
      	screwup
      
      	* gdk/gdkpixbuf-render.c (gdk_pixbuf_render_to_drawable_alpha):
      	clip the render area to the drawable's clip region in advance,
      	so we don't get data from the server that we don't need.
      
      	* gdk/gdkpixbuf-render.c (gdk_pixbuf_render_to_drawable_alpha):
      	check return value of gdk_pixbuf_get_from_drawable(), fall back
      	to bilevel alpha if we can't get the pixbuf to composite against.
      
      	* gdk/gdkdraw.c (gdk_drawable_get_image): set the image colormap
      
      	* gdk/gdkimage.c (gdk_image_get_colormap): add
      	gdk_image_set_colormap, gdk_image_get_colormap
      
      	* gdk/gdkpixbuf-drawable.c (rgbconvert): Change all converters to
      	take a region of the image, instead of converting the entire
      	image.
      
      	* gtk/gtkwidget.h (struct _GtkWidgetClass): add show_help
      	keybinding signal. Add default bindings for it. Add default
      	handler for show_help that shows the tooltip for the widget.
      
      	* gtk/gtkdialog.c (gtk_dialog_class_init): add binding set and
      	"close" keybinding signal, remove key press handler.
      
      	* gtk/gtktooltips.c (gtk_tooltips_set_colors): Just remove this,
      	it's not our usual practice to leave a deprecated function around
      	with a runtime warning, plus we don't want it to appear in docs,
      	plus if we make them yellow no one will want to change them
      	anyhow.
      0bee26c7
  33. 25 May, 2001 1 commit
    • Havoc Pennington's avatar
      get sizes an icon set can render without falling back to missing image · 87684f95
      Havoc Pennington authored
      2001-05-25  Havoc Pennington  <hp@redhat.com>
      
      	* gtk/gtkiconfactory.c (gtk_icon_set_get_sizes): get sizes an icon
      	set can render without falling back to missing image icon
      
      	* gtk/gtktextview.c (gtk_text_view_size_request): request full
      	size of text, instead of random values
      
      	* gtk/gtktreeview.c (gtk_tree_view_size_request): request full
      	size of tree view, instead of random values
      
      	* gtk/gtkiconfactory.c (gtk_icon_set_render_icon): render fallback
      	image in an appropriate size
      
              * gtk/gtkstock.h: Rename the stock items including _BUTTON_,
      	etc. not to include that. i.e. s/GTK_STOCK_BUTTON_OK/GTK_STOCK_OK/
      
              Throughout: fix GTK_STOCK_BUTTON_ instances
      
      	* gtk/gtkstock.h, gtk/gtkstock.c, gtk/gtkiconfactory.h,
      	gtk/gtkiconfactory.c, gtk/stock-icons/Makefile.am:
      	Add a bunch of new stock items/icons
      
      	* gtk/gtktreeview.c (gtk_tree_view_insert_column_with_data_func):
      	new function, convenience for inserting columns with a data func
      
      	* gtk/gtkiconfactory.c: keep a list of all existing icon factories
      	(_gtk_icon_factory_list_ids): use list of all factories to
      	generate a list of all known IDs
      
      	* gtk/gtkstock.c (gtk_stock_list_ids): replace
      	gtk_stock_list_items() with a function that returns all IDs known
      	including those for GtkIconFactory.
      87684f95
  34. 30 Apr, 2001 1 commit
    • Owen Taylor's avatar
      Add an extra parameter use_text to gtk_paint_label() to deal with · 2d372c40
      Owen Taylor authored
      Mon Apr 30 19:18:07 2001  Owen Taylor  <otaylor@redhat.com>
      
      	* gtk/gtkstyle.[ch] gtk/gtkaccellabel.c gtk/gtkcellrenderertext.c
      	  gtk/gtkhruler.c gtk/gtkhscale.c gtk/gtklabel.c gtk/gtkprogressbar.c
      	  gtk/gtkvruler.c gtk/gtkvscale.c: Add an extra parameter
                use_text to gtk_paint_label() to deal with style->bg[] vs style->text[].
      
      	* gtk/gtkbbox.c gtk/gtkdialog.c: Tweak padding some to deal
      	  with GtkWidget::interior_focus = TRUE better.
      
      	* gtk/gtkbutton.c
      
      	* gtk/gtkwidget.c (gtk_widget_style_get_valist): Remove
      	G_VALUE_NO_COPY_CONTENTS, to correspond with the recent
      	change that had to be made with g_object_get.
      2d372c40
  35. 24 Apr, 2001 1 commit
    • Havoc Pennington's avatar
      handle 0-height empty/invisible lines. · b84d2f12
      Havoc Pennington authored
      2001-04-21  Havoc Pennington  <hp@pobox.com>
      
      	* gtk/gtktextdisplay.c (gtk_text_layout_draw): handle 0-height
      	empty/invisible lines.
      
      	* gtk/gtktextiter.c (gtk_text_iter_set_visible_line_offset)
      	(gtk_text_iter_set_visible_line_index): new functions to set
      	indexes excluding invisible text
      
      	* gtk/gtktextlayout.c (line_display_iter_to_index): get visible
      	index
      
      	* gtk/gtktextiter.c (gtk_text_iter_get_visible_line_index)
      	(gtk_text_iter_get_visible_line_offset): new functions to
      	get indexes excluding invisible text
      
      	* gtk/gtkmessagedialog.c (gtk_message_dialog_init): strip out a
      	bunch of extra padding that served no purpose
      
      	* gtk/gtkdialog.c: Make all the spacings configurable via style
      	properties, for chubbiness configuration in themes
      
      	* tests/testtext.c: fix path to the immodules.
      b84d2f12