summaryrefslogtreecommitdiff
path: root/ChangeLog.pre-2-6
Commit message (Collapse)AuthorAgeFilesLines
* 2.6.0Matthias Clasen2004-12-161-0/+4
|
* Only unblock the handlers if they are blocked.Matthias Clasen2004-12-161-0/+3
| | | | | | | 2004-12-16 Matthias Clasen <mclasen@redhat.com> * gtk/gtkfilechooserbutton.c (dialog_response_cb): Only unblock the handlers if they are blocked.
* Don't crash if enable_search is FALSE. (#161267, Jorn Baayen)Matthias Clasen2004-12-161-0/+10
| | | | | | | | | | 2004-12-16 Matthias Clasen <mclasen@redhat.com> * gtk/gtktreeview.c (gtk_tree_view_real_start_interactive_search): Don't crash if enable_search is FALSE. (#161267, Jorn Baayen) * gtk/gtkfilechooserbutton.c (gtk_file_chooser_button_mnemonic_activate): Re-fix #152925, reported by Dennis Cranston.
* Add missing includes.Matthias Clasen2004-12-161-0/+2
| | | | | | 2004-12-15 Matthias Clasen <mclasen@redhat.com> * gtk/gtkfilechooserbutton.c: Add missing includes.
* Require glib 2.6.0 for g_filename_display_basename.Matthias Clasen2004-12-161-0/+10
| | | | | | | | | | | | 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.
* Use g_filename_display_basename to calculate display name.Alexander Larsson2004-12-151-0/+5
| | | | | | | 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.
* UpdatesMatthias Clasen2004-12-151-0/+2
|
* Use _gtk_menu_item_popup_submenu() to make keynav into submenus workMatthias Clasen2004-12-151-0/+12
| | | | | | | | | | | | | | 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.
* Use a GtkComboBox in SELECT_FOLDER mode (#157726).James M. Cape2004-12-151-0/+41
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* Don't try to filter if impl->current_filter is NULL. (#161329, R.Matthias Clasen2004-12-151-0/+6
| | | | | | | | 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)
* Merged from gtk-2-4:Federico Mena Quintero2004-12-151-0/+24
| | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* Fix a typoMatthias Clasen2004-12-141-0/+4
| | | | | | | | 2004-12-14 Matthias Clasen <mclasen@redhat.com> * README.win32: Fix a typo * README.in: Updates
* Don't use gtk_cell_renderer_set_values().Matthias Clasen2004-12-141-0/+6
| | | | | | 2004-12-14 Matthias Clasen <mclasen@redhat.com> * tests/testcombo.c (main): Don't use gtk_cell_renderer_set_values().
* Bump version to 2.6.0Matthias Clasen2004-12-141-2/+4
| | | | | | | | 2004-12-14 Matthias Clasen <mclasen@redhat.com> * configure.in: Bump version to 2.6.0 * NEWS: Updates
* Test oversized items.Matthias Clasen2004-12-141-0/+2
| | | | | | 2004-12-14 Matthias Clasen <mclasen@redhat.com> * tests/testiconview.c: Test oversized items.
* Add new symbols.Matthias Clasen2004-12-141-0/+9
| | | | | | | | | | | 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)
* s/maximal/maximum/g (#161195, David Lodge)Matthias Clasen2004-12-131-0/+2
| | | | | | 2004-12-13 Matthias Clasen <mclasen@redhat.com> * gtk/gtklabel.c: s/maximal/maximum/g (#161195, David Lodge)
* Reintroduce the reverted change, since it is necessary to prevent lostMatthias Clasen2004-12-131-0/+4
| | | | | | | | 2004-12-13 Matthias Clasen <mclasen@redhat.com> * gtk/gtkmenuitem.c (gtk_real_menu_item_select): Reintroduce the reverted change, since it is necessary to prevent lost submenus. But make it work for torn-off menus as well.
* Fix the signature to avoid overwriting a pspec.Matthias Clasen2004-12-131-0/+3
| | | | | | | 2004-12-13 Matthias Clasen <mclasen@redhat.com> * gtk/gtktearoffmenuitem.c (tearoff_state_changed): Fix the signature to avoid overwriting a pspec.
* Revert a change which prevented torn-off menus from being shown normally.Matthias Clasen2004-12-131-0/+3
| | | | | | | 2004-12-13 Matthias Clasen <mclasen@redhat.com> * gtk/gtkmenuitem.c (gtk_real_menu_item_select): Revert a change which prevented torn-off menus from being shown normally.
* Implement scroll wheel scrolling for menus. (#88532)Matthias Clasen2004-12-131-0/+3
| | | | | | | 2004-12-13 Matthias Clasen <mclasen@redhat.com> * gtk/gtkmenu.c (gtk_menu_scroll): Implement scroll wheel scrolling for menus. (#88532)
* Compare only the HAS_DEFAULT flags. (#160711, Tommi Komulainen)Matthias Clasen2004-12-131-0/+3
| | | | | | | 2004-12-13 Matthias Clasen <mclasen@redhat.com> * gtk/gtkwindow.c (gtk_window_real_set_focus): Compare only the HAS_DEFAULT flags. (#160711, Tommi Komulainen)
* Add a missing break statement. (#161172, Damon Chaplin)Matthias Clasen2004-12-131-0/+3
| | | | | | | 2004-12-13 Matthias Clasen <mclasen@redhat.com> * gtk/gtkimage.c (gtk_image_set_property): Add a missing break statement. (#161172, Damon Chaplin)
* UpdatesMatthias Clasen2004-12-131-0/+2
|
* Add a width-chars property like GtkLabel has. (#160496, James M. Cape)Matthias Clasen2004-12-131-0/+3
| | | | | | | 2004-12-13 Matthias Clasen <mclasen@redhat.com> * gtk/gtkcellrenderertext.c: Add a width-chars property like GtkLabel has. (#160496, James M. Cape)
* UpdatesMatthias Clasen2004-12-131-2/+3
|
* Add some docs for GtkWidget::delete-event and GtkWidget::destroy-event.Matthias Clasen2004-12-131-0/+6
| | | | | | | | 2004-12-13 Matthias Clasen <mclasen@redhat.com> * gtk/gtkwidget.c (gtk_widget_class_init): Add some docs for GtkWidget::delete-event and GtkWidget::destroy-event. (#161142, Paolo Borelli)
* Add a max-width-chars property, which can be used to specify the width ofMatthias Clasen2004-12-131-0/+7
| | | | | | | | | | | 2004-12-13 Matthias Clasen <mclasen@redhat.com> * gtk/gtklabel.[hc]: Add a max-width-chars property, which can be used to specify the width of the label in characters, while still allowing it to fall short of this length if the text is shorter. (#155944, Christian Persch) * gtk/gtk.symbols: Add new symbols.
* Don't let the empty menu filler affect visibility of separators. (#160500,Matthias Clasen2004-12-131-0/+6
| | | | | | | | 2004-12-13 Matthias Clasen <mclasen@redhat.com> * gtk/gtkuimanager.c (update_smart_separators): Don't let the empty menu filler affect visibility of separators. (#160500, Christian Persch)
* Pass a last item to gtk_combo_box_relayout_item. (#161050, John Finlay)Matthias Clasen2004-12-131-0/+3
| | | | | | | 2004-12-12 Matthias Clasen <mclasen@redhat.com> * gtk/gtkcombobox.c (gtk_combo_box_menu_row_changed): Pass a last item to gtk_combo_box_relayout_item. (#161050, John Finlay)
* Rename a local variable to avoid a conflict. (#161109, Robert Ögren) 1Matthias Clasen2004-12-131-0/+5
| | | | | | | | 2004-12-12 Matthias Clasen <mclasen@redhat.com> * tests/testfilechooserbutton.c (tests_button_clicked_cb): Rename a local variable to avoid a conflict. (#161109, Robert Ögren) 1
* Fix date of last entry.Tor Lillqvist2004-12-121-1/+1
|
* gtk/gtkaccelmap.[ch] gtk/gtkfilechooser.[ch] gtk/gtkfilesel.cTor Lillqvist2004-12-121-0/+35
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* Fix a copy-and-paste error, noticed by Robert Ögren.Matthias Clasen2004-12-121-0/+5
| | | | | | | 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.
* Only wrap if we are in the topmost menu. (#160936, John Finlay)Matthias Clasen2004-12-111-0/+6
| | | | | | | | 2004-12-11 Matthias Clasen <mclasen@redhat.com> * gtk/gtkcombobox.c (gtk_combo_box_menu_fill_level) (gtk_combo_box_menu_row_changed): Only wrap if we are in the topmost menu. (#160936, John Finlay)
* Support no-Alt mnemnonics in menu bars (#101309, Owen Taylor)Matthias Clasen2004-12-101-0/+20
| | | | | | | | | | | | | | | | | | | | | | 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.
* add recent new functions.Manish Singh2004-12-101-0/+4
| | | | | | Fri Dec 10 13:59:32 2004 Manish Singh <yosh@gimp.org> * gtk/gtk.symbols: add recent new functions.
* Revert the patch which added no-alt mnemonics, since it interfers badlyMatthias Clasen2004-12-101-0/+6
| | | | | | | | 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)
* Fix a property nick typo.Matthias Clasen2004-12-101-0/+3
| | | | | | | 2004-12-09 Matthias Clasen <mclasen@redhat.com> * gtk/gtklabel.c (gtk_label_class_init): Fix a property nick typo.
* Apply a patch to reset the filter if an otherwise invisible file isMatthias Clasen2004-12-091-0/+4
| | | | | | | | 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)
* Fix #145463, reported by Michael Natterer.Matthias Clasen2004-12-091-0/+17
| | | | | | | | | | | | | | | | | | | 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().
* Add functions which allow faster insertion of rows in sorted list stores.Matthias Clasen2004-12-091-0/+7
| | | | | | | | | 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)
* Fix a typo in the docs. (#160826, Jay Camp)Matthias Clasen2004-12-091-0/+5
| | | | | | | 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)
* Merged from gtk-2-4:Federico Mena Quintero2004-12-091-0/+7
| | | | | | | | | 2004-12-08 Federico Mena Quintero <federico@ximian.com> Merged from gtk-2-4: * gtk/gtkfilechooserdefault.c (pending_op_process): Center the selected row so that it's easily visible.
* Fix #111031, reported by Padraig O'Briain:Matthias Clasen2004-12-081-0/+16
| | | | | | | | | | | | | | | | | | 2004-12-08 Matthias Clasen <mclasen@redhat.com> Fix #111031, reported by Padraig O'Briain: * gtk/gtktextlayout.h: * gtk/gtktextlayout.c (gtk_text_layout_get_iter_at_position): Add a variant of gtk_text_layout_get_iter_at_pixel() which returns the character at the position, not the closest cursor position. * gtk/gtktextview.h: * gtk/gtktextview.c (gtk_text_view_get_iter_at_position): Add a variant of gtk_text_view_get_iter_at_location() which returns the character at the position, not the closest cursor position.
* Remove all entries for the same key, not just the first one. (#159498,Matthias Clasen2004-12-081-0/+6
| | | | | | | | 2004-12-08 Matthias Clasen <mclasen@redhat.com> * gtk/gtkaccelmap.c (internal_change_entry): Remove all entries for the same key, not just the first one. (#159498, Christian Persch)
* Use button->event_window for the fake leave event, otherwise the buttonMatthias Clasen2004-12-081-0/+6
| | | | | | | | 2004-12-08 Matthias Clasen <mclasen@redhat.com> * gtk/gtktreeview.c (_gtk_tree_view_column_start_drag): Use button->event_window for the fake leave event, otherwise the button ignores it.
* Make this work, no need to invert the array.Matthias Clasen2004-12-081-0/+6
| | | | | | | | | | 2004-12-07 Matthias Clasen <mclasen@redhat.com> * gtk/gtkiconview.c (gtk_icon_view_rows_reordered): Make this work, no need to invert the array. * gtk/gtkliststore.c (gtk_list_store_sort_iter_changed): Emit rows_reordered if the row has been moved. (#160063)
* Don't mess up the column header state if the button release event isMatthias Clasen2004-12-081-0/+10
| | | | | | | | 2004-12-07 Matthias Clasen <mclasen@redhat.com> * gtk/gtktreeviewcolumn.c (gtk_tree_view_column_button_event): Don't mess up the column header state if the button release event is missed. (#159640)
* Fix a typo in last commitMarco Pesenti Gritti2004-12-071-0/+6
| | | | | | | | 2004-12-07 Marco Pesenti Gritti <marco@gnome.org> * gtk/gtkcellview.c: (gtk_cell_view_set_background_color): Fix a typo in last commit