1. 23 Oct, 2003 9 commits
    • Kristian Rietveld's avatar
      Fix includes. · 3a5b5a0f
      Kristian Rietveld authored
      Thu Oct 23 20:21:16 2003  Kristian Rietveld  <kris@gtk.org>
      
      	* gtk/gtkcelllayout.c, gtk/gtkcellview.c gtk/gtkcellviewmenuitem.c,
      	gtk/gtkcombobox.c, gtk/gtkcomboboxentry.c, gtk/gtkentrycompletion.c,
      	gtk/gtktreemodelfilter.c, gtk/gtkcellrenderertoggle.c: Fix includes.
      3a5b5a0f
    • Raymond Penners's avatar
      0.5.1 · 432c583a
      Raymond Penners authored
      432c583a
    • cinamod's avatar
      update xp_theme_defs · 0aca654c
      cinamod authored
      0aca654c
    • Soeren Sandmann's avatar
      Partial update for 2.3.0. · 6c468a93
      Soeren Sandmann authored
      Thu Oct 23 15:13:56 2003  Soeren Sandmann  <sandmann@daimi.au.dk>
      
      	* NEWS: Partial update for 2.3.0.
      6c468a93
    • Owen Taylor's avatar
      Convert GtkOptionMenu to GtkComboBox. · 9e357252
      Owen Taylor authored
      Thu Oct 23 01:09:04 2003  Owen Taylor  <otaylor@redhat.com>
      
              * gtk/gtkfilechooserdefault.c: Convert GtkOptionMenu to
              GtkComboBox.
      9e357252
    • Owen Taylor's avatar
      cvsignore updates · 9bca8ece
      Owen Taylor authored
      9bca8ece
    • Owen Taylor's avatar
      gtk/gtkfilechooserutils.c gtk/gtkfilechooserprivate.[ch]: Basic framework · b3bae3b4
      Owen Taylor authored
      Wed Oct 22 23:20:04 2003  Owen Taylor  <otaylor@redhat.com>
      
              * gtk/gtkfilechooser.[ch] gtk/gtkfilefilter.[ch]
              gtk/gtkfilechooserwidget.[ch] gtk/gtkfilechooserdialog.[ch]:
              gtk/gtkfilechooserutils.c gtk/gtkfilechooserprivate.[ch]:
              Basic framework for the new file selector widget.
      
              * gtk/gtkfilechooserdefault.[ch] gtk/gtkcellrenderersep.[ch]
              gtk/gtkfilechooserentry.[ch] gtk/gtkfilesystemmodel.[ch]:
              Initial implementation of the GtkFileChooser user interface.
      
              * gtk/gtkfilesystemunix.[ch]: GtkFileSystem implementation
              for Unix files.
      
              * configure.in gtk/Makefile.am gtk/xdgmime: Build code
              for freedesktop.org MIME system on Unix.
      
              * tests/testfilechooser.c: Test program for GtkFileChooser
      
              * tests/prop-editor.c: Add support for properties on interfaces.
      b3bae3b4
    • Owen Taylor's avatar
      Fix some unused variables. · 3724a591
      Owen Taylor authored
      Tue Oct 21 16:12:51 2003  Owen Taylor  <otaylor@redhat.com>
      
              * demos/gtk-demo/menus.c (do_menus): Fix some unused
              variables.
      
              * gtk/gtkmain.c (_gtk_get_lc_ctype): Fix an unused
              variable warning
      3724a591
    • Federico Mena Quintero's avatar
      Renamed from GtkFileChooserImplDefault to GtkFileChooserDefault. · d7c1842b
      Federico Mena Quintero authored
      2003-10-22  Federico Mena Quintero  <federico@ximian.com>
      
      	* gtkfilechooserdefault.[ch]: Renamed from
      	GtkFileChooserImplDefault to GtkFileChooserDefault.
      d7c1842b
  2. 22 Oct, 2003 4 commits
  3. 21 Oct, 2003 3 commits
  4. 20 Oct, 2003 5 commits
    • Kristian Rietveld's avatar
      remove the completion timeout when the user pressed on Enter/ESC. Fixes · 5b9a4e69
      Kristian Rietveld authored
      Mon Oct 20 23:24:27 2003  Kristian Rietveld  <kris@gtk.org>
      
      	* gtk/gtkentry.c (gtk_entry_key_press): remove the completion
      	timeout when the user pressed on Enter/ESC. Fixes the bug where the
      	completion popup popped up after the user pressed on Enter (which is
      	just weird). Reported by the Epiphany people (all of them).
      5b9a4e69
    • Federico Mena Quintero's avatar
      New utility function. (gtk_file_system_gnome_vfs_get_folder): Use · 1e49d49a
      Federico Mena Quintero authored
      2003-10-20  Federico Mena Quintero  <federico@ximian.com>
      
      	* gtkfilesystemgnomevfs.c (folder_child_new): New utility
      	function.
      	(gtk_file_system_gnome_vfs_get_folder): Use folder_child_new().
      	(gtk_file_folder_gnome_vfs_get_info): Likewise.
      	(directory_load_callback): Likewise.
      	(monitor_callback): Likewise.
      
      	* TODO: Removed the item about factoring out the code that creates
      	FolderChild structures.
      1e49d49a
    • Soeren Sandmann's avatar
      Add support for OS X like sliding of toolbar items during drag and drop, · 7c659465
      Soeren Sandmann authored
      Mon Oct 20 20:27:22 2003  Soeren Sandmann  <sandmann@daimi.au.dk>
      
      	Add support for OS X like sliding of toolbar items during drag and
      	drop, (#110919, Dave Bordoley)
      
      	Make dnd highlighting the responsibility of the
      	application. (Fixes #116298, Owen Taylor)
      
      	* gtk/gtktoolbar.h: Add prototypes for new API.
      
      	* gtk/gtktoolbar.c
      	(physical_to_logical, logical_to_physical): new functions
      	converting between "position including placeholders" and "position
      	excluding placeholders".
      	(gtk_toolbar_class_init): remove drag_leave and drag_motion
      	handlers
      	(struct _ToolbarContent): new struct containing information
      	related to toolbar items.
      	(gtk_toolbar_highlight_drop_location): new public function
      	(gtk_toolbar_unhighlight_drop_location): new public function
      
      	* tests/testtoolbar.c
      	(toolbar_drag_motion, toolbar_drag_leave): new functions
      	(main): connect to dnd signals.  Make the "New" item expand to
      	make drag and drop more exciting.
      7c659465
    • Raymond Penners's avatar
      Scrollbar grippers · c7353d84
      Raymond Penners authored
      c7353d84
    • cinamod's avatar
      bump version # · aac86602
      cinamod authored
      aac86602
  5. 18 Oct, 2003 3 commits
    • Raymond Penners's avatar
      gtkrc · bd402829
      Raymond Penners authored
      bd402829
    • Raymond Penners's avatar
      Grippers · 52349beb
      Raymond Penners authored
      52349beb
    • Federico Mena Quintero's avatar
      Removed. (gtk_file_system_gnome_vfs_set_bookmarks): Removed. · b49a5ec5
      Federico Mena Quintero authored
      2003-10-17  Federico Mena Quintero  <federico@ximian.com>
      
      	* gtkfilesystemgnomevfs.c
      	(gtk_file_system_gnome_vfs_get_supports_bookmarks): Removed.
      	(gtk_file_system_gnome_vfs_set_bookmarks): Removed.
      	(gtk_file_system_gnome_vfs_add_bookmark): Implement.
      	(gtk_file_system_gnome_vfs_remove_bookmark): Implement.
      
      	* gtkfilechooserprivate.h (struct _GtkFileChooserIface): Replaced
      	the ::set_shortcut_folders() method with :;add_shortcut_folder()
      	and ::remove_shortcut_folder().
      
      	* gtkfilechooserutils.c (delegate_add_shortcut_folder): New function.
      	(delegate_remove_shortcut_folder): New function.
      	(delegate_list_shortcut_folders): New function.
      
      	* gtkfilechooserimpldefault.c (create_shortcuts_model): Insert the
      	Desktop directory as well.
      	(shortcuts_insert_path): Renamed from shortcuts_append_path; now
      	takes a position index instead of a parent node iter.  Also takes
      	a GError argument.
      	(struct _GtkFileChooserImplDefault): Removed the shortcuts_folder
      	list.  It is all kept in the model now.
      	(shortcuts_append_home): Save whether adding a shortcut for the
      	home directory was successful.
      	(shortcuts_append_desktop): Likewise for the desktop.
      	(shortcuts_append_file_system_roots): Count and save the number of
      	roots added.
      	(shortcuts_append_shortcut_folders): Removed.
      	(gtk_file_chooser_impl_default_add_shortcut_folder): Implement.
      	(shortcuts_append_bookmarks): Now that we don't have a bookmarks
      	parent node, don't expand the tree.
      	(add_bookmark_button_clicked_cb): Use gtk_file_system_add_bookmark().
      	(remove_bookmark_button_clicked_cb): Use gtk_file_system_remove_bookmark().
      	(gtk_file_chooser_impl_default_list_shortcut_folders): Get the
      	folders from the shortcuts model; we no longer keep a separate list.
      
      	* gtkfilesystem.h (struct _GtkFileSystemIface): Oops, there
      	shouldn't be shortcuts-related virtual methods here.
      
      	* gtkfilechooser.c (file_paths_to_strings): New helper function.
      	(gtk_file_chooser_get_filenames): Use file_paths_to_strings().
      	(gtk_file_chooser_get_uris): Likewise.
      	(gtk_file_chooser_set_shortcut_folders): Removed.
      	(gtk_file_chooser_list_shortcut_folders): Return a list of
      	strings, not of GtkFilePath*.
      	(gtk_file_chooser_list_shortcut_folder_uris): New function.
      	(gtk_file_chooser_add_shortcut_folder): New function.
      	(gtk_file_chooser_remove_shortcut_folder): New function.
      	(gtk_file_chooser_add_shortcut_folder_uri): New function.
      	(gtk_file_chooser_remove_shortcut_folder_uri): New function.
      	(_gtk_file_chooser_add_shortcut_folder): New function.
      	(_gtk_file_chooser_remove_shortcut_folder): New function.
      
      	* gtkfilechooser.h: New enum.
      
      	* gtkfilechooser.c (gtk_file_chooser_error_quark): New function.
      
      	* gtkfilesystem.c (gtk_file_system_get_supports_bookmarks): Removed.
      	(gtk_file_system_set_bookmarks): Removed.
      	(gtk_file_system_add_bookmark): New function.
      	(gtk_file_system_remove_bookmark): New function.
      
      	* gtkfilesystemunix.c
      	(gtk_file_system_unix_get_supports_bookmarks): Removed.
      	(gtk_file_system_unix_set_bookmarks): Removed.
      	(gtk_file_system_unix_add_bookmark): Just a stub for now.
      	(gtk_file_system_unix_remove_bookmark): Likewise.
      
      	* testfilechooser.c (main): Add a shortcut for testing purposes.
      b49a5ec5
  6. 17 Oct, 2003 1 commit
  7. 15 Oct, 2003 4 commits
    • Kristian Rietveld's avatar
      it's _set_active, not _set_active_item. · 7c4b8aef
      Kristian Rietveld authored
      Wed Oct 15 22:39:23 2003  Kristian Rietveld  <kris@gtk.org>
      
      	* gtk/gtkcomboboxentry.c (gtk_combo_box_entry_init): it's
      	_set_active, not _set_active_item.
      7c4b8aef
    • Kristian Rietveld's avatar
      add padding to the class structure. ditto. ditto. · 7cd9dc32
      Kristian Rietveld authored
      Wed Oct 15 22:31:09 2003  Kristian Rietveld  <kris@gtk.org>
      
      	* gtk/gtkcombobox.h: add padding to the class structure.
      	* gtk/gtkcomboboxentry.h: ditto.
      	* gtk/gtkentrycompletion.h: ditto.
      7cd9dc32
    • Kristian Rietveld's avatar
      mention in the docs that -1 is a valid value and what it means. · 8b34c308
      Kristian Rietveld authored
      Wed Oct 15 22:04:59 2003  Kristian Rietveld  <kris@gtk.org>
      
      	* gtk/gtkcombobox.c (gtk_combo_box_get_active),
      	(gtk_combo_box_set_active): mention in the docs that -1 is a valid
      	value and what it means.
      
      	* gtk/gtkcomboboxentry.c (gtk_combo_box_entry_init): set the active
      	item to -1 (default),
      	(gtk_combo_box_entry_active_changed): do nothing when the index is
      	< 0.
      8b34c308
    • Federico Mena Quintero's avatar
      Added a button to remove a bookmark. (remove_bookmark_button_clicked_cb): · 5a51188b
      Federico Mena Quintero authored
      2003-10-14  Federico Mena Quintero  <federico@ximian.com>
      
      	* gtkfilechooserimpldefault.c (create_shortcuts_tree): Added a
      	button to remove a bookmark.
      	(remove_bookmark_button_clicked_cb): New callback.
      	(shortcuts_append_bookmarks): Show/hide the bookmarks buttons
      	here, rather than in create_shortcuts_tree().
      	(shortcuts_append_path): Return whether the operation succeeded.
      	(shortcuts_selection_changed): Set the sensitivity of the button
      	used to remove a bookmark.
      	(shortcuts_append_bookmarks): Do not select the shortcuts folder
      	here; let the caller do it if needed.
      	(create_shortcuts_tree): Select the shortcuts folder here.
      	(bookmarks_changed_cb): Likewise.
      	(create_shortcuts_tree): Also set the sensitivity of the bookmarks
      	buttons.
      	(bookmarks_check_add_sensitivity): Renamed from
      	check_bookmarks_sensitivity().
      	(shortcuts_select_folder): Renamed from select_shortcuts_folder().
      	(bookmarks_check_add_sensitivity): The current_path may not be set
      	yet.
      	(shortcuts_append_bookmarks): Oops, remove all the bookmark rows,
      	not just the separator node.
      	(bookmarks_changed_cb): Set the sensitivity of the bookmarks
      	buttons.
      5a51188b
  8. 14 Oct, 2003 2 commits
  9. 13 Oct, 2003 9 commits
    • Federico Mena Quintero's avatar
      Don't do operations on windows if the tree view is not mapped. · f6bb7584
      Federico Mena Quintero authored
      2003-10-13  Federico Mena Quintero  <federico@ximian.com>
      
      	* gtk/gtktreeview.c (gtk_tree_view_real_collapse_row): Don't do
      	operations on windows if the tree view is not mapped.
      	(gtk_tree_view_button_press): Compare equal types of pointers, not
      	GtkWidget* vs. GtkTreeView*.
      f6bb7584
    • Federico Mena Quintero's avatar
      Walk the whole shortcuts model, not just the bookmarks part --- there is · 36eccd81
      Federico Mena Quintero authored
      2003-10-13  Federico Mena Quintero  <federico@ximian.com>
      
      	* gtkfilechooserimpldefault.c (check_bookmarks_sensitivity): Walk
      	the whole shortcuts model, not just the bookmarks part --- there
      	is no need to add bookmarks for "stock" volume items.
      	(gtk_file_chooser_impl_default_set_property): Oops, hide/show the
      	tree/list as appropriate for the folder_mode property.
      36eccd81
    • Kristian Rietveld's avatar
      remove the reset of first_sel_changed, as after the first popup the · 027d6900
      Kristian Rietveld authored
      Mon Oct 13 21:01:43 2003  Kristian Rietveld  <kris@gtk.org>
      
      	* gtk/gtkentrycompletion.c (gtk_entry_completion_popup): remove
      	the reset of first_sel_changed, as after the first popup the treeview
      	will always have a row selected and will thus not focus_to_cursor.
      
      	* gtk/gtkentry.c (keyval_is_cursor_move): new function to determine
      	whether the keyval should move the completion selection cursor (used
      	to avoid ending up with extreme cluttered code), also added
      	all KP_ equivalents of the keys here,
      	(gtk_entry_completion_key_press): Keynav tweaks based on comments
      	from Dave Bordoley and Marco Pesenti Gritti; add the -1 state
      	as possible current selection, implement Home/End keys, modified
      	the down key to stop cycling. Maybe page up/down should be implemented
      	at some later time.
      027d6900
    • Matthias Clasen's avatar
      Make it work as documented when pixmap or mask is NULL. (#124081) · 2baa63a1
      Matthias Clasen authored
      Mon Oct 13 20:58:07 2003  Matthias Clasen  <maclas@gmx.de>
      
      	* gdk/x11/gdkwindow-x11.c (gdk_window_set_icon): Make it work
      	as documented when pixmap or mask is NULL.  (#124081)
      2baa63a1
    • Kristian Rietveld's avatar
      Fix changelog. Doh. · a4508202
      Kristian Rietveld authored
      a4508202
    • Kristian Rietveld's avatar
      I overlooked an if when I was adding the signal block/unblock code. Oops. · f84b5d51
      Kristian Rietveld authored
      Mon Oct 13 20:21:38 2003  Kristian Rietveld  <kris@gtk.org>
      
      	* gtk/gtkentry.c (gtk_entry_set_text): I overlooked an if when
      	I was adding the signal block/unblock code. Oops. (Noticed by
      	Marco Pesenti Gritti).
      f84b5d51
    • Kristian Rietveld's avatar
      enable GTK_DISABLE_DEPRECATED again, (set_interp_type), (main): port over · 9607ba37
      Kristian Rietveld authored
      Mon Oct 13 20:21:55 2003  Kristian Rietveld  <kris@gtk.org>
      
      	* demos/testpixbuf-scale.c: enable GTK_DISABLE_DEPRECATED again,
      	(set_interp_type), (main): port over from option menu to GtkComboBox.
      9607ba37
    • Kristian Rietveld's avatar
      Still uses option menus, so turn off GTK_DISABLE_DEPRECATED. · d4627e1d
      Kristian Rietveld authored
      Mon Oct 13 19:41:55 2003  Kristian Rietveld  <kris@gtk.org>
      
      	* tests/testmenus.c: Still uses option menus, so turn off
      	GTK_DISABLE_DEPRECATED.
      d4627e1d
    • Federico Mena Quintero's avatar
      Read the file's information from gnome-vfs if we haven't finished loading · 1d8d7be3
      Federico Mena Quintero authored
      2003-10-12  Federico Mena Quintero  <federico@ximian.com>
      
      	* gtkfilesystemgnomevfs.c (gtk_file_folder_gnome_vfs_get_info):
      	Read the file's information from gnome-vfs if we haven't finished
      	loading the directory yet.
      
      	* gtkfilechooserimpldefault.c (tree_selection_changed): Set the
      	sensitivity of the bookmarks button depending on whether the
      	current folder already exists in the bookmarks list.
      	(shortcuts_selection_changed): Re-select the appropriate shortcuts
      	folder if the user clicks on the separator row.
      	(set_list_model): New function; moved the code from
      	tree_selection_changed().
      	(tree_selection_changed): Use set_list_model().
      	(create_folder_tree): Show the tree model only if we are in folder
      	mode.
      	(create_file_list): Show the list model only if we are not in
      	folder mode.
      1d8d7be3