1. 15 Jul, 2012 1 commit
    • Matthias Clasen's avatar
      Test folder filtering · 7bfcb065
      Matthias Clasen authored
      Add a filter to testfilechooser that can demonstrate folder
      filtering on common directories, such as Documents or Downloads.
      7bfcb065
  2. 27 Feb, 2012 1 commit
  3. 02 Jun, 2011 1 commit
  4. 12 Feb, 2011 1 commit
  5. 02 Nov, 2010 1 commit
  6. 31 Oct, 2010 1 commit
  7. 30 Oct, 2010 4 commits
  8. 27 Sep, 2010 1 commit
  9. 26 Sep, 2010 1 commit
  10. 12 Jun, 2009 2 commits
  11. 13 Oct, 2008 1 commit
  12. 22 Jun, 2008 1 commit
    • Johan Dahlin's avatar
      Include "config.h" instead of <config.h> Command used: find -name · d97cdbdf
      Johan Dahlin authored
      2008-06-21  Johan Dahlin  <jdahlin@async.com.br>
      
          * *.[ch]: Include "config.h" instead of <config.h>
          Command used:
          find -name \*.[ch]|xargs perl -p -i -e 's/^#include <config.h>/#include "config.h"/g'
          Rubberstamped by Mitch and Tim
      
      
      svn path=/trunk/; revision=20669
      d97cdbdf
  13. 19 Jun, 2008 1 commit
  14. 16 Feb, 2008 1 commit
  15. 15 Jul, 2005 1 commit
  16. 13 Jul, 2005 1 commit
  17. 25 Jan, 2005 1 commit
    • Federico Mena Quintero's avatar
      Merged from gtk-2-6: · ed30bc0c
      Federico Mena Quintero authored
      2005-01-24  Federico Mena Quintero  <federico@ximian.com>
      
      	Merged from gtk-2-6:
      
      	Fix #147785 and clean up the loading code:
      
      	* gtk/gtkfilechooserdefault.c (LoadState): Make the set of states
      	be EMPTY, PRELOAD, LOADING, FINISHED.
      	(gtk_file_chooser_default_init): Start in the LOAD_EMPTY state.
      	(struct _GtkFileChooserDefault): Added a pending_select_paths
      	field.
      	(load_remove_timer): Add the new states.
      	(load_setup_timer): Likewise.
      	(load_timeout_cb): Likewise.  Switch to the LOAD_LOADING state.
      	(browse_files_model_finished_loading_cb): Switch to the
      	LOAD_FINISHED state.
      	(enum PendingOp): Removed.
      	(struct _GtkFileChooserDefault): Removed the pending_op and
      	pending_select_path fields.
      	(pending_select_paths_free): New utility function.
      	(pending_select_paths_add): New utility function.
      	(gtk_file_chooser_default_finalize): Call
      	pending_select_paths_free().
      	(pending_op_queue): Removed.
      	(pending_op_process): Removed.
      	(pending_select_paths_process): New function.
      	(browse_files_model_finished_loading_cb): Call
      	pending_select_paths_process().
      	(center_selected_row_foreach_cb): Handle multiple selection by
      	only centering the first row.
      	(get_is_file_filtered): Constify.
      	(gtk_file_chooser_default_select_path): Queue into a list of paths
      	to select if we are not finished loading.
      	(show_and_select_paths): New utility function.
      	(up_folder_handler): Use pending_select_paths_add().
      	(gtk_file_chooser_default_should_respond): Do not call
      	pending_op_queue(); free the pending_selected_paths instead.
      	(gtk_file_chooser_default_initial_focus): Don't queue a pending
      	operation, and don't select the first row unconditionally --- this
      	will happen when the folder is done loading.
      	(shortcuts_row_activated_cb): Free the pending_select_paths.
      	(pending_select_paths_store_selection): New utility function.
      	(gtk_file_chooser_default_map): Call
      	pending_select_paths_store_selection() to save the selection
      	before reloading the folder.
      	(select_func): Umm?  Call gtk_tree_selection_select_iter().  Don't
      	move the cursor here; it will be done when processing the pending paths.
      
      	* tests/testfilechooser.c (main): Add a button to the command
      	window to unmap and remap the file chooser.
      ed30bc0c
  18. 19 Nov, 2004 1 commit
    • Manish Singh's avatar
      modules/engines/ms-windows/msw_rc_style.c · 54b45a19
      Manish Singh authored
      Fri Nov 19 15:18:51 2004  Manish Singh  <yosh@gimp.org>
      
              * modules/engines/ms-windows/msw_rc_style.c
              * modules/engines/ms-windows/msw_style.c
              * modules/engines/ms-windows/msw_theme_main.c
              * modules/engines/pixbuf/pixbuf-main.c
              * modules/engines/pixbuf/pixbuf-rc-style.c
              * modules/input/gtkimcontextime.c
              * modules/input/gtkimcontextxim.c
              * modules/input/imam-et.c
              * modules/input/imcedilla.c
              * modules/input/imcyrillic-translit.c
              * modules/input/iminuktitut.c
              * modules/input/imipa.c
              * modules/input/imthai-broken.c
              * modules/input/imti-er.c
              * modules/input/imti-et.c
              * modules/input/imviqr.c
              * tests/prop-editor.c
              * tests/testentrycompletion.c
              * tests/testfilechooser.c
              * tests/testmerge.c
              * tests/testtoolbar.c
              * tests/testtreecolumns.c
              * tests/testtreeview.c: get rid of unnecessary casts.
      
              * tests/testgtk.c (create_labels): add GTK_LABEL() casts for
              gtk_label_set_ellipsize() calls.
      
              * tests/testicontheme.c (main): remove unused pixbuf variable.
      54b45a19
  19. 07 Nov, 2004 1 commit
    • Matthias Clasen's avatar
      New convenience function to add a filter for image files which can be · 7a08ab25
      Matthias Clasen authored
      2004-11-07  Matthias Clasen  <mclasen@redhat.com>
      
      	* gtk/gtkfilefilter.h:
      	* gtk/gtkfilefilter.c (gtk_file_filter_add_pixbuf_formats):
      	New convenience function to add a filter for image files
      	which can be loaded by GdkPixbuf. (#145388, Anders Carlsson)
      
      	* tests/testfilechooser.c: Test the image filter.
      7a08ab25
  20. 14 Sep, 2004 1 commit
  21. 09 Sep, 2004 2 commits
  22. 11 Apr, 2004 1 commit
    • Jonathan Blandford's avatar
      Moved search entries into priv data. · 0aebe343
      Jonathan Blandford authored
      Sun Apr 11 15:08:45 2004  Jonathan Blandford  <jrb@gnome.org>
      
              * gtk/gtktreeprivate.h: Moved search entries into priv data.
      
              * gtk/gtktreeview.c: Prep for type-ahead support.
      
              (gtk_tree_view_destroy): Destroy the search window explicitly.
              (gtk_tree_view_key_press): Minor change; prep for type-ahead
              (gtk_tree_view_ensure_interactive_directory): New function
              (gtk_tree_view_focus_out): Rework to handle new entry life-cycle.
              (gtk_tree_view_real_start_interactive_search): rework
              (gtk_tree_view_search_dialog_hide): ditto
              (gtk_tree_view_search_delete_event): ditto
              (gtk_tree_view_search_button_press_event): ditto
              (gtk_tree_view_search_key_press_event): ditto
              (gtk_tree_view_search_move): ditto
              (gtk_tree_view_search_init): ditto
      
              * gtk/gtktreeviewcolumn.c:
              (gtk_tree_view_column_cell_layout_clear): remove unused variable.
      
              * tests/testfilechooser.c: (main): change
      0aebe343
  23. 17 Mar, 2004 1 commit
  24. 15 Mar, 2004 1 commit
    • Jonathan Blandford's avatar
      Rewritten to use the GtkEntryCompletion API more correctly. Now pops down · 20808790
      Jonathan Blandford authored
      Mon Mar 15 01:50:28 2004  Jonathan Blandford  <jrb@gnome.org>
      
              * gtkfilechooserentry.c: Rewritten to use the GtkEntryCompletion
              API more correctly.  Now pops down the dropdown well.
      
              * gtkfilesystem.c (gtk_file_path_get_type): New boxed type for the
              FilePath.
      
              * test/testfilechooser.c: disable preview widget temporarily.
              It's not representative of a good preview widget.
      20808790
  25. 10 Mar, 2004 2 commits
    • Morten Welinder's avatar
      Add support for --multiple. · 4061a444
      Morten Welinder authored
      2004-03-10  Morten Welinder  <terra@gnome.org>
      
      	* tests/testfilechooser.c (main): Add support for --multiple.
      4061a444
    • 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
  26. 09 Mar, 2004 1 commit
  27. 08 Mar, 2004 2 commits
    • 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
    • Tor Lillqvist's avatar
      Correct localtime_r() emulation on Win32. Remove a couple of unnecessary · 9d55608c
      Tor Lillqvist authored
      2004-03-08  Tor Lillqvist  <tml@iki.fi>
      
      	* tests/testfilechooser.c: Correct localtime_r() emulation on Win32.
      	Remove a couple of unnecessary Win32-only includes.
      9d55608c
  28. 06 Mar, 2004 1 commit
  29. 03 Mar, 2004 2 commits
    • Morten Welinder's avatar
      Plug leak. · eb7f75b7
      Morten Welinder authored
      2004-03-03  Morten Welinder  <terra@gnome.org>
      
      	* tests/testfilechooser.c (update_preview_cb): Plug leak.
      eb7f75b7
    • 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
  30. 02 Mar, 2004 3 commits
    • Owen Taylor's avatar
      Move the /nonexistant stuff out of the main window, keep the main window · ce52e077
      Owen Taylor authored
      Tue Mar  2 16:47:40 2004  Owen Taylor  <otaylor@redhat.com>
      
              * tests/testfilechooser.c (set_filename_existing_nonexistent_cb):
              Move the /nonexistant stuff out of the main window,
              keep the main window somewhat normal looking.
      ce52e077
    • Federico Mena Quintero's avatar
      Don't update the save folder combo if we are already switching folders; · 9133c58b
      Federico Mena Quintero authored
      2004-03-02  Federico Mena Quintero  <federico@ximian.com>
      
      	* gtk/gtkfilechooserdefault.c
      	(gtk_file_chooser_default_set_current_folder): Don't update the
      	save folder combo if we are already switching folders; based on a
      	patch by Jonathan Blandford.
      
      	* gtk/gtkfilechooserdefault.c (shortcuts_add_current_folder):
      	Handle failure to insert the path.  Based on a patch by Morten
      	Welinder attached to bug #135380.
      
      	* tests/testfilechooser.c (extra_widget_create): Add a bunch of
      	buttons to test various things.
      9133c58b
    • Jonathan Blandford's avatar
      improve tests a little. · fe8838bc
      Jonathan Blandford authored
      Tue Mar  2 14:38:10 2004  Jonathan Blandford  <jrb@redhat.com>
      
              * tests/testfilechooser.c (main): improve tests a little.
      fe8838bc