1. 06 Jan, 2006 2 commits
  2. 07 Nov, 2005 1 commit
  3. 26 Oct, 2005 1 commit
  4. 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
      	* 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
      	(dialog_current_folder_changed_cb): Turn on our
      	folder_has_been_set flag.
  5. 13 Sep, 2005 1 commit
  6. 19 Aug, 2005 1 commit
  7. 20 Jul, 2005 1 commit
  8. 13 Jun, 2005 1 commit
  9. 07 Jun, 2005 1 commit
  10. 18 May, 2005 1 commit
  11. 16 May, 2005 1 commit
  12. 26 Mar, 2005 1 commit
  13. 23 Mar, 2005 1 commit
  14. 22 Mar, 2005 1 commit
  15. 20 Mar, 2005 1 commit
    • Matthias Clasen's avatar
      Make PLT-reduction work with gcc4, and don't include everything in · cca8dd63
      Matthias Clasen authored
      2005-03-20  Matthias Clasen  <mclasen@redhat.com>
      	Make PLT-reduction work with gcc4, and don't include
      	everything in gdkalias.h:
      	* gtk/grk.symbols: Group symbols by header and source file.
      	* gtk/makegtkalias.pl: Protect definitions by the same
      	preprocessor symbols used to guard the headers. Move
      	the alias declarations to a separate file which is
      	produced when calling makegtkalias.pl -def
      	* gdk/Makefile.am (gtkaliasdef.c): Add a rule to generate
      	this file.
      	* gtk/*.c: Include gtkalias.h after the other headers,
      	include gtkaliasdef.c at the bottom.
      	* gtk/*.h: Small cleanups.
  16. 11 Feb, 2005 1 commit
    • Matthias Clasen's avatar
      Complete the fix for #165770, Vincent Untz: · 1c10200c
      Matthias Clasen authored
      2005-02-11  Matthias Clasen  <mclasen@redhat.com>
      	Complete the fix for #165770, Vincent Untz:
      	* gtk/gtkfilechooserbutton.c (FALLBACK_ICON_SIZE): Make the
      	fallback size be 16, to be equal to the default for
      	GTK_ICON_SIZE_MENU (in gtkiconfactory.c:init_icon_sizes()).
      	(change_icon_theme): Use GTK_ICON_SIZE_MENU instead of
  17. 06 Jan, 2005 1 commit
    • James M. Cape's avatar
      Use default title if NULL is passed. · 977a557a
      James M. Cape authored
      2005-01-06  James M. Cape  <jcape@ignore-your.tv>
      	* gtk/gtkfilechooserbutton.c (gtk_file_chooser_button_new)
      	(gtk_file_chooser_button_new_with_backend): Use default title if
      	NULL is passed.
      	* docs/reference/gtk/tmpl/gtkfilechooserbutton.sgml: Make examples
      	match API.
  18. 03 Jan, 2005 1 commit
  19. 02 Jan, 2005 1 commit
    • Tor Lillqvist's avatar
      Add -lole32, needed for CoTaskMemFree in get_special_folder() below. · c668f46d
      Tor Lillqvist authored
      2005-01-02  Tor Lillqvist  <tml@iki.fi>
      	* gtk/Makefile.am (libgtk_target_ldflags): Add -lole32, needed for
      	CoTaskMemFree in get_special_folder() below.
      	* gtk/gtkfilesystem.h: Implement case-insensitive path compare on
      	Win32 using _gtk_file_system_win32_path_compare().
      	* gtk/gtk.symbols: Add _gtk_file_system_win32_path_compare.
      	* gtk/gtkfilechooserbutton.c (model_add_special)
      	* gtk/gtkfilechooserdefault.c (shortcuts_append_desktop): Use
      	_gtk_file_system_win32_get_desktop() to get correct Desktop folder
      	on Win32. (#144003)
      	* gtk/gtkfilesystemwin32.c: Remove unnecessary includes. Do
      	consider all drives "mounted", including floppies. Trying to
      	inspect the contents of a nonexistent floppy will cause errors
      	later that are handled normally, no need to avoid them
      	completely. Keep the drive type in the GtkFileSystemVolume.
      	Support UNC paths. (#161797) Fix error message capitalizations
      	as in gtkfilesystemunix.c.
  20. 16 Dec, 2004 4 commits
  21. 15 Dec, 2004 1 commit
    • James M. Cape's avatar
      Use a GtkComboBox in SELECT_FOLDER mode (#157726). · b418bf3a
      James M. Cape authored
      2004-12-15  James M. Cape  <jcape@ignore-your.tv>
              * gtk/gtkfilechooserbutton.c (struct _GtkFileChooserButtonPrivate)
              (get_icon_theme) (get_display_name_for_path) (model_get_type_position)
              (model_free_row_data) (model_add_special) (model_add_other)
              (model_add_volumes) (model_add_bookmarks)
              (model_update_current_folder) (model_remove_rows)
              (filter_model_visible_func) (combo_box_row_separator_func)
              (name_cell_data_func) (update_combo_box) (fs_volumes_changed_cb)
              (fs_bookmarks_changed_cb) (combo_box_changed_cb)
              (change_icon_size): Use a GtkComboBox in SELECT_FOLDER mode (#157726).
              * gtk/gtkfilechooserbutton.c:
              * gtk/gtkfilechooserbutton.h (gtk_file_chooser_button_new)
              (gtk_file_chooser_button_new_with_backend): Add @action to constructors
              to match other GtkFileChooser impls. API CHANGE.
              * docs/tools/widgets.c (create_file_button):
              * tests/testfilechooserbutton.c (main): Update callers.
              * docs/reference/gtk/tmpl/gtkfilechooserbutton.sgml: Reflect API
              * tests/testfilechooserbutton.c: Add LGPL license.
              (main): Added GOption parser for --backend and --right-to-left cmd line
              (del_pwds_parent_as_shortcut_clicked_cb) (tests_button_clicked_cb):
              Add shortcut_folders test.
              (chooser_current_folder_changed_cb) (chooser_selection_changed_cb)
              (chooser_file_activated_cb) (chooser_update_preview_cb): Print URIS,
              not filenames.
  22. 30 Nov, 2004 1 commit
    • James M. Cape's avatar
      removed "GtkFileChooserButton:active" property and getter/setter. · 1b45c640
      James M. Cape authored
      2004-11-30  James M. Cape  <jcape@ignore-your.tv>
              * gtk/gtkfilechooserbutton.h (gtk_file_chooser_button_get_active)
              * gtk/gtkfilechooserbutton.c (gtk_file_chooser_button_class_init)
              * docs/reference/gtk/gtk-sections.txt:
              * docs/reference/gtk/tmpl/gtkfilechooserbutton.sgml:
              * gtk/gtk.symbols: removed "GtkFileChooserButton:active" property and
              * gtk/gtkfilechooserbutton.c (struct _GtkFileChooserButtonPrivate)
              (button_toggled_cb) (dialog_response_cb) (button_notify_active_cb)
              (gtk_file_chooser_button_init) (button_clicked_cb)
              (gtk_file_chooser_button_show): Use a GtkButton instead of a
              (struct _GtkFileChooserButtonPrivate)
              (gtk_file_chooser_button_destroy) (gtk_file_chooser_button_style_set)
              (gtk_file_chooser_button_screen_changed): Don't bother with the
              (remove_settings_signal) (settings_notify_cb) (check_icon_theme):
              Don't use GtkSettings at all, just call change_icon_theme() directly.
              (struct _GtkFileChooserButtonPrivate)
              (entry_changed_cb) (update_idler) (update_entry) (update_dialog)
              (dialog_selection_changed_cb) (dialog_response_cb)
              (entry_size_allocate_cb): Remove all references to the now-defunct
              entry, store the old path (to support "Cancel") in an instance member.
              (update_label_and_image) (update_label) (update_image)
              (gtk_file_chooser_button_init) (dialog_response_cb)
              (dialog_selection_changed_cb): Merge label/image updates, only display
              the filename (not the whole path, fixes #157725).
              (struct _GtkFileChooserButtonPrivate)
              (dialog_selection_changed_proxy_cb): Merge "selection-changed"
              handlers, block while dialog is visible (fixes #158482).
              * tests/testfilechooserbutton.c (delete_event_cb)
              (properties_button_clicked_cb) (print_selected_path_clicked_cb)
              (tests_button_clicked_cb) (main): Add per-chooser "tests" window,
              don't delete on WM close, update properties_button_clicked_cb()
              "delete-event" callback.
  23. 19 Nov, 2004 1 commit
    • Manish Singh's avatar
      gdk/linux-fb/gdkgc-fb.c gdk/win32/gdkgc-win32.c · 60b30ff5
      Manish Singh authored
      Fri Nov 19 14:54:09 2004  Manish Singh  <yosh@gimp.org>
              * gdk/linux-fb/gdkgc-fb.c
              * gdk/win32/gdkgc-win32.c
              * gdk/win32/gdkwindow-win32.c
              * gtk/gtkaboutdialog.c
              * gtk/gtkaction.c
              * gtk/gtkactiongroup.c
              * gtk/gtkcellrendererprogress.c
              * gtk/gtkcellview.c
              * gtk/gtkcolorbutton.c
              * gtk/gtkcombobox.c
              * gtk/gtkcomboboxentry.c
              * gtk/gtkentrycompletion.c
              * gtk/gtkfilechooserbutton.c
              * gtk/gtkmenutoolbutton.c
              * gtk/gtkrc.c
              * gtk/gtksettings.c
              * gtk/gtkstyle.c
              * gtk/gtktoggletoolbutton.c
              * gtk/gtktoolbutton.c
              * gtk/gtktoolitem.c
              * gtk/gtktreemodelfilter.c
              * gtk/gtktreeselection.c
              * gtk/gtktreeviewcolumn.c
              * gtk/gtkuimanager.c: get rid of unnecessary casts.
              * gtk/gtkfilechooserbutton.c (gtk_file_chooser_button_set_property):
              cast away the const for g_value_set_enum. This is after the g_warning,
              so this is a hack to begin with.
              * gtk/gtkfilechooserdefault.c (gtk_file_chooser_default_set_property):
              add a cast to GTK_FILE_CHOOSER for impl here.
  24. 11 Nov, 2004 1 commit
  25. 10 Nov, 2004 1 commit
    • Matthias Clasen's avatar
      Remove debugging printfs. · 384b1c48
      Matthias Clasen authored
      2004-11-09  Matthias Clasen  <mclasen@redhat.com>
      	* gtk/gtkfilechooserbutton.c (update_idler): Remove debugging
  26. 08 Nov, 2004 1 commit
  27. 07 Nov, 2004 1 commit
  28. 03 Nov, 2004 1 commit
  29. 02 Nov, 2004 1 commit
    • Matthias Clasen's avatar
      Fix a doc comment. · 1a8de557
      Matthias Clasen authored
      2004-11-02  Matthias Clasen  <mclasen@redhat.com>
      	* gtk/gtkfilechooserbutton.c (gtk_file_chooser_button_class_init):
      	Fix a doc comment.
  30. 01 Nov, 2004 1 commit
    • Matthias Clasen's avatar
      Move some docs inline. · 63360de5
      Matthias Clasen authored
      2004-11-01  Matthias Clasen  <mclasen@redhat.com>
      	* gtk/tmpl/gtkfilechooserbutton.sgml: Move some docs inline.
  31. 26 Oct, 2004 2 commits
    • Matthias Clasen's avatar
      Add missing includes. (#156503, Kazuki IWAMOTO) · d8163210
      Matthias Clasen authored
      2004-10-26  Matthias Clasen  <mclasen@redhat.com>
      	* gtk/gtkmessagedialog.c:
      	* gtk/gtkfilechooserbutton.c: Add missing includes.  (#156503, Kazuki IWAMOTO)
    • James M. Cape's avatar
      Rework of GtkFileChooserButton, some cleanups. Fixes #154388, #154390, · ede3c399
      James M. Cape authored
      2004-10-25  James M. Cape  <jcape@ignore-your.tv>
      	Rework of GtkFileChooserButton, some cleanups. Fixes #154388,
      	#154390, #154390, #156272.
      	* docs/reference/gtk/gtk-docs.sgml: Moved GtkFileChooserButton
      	below GtkFileChooser.
      	* docs/reference/gtk/gtk-sections.txt: Added
      	gtk_label_set_width_chars(), gtk_label_get_width_chars().
      	* docs/reference/gtk/gtk.types: Added
      	* docs/reference/gtk/tmpl/gtkaboutdialog.sgml: Add
      	"logo-icon-name" property.
      	* docs/reference/gtk/tmpl/gtkcellview.sgml: Updates for
      	(b/c of get_type() inclusion above).
      	* docs/reference/gtk/tmpl/gtkfilechooserbutton.sgml:
      	* docs/reference/gtk/tmpl/gtklabel.sgml: Add "width-chars"
      	* docs/reference/gtk/tmpl/gtkcellrenderercombo.sgml: Added.
      	* gtk/gtkentrycompletion.c:
      	(_gtk_entry_completion_popdown): Don't show if the entry isn't
      	* gtk/gtkfilechooserbutton.[c,h]: (*): About 45%
      	rewritten, adds "width-chars" property, icons, working save
      	modes, volume/Home/Desktop friendly-naming support.
      	* gtk/gtklabel.[c,h]:
      	(gtk_label_class_init), (gtk_label_init),
      	(gtk_label_get_property), (gtk_label_set_property),
      	(gtk_label_get_width_chars), (gtk_label_set_width_chars),
      	(gtk_label_size_request): Add "width-chars" property.
      	* tests/testfilechooserbutton.c: Update, use 4 different buttons
      	for the different ACTIONs.
      	* gtk/.cvsignore: Ignore gtk-update-icon-cache.
      	* tests/.cvsignore: Ignore testimage.
  32. 22 Oct, 2004 1 commit
    • Matthias Clasen's avatar
      Use the new file DND api. · a811584d
      Matthias Clasen authored
      2004-10-22  Matthias Clasen  <mclasen@redhat.com>
      	* gtk/gtkfilechooserbutton.c (gtk_file_chooser_button_drag_data_received)
      	(gtk_file_chooser_button_init): Use the new file DND api.
      	* gtk/gtkdnd.h:
      	* gtk/gtkdnd.c (gtk_drag_dest_add_uri_targets)
      	* gtk/gtkselection.h:
      	* gtk/gtkselection.c (gtk_target_list_add_uri_targets):
      	(gtk_selection_data_get_uris): New functions to allow
      	handling file DND "without knowing jack shit".
      	* configure.in: Bump glib requirement to 2.5.4.
      	* gtk/gtkfilechooserdefault.c (shortcuts_drop_uris): Use
  33. 19 Sep, 2004 1 commit
  34. 17 Sep, 2004 1 commit
    • Matthias Clasen's avatar
      Remove leftover debug code. · 350559de
      Matthias Clasen authored
      2004-09-17  Matthias Clasen  <mclasen@redhat.com>
      	* gtk/gtkcellrenderertext.c (gtk_cell_renderer_text_render): Remove
      	leftover debug code.
      	Improve the behaviour of the file chooser in save mode. Fixes bugs
      	#151031, #151608, #151994 reported by Owen Taylor and Alexander
      	* gtk/gtkfilechooserdefault.c (gtk_file_chooser_default_set_property):
      	(location_entry_create): Propagate the action to the file
      	chooser entries.
      	(gtk_file_chooser_default_should_respond): Switch folders if
      	the user enters a directory name in the entry and clear the entry
      	after switching folders.
      	(gtk_file_chooser_default_should_respond, shortcuts_row_activated_cb):
      	Move focus to the file list when activating a shortcut.
      	(gtk_file_chooser_default_should_respond): Handle the case where the
      	user clicks on "Save" after selecting a folder in the file list.
      	* gtk/gtkfilechooserbutton.c (gtk_file_chooser_button_set_property):
      	Propagate the action to the file chooser entries.
      	* gtk/gtkfilechooserentry.h:
      	* gtk/gtkfilechooserentry.c (_gtk_file_chooser_entry_set_action):
      	(_gtk_file_chooser_entry_get_action): New functions to propagate
      	the GtkFileChooserAction of the file chooser to the file chooser
      	(check_completion_callback): If we are in save mode, only do
      	inline completion for directories.
  35. 01 Sep, 2004 1 commit