1. 20 Nov, 2004 1 commit
    • Federico Mena Quintero's avatar
      Merged from gtk-2-4: · 038236d4
      Federico Mena Quintero authored
      2004-11-19  Federico Mena Quintero  <federico@ximian.com>
      
      	Merged from gtk-2-4:
      
      	Fix #158475:
      
      	* gtk/gtkpathbar.c (make_directory_button): Make the button a drag
      	source.
      	(button_drag_data_get_cb): New callback to let us drag the
      	button's path as a text/uri-list.
      038236d4
  2. 28 Oct, 2004 1 commit
  3. 26 Sep, 2004 2 commits
  4. 21 Sep, 2004 1 commit
  5. 25 Aug, 2004 1 commit
  6. 14 Aug, 2004 1 commit
    • Tor Lillqvist's avatar
      gtk/gtkfilechooserdefault.c (shortcuts_append_home, · ae6d3a22
      Tor Lillqvist authored
      2004-08-14  Tor Lillqvist  <tml@iki.fi>
      
      	* gtk/gtkfilechooserdefault.c (shortcuts_append_home,
      	shortcuts_append_desktop, set_local_only)
      	* gtk/gtkfilesystemwin32.c (gtk_file_system_win32_render_icon)
      	* gtk/gtkpathbar.c (find_button_type, _gtk_path_bar_set_file_system):
      	Guard against g_get_home_dir() returning NULL. (#150007)
      ae6d3a22
  7. 09 Aug, 2004 1 commit
    • Matthias Clasen's avatar
      Add hidden aliases for exported symbols which are used internally in order · 3612aee5
      Matthias Clasen authored
      Mon Aug  9 12:48:04 2004  Matthias Clasen  <maclas@gmx.de>
      
      	Add hidden aliases for exported symbols which are
      	used internally in order to get rid of many PLT
      	entries.  (#145519, Arjan van de Ven)
      
      	* gtk/Makefile.am: Add rules to generate gtk.def and
      	from gtk.symbols, and make make check check the abi
      	with abicheck.sh.
      	(gtk_private_h_sources): Add gtkinternals.h
      	(gtk_built_private_headers): Add gtkalias.h
      	(gtk_extra_sources): Add gtk.symbols
      	(EXTRA_DIST): Add makegtkalias.pl and abicheck.sh
      
      	* gtk/gtk.symbols: New file. Definition of the GTK+ ABI.
      	The file can be processed by cpp to filter out certain
      	subsets of symbols.
      
      	* gtk/abicheck.sh: New file. Script to check the actually
      	symbols exported from libgtk-x11.2.0.so against the symbols
      	found in gtk.symbols.
      
      	* gtk/makegtkalias.pl: New file. Perl script to generate the
      	header containing the alias definitions for internally used
      	exported symbols from a list of symbols.
      
      	* gtk/gtkinternals.h: New file. An uninstalled header listing
      	symbols which must be exported for some reason and do not appear
      	in any other header.
      
      	* gtk/*.c: Include gtkalias.h
      3612aee5
  8. 14 Apr, 2004 1 commit
  9. 13 Apr, 2004 1 commit
  10. 06 Apr, 2004 1 commit
  11. 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
  12. 17 Mar, 2004 1 commit
  13. 15 Mar, 2004 3 commits
    • Federico Mena Quintero's avatar
      Only show the title string in OPEN/SELECT_FOLDER mode as it's · 77c70924
      Federico Mena Quintero authored
      Mon Mar 15 12:51:17 2004  Jonathan Blandford  <jrb@gnome.org>
      
      	* gtk/gtkfilechooserdefault.c (location_popup_handler): Only show
      	the title string in OPEN/SELECT_FOLDER mode as it's open-specific.
      	Put a blank title for SAVE/CREATE_FOLDER; we are in string freeze,
      	so we'll fix it for 2.4.1 as #137272.
      
      	* gtk/gtkpathbar.c (gtk_path_bar_scroll_down): calculate
      	space_available correctly for RTL mode.  w/o this, you can't
      	scroll down again.  Fixes #137021.
      
      2004-03-15  Federico Mena Quintero  <federico@ximian.com>
      
      	* gtk/gtkpathbar.c (gtk_path_bar_scroll_up): Queue a resize.
      	(gtk_path_bar_scroll_down): Likewise.
      77c70924
    • Federico Mena Quintero's avatar
      Allow the path to be NULL, so that people can ask for information about a · 084bb2fe
      Federico Mena Quintero authored
      2004-03-14  Federico Mena Quintero  <federico@ximian.com>
      
      	* gtk/gtkfilesystem.c (gtk_file_folder_get_info): Allow the path
      	to be NULL, so that people can ask for information about a
      	parent-less file system root (e.g. get_info (get_folder ("/"), NULL)).
      
      	* gtk/gtkfilesystemunix.c (gtk_file_folder_unix_get_info): Allow
      	the condition describe above.
      
      	* gtk/gtkfilechooserdefault.c (get_file_info): Allow getting
      	information of root paths.
      
      	* gtk/gtkpathbar.c (_gtk_path_bar_set_path): Handle root paths correctly.
      084bb2fe
    • Owen Taylor's avatar
      Add _gtk_path_bar_up()/ _gtk_path_bar_down(). · f8b3e6fe
      Owen Taylor authored
      Sun Mar 14 21:03:15 2004  Owen Taylor  <otaylor@redhat.com>
      
              * gtk/gtkpathbar.[ch]: Add _gtk_path_bar_up()/
              _gtk_path_bar_down().
      
              * gtk/gtkfilechooserdefault.c: Use _gtk_path_bar_up()/
              _gtk_path_bar_down() as bindings for Alt-Up
              and new Alt-Down. (Partly based on a patch by
              Mark McLoughlin, #136987)
      f8b3e6fe
  14. 12 Mar, 2004 1 commit
    • Owen Taylor's avatar
      Swap GTK_ARROW_LEFT and GTK_ARROW_RIGHT for GTK_TEXT_DIR_LTR. (#129159, · dcb6900c
      Owen Taylor authored
      Fri Mar 12 17:20:15 2004  Owen Taylor  <otaylor@redhat.com>
      
              * gtk/gtkarrow.c (gtk_arrow_expose): Swap GTK_ARROW_LEFT
              and GTK_ARROW_RIGHT for GTK_TEXT_DIR_LTR. (#129159,
              Semion Chichelnitsky)
      
              * gtk/gtkpathbar.c gtk/gtktoolbar.c: Remove no-longer-needed
              gtk_toolbar_direction-changed handlers and explicit
              flipping of GtkArrow widgets.
      dcb6900c
  15. 11 Mar, 2004 1 commit
    • Morten Welinder's avatar
      Plug leak. · 83384bd0
      Morten Welinder authored
      2004-03-11  Morten Welinder  <terra@gnome.org>
      
      	* gtk/gtkpathbar.c (_gtk_path_bar_set_file_system): Plug leak.
      83384bd0
  16. 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
  17. 09 Mar, 2004 2 commits
    • Jonathan Blandford's avatar
      Encapsulate all of the information about a button in a struct instead of · 58d6014c
      Jonathan Blandford authored
      Tue Mar  9 16:19:09 2004  Jonathan Blandford  <jrb@gnome.org>
      
              * gtk/gtkpathbar.c (struct _ButtonData): Encapsulate all of the
              information about a button in a struct instead of ugly
              g_object_set_data.
              (gtk_path_bar_size_request): Use ButtonData.
              (gtk_path_bar_update_slider_buttons): ditto
              (gtk_path_bar_size_allocate): ditto
              (gtk_path_bar_remove): ditto
              (gtk_path_bar_forall): ditto
              (gtk_path_bar_scroll_down): ditto
              (gtk_path_bar_clear_buttons): ditto
              (button_clicked_cb): ditto.  Also, add an ignore_changes variable
              (button_data_free): destroy ButtonData
              (update_button_appearance): Use ButtonData
              (make_directory_button): ditto
              (gtk_path_bar_check_parent_path): ditto
              (_gtk_path_bar_set_path): ditto
      58d6014c
    • Jonathan Blandford's avatar
      unref the correct icon. · 1aae6878
      Jonathan Blandford authored
      Tue Mar  9 11:01:45 2004  Jonathan Blandford  <jrb@gnome.org>
      
              * gtk/gtkpathbar.c (gtk_path_bar_finalize): unref the correct icon.
      1aae6878
  18. 08 Mar, 2004 3 commits
    • Federico Mena Quintero's avatar
      Patch "1a" from #136185, by Morten Welinder. · 8383c8f7
      Federico Mena Quintero authored
      2004-03-08  Federico Mena Quintero  <federico@ximian.com>
      
      	Patch "1a" from #136185, by Morten Welinder.
      
      	* gtk/gtkfilechooserdefault.c (get_file_info): Take in an argument
      	that says whether the caller just wants the display name.
      	(shortcuts_insert_path): We only want the name in the call to
      	get_file_info().
      
      	* gtk/gtkpathbar.c (_gtk_path_bar_set_path): Don't request more
      	info than needed from the file_folder.
      8383c8f7
    • Morten Welinder's avatar
      If we fail, leave widget unchanged. Explicitly verify final directory. · d558abfe
      Morten Welinder authored
      2004-03-08  Morten Welinder  <terra@gnome.org>
      
      	* gtk/gtkpathbar.c (_gtk_path_bar_set_path): If we fail, leave
      	widget unchanged.  Explicitly verify final directory.
      d558abfe
    • 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
  19. 06 Mar, 2004 1 commit
  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. 01 Mar, 2004 1 commit
    • Morten Welinder's avatar
      Simplify semantics and check for errors. · 8ddff5b0
      Morten Welinder authored
      2004-03-01  Morten Welinder  <terra@gnome.org>
      
      	* gtk/gtkfilesystemmodel.c (file_model_node_is_visible): Simplify
      	semantics and check for errors.
      
      	* gtk/gtkpathbar.c (gtk_path_bar_set_path): Propagate errors.
      
      	* gtk/gtkfilefilter.c (gtk_file_filter_filter): Don't crash if
      	display_name is NULL.
      8ddff5b0
  23. 25 Feb, 2004 1 commit
    • Jonathan Blandford's avatar
      use gtk_widget_push/pop_composite_child around internal buttons. · 2ef8bbc9
      Jonathan Blandford authored
      Wed Feb 25 03:52:58 2004  Jonathan Blandford  <jrb@gnome.org>
      
              * gtk/gtkpathbar.c: use gtk_widget_push/pop_composite_child around
              internal buttons.
      
              * gtk/gtkfilechooserdefault.c (struct _GtkFileChooserDefault):
              rename some widgets to make it clear where they are packed.
              (update_appearance): New function to handle all the 'logic' of
              layout in one place.  We aren't trying to keep all our properties
              in sync.
              (gtk_file_chooser_default_set_property): use update_appearance()
      2ef8bbc9
  24. 23 Feb, 2004 3 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
      for (i = 0; i < 10; i++) g_print ("I will compile before committing.\n"); · 8f3d4b4b
      Jonathan Blandford authored
      Mon Feb 23 02:26:53 2004  Jonathan Blandford  <jrb@gnome.org>
      
              * gtk/gtkpathbar.c (gtk_path_bar_finalize):
              for (i = 0; i < 10; i++)
                g_print ("I will compile before committing.\n");
      8f3d4b4b
    • 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
  25. 22 Feb, 2004 1 commit
    • Matthias Clasen's avatar
      Fix bug 134982, reported by Morten Welinder: · e9a92e6e
      Matthias Clasen authored
      Mon Feb 23 00:38:21 2004  Matthias Clasen  <maclas@gmx.de>
      
      	Fix bug 134982, reported by Morten Welinder:
      
      	* gtk/gtkpathbar.c (gtk_path_bar_destroy):
      	* gtk/gtktooltips.c (gtk_tooltips_destroy):
      	* gtk/gtkinvisible.c (gtk_invisible_destroy): Chain up to the
      	parent's ::destroy handler.
      
      	* gdk/gdkdisplay.c (gdk_display_dispose): Chain up to the
      	parent's ::dispose handler.
      e9a92e6e
  26. 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