1. 05 May, 2013 1 commit
  2. 08 Apr, 2013 1 commit
  3. 27 Feb, 2012 1 commit
  4. 29 Nov, 2011 1 commit
  5. 10 Jun, 2008 1 commit
    • Carlos Garnacho's avatar
      Bug 520874 - Should use gio directly. · 640d6877
      Carlos Garnacho authored
      2008-06-10  Carlos Garnacho  <carlos@imendio.com>
      
              Bug 520874 - Should use gio directly.
      
              * gtk/gtkfilesystem.[ch]: Turn into a private object, which mostly
              provides helper functions for asynchronous calls, folder abstraction
              and uniform handling of volumes/drives/mounts.
      
              * gtk/gtkfilesystemwin32.[ch]:
              * gtk/gtkfilesystemunix.[ch]: Removed, these are no longer required.
      
              * gtk/gtkfilechooser.c:
              * gtk/gtkfilechooserbutton.c:
              * gtk/gtkfilechooserdefault.c:
              * gtk/gtkfilechooserentry.[ch]:
              * gtk/gtkfilechooserprivate.h:
              * gtk/gtkfilechooserutils.c:
              * gtk/gtkfilesystemmodel.[ch]:
              * gtk/gtkpathbar.[ch]: Use GIO internally. Adapt to GtkFileSystem API.
              Do not load filesystem implementation modules.
      
              * gtk/Makefile.am:
              * gtk/gtk.symbols: the gtkfilesystem.h private header isn't installed
              anymore, nor the unix/win32 implementations.
      
              * README.in: Add blurb about these changes.
      
      svn path=/trunk/; revision=20342
      640d6877
  6. 03 Mar, 2008 1 commit
  7. 10 Sep, 2006 1 commit
  8. 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
  9. 19 Nov, 2005 1 commit
    • Matthias Clasen's avatar
      Fix crashes in connection with pathbar scrolling (#321560, Bogdan Nicula) · 6e4a379e
      Matthias Clasen authored
      2005-11-18  Matthias Clasen  <mclasen@redhat.com>
      
      	Fix crashes in connection with pathbar scrolling (#321560,
      	Bogdan Nicula)
      
      	* gtk/gtkpathbar.c (gtk_path_bar_update_slider_buttons):
      	Stop scrolling when desensitising slider buttons.
      	(gtk_path_bar_scroll_timeout, gtk_path_bar_slider_button_press):
      	And use it here.
      
      	* gtk/gtkpathbar.h (struct _GtkPathBar): Add a separate
      	scrolling_down flag.
      6e4a379e
  10. 10 Nov, 2005 1 commit
    • Matthias Clasen's avatar
      Improve navigation to parent folders. (#318444, Andrei Yurkevich) · 938d34c0
      Matthias Clasen authored
      2005-11-10  Matthias Clasen  <mclasen@redhat.com>
      
      	Improve navigation to parent folders.  (#318444, Andrei Yurkevich)
      
      	* gtk/gtkpathbar.[hc]: Add a child_path argument to
      	the path_clicked signal.
      	* gtk/gtkfilechooserdefault.c (path_bar_clicked): Select the
      	child_path, if it is provided.
      	* gtk/marshalers.list (path_bar_clicked): Add the necessary
      	glue.
      938d34c0
  11. 07 Nov, 2005 1 commit
  12. 07 Jul, 2005 1 commit
    • Matthias Clasen's avatar
      Fix #157787, reported by Jonathan Blandford: · 8cc4fe41
      Matthias Clasen authored
      2005-07-07  Matthias Clasen  <mclasen@redhat.com>
      
      	Fix #157787, reported by Jonathan Blandford:
      
      	* gtk/gtkfilechooserdefault.c
      	(gtk_file_chooser_default_set_current_folder): Don't leave a
      	"trail" behind when set_current_folder is called explicitly.
      	(gtk_file_chooser_default_update_current_folder): New function
      	that is called to update the current folder in response to
      	user actions.
      
      	* gtk/gtkpathbar.c (_gtk_path_bar_set_path): Add a boolean
      	keep_trail argument, and don't leave a "trail" behind unless
      	it is set.
      8cc4fe41
  13. 13 Jun, 2005 1 commit
    • Matthias Clasen's avatar
      Rework the way in which rerooting of the path bar is done, implementing · 60113bed
      Matthias Clasen authored
      
      2005-06-13  Matthias Clasen  <mclasen@redhat.com>
      
      	* gtk/gtkpathbar.[hc]: Rework the way in which rerooting of the
      	path bar is done, implementing the following principles:
      	(#137289, patch by Benjamin Otte)
      
      	1. Re-root only if $HOME is an ancestor of the current path.
      
      	2. When re-rooting, make sure the Left arrow appears in the path
      	bar, so that you can navigate up from $HOME to /.  In that case,
      	make sure the Right arrow doesn't appear if the sub-hierarchy from
      	$HOME to the cwd fits in the window.
      
      	3. Make sure that hitting Alt-Up takes you always one folder up,
      	even when the path bar is re-rooted.
      60113bed
  14. 27 Sep, 2004 2 commits
  15. 26 Sep, 2004 1 commit
    • Jonathan Blandford's avatar
      add missing structures. · 3be528f2
      Jonathan Blandford authored
      Sun Sep 26 02:06:43 2004  Jonathan Blandford  <jrb@gnome.org>
      
              * gtk/gtkpathbar.h (struct _GtkPathBar): add missing structures.
      3be528f2
  16. 02 Apr, 2004 1 commit
    • Federico Mena Quintero's avatar
      Fix #136077. · 8e661364
      Federico Mena Quintero authored
      2004-04-01  Federico Mena Quintero  <federico@ximian.com>
      
      	Fix #136077.
      
      	* gtk/gtkpathbar.h (struct _GtkPathBarClass): Add a
      	"child_is_hidden" boolean argument to the "path-clicked" signal.
      
      	* gtk/gtkpathbar.c (struct _ButtonData): Added a file_is_hidden
      	field.
      	(make_directory_button): Take a file_is_hidden argument; put it in
      	the ButtonData.
      	(_gtk_path_bar_set_path): See whether each path component path is
      	a hidden file.
      	(gtk_path_bar_class_init): Add the file_is_hidden argument to the
      	"path-clicked" signal.
      	(button_clicked_cb): See if the downwards button represents a
      	hidden file for the file_is_hidden argument in the signal
      	emission.
      
      	* gtk/gtkmarshalers.list: Added a signal type VOID:POINTER,BOOLEAN.
      
      	* gtk/gtkfilechooserdefault.c
      	(gtk_file_chooser_default_select_path): If we fail to switch
      	folders, don't try to select the path in the file system model.
      	Also, return the result from _gtk_file_system_model_path_do().
      	(gtk_file_chooser_default_select_path): Turn on show_hidden in the
      	file system model if we are asked to select a hidden file.
      	(path_bar_clicked): Show hidden files based on whether the
      	immediate downwards folder in the path bar is a hidden file
      	itself.
      	(struct _GtkFileChooserDefault): Added fields
      	browse_files_popup_menu and browse_files_popup_menu_hidden_files_item.
      	(create_file_list): Set an object data key of
      	"GtkFileChooserDefault" on the tree view so that we can find the
      	impl from the popup menu callbacks.  Also, hook up to the
      	"button-press-event" and "popup-menu" signals in the file list to
      	bring up a popup menu.
      	(list_popup_menu_cb): New callback.
      	(list_button_press_event_cb): New callback.
      
      	Fix #138763:
      
      	* gtk/gtkfilesystemmodel.c
      	(_gtk_file_system_model_new): Oops, connect_object to
      	"finished-loading".
      8e661364
  17. 15 Mar, 2004 1 commit
    • Federico Mena Quintero's avatar
      Renamed from shortcuts_unselect_all(); now selects the row that · f956e3ae
      Federico Mena Quintero authored
      2004-03-15  Federico Mena Quintero  <federico@ximian.com>
      
      	* gtk/gtkfilechooserdefault.c (shortcuts_find_current_folder):
      	Renamed from shortcuts_unselect_all(); now selects the row that
      	corresponds to the current folder, if any.  Fixes #135916.
      
      	* gtk/gtkpathbar.h: Added prototypes for _gtk_path_bar_up() and
      	_gtk_path_bar_down().
      f956e3ae
  18. 10 Mar, 2004 2 commits
    • Jonathan Blandford's avatar
      Support changes in icon themes. · c630462c
      Jonathan Blandford authored
      Wed Mar 10 02:41:05 2004  Jonathan Blandford  <jrb@gnome.org>
      
              * gtk/gtkpathbar.c: (gtk_path_bar_init), (gtk_path_bar_class_init),
              (remove_settings_signal), (gtk_path_bar_dispose),
              (gtk_path_bar_style_set), (gtk_path_bar_screen_changed),
              (gtk_path_bar_scroll_up), (reload_icons), (change_icon_theme),
              (settings_notify_cb), (gtk_path_bar_check_icon_theme),
              (get_button_image), (gtk_path_bar_update_button_appearance),
              (make_directory_button), (gtk_path_bar_check_parent_path): Support
              changes in icon themes.
      
              * gtk/gtkpathbar.h: add two elements
      
              * tests/testfilechooser.c: (main): use gnome-vfs method again to
              get more testing.
      c630462c
    • Jonathan Blandford's avatar
      added 'Desktop' to the list of volumes. We don't have any more untranlated · 9727b4d2
      Jonathan Blandford authored
      Wed Mar 10 01:17:40 2004  Jonathan Blandford  <jrb@gnome.org>
      
              * gtk/gtkpathbar.c: added 'Desktop' to the list of volumes.  We
              don't have any more untranlated strings in the dialog.
      9727b4d2
  19. 08 Mar, 2004 1 commit
    • Jonathan Blandford's avatar
      new function to consolidate creating the path_bar. · 59938d92
      Jonathan Blandford authored
      Mon Mar  8 04:50:12 2004  Jonathan Blandford  <jrb@gnome.org>
      
              * gtk/gtkfilechooserdefault.c (create_path_bar): new function to
              consolidate creating the path_bar.
              (gtk_file_chooser_default_set_current_folder): no longer need to
              pass in the filesystem.
      
              * gtk/gtkpathbar.h: Removed unused set_pixbuf functions in favor
              of just setting the filesystem.
      
              * gtk/gtkpathbar.c (gtk_path_bar_finalize): Free root path and
              home_dir.
              (get_button_image): Add images to path_bar.
              (update_button_appearance): use images
              (make_directory_button): Clasify buttons based upon location.
              (_gtk_path_bar_set_path): no longer need a file-system.  Also, add
              rerooting, #135845, #135914
      
              * tests/testfilechooser.c: Fix reused error handling.
      59938d92
  20. 04 Mar, 2004 1 commit
    • Jonathan Blandford's avatar
      Modified patch from muppet <scott@asofyet.org> to keep child directories · 778d6904
      Jonathan Blandford authored
      Thu Mar  4 01:32:19 2004  Jonathan Blandford  <jrb@gnome.org>
      
              * gtk/gtkpathbar.c (gtk_path_bar_set_path): Modified patch from
              muppet <scott@asofyet.org> to keep child directories around if we
              change to a child.
      
              * gtk/gtkpathbar.c (_gtk_path_bar_set_home_icon): Start of
              icon-setting functions.  Not used yet.
              (_gtk_path_bar_set_root_icon): Ditto.
      778d6904
  21. 03 Mar, 2004 1 commit
    • Federico Mena Quintero's avatar
      Handle errors in setting the path bar's path. Fixes #136000, based on a · e50fb687
      Federico Mena Quintero authored
      2004-03-02  Federico Mena Quintero  <federico@ximian.com>
      
      	* gtk/gtkfilechooserdefault.c
      	(gtk_file_chooser_default_set_current_folder): Handle errors in
      	setting the path bar's path.  Fixes #136000, based on a patch by
      	Morten Welinder.
      
      	* gtk/gtkfilesystemunix.c (gtk_file_system_unix_insert_bookmark):
      	Don't free our own propagated error.
      
      	* gtk/gtkpathbar.c (gtk_path_bar_set_path): Likewise, and free the
      	parent_path upon error.  Fixes #136006, patch by Morten Welinder.
      	(gtk_path_bar_set_path): Unref the file_folder upon error.
      	(gtk_path_bar_set_path): Return a boolean success code.
      e50fb687
  22. 23 Feb, 2004 2 commits
    • Jonathan Blandford's avatar
      Display the root a bit more cleanly. · 4b041f82
      Jonathan Blandford authored
      Mon Feb 23 15:23:23 2004  Jonathan Blandford  <jrb@gnome.org>
      
              * gtk/gtkpathbar.c (gtk_path_bar_set_path): Display the root a bit
              more cleanly.
      
              * gtk/gtkpathbar.h (struct _GtkPathBarClass): fix the signal.
      4b041f82
    • Jonathan Blandford's avatar
      Use the GtkPathBar by default now. · decffc9d
      Jonathan Blandford authored
      Mon Feb 23 02:08:42 2004  Jonathan Blandford  <jrb@gnome.org>
      
              * gtk/gtkfilechooserdefault.c (file_pane_create): Use the
              GtkPathBar by default now.
      
              * gtk/gtkpathbar.c (gtk_path_bar_set_path): Correctly set the
              current path from the path.
              (gtk_path_bar_class_init): new signal
              (button_clicked_cb): emit the signal when we're selected.
              (gtk_path_bar_clear_buttons): Fix a crasher when we weren't
              clearing thr first_scrolled_button.
      decffc9d
  23. 20 Feb, 2004 2 commits
    • Jonathan Blandford's avatar
      conditional compile for GtkPathBar · b379bc58
      Jonathan Blandford authored
      Fri Feb 20 18:20:22 2004  Jonathan Blandford  <jrb@gnome.org>
      
              * gtk/gtkfilechooserdefault.c: conditional compile for GtkPathBar
      
              * gtk/gtkpathbar.c (gtk_path_bar_size_allocate): Clean up
              allocation code.  Works fully in RTL languages, I think.
              (gtk_path_bar_scroll_up): Scroll up.
              (gtk_path_bar_scroll_down): Scroll down.
      b379bc58
    • Jonathan Blandford's avatar
      New widget to handle the path in the fileselector implementation. Not · 9c3ac4d1
      Jonathan Blandford authored
      Thu Feb 19 19:58:53 2004  Jonathan Blandford  <jrb@gnome.org>
      
              * gtk/gtkpathbar.[ch]: New widget to handle the path in the
              fileselector implementation.  Not hooked up to anything yet.
      
              * gtk/Makefile.am: support the path bar.
      9c3ac4d1