summaryrefslogtreecommitdiff
path: root/ChangeLog.pre-2-6
Commit message (Collapse)AuthorAgeFilesLines
* it's _set_active, not _set_active_item.Kristian Rietveld2003-10-151-0/+5
| | | | | | | 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.
* add padding to the class structure. ditto. ditto.Kristian Rietveld2003-10-151-0/+6
| | | | | | | | 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.
* mention in the docs that -1 is a valid value and what it means.Kristian Rietveld2003-10-151-0/+11
| | | | | | | | | | | | | 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.
* New function to set the active row by iter.Jonathan Blandford2003-10-141-0/+8
| | | | | | | | | | Tue Oct 14 16:10:21 2003 Jonathan Blandford <jrb@redhat.com> * gtk/gtkcombobox.c (gtk_combo_box_set_active_iter): New function to set the active row by iter. * gtk/gtkcombobox.c (gtk_combo_box_get_active_iter): New function to get the active row by iter.
* Don't do operations on windows if the tree view is not mapped.Federico Mena Quintero2003-10-131-0/+7
| | | | | | | | | 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*.
* remove the reset of first_sel_changed, as after the first popup theKristian Rietveld2003-10-131-0/+16
| | | | | | | | | | | | | | | | | | 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.
* Make it work as documented when pixmap or mask is NULL. (#124081)Matthias Clasen2003-10-131-0/+5
| | | | | | | 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)
* Fix changelog. Doh.Kristian Rietveld2003-10-131-1/+1
|
* I overlooked an if when I was adding the signal block/unblock code. Oops.Kristian Rietveld2003-10-131-0/+6
| | | | | | | | 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).
* enable GTK_DISABLE_DEPRECATED again, (set_interp_type), (main): port overKristian Rietveld2003-10-131-0/+5
| | | | | | | 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.
* Still uses option menus, so turn off GTK_DISABLE_DEPRECATED.Kristian Rietveld2003-10-131-0/+5
| | | | | | | 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.
* Move GET_PRIVATE macros from header to implementation.Matthias Clasen2003-10-111-0/+8
| | | | | | | | | | Sun Oct 12 01:10:29 2003 Matthias Clasen <maclas@gmx.de> * gtk/gtkalignment.[hc]: * gtk/gtkcombobox.[hc]: * gtk/gtkcomboboxentry.[hc]: * gtk/gtktreemodelfilter.[hc]: Move GET_PRIVATE macros from header to implementation.
* These files still use option menus, so turn off GTK_DISABLE_DEPRECATED toMatthias Clasen2003-10-111-0/+7
| | | | | | | | | Sun Oct 12 00:18:02 2003 Matthias Clasen <maclas@gmx.de> * tests/testtreeview.c: * demos/testpixbuf-scale.c: * tests/prop-editor.c: These files still use option menus, so turn off GTK_DISABLE_DEPRECATED to fix the build.
* Add G_BEGIN_DECLS/G_END_DECLS to make these usable in C++. (#124351,Matthias Clasen2003-10-111-0/+12
| | | | | | | | | | | | | | Sat Oct 11 23:14:36 2003 Matthias Clasen <maclas@gmx.de> * gtk/gtkactiongroup.h: * gtk/gtkaction.h: * gtk/gtkradioaction.h: * gtk/gtkradiotoolbutton.h: * gtk/gtkseparatortoolitem.h: * gtk/gtktoggleaction.h: * gtk/gtktoolitem.h: * gtk/gtkuimanager.h: Add G_BEGIN_DECLS/G_END_DECLS to make these usable in C++. (#124351, Murray Cumming)
* Check if completion is non-NULL before accessing it. Oops.Kristian Rietveld2003-10-111-0/+5
| | | | | | | Sat Oct 11 19:09:05 2003 Kristian Rietveld <kris@gtk.org> * gtk/gtkentry.c (gtk_entry_set_text): Check if completion is non-NULL before accessing it. Oops.
* the gchar* parameters should be const (pointed out by both Marco PesentiKristian Rietveld2003-10-111-0/+8
| | | | | | | | | | Sat Oct 11 15:47:03 2003 Kristian Rietveld <kris@gtk.org> * gtk/gtkentrycompletion.[ch] (gtk_entry_completion_insert_action), (gtk_entry_completion_insert_action_text), (gtk_entry_completion_insert_action_markup): the gchar* parameters should be const (pointed out by both Marco Pesenti Gritti and Murray Cumming (#124356).
* for the custom child list mode, allocate the height allocation->height toKristian Rietveld2003-10-111-0/+7
| | | | | | | | | Sat Oct 11 15:37:19 2003 Kristian Rietveld <kris@gtk.org> * gtk/gtkcombobox.c (gtk_combo_box_size_allocate): for the custom child list mode, allocate the height allocation->height to the button instead of the height requested by the button. (Tiny size allocation screwup noticed by Macro Pesenti Gritti).
* Fixes based on comments from Marco Pesenti Gritti.Kristian Rietveld2003-10-111-0/+22
| | | | | | | | | | | | | | | | | | | | | | | | Sat Oct 11 15:23:27 2003 Kristian Rietveld <kris@gtk.org> Fixes based on comments from Marco Pesenti Gritti. * gtk/gtkentry.c (gtk_entry_set_text): block the completion changed signal handler, avoids the completion popup to popup when text is set programmatically in most cases (we actually have to handle this in the _editable functions as well, but that will break popping up when the user actually typed something :), (gtk_entry_completion_key_press): when handling enter, bail out when nothing has been selected, (gtk_entry_completion_changed): don't popdown when the entry content changed. * gtk/gtkentrycompletion.c (gtk_entry_completion_init), (gtk_entry_completion_selected_changed): unselect_all on the first selected changed signal. Avoids having a default row selected, (_gtk_entry_completion_popup): don't select the first row by default. * gtk/gtkentryprivate.h (struct _GtkEntryCompletionPrivate): add a first_sel_changed field.
* Replace GtkItemFactory by GtkUIManager in the intro (again).Matthias Clasen2003-10-101-0/+5
| | | | | | | Fri Oct 10 23:02:58 2003 Matthias Clasen <maclas@gmx.de> * demos/gtk-demo/menus.c: Replace GtkItemFactory by GtkUIManager in the intro (again).
* Fixes for (#124212, Marco Pesenti Gritti):Matthias Clasen2003-10-101-0/+8
| | | | | | | | | | Fri Oct 10 22:50:05 2003 Matthias Clasen <maclas@gmx.de> Fixes for (#124212, Marco Pesenti Gritti): * gtk/gtkuimanager.c (update_smart_separators): Don't spit warnings for popups. (_gtk_menu_is_empty): Return FALSE for non-menus.
* Deprecate. Ditto.Kristian Rietveld2003-10-101-0/+22
| | | | | | | | | | | | | | | | | | | | | | | | Fri Oct 10 19:10:12 2003 Kristian Rietveld <kris@gtk.org> * gtk/gtkcombo.h: Deprecate. * gtk/gtkoptionmenu.h: Ditto. * gtk/gtkcombobox.c (gtk_combo_box_size_request), (gtk_combo_box_size_allocate): Rework, things behave better now. Still needs some work on requesting enough size when taking the items in the list into account. * gtk/gtkfilesel.c: put gtkoptionmenu.h include inside "enable deprecated" guards. * gtk/gtkinputdialog.c: ditto. * gtk/gtkitemfactory.c: ditto. * gtk/gtkoptionmenu.c: ditto. * demos/gtk-demo/menus.c: remove the option menu. * demos/gtk-demo/sizegroup.c: replace the option menus with GtkComboBox. * demos/gtk-demo/textview.c: ditto. (A general GtkComboBox demo will be added later on).
* New callback to propertly report radio actions.Matthias Clasen2003-10-071-0/+7
| | | | | | | | | Wed Oct 8 00:06:17 2003 Matthias Clasen <maclas@gmx.de> * demos/gtk-demo/ui_manager.c (activate_radio_action): New callback to propertly report radio actions. * demos/gtk-demo/ui_manager.c (do_ui_manager): Use it here.
* Put the supported protocol version in in the right field of theMatthias Clasen2003-10-071-0/+6
| | | | | | | | Tue Oct 7 23:23:05 2003 Matthias Clasen <maclas@gmx.de> * gtk/gtkplug.c (xembed_set_info): Put the supported protocol version in in the right field of the _XEMBED_INFO property. (#123885, Denis Mikhalkin)
* only show the child if we have one.Jonathan Blandford2003-10-071-0/+8
| | | | | | | | | | Mon Oct 6 14:18:47 2003 Jonathan Blandford <jrb@redhat.com> * gtk/gtkexpander.c (gtk_expander_animation_timeout): only show the child if we have one. (gtk_expander_button_release): use gtk_widget_activate instead.
* Start the blurb for "right_attach" with a capital. (#123945, ChristianMatthias Clasen2003-10-061-0/+5
| | | | | | | Mon Oct 6 21:05:46 2003 Matthias Clasen <maclas@gmx.de> * gtk/gtktable.c (gtk_table_class_init): Start the blurb for "right_attach" with a capital. (#123945, Christian Rose)
* Remove an extraneous unref. (#122336, Frederic Crozat)Matthias Clasen2003-10-051-2/+7
| | | | | | | Sun Oct 5 23:59:03 2003 Matthias Clasen <maclas@gmx.de> * tests/testsocket.c (child_read_watch): Remove an extraneous unref. (#122336, Frederic Crozat)
* Trim whitespace in "visible-window" blurb. (#123910, Christian Rose)Matthias Clasen2003-10-051-0/+5
| | | | | | | Sun Oct 5 22:38:22 2003 Matthias Clasen <maclas@gmx.de> * gtk/gtkeventbox.c (gtk_event_box_class_init): Trim whitespace in "visible-window" blurb. (#123910, Christian Rose)
* focus arrow before pack_end items (#123851, Matthias Clasen)Soeren Sandmann2003-10-041-0/+5
| | | | | | | Sun Oct 5 00:53:15 2003 Soeren Sandmann <sandmann@daimi.au.dk> * gtk/gtktoolbar.c (gtk_toolbar_list_children_in_focus_order): focus arrow before pack_end items (#123851, Matthias Clasen)
* only set the model on ->priv->cell_view if ->priv->cell_view is non-NULL.Kristian Rietveld2003-10-031-0/+13
| | | | | | | | | | | | | | | Fri Oct 3 20:50:48 2003 Kristian Rietveld <kris@gtk.org> * gtk/gtkcombobox.c (gtk_combo_box_set_model): only set the model on ->priv->cell_view if ->priv->cell_view is non-NULL. * gtk/gtkcomboboxentry.c: include gtkintl.h, add text_renderer field to GtkComboBoxEntryPrivate, (gtk_combo_box_entry_class_init), (gtk_combo_box_entry_init), (gtk_combo_box_entry_set_property), (gtk_combo_box_entry_get_property), (gtk_combo_box_entry_set_text_column), (gtk_combo_box_entry_new): add a construct-only "text_column" property and reorder code to use it and support inheriting this widget.
* Added API doc comments.Kristian Rietveld2003-10-021-0/+6
| | | | | | | | Thu Oct 2 23:28:02 2003 Kristian Rietveld <kris@gtk.org> * gtk/gtkcombobox.c: Added API doc comments. * gtk/gtkcomboboxentry.c: Ditto.
* Doc tweaks-Matthias Clasen2003-10-011-0/+4
|
* implement the GtkCellLayout interface, drop packing/attribute/cell dataKristian Rietveld2003-10-011-0/+15
| | | | | | | | | | | | | | | | | Wed Oct 1 22:43:40 2003 Kristian Rietveld <kris@gtk.org> * gtk/gtkcellview.[ch]: implement the GtkCellLayout interface, drop packing/attribute/cell data functions from the header, (gtk_cell_view_set_cell_data): added support for cell data funcs. * gtk/gtkcombobox.[ch]: implement the GtkCellLayout interface, drop packing/attribute/cell data functions from the header, implemented cell data func support. * gtk/gtkcomboboxentry.c (gtk_combo_box_entry_new): updated for the move to GtkCellLayout. * tests/testcombo.c (create_combo_box_grid_demo), (main): ditto.
* Introduce a separate "hide_if_empty" property for empty menu handling.Matthias Clasen2003-10-011-0/+7
| | | | | | | | | | | 2003-10-01 Matthias Clasen <maclas@gmx.de> * gtk/gtkaction.c (gtk_action_class_init): (gtk_action_[gs]et_property): Introduce a separate "hide_if_empty" property for empty menu handling. (_gtk_action_sync_menu_visible): ...and use it here. * tests/testmerge.c (main): ...and here.
* Fix signal doc comments to pacify gtk-doc.Matthias Clasen2003-10-011-0/+3
| | | | | * gtk/gtktoolitem.c (gtk_tool_item_class_init): Fix signal doc comments to pacify gtk-doc.
* Doc formatting tweaks.Matthias Clasen2003-09-301-0/+21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2003-10-01 Matthias Clasen <maclas@gmx.de> * gtk/gtkmain.c: Doc formatting tweaks. * gtk/gtktoolitem.c (gtk_tool_item_set_is_important): Fix a typo. * gtk/gtkcheckmenuitem.h (gtk_check_menu_item_set_draw_as_radio): Use the same parameter names as in .c file, to pacify gtk-doc. * gtk/gtktoggletoolbutton.[hc]: * gtk/gtktoolbutton.[hc]: * gtk/gtktoolitem.[hc]: * gtk/gtktoolbar.[hc]: * gtk/gtkcolorbutton.[hc]: * gtk/gtkfontbutton.[hc]: * gtk/gtkalignment.[hc]: Define GET_PRIVATE macros in the source, not in the header. * gtk/gtkcheckmenuitem.c (gtk_check_menu_item_[sg]et_draw_as_radio): Document these as 2.4 API additions. * gtk/tmpl/gtkaction.sgml: Fix cross reference to GtkMenuMerge. * gtk/gtk-sections.txt: Additions. * gtk/tmpl/gtkitemfactory.sgml: Add hint to use #GtkUIManager instead.
* Add API doc comments.Kristian Rietveld2003-09-301-0/+7
| | | | | | | | | Tue Sep 30 23:42:56 2003 Kristian Rietveld <kris@gtk.org> * gtk/gtkentry.c (gtk_entry_set_completion), (gtk_entry_get_completion): Add API doc comments. * gtk/gtkentrycompletion.c: Fix #includes and add API doc comments.
* Add "Since: 2.4" to all API doc comments.Kristian Rietveld2003-09-301-0/+4
| | | | | | Tue Sep 30 23:12:34 2003 Kristian Rietveld <kris@gtk.org> * gtk/gtktreemodelfilter.c: Add "Since: 2.4" to all API doc comments.
* Some API doc comment fixes.Kristian Rietveld2003-09-301-0/+6
| | | | | | | | Tue Sep 30 22:59:58 2003 Kristian Rietveld <kris@gtk.org> * gtk/gtktreeviewcolumn.c: Some API doc comment fixes. * gtk/gtkcellayout.c: Fix #include and oooooh API doc comments!
* Test handling of empty menus.Matthias Clasen2003-09-301-0/+18
| | | | | | | | | | | | | | | | | | | | 2003-09-30 Matthias Clasen <maclas@gmx.de> * tests/merge-*.ui: * tests/testmerge.c: Test handling of empty menus. * gtk/gtkuimanager.c (_gtk_menu_is_empty): New function to determine whether a menu is empty. Used in gtkaction.c. (update_smart_separators): Also update the visibility of empty menus. (update_node): When creating a new menu proxy, insert an "Empty" menu item which only gets shown if the menu is empty. * gtk/gtkaction.c (gtk_action_class_init): Document the meaning of "is_important" for menu proxies. (_gtk_action_sync_menu_visible): New function to sync the visibility of menu proxies. Used in gtkuimanager.c. (gtk_action_sync_visible): New function to sync the visibility of proxies.
* set popup_in_progress to TRUE, (gtk_combo_box_menu_show): and back toKristian Rietveld2003-09-301-0/+8
| | | | | | | | | | Tue Sep 30 21:43:34 2003 Kristian Rietveld <kris@gtk.org> * gtk/gtkcombobox.c (gtk_combo_box_menu_button_press): set popup_in_progress to TRUE, (gtk_combo_box_menu_show): and back to FALSE here; the menu now won't disappear on the first button release. (Reported by Matthias Clasen).
* actually show the child.Kristian Rietveld2003-09-301-0/+7
| | | | | | | | | Tue Sep 30 21:08:43 2003 Kristian Rietveld <kris@gtk.org> * gtk/gtkcombobox.c (gtk_combo_box_init): actually show the child. * gtk/gtkcomboboxentry.c (gtk_combo_box_entry_init): ditto. (#123543, Marco Pesenti Gritti).
* The render vfunc takes a GdkDrawable* instead of a GdkWindow*, becauseMurray Cumming2003-09-301-0/+10
| | | | | | | | | | | | 2003-09-30 Murray Cumming <murrayc@usa.net> * gtk/gtkcellrenderer.h: The render vfunc takes a GdkDrawable* instead of a GdkWindow*, because that what it is given. The documentation was already correct. This should cause no API/ABI breakage with C compilers. * gtk/gtkcellrenderertext.c, gtkcellrendererpixbuf.c, gtkcellrenderertogger.c: Updated the declarations of the render vfunc implementation accordingly.
* Document the "direction-changed" and "keys-changed" signals.Matthias Clasen2003-09-301-0/+14
| | | | | | | | | | | | | | | | | | | | | | 2003-09-30 Matthias Clasen <maclas@gmx.de> * gdk/gdkkeys.c (gdk_keymap_class_init): Document the "direction-changed" and "keys-changed" signals. * gdk/gdkscreen.c (gdk_screen_class_init): Document the "size-changed" signal. * gdk/gdkdisplaymanager.c (gdk_display_manager_class_init): Document the "display-opened" signal. * gdk/gdkdisplay.c (gdk_display_close): Doc tweak. (gdk_display_class_init): Document the "closed" signal. * gdk/tmpl/keys.sgml: Small addition. * gdk/gdk-sections.txt: Add GdkDisplayClass and GdkScreenClass. * gdk-pixbuf/gdk-pixbuf-sections.txt: Add GdkPixbufLoaderClass.
* rename property tab_moves_focus to accepts_tab. (#122709 again).Soeren Sandmann2003-09-271-0/+5
| | | | | | | Sat Sep 27 16:02:40 2003 Soeren Sandmann <sandmann@daimi.au.dk> * gtk/gtktextview.[ch]: rename property tab_moves_focus to accepts_tab. (#122709 again).
* Document the fact that the newly created object does not come with aMatthias Clasen2003-09-271-0/+5
| | | | | | | | | 2003-09-27 Matthias Clasen <maclas@gmx.de> * gtk/gtkwindow.c (gtk_window_new): * gtk/gtkitemfactory.c (gtk_item_factory_new): Document the fact that the newly created object does not come with a floating reference. (#103068, patch by Frederic Lespez)
* Deprecate GtkItemFactory in favor of GtkUIManager. Just leaveMatthias Clasen2003-09-261-0/+4
| | | | | | | | 2003-09-27 Matthias Clasen <maclas@gmx.de> * gtk/gtkitemfactory.h: Deprecate GtkItemFactory in favor of GtkUIManager. Just leave GtkTranslateFunc undeprecated, since GtkActionGroup uses it.
* Turn off GTK_DISABLE_DEPRECATED, since this test uses theMatthias Clasen2003-09-261-0/+9
| | | | | | | | | | | | | 2003-09-27 Matthias Clasen <maclas@gmx.de> * tests/testtext.c: Turn off GTK_DISABLE_DEPRECATED, since this test uses the soon-to-be-deprecated GtkItemFactory. * demos/gtk-demo/Makefile.am (demos): Add ui_manager.c, remove item_factory.c * demos/gtk-demo/ui_manager.c: Duplicate of item_factory.c using GtkUIManager instead of GtkItemFactory.
* Demonstrate the use of the connect-proxy signal.Matthias Clasen2003-09-261-0/+12
| | | | | | | | | | | | | | 2003-09-27 Matthias Clasen <maclas@gmx.de> * tests/testmerge.c: Demonstrate the use of the connect-proxy signal. * gtk/gtkaction.c (connect_proxy): Add connect-proxy and disconnect-proxy signals to do small customizations like displaying tooltips in the statusbar without custom actions. (#122894, Philip Langdale) * gtk/gtkuimanager.c (update_node): Don't leak tooltip.
* Landing the new ComboBox. Note that only gtkcombobox.h andKristian Rietveld2003-09-261-0/+14
| | | | | | | | | | | | | | | | Fri Sep 26 23:49:44 2003 Kristian Rietveld <kris@gtk.org> Landing the new ComboBox. Note that only gtkcombobox.h and gtkcomboboxentry.h are public. * gtk/gtkcellview.[ch], gtk/gtkcellviewmenuitem.[ch], gtk/gtkcombobox.[ch], gtk/gtkcomboboxentry.[ch]: new files. * gtk/Makefile.am, gtk/gtk.h: adding the new files. * tests/testcombo.c: and a new test. * tests/Makefile.am: adding the new test.
* Don't use hardcoded DEMOCODEDIR on Windows.Tor Lillqvist2003-09-251-0/+19
| | | | | | | | | | | | | | | | | | | | | 2003-09-25 Tor Lillqvist <tml@iki.fi> * demos/gtk-demo/main.c: Don't use hardcoded DEMOCODEDIR on Windows. 2003-09-21 Tor Lillqvist <tml@iki.fi> * gdk/win32/gdkevents-win32.c (handle_wm_paint): New function. Code split out from gdk_event_translate(). Needed because gdk_event_get_graphics_expose() couldn't do anything sensible otherwise. (Not that I think graphics exposes work anyway in gdk/win32, but at least now the code could work.) (gdk_event_get_graphics_expose): Call handle_wm_paint() instead of gdk_event_translate(), which couldn't have worked as it doesn't take any pre-allocated GdkEvent parameter any longer. (gdk_event_translate): Handle WM_MOUSEACTIVATE: Don't let GDK_WINDOW_TEMP windows be activated. (#122578, John Ehresman)