1. 11 Sep, 2007 1 commit
    • Michael Natterer's avatar
      remove useless member "has_title" from the private struct and simply set · a5bebb2e
      Michael Natterer authored
      2007-09-11  Michael Natterer  <mitch@imendio.com>
      
      	* gtk/gtkfilechooserbutton.c: remove useless member "has_title"
      	from the private struct and simply set the default title in
      	constructor() whenever we create a dialog or the supplied one has
      	no title. Also accept RESPONSE_ACCEPT *and* RESPONSE_OK as
      	affirmative responses and document that accordingly. Fixes bug
      	#436576. Fixed all compiler warnings in the file.
      
      
      svn path=/trunk/; revision=18796
      a5bebb2e
  2. 16 Jul, 2007 1 commit
    • Matthias Clasen's avatar
      Plug a memleak. (#455721, Christian Persch) · 9046ebc9
      Matthias Clasen authored
      2007-07-16  Matthias Clasen <mclasen@redhat.com>
      
              * gtk/gtkfilechooserbutton.c (model_add_special_get_info_cb):
              Plug a memleak. (#455721, Christian Persch)
      
      
      
      svn path=/trunk/; revision=18476
      9046ebc9
  3. 17 Jun, 2007 2 commits
  4. 07 Jun, 2007 1 commit
    • Matthias Clasen's avatar
      Use g_get_user_special_dir() to obtain the path for the DESKTOP directory. · 232f30f1
      Matthias Clasen authored
      2007-06-06  Matthias Clasen  <mclasen@redhat.com>
      
              * gtk/gtkfilechooserbutton.c (model_add_special):
              * gtk/gtkfilechooserdefault.c (shortcuts_append_desktop):
              * gtk/gtkfilesystemunix.c (get_icon_name_for_directory):
              * gtk/gtkpathbar.c (_gtk_path_bar_set_file_system):
              Use g_get_user_special_dir() to obtain the path for the
              DESKTOP directory.
      
      svn path=/trunk/; revision=18070
      232f30f1
  5. 12 Mar, 2007 1 commit
  6. 26 Dec, 2006 1 commit
  7. 20 Dec, 2006 1 commit
  8. 08 Oct, 2006 1 commit
  9. 30 Sep, 2006 1 commit
  10. 22 Sep, 2006 2 commits
    • Matthias Clasen's avatar
      make it build · 6323f98d
      Matthias Clasen authored
      6323f98d
    • Matthias Clasen's avatar
      Make remote bookmarks work better (#354887) · 09f461b0
      Matthias Clasen authored
      2006-09-22  Matthias Clasen  <mclasen@redhat.com>
      
      	Make remote bookmarks work better (#354887)
      
      	* gtk/gtkfilechooserdefault.c (shortcuts_reload_icons):
      	(shortcuts_insert_path):
      	* gtk/gtkfilechooserbutton.c (change_icon_theme):
      	(model_add_bookmarks):
      	(model_update_current_folder):
      	(update_label_and_image):
      	If the bookmark points to a remote file, don't call get_info(),
      	since that may a) take a long time and b) pop up an auth dialog.
      	Instead, just use a folder icon and create a display name
      	from the uri.
      
      	* gtk/gtkfilechooserdefault.c (_gtk_file_chooser_label_for_uri):
      	New function to create a suitable display name for a remote
      	uri. This should really be done in GtkFileSystem.
      09f461b0
  11. 17 Sep, 2006 2 commits
  12. 11 Sep, 2006 1 commit
  13. 02 Sep, 2006 1 commit
    • Kristian Rietveld's avatar
      First part of file chooser fixes. · 254b684e
      Kristian Rietveld authored
      2006-09-02  Kristian Rietveld  <kris@imendio.com>
      
      	First part of file chooser fixes.
      
      	* gtk/gtkfilechooserbutton.c (model_add_special): also set the
      	handle in the model for the desktopdir case.
      
      	* gtk/gtkfilechooserdefault.c (shortcuts_add_current_folder): free
      	volume in case we retrieved it but don't pass it on to insert_path,
      	(shortcuts_model_create): change the column type for the handles
      	to pointer instead of GObject so our handle ref counting is not
      	disturbed,
      	(show_and_select_paths_finished_loading): don't forget to unref
      	the dialog.
      
      	* gtk/gtkfilesystemunix.c (gtk_file_system_unix_class_init),
      	(gtk_file_system_unix_init), (gtk_file_system_unix_dispose):
      	remove pending execute_callbacks_idle during dispose, also
      	execute all callbacks waiting to be run in the next idle,
      	(queue_*callback), (execute_callbacks_idle): refactor to maintain
      	a list of callbacks to call per file system instead of globally,
      	guard the file system during callback invocation,
      	(gtk_file_system_unix_get_folder): only add load folder idle if
      	none has been added yet.
      254b684e
  14. 17 Aug, 2006 1 commit
  15. 10 Jul, 2006 1 commit
  16. 09 Jul, 2006 1 commit
  17. 06 Jul, 2006 2 commits
  18. 14 May, 2006 1 commit
  19. 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
  20. 19 Apr, 2006 1 commit
    • Murray Cumming's avatar
      _GtkFileChooserButtonPrivate: Added has_title flag so we can remember · 5cb13a75
      Murray Cumming authored
      2006-04-19  Murray Cumming  <murrayc@murrayc.com>
      
              * gtk/gtkfilechooserbutton.c: _GtkFileChooserButtonPrivate:
              Added has_title flag so we can remember whether a title has
              been set.
              (gtk_file_chooser_button_constructor): If no title has been
              set then set it to the default title. This means that the
              default title will be used if the dialog was instantiated with
              g_object_new(), without using the gtk_file_chooser_button_new()
              convenience function. This helps language bindings.
              (gtk_file_chooser_button_set_property): Set has_title when
              setting the title.
      5cb13a75
  21. 08 Feb, 2006 1 commit
  22. 06 Jan, 2006 2 commits
  23. 07 Nov, 2005 1 commit
  24. 26 Oct, 2005 1 commit
  25. 07 Oct, 2005 1 commit
    • Federico Mena Quintero's avatar
      Fixes bug #317999: · cca93029
      Federico Mena Quintero authored
      2005-10-07  Federico Mena Quintero  <federico@ximian.com>
      
      	Fixes bug #317999:
      
      	* tests/autotestfilechooser.c (test_reload_sequence): Ensure that
      	the the result of gtk_file_chooser_get_folder() is NULL or
      	non-NULL at the right times.  Log the tests.
      	(test_button_folder_states): New test for the initial states of
      	the current folder in GtkFileChooserButton.
      	(main): Test that the number of warnings/errors/critical errors is
      	zero.
      
      	* gtk/gtkfilechooser.c (gtk_file_chooser_get_current_folder):
      	Clarify the documentation on when this can return NULL.
      	(gtk_file_chooser_get_current_folder_uri): Likewise.
      
      	* gtk/gtkfilechooserbutton.c (struct
      	_GtkFileChooserButtonPrivate): Added a folder_has_been_set flag;
      	we use it to keep track of whether a folder has been set.
      	(gtk_file_chooser_button_map):  Implement.  If no folder has been
      	loaded before, we at least try to load $cwd here.
      	(gtk_file_chooser_button_constructor): If the construct-time
      	dialog already has a folder set, turn on our folder_has_been_set
      	flag.
      	(dialog_current_folder_changed_cb): Turn on our
      	folder_has_been_set flag.
      cca93029
  26. 13 Sep, 2005 1 commit
  27. 19 Aug, 2005 1 commit
  28. 20 Jul, 2005 1 commit
  29. 13 Jun, 2005 1 commit
  30. 07 Jun, 2005 1 commit
  31. 18 May, 2005 1 commit
  32. 16 May, 2005 1 commit
  33. 26 Mar, 2005 1 commit
  34. 23 Mar, 2005 1 commit
  35. 22 Mar, 2005 1 commit