1. 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
  2. 11 Mar, 2004 1 commit
  3. 08 Mar, 2004 1 commit
    • Federico Mena Quintero's avatar
      Fixes #136105. · 2247fc66
      Federico Mena Quintero authored
      2004-03-08  Federico Mena Quintero  <federico@ximian.com>
      
      	Fixes #136105.
      
      	* gtk/gtkfilechooserembed.h (struct _GtkFileChooserEmbedIface):
      	Added an ::initial_focus() method.
      
      	* gtk/gtkfilechooserembed.c
      	(_gtk_file_chooser_embed_delegate_iface_init): Set the
      	initial_focus method.
      	(delegate_initial_focus): Implement.
      	(_gtk_file_chooser_embed_initial_focus): New function.
      
      	* gtk/gtkfilechooserdialog.c
      	(gtk_file_chooser_dialog_constructor): Call
      	_gtk_file_chooser_embed_initial_focus().
      
      	* gtk/gtkfilechooserdefault.c (gtk_file_chooser_default_init):
      	Install the ::initial_focus() handler.
      	(gtk_file_chooser_default_initial_focus): Implement.
      2247fc66
  4. 06 Mar, 2004 1 commit
  5. 05 Mar, 2004 1 commit
    • Federico Mena Quintero's avatar
      New handler. Ask the GtkFileChooser widget if it wants to do something · d64c7c08
      Federico Mena Quintero authored
      2004-03-04  Federico Mena Quintero  <federico@ximian.com>
      
      	* gtk/gtkfilechooserdialog.c (response_cb):  New handler.  Ask the
      	GtkFileChooser widget if it wants to do something special rather
      	than letting us terminate the dialog.
      	(gtk_file_chooser_dialog_init): Connect to "response"; see the
      	comment in the sources to see why we don't override the method in
      	class_init.
      
      	* gtk/gtkfilechooserembed.h (struct _GtkFileChooserEmbedIface):
      	Added a ::should_respond() method.
      
      	* gtk/gtkfilechooserembed.c
      	(_gtk_file_chooser_embed_delegate_iface_init): Add a delegate for ::should_respond().
      	(delegate_should_respond): New delegate.
      	(_gtk_file_chooser_embed_should_respond): New function.
      
      	* gtk/gtkfilechooserdefault.c (set_list_model, create_file_list):
      	Use dashes in signal names rather than underscores.
      	(gtk_file_chooser_default_init): Hook up our ::should_respond() implementation.
      	(gtk_file_chooser_default_should_respond): Implement.  go into a
      	folder rather than responding if we are in File mode and the
      	selected file is a folder.
      	(get_selection): New helper function.
      	(add_bookmark_button_clicked_cb): Use get_selection().
      	(bookmarks_check_add_sensitivity): Likewise.
      	(gtk_file_chooser_default_get_paths): Likewise.
      	(check_save_entry): New helper function.
      	(gtk_file_chooser_default_get_paths): Use check_save_entry().
      	(selection_check): Renamed from selection_is_folders().  Now
      	checks whether the selection is empty, all files, all folders.
      	(bookmarks_check_add_sensitivity): Use selection_check().
      d64c7c08
  6. 03 Mar, 2004 1 commit
    • Jonathan Blandford's avatar
      Split function into realized and unrealized variants, and consolidate the · bb5a4999
      Jonathan Blandford authored
      Tue Mar  2 23:39:55 2004  Jonathan Blandford  <jrb@gnome.org>
      
              * gtk/gtkfilechooserdialog.c
              (file_chooser_widget_default_realized_size_changed): Split
              function into realized and unrealized variants, and consolidate
              the handling fo size-changing and default changing.
      
              * gtk/gtkfilechooserembed.[ch] (gtk_file_chooser_embed_class_init):
              remove resizable-hints-changed, as it just complicated things.
      
              * gtk/gtkfilechooserdefault.c (update_appearance): Don't emit
              resizable-hints-changed.
      bb5a4999
  7. 29 Feb, 2004 1 commit
    • Jonathan Blandford's avatar
      Add g_return_if_fail() (_gtk_file_chooser_embed_get_resizable_hints): Add · 7359903e
      Jonathan Blandford authored
      Sun Feb 29 01:51:27 2004  Jonathan Blandford  <jrb@gnome.org>
      
              * gtk/gtkfilechooserembed.c
              (_gtk_file_chooser_embed_get_default_size):  Add g_return_if_fail()
              (_gtk_file_chooser_embed_get_resizable_hints): Add g_return_if_fail()
      
              * gtk/gtkfilechooserdialog.c
              (file_chooser_widget_default_size_changed): Get the correct
              initial size for the dialog.  Also, don't bother with
              gtk_window_set_default_size().  It's not really meaningful.
      
              * gtk/gtkfilechooserdefault.c
              (gtk_file_chooser_default_get_default_size): Get the correct
              spacing for the preview_widget
              (update_preview_widget_visibility): Clear widget field after we
              destroy it.
      7359903e
  8. 27 Feb, 2004 1 commit
    • Jonathan Blandford's avatar
      New private interface to help negotiate the default size of the widget. · 0cfdc7fb
      Jonathan Blandford authored
      Fri Feb 27 18:46:27 2004  Jonathan Blandford  <jrb@redhat.com>
      
              * gtk/gtkfilechooserembed.h: New private interface to help
              negotiate the default size of the widget.  Still a bit buggy, but
              better than the old behavior.
      
              * gtk/gtkfilechooserdefault.c: Implement the embed interface.
      
              * gtk/gtkfilechooserwidget.c: Proxy the embed interface.
      
              * gtk/gtkfilechooserdialog.c: Use the embed interface.
      0cfdc7fb