1. 16 Dec, 2004 2 commits
    • Matthias Clasen's avatar
      Add missing includes. · 521c21e0
      Matthias Clasen authored
      2004-12-15  Matthias Clasen  <mclasen@redhat.com>
      
      	* gtk/gtkfilechooserbutton.c: Add missing includes.
      521c21e0
    • Matthias Clasen's avatar
      Require glib 2.6.0 for g_filename_display_basename. · 55434ebd
      Matthias Clasen authored
      2004-12-15  Matthias Clasen  <mclasen@redhat.com>
      
      	* configure.in: Require glib 2.6.0 for
      	g_filename_display_basename.
      
      	* gtk/gtkentrycompletion.[hc]: Make the prefix parameter
      	to the insert-prefix signal a const gchar* instead of a
      	gchar*.  (#161415, Murray Cumming)
      	Also remove an unused static function.
      55434ebd
  2. 15 Dec, 2004 6 commits
    • Alexander Larsson's avatar
      Use g_filename_display_basename to calculate display name. · 408142e3
      Alexander Larsson authored
      2004-12-15  Alexander Larsson  <alexl@redhat.com>
      
      	* gtk/gtkfilesystemunix.c (gtk_file_folder_unix_get_info):
      	Use g_filename_display_basename to calculate display name.
      408142e3
    • Matthias Clasen's avatar
      Updates · 27ee5709
      Matthias Clasen authored
      27ee5709
    • Matthias Clasen's avatar
      Use _gtk_menu_item_popup_submenu() to make keynav into submenus work · 8b927c6f
      Matthias Clasen authored
      2004-12-15  Matthias Clasen  <mclasen@redhat.com>
      
      	* gtk/gtkmenushell.c (gtk_menu_shell_select_submenu_first)
      	(gtk_real_menu_shell_activate_current): Use
      	_gtk_menu_item_popup_submenu() to make keynav into submenus work
      	instantaneously, independent of the popup delay.  (#161140)
      
      	* gtk/gtkmenuitem.[hc]: _-prefix gtk_menu_item_popup_submenu() and
      	make it non-static.
      
      	* gtk/gtkmenuitem.c (gtk_menu_item_paint): Remove unused variables.
      8b927c6f
    • 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)
              (gtk_file_chooser_button_init)
              (gtk_file_chooser_button_file_chooser_iface_init)
              (gtk_file_chooser_button_add_shortcut_folder)
              (gtk_file_chooser_button_remove_shortcut_folder)
              (gtk_file_chooser_button_constructor)
              (gtk_file_chooser_button_set_property)
              (gtk_file_chooser_button_destroy)
              (gtk_file_chooser_button_finalize)
              (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
              change.
      
              * tests/testfilechooserbutton.c: Add LGPL license.
              (main): Added GOption parser for --backend and --right-to-left cmd line
              args.
              (add_pwds_parent_as_shortcut_clicked_cb)
              (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.
      b418bf3a
    • Matthias Clasen's avatar
      Don't try to filter if impl->current_filter is NULL. (#161329, R. · 43f85261
      Matthias Clasen authored
      2004-12-15  Matthias Clasen  <mclasen@redhat.com>
      
      	* gtk/gtkfilechooserdefault.c (get_is_file_filtered): Don't
      	try to filter if impl->current_filter is NULL.  (#161329,
      	R. McFarland)
      43f85261
    • Federico Mena Quintero's avatar
      Merged from gtk-2-4: · 9f558a15
      Federico Mena Quintero authored
      2004-12-14  Federico Mena Quintero  <federico@ximian.com>
      
      	Merged from gtk-2-4:
      
      	Fix #145470:
      
      	* gtk/gtkfilechooserdefault.c
      	(gtk_file_chooser_default_initial_focus): Queue a pending
      	operation to select the first row if we are not finished loading
      	yet.
      	(gtk_file_chooser_default_class_init): Override GtkWidget::map().
      	(gtk_file_chooser_default_map): New ::map() handler; refresh the
      	file and bookmark lists.
      
      	* gtk/gtkfilechooserdialog.c (gtk_file_chooser_dialog_class_init):
      	Override GtkWidget::map() and GtkWidget::unmap().
      	(gtk_file_chooser_dialog_constructor): Don't call initial_focus()
      	here.
      	(gtk_file_chooser_dialog_map): Map the file chooser widget if
      	needed.  Call initial_focus() here.
      	(gtk_file_chooser_dialog_unmap): Unmap the file chooser widget.
      	When we are re-mapped, the widget will get mapped as well and it
      	will have a chance to refresh.
      9f558a15
  3. 14 Dec, 2004 5 commits
    • Matthias Clasen's avatar
      Fix a typo · efea775d
      Matthias Clasen authored
      2004-12-14  Matthias Clasen  <mclasen@redhat.com>
      
      	* README.win32: Fix a typo
      
      	* README.in: Updates
      efea775d
    • Matthias Clasen's avatar
      Don't use gtk_cell_renderer_set_values(). · ed45e54c
      Matthias Clasen authored
      2004-12-14  Matthias Clasen  <mclasen@redhat.com>
      
      	* tests/testcombo.c (main): Don't use gtk_cell_renderer_set_values().
      ed45e54c
    • Matthias Clasen's avatar
      Bump version to 2.6.0 · 58d69919
      Matthias Clasen authored
      2004-12-14  Matthias Clasen  <mclasen@redhat.com>
      
      	* configure.in: Bump version to 2.6.0
      
      	* NEWS: Updates
      58d69919
    • Matthias Clasen's avatar
      Test oversized items. · 7e7c5358
      Matthias Clasen authored
      2004-12-14  Matthias Clasen  <mclasen@redhat.com>
      
      	* tests/testiconview.c: Test oversized items.
      7e7c5358
    • Matthias Clasen's avatar
      Add new symbols. · 5c19d9e4
      Matthias Clasen authored
      2004-12-14  Matthias Clasen  <mclasen@redhat.com>
      
      	* gtk/gtk.symbols: Add new symbols.
      
      	* gtk/gtkiconview.[hc]: Make the icon view lay out its
      	items in a grid, allocating multiple grid cells to oversized
      	items. Also convert hardwired spacing constants into
      	properties.  (#152483)
      5c19d9e4
  4. 13 Dec, 2004 15 commits
  5. 12 Dec, 2004 3 commits
    • Tor Lillqvist's avatar
      Fix date of last entry. · f68df9e0
      Tor Lillqvist authored
      f68df9e0
    • Tor Lillqvist's avatar
      gtk/gtkaccelmap.[ch] gtk/gtkfilechooser.[ch] gtk/gtkfilesel.c · f3da1705
      Tor Lillqvist authored
      2004-12-12  Tor Lillqvist  <tml@iki.fi>
      
      	* gtk/gtkaccelmap.[ch]
      	* gtk/gtkfilechooser.[ch]
      	* gtk/gtkfilesel.c
      	* gtk/gtkfilesystemwin32.c
      	* gtk/gtkiconfactory.[ch]
      	* gtk/gtkicontheme.[ch]
      	* gtk/gtkimage.[ch]
      	* gtk/gtkimmodule.c
      	* gtk/gtkmodules.c
      	* gtk/gtkrc.[ch]
      	* gtk/gtkuimanager.[ch]
      	* gtk/gtkwindow.[ch]
      	* gtk/updateiconcache.c
      	* gtk/gtk.symbols: Use gstdio wrappers. On Windows, convert
      	environment variables referring to pathnames from locale encoding
      	to UTF-8. As in GLib, in order to preserve Windows DLL ABI
      	stability, add binary compatibility versions of functions that
      	take file names as arguments, or return file names. Add a _utf8
      	suffix to the "real" such functions on Windows. The ABI
      	compatibility versions keep the old name.
      
      	* gtk/Makefile.am: Strip PRIVATE symbols from the GNU import
      	library.
      
      	* gtk/gtkiconcache.c (_gtk_icon_cache_new_for_path): Implement
      	file mapping on Win32.
      
      	* gtk/updateiconcache.c: Don't crash if invoked without
      	argument. Use binary mode when opening file.
      
      	* modules/engines/ms-windows/Theme/gtk-2.0/Makefile.am: Install
      	gtkrc in correct place, in <datadir>/themes/MS-Windows/gtk-2.0.
      f3da1705
    • Matthias Clasen's avatar
      Fix a copy-and-paste error, noticed by Robert Ögren. · ea3e4f72
      Matthias Clasen authored
      2004-12-12  Matthias Clasen  <mclasen@redhat.com>
      
      	* gtk/gtklabel.c (gtk_label_setup_mnemonic): Fix a
      	copy-and-paste error, noticed by Robert Ögren.
      ea3e4f72
  6. 11 Dec, 2004 1 commit
  7. 10 Dec, 2004 4 commits
    • Matthias Clasen's avatar
      Support no-Alt mnemnonics in menu bars (#101309, Owen Taylor) · f3a74ace
      Matthias Clasen authored
      2004-12-10  Matthias Clasen  <mclasen@redhat.com>
      
      	Support no-Alt mnemnonics in menu bars  (#101309, Owen Taylor)
      
      	* gtk/gtkwindow.c: Factor out mnemonic hash code into
      	a separate file.
      
      	* gtk/gtkmnemonichash.[hc]: Factored out mnemonic hash
      	code from gtkwindow.c.
      
      	* gtk/Makefile.am (gtk_c_sources): Add gtkmnemonichash.[hc].
      
      	* gtk/gtkmenushell.c (struct _GtkMenuShellPrivate): Give
      	menu shells their own mnemonic hash.
      
      	* gtk/gtkmenushell.h: Add private api to support mnemonics.
      
      	* gtk/gtklabel.c (gtk_label_setup_mnemonic): Add mnemonic to
      	the menushell mnemonic hash when inside a menu.
      f3a74ace
    • Manish Singh's avatar
      add recent new functions. · 5c98a5eb
      Manish Singh authored
      Fri Dec 10 13:59:32 2004  Manish Singh  <yosh@gimp.org>
      
              * gtk/gtk.symbols: add recent new functions.
      5c98a5eb
    • Matthias Clasen's avatar
      Revert the patch which added no-alt mnemonics, since it interfers badly · f5c7b5d2
      Matthias Clasen authored
      2004-12-10  Matthias Clasen  <mclasen@redhat.com>
      
      	* gtk/gtkwindow.c: Revert the patch which added no-alt
      	mnemonics, since it interfers badly with menus.  (#160911,
      	Jonathan Blandford)
      f5c7b5d2
    • Matthias Clasen's avatar
      Fix a property nick typo. · 50d8e17f
      Matthias Clasen authored
      2004-12-09  Matthias Clasen  <mclasen@redhat.com>
      
      	* gtk/gtklabel.c (gtk_label_class_init): Fix a property
      	nick typo.
      50d8e17f
  8. 09 Dec, 2004 4 commits
    • Matthias Clasen's avatar
      Apply a patch to reset the filter if an otherwise invisible file is · e83213d0
      Matthias Clasen authored
      2004-12-09  Matthias Clasen  <mclasen@redhat.com>
      
      	* gtk/gtkfilechooserdefault.c: Apply a patch to reset the
      	filter if an otherwise invisible file is selected via the
      	location popup.  (#159896, Carlos Garnacho Parro)
      e83213d0
    • Matthias Clasen's avatar
      Fix #145463, reported by Michael Natterer. · 788bec83
      Matthias Clasen authored
      2004-12-09  Matthias Clasen  <mclasen@redhat.com>
      
      	Fix #145463, reported by Michael Natterer.
      
      	* gtk/gtkcellrenderer.h (struct _GtkCellRenderer): Add an
      	editing flag to keep track of when editing is done.
      
      	* gtk/gtkcellrenderer.h:
      	* gtk/gtkcellrenderer.c (gtk_cell_renderer_stop_editing): New
      	function to replace gtk_cell_renderer_editing_canceled().
      	Deprecate gtk_cell_renderer_editing_canceled().
      
      	* gtk/gtkcellrenderertext.c (gtk_cell_renderer_text_editing_done):
      	* gtk/gtkcellrenderercombo.c (gtk_cell_renderer_combo_editing_done):
      	* gtk/gtktreeview.c (gtk_tree_view_stop_editing):
      	Use gtk_cell_renderer_stop_editing().
      788bec83
    • Matthias Clasen's avatar
      Add functions which allow faster insertion of rows in sorted list stores. · fa136147
      Matthias Clasen authored
      2004-12-09  Matthias Clasen  <mclasen@redhat.com>
      
      	* gtk/gtkliststore.h:
      	* gtk/gtkliststore.c (gtk_list_store_insert_with_values):
      	(gtk_list_store_insert_with_valuesv): Add functions which allow
      	faster insertion of rows in sorted list stores.  (#160063)
      fa136147
    • Matthias Clasen's avatar
      Fix a typo in the docs. (#160826, Jay Camp) · 4e957a8c
      Matthias Clasen authored
      2004-12-08  Matthias Clasen  <mclasen@redhat.com>
      
      	* gtk/gtkcombobox.c (gtk_combo_box_set_wrap_width): Fix a typo
      	in the docs.  (#160826, Jay Camp)
      4e957a8c