1. 01 Jul, 2008 1 commit
  2. 30 Jun, 2008 1 commit
    • Cody Russell's avatar
      Practically everything changed. · fce9c8b7
      Cody Russell authored
      2008-06-30  Cody Russell  <bratsche@gnome.org>
      
              * Practically everything changed.
      
              Change	all references	of GIMP	Toolkit	(and variations	of it)
              to GTK+	Toolkit, showing no mercy at all to our	beloved
      	ancestry. (#540529)
      
      
      svn path=/trunk/; revision=20709
      fce9c8b7
  3. 19 May, 2008 1 commit
  4. 18 May, 2007 1 commit
    • Carlos Garnacho's avatar
      Refactor GtkFileChooserDialog sizing. · 7bb7cfb2
      Carlos Garnacho authored
      2007-05-18  Carlos Garnacho  <carlos@imendio.com>
      
              Refactor GtkFileChooserDialog sizing.
      
              * gtkfilechooserembed.[ch] (delegate_get_resizable_hints)
              (_gtk_file_chooser_embed_get_resizable_hints):
              s/resizable_hints/resizable/, return just one boolean value to
              determine whether the filechooser should be resizable or not.
      
              * gtkfilechooserprivate.h (struct GtkFileChooserDialogPrivate): remove
              variables related to the GtkFileChooserEmbed get_default_size() and
              get_resizable() implementations.
              (struct GtkFileChooserDefault): Move default size management here.
      
              * gtkfilechooserdefault.c (gtk_file_chooser_default_size_allocate):
              Added, store currently allocated size to calculate default size later.
              (gtk_file_chooser_default_get_resizable_hints):
              s/resizable_hints/resizable/.
              (gtk_file_chooser_default_set_property): Reload settings if the file
              chooser action changes, this way the save expander state will be known
              before mapping the window, avoiding wrong window positioning and
              flickering. (#424299, #424309)
              (find_good_size_from_style): Only get size from style if it wasn't set
              previously.
              (gtk_file_chooser_default_get_default_size): return default size based
              on stored default size and preview/extra widget sizes.
      
              * gtkfilechooserdialog.c (file_chooser_widget_update_hints)
              (file_chooser_widget_realized_size_changed)
              (file_chooser_widget_unrealized_size_changed): simplified to
              (file_chooser_widget_size_changed): set window size and resizability
              based on the GtkFileChooserEmbed interface implementation. (Bug
              #420285, Tomeu Vizoso)
              (gtk_file_chooser_dialog_map): force a dialog size change, so it's
              clamped for sure to the 75% of the screen size.
      
      
      svn path=/trunk/; revision=17859
      7bb7cfb2
  5. 01 May, 2006 1 commit
    • Kristian Rietveld's avatar
      Merge of the GTK+ asynchronous file chooser branch. Please see the · 2c97a8f6
      Kristian Rietveld authored
      2006-05-01  Kristian Rietveld  <kris@imendio.com>
      
      	Merge of the GTK+ asynchronous file chooser branch.  Please see
      	the kris-asynch-branch for more detailed ChangeLog entries.
      
      	* configure.in: increase binary version to 2.9.0.
      
      	* gtk.symbols:
      	* gtkfilechooser.c:
      	* gtkfilechooserbutton.c:
      	* gtkfilechooserdefault.c:
      	* gtkfilechooserdialog.c:
      	* gtkfilechooserembed.c:
      	* gtkfilechooserembed.h:
      	* gtkfilechooserentry.c:
      	* gtkfilechooserentry.h:
      	* gtkfilechooserprivate.h:
      	* gtkfilesystem.c:
      	* gtkfilesystem.h:
      	* gtkfilesystemmodel.c:
      	* gtkfilesystemmodel.h:
      	* gtkfilesystemunix.c:
      	* gtkpathbar.c:
      	* gtkpathbar.h:
      	Merge from kris-async-branch.
      2c97a8f6
  6. 28 Nov, 2004 1 commit
    • Matthias Clasen's avatar
      Mark as const. · c50066b4
      Matthias Clasen authored
      2004-11-28  Matthias Clasen  <mclasen@redhat.com>
      
      	* gtk/gtkwidget.h (gtk_requisition_get_type):
      	* gtk/gtktypeutils.h (gtk_identifier_get_type):
      	* gtk/gtktexttag.h (gtk_text_attributes_get_type):
      	* gtk/gtkstyle.h (gtk_border_get_type):
      	* gtk/gtkfilesystemmodel.h (_gtk_file_system_model_get_type):
      	* gtk/gtkfilechooserentry.h (_gtk_file_chooser_entry_get_type):
      	* gtk/gtkfilechooserembed.h (_gtk_file_chooser_embed_get_type):
      	* gtk/gtkfilechooserdefault.h (_gtk_file_chooser_default_get_type):
      	* gtk/gtkaccelmap.h (gtk_accel_map_get_type): Mark as const.
      
      	* gtk/gtk.symbols:
      	* gtk/Makefile.am: Mark get_type() functions
      	generated by glib-mkenums as const.
      c50066b4
  7. 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
  8. 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
  9. 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
  10. 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