1. 26 May, 2007 1 commit
    • Matthias Clasen's avatar
      Require gtk-doc 1.6, for signal and property links. · b80b5260
      Matthias Clasen authored
      2007-05-26  Matthias Clasen  <mclasen@redhat.com>
      
              * configure.in: Require gtk-doc 1.6, for signal and property links.
              * gtk/gtkbox.c:
              * gtk/gtkbutton.c:
              * gtk/gtkcontainer.c:
              * gtk/gtkdialog.c:
              * gtk/gtkentry.c:
              * gtk/gtkimage.c:
              * gtk/gtklabel.c:
              * gtk/gtkmisc.c:
              * gtk/gtksettings.c:
              * gtk/gtkwidget.c: Documentation improvements, link signals
              and properties where it makes sense.
      
      svn path=/trunk/; revision=17924
      b80b5260
  2. 06 Jul, 2006 1 commit
  3. 20 Jun, 2006 1 commit
  4. 14 May, 2006 1 commit
  5. 02 May, 2006 1 commit
  6. 26 Apr, 2006 1 commit
  7. 04 Jan, 2006 1 commit
    • Matthias Clasen's avatar
      Use the slice allocator for many small allocations. · 04eceaf6
      Matthias Clasen authored
      2006-01-04  Matthias Clasen  <mclasen@redhat.com>
      
      	* gtk/gtkaccelmap.c:
      	* gtk/gtkactiongroup.c:
      	* gtk/gtkdialog.c:
      	* gtk/gtkfilesystemunix.c:
      	* gtk/gtkgc.c:
      	* gtk/gtkkeyhash.c:
      	* gtk/gtkplug.c:
      	* gtk/gtktextiter.c:
      	* gtk/gtktextlayout.c:
      	* gtk/gtkuimanager.c:
      	* gtk/gtkwidget.c:
      	* gtk/gtkwindow.c:
      	* gtk/gtkxembed.c: Use the slice allocator for many small
      	allocations.
      
      	* gtk/gtkcolorsel.c:
      	* gtk/gtktreeview.c: Use IPN.
      
      	* gtk/gtkwidget.c: Remove an unused field from the AccelPath
      	struct.
      04eceaf6
  8. 26 Dec, 2005 1 commit
    • Matthias Clasen's avatar
      Add a gtk-label-select-on-focus setting. (gtk_label_grab_focus): And use · 168ad4bc
      Matthias Clasen authored
      2005-12-26  Matthias Clasen  <mclasen@redhat.com>
      
      	* gtk/gtklabel.c (gtk_label_class_init): Add a gtk-label-select-on-focus
      	setting.
      	(gtk_label_grab_focus): And use it here to select the contents of
      	the label when appropriate.
      	(gtk_label_class_init): Use the same keybindings for select all/
      	unselect all as GtkEntry and GtkTextView.
      
      	* gtk/gtkdialog.c (gtk_dialog_map): When looking for the initial
      	focus, avoid leaving a selection in a label.
      168ad4bc
  9. 01 Sep, 2005 1 commit
    • Matthias Clasen's avatar
      Intern some more strings. · 94eec042
      Matthias Clasen authored
      2005-09-01  Matthias Clasen  <mclasen@redhat.com>
      
              * gdk/*.c: Intern some more strings.
              * gtk/gtkintl.h:
              * gtk/*.c: Define an I_() macro and use it instead of the
              bulky g_intern_static_string().
      94eec042
  10. 31 Aug, 2005 2 commits
  11. 15 Aug, 2005 1 commit
    • Matthias Clasen's avatar
      When using gtk_dialog_run() for modal dialogs, make sure to inherit the · cbd1435c
      Matthias Clasen authored
      2005-08-15  Matthias Clasen  <mclasen@redhat.com>
      
      	* gtk/gtkfilechooserdefault.c: When using gtk_dialog_run() for
      	modal dialogs, make sure to inherit the window group from
      	the parent, since we don't inherit window groups across
      	transient parents currently.  (#312918, Christian Persch)
      
      	* gtk/gtkmessagedialog.c (gtk_message_dialog_new):
      	* gtk/gtkdialog.c (gtk_dialog_run): Slight update to the docs.
      cbd1435c
  12. 03 May, 2005 1 commit
  13. 26 Mar, 2005 1 commit
  14. 23 Mar, 2005 1 commit
    • Matthias Clasen's avatar
      Some cleanups to the GtkDialog code: (#170746, Morten Welinder) Simplify, · c43673f1
      Matthias Clasen authored
      2005-03-23  Matthias Clasen  <mclasen@redhat.com>
      
      	Some cleanups to the GtkDialog code:  (#170746,
      	Morten Welinder)
      	* gtk/gtkdialog.c (action_widget_activated): Simplify,
      	use _gtk_dialog_get_response_for_widget.
      	(gtk_dialog_add_action_widget): Use the correct signal
      	id for non-buttons.
      	(gtk_dialog_set_response_sensitive):
      	(gtk_dialog_set_default_response): Use get_response_data.
      	(gtk_dialog_run): Don't disconnect the signals if the
      	dialog was destroyed while running.
      c43673f1
  15. 22 Mar, 2005 1 commit
  16. 20 Mar, 2005 1 commit
    • Matthias Clasen's avatar
      Make PLT-reduction work with gcc4, and don't include everything in · cca8dd63
      Matthias Clasen authored
      2005-03-20  Matthias Clasen  <mclasen@redhat.com>
      
      	Make PLT-reduction work with gcc4, and don't include
      	everything in gdkalias.h:
      
      	* gtk/grk.symbols: Group symbols by header and source file.
      	* gtk/makegtkalias.pl: Protect definitions by the same
      	preprocessor symbols used to guard the headers. Move
      	the alias declarations to a separate file which is
      	produced when calling makegtkalias.pl -def
      	* gdk/Makefile.am (gtkaliasdef.c): Add a rule to generate
      	this file.
      	* gtk/*.c: Include gtkalias.h after the other headers,
      	include gtkaliasdef.c at the bottom.
      	* gtk/*.h: Small cleanups.
      cca8dd63
  17. 11 Mar, 2005 1 commit
  18. 09 Mar, 2005 1 commit
  19. 20 Jan, 2005 1 commit
  20. 03 Jan, 2005 1 commit
  21. 21 Nov, 2004 1 commit
  22. 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
  23. 29 Sep, 2004 1 commit
  24. 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
  25. 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
  26. 06 Mar, 2004 1 commit
  27. 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
  28. 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
  29. 15 Dec, 2003 2 commits
  30. 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
  31. 14 Dec, 2002 2 commits
  32. 25 Nov, 2002 1 commit
  33. 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
  34. 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
  35. 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
  36. 10 Jul, 2002 1 commit