summaryrefslogtreecommitdiff
path: root/ChangeLog.pre-2-8
Commit message (Collapse)AuthorAgeFilesLines
* isspace -> g_ascii_isspace Remove gdki8n.h include. Remove <ctype.h>Darin Adler2002-02-081-0/+23
| | | | | | | | | | | | | | | | | | | | | | | * demos/gtk-demo/main.c: (load_file): isspace -> g_ascii_isspace * gdk/x11/gdkim-x11.c: Remove gdki8n.h include. * gdk/x11/gdkkeys-x11.c: Remove <ctype.h> include. * gdk/x11/gdkmain-x11.c: Remove <ctype.h> include. * gtk/fnmatch.c: Remove <ctype.h> include. * gtk/gtkaccelgroup.c: Remove <ctype.h> include. * gtk/gtkaccellabel.c: (gtk_accel_label_refetch): toupper -> g_unichar_toupper, toupper -> g_unichar_totile * gtk/gtkbindings.c: Remove <ctype.h> include. * gtk/gtkfontsel.c: Remove <ctype.h> include. * gtk/gtkiconfactory.c: Remove <ctype.h> include. * gtk/gtkinputdialog.c: Remove <ctype.h> include. * gtk/gtklabel.c: Remove <ctype.h> include. * gtk/gtkmain.c: Remove <ctype.h> include. * gtk/gtkmenu.c: Remove <ctype.h> include. * gtk/gtkoldeditable.c: Remove <ctype.h> include. * gtk/gtkrc.c: Remove <ctype.h> include. * gtk/gtktextbtree.c: Remove <ctype.h> include. * gtk/gtktextiter.c: Remove <ctype.h> include. * gtk/gtktextsegment.c: Remove <ctype.h> include.
* gtk/gtkfilesel.c gtk/gtkgamma.c use stock labels for dialog actionSven Neumann2002-02-081-0/+6
| | | | | | | | 2002-02-08 Sven Neumann <sven@gimp.org> * gtk/gtkfilesel.c * gtk/gtkgamma.c * gtk/gtkinputdialog.c: use stock labels for dialog action buttons.
* Pass the ref_node and unref_node calls through to the child model.Darin Adler2002-02-081-0/+6
| | | | | | * gtk/gtktreemodelsort.c: (gtk_tree_model_sort_ref_node), (gtk_tree_model_sort_unref_node): Pass the ref_node and unref_node calls through to the child model.
* s/__FUNCTION__/G_GNUC_FUNCTION/ dittoLaszlo Peter2002-02-081-0/+5
| | | | | | | 2002-02-08 Laszlo Peter <laca@ireland.sun.com> * gtk/gtktextchild.c: s/__FUNCTION__/G_GNUC_FUNCTION/ * gtk/gtktextview.c: ditto
* add change_value virtual function, to fix buildHavoc Pennington2002-02-081-0/+8
| | | | | | | | | | 2002-02-07 Havoc Pennington <hp@pobox.com> * gtk/gtkspinbutton.h (struct _GtkSpinButtonClass): add change_value virtual function, to fix build * gtk/gtkpixmap.c (gtk_pixmap_class_init): parent_class was from GtkWidget not GtkMisc. Not that it ever mattered.
* Add ::move-focus-out signal to handle Control[-Shift]-Tab andOwen Taylor2002-02-081-0/+22
| | | | | | | | | | | | | | | | | | | | | | | | Thu Feb 7 19:52:00 2002 Owen Taylor <otaylor@redhat.com> * gtk/gtknotebook.[ch]: Add ::move-focus-out signal to handle Control[-Shift]-Tab and Control-arrow bindings and implement bindings as per #53612. * gtk/gtktextview.c (gtk_text_view_move_focus): Fix fetching the toplevel for plug-socket. * gtk/gtknotebook.c (gtk_notebook_class_init): Remove bindings for Return/Enter to select the page. * gtk/gtknotebook.c (gtk_notebook_change_current_page): Beep at ends. * gtk/gtknotebook.c (focus_tabs_move): Don't wrap around and beep at ends. * gtk/gtknotebook.c (gtk_notebook_focus): When focusing into the page with the arrow keys, focus the first widget, not the directionally closest widget.
* Convert to using binding set for doing key bindings. (#62622, Requested byOwen Taylor2002-02-081-0/+12
| | | | | | | | | | | | | | Thu Feb 7 19:00:10 2002 Owen Taylor <otaylor@redhat.com> * gtk/gtkspinbutton.c (gtk_spin_button_key_release): Convert to using binding set for doing key bindings. (#62622, Requested by Skip Montaro) * gtk/gtkwindow.c (gtk_window_class_init): Add control-arrow bindings as overrides along with control-tab bindings. * gtk/gtknotebook.c (gtk_notebook_class_init): Fix return type for ::focus_tab signal.
* Fixes #70782 and some drag dest rectangle/line issuesKristian Rietveld2002-02-071-0/+18
| | | | | | | | | | | | | | | | | | | | Thu Feb 7 19:39:27 2002 Kristian Rietveld <kris@gtk.org> Fixes #70782 and some drag dest rectangle/line issues * gtk/gtktreeview.c (gtk_tree_view_set_model): set GTK_TREE_VIEW_IS_LIST flag (we can switch from a TreeStore to a ListStore for example) (gtk_tree_view_get_path_at_pos): revert previous change, we shouldn't correct for the header, because we are taking bin_window coordinates here (gtk_tree_view_set_drag_dest_row): queue old drag_dest row and upper/lower neighbors for draw, so the drag dest rectangle/line will be cleared correctly (gtk_tree_view_get_dest_row_at_pos): correct for treeview header here, as drag_y is relative to the widget and _get_path_at_pos wants coords relative to bin_window, draw black outline rectangle after drawing the cells
* Use layout text (which may be affected by invisible char) to computeOwen Taylor2002-02-071-0/+6
| | | | | | | | Thu Feb 7 10:53:12 2002 Owen Taylor <otaylor@redhat.com> * gtk/gtkentry.c (gtk_entry_draw_text): Use layout text (which may be affected by invisible char) to compute selection bounds, not entry text. (#70733, Alex Larsson)
* Change show_help signal to return gboolean instead of void. This allowsPadraig O'Briain2002-02-071-0/+11
| | | | | | | | | | | * gtk/gtkwidget.[ch]: Change show_help signal to return gboolean instead of void. This allows the keypress which invokes the signal to be propagated to the focus widgets ancestors if not handled by the focus widget. * gtk/gtktoolips.[ch] Change _gtk_tooltips_show_tip () to return a gboolean indicating whether widget has tooltip to display.
* Change popup_menu signal to return gboolean instead of void. This allowsPadraig O'Briain2002-02-071-0/+11
| | | | | | | | | | | * gtk/gtkwidget.[ch]: Change popup_menu signal to return gboolean instead of void. This allows the keypress which invokes the signal to be propagated to the focus widgets ancestors if not handled by the focus widget. * gtk/gtkcolorsel.c gtk/gtkentry.c gtk/gtktextview.c: Change signature of popup_menu signal handler to return gboolean instead of void and return TRUE in the signal handler
* Free the setting name.Anders Carlsson2002-02-071-0/+5
| | | | | | | 2002-02-07 Anders Carlsson <andersca@gnu.org> * gdk/x11/xsettings-common.c (xsettings_setting_free): Free the setting name.
* Fixes #70708Kristian Rietveld2002-02-061-0/+14
| | | | | | | | | | | | | | | | Wed Feb 6 23:28:39 2002 Kristian Rietveld <kris@gtk.org> Fixes #70708 * gtk/gtktreeview.c (gtk_tree_view_get_path_at_pos): we're dealing with widget coordinates here, so take the header height into account while converting (gtk_tree_view_widget_to_tree_coords): take header height into account (gtk_tree_view_tree_to_widget_coords): ditto (gtk_tree_view_get_dest_row_at_pos): we were passing coords relative to the tree with _get_path_at_pos, while that function wants coords relative to the widget
* remove unused variable (gtk_text_view_get_window): add warning about howHavoc Pennington2002-02-061-0/+7
| | | | | | | | | 2002-02-06 Havoc Pennington <hp@redhat.com> * gtk/gtktextview.c (gtk_text_view_scroll_hpages): remove unused variable (gtk_text_view_get_window): add warning about how you can't get the private window. #70683, and avoid default: in the switch so we get "enum value unhandled" warnings
* Add warnings if you try to use a child anchor that isn't inside a buffer.Havoc Pennington2002-02-061-0/+7
| | | | | | | | | 2002-02-06 Havoc Pennington <hp@redhat.com> * gtk/gtktextchild.c: Add warnings if you try to use a child anchor that isn't inside a buffer. Really kind of lame; we should separate the anchor from the buffer. But not worth fixing for now. #70601
* rip out all the debugging ifdefs, as modelsort seems to be stable (andKristian Rietveld2002-02-061-0/+5
| | | | | | | Wed Feb 6 18:25:24 2002 Kristian Rietveld <kris@gtk.org> * gtk/gtktreemodelsort.c: rip out all the debugging ifdefs, as modelsort seems to be stable (and nobody complained :)
* Keep the length of the anti-expose queue finite, by if it gets too long,Owen Taylor2002-02-061-0/+11
| | | | | | | | | | | | | Tue Feb 5 19:13:42 2002 Owen Taylor <otaylor@redhat.com> * gdk/x11/gdkgeometry-x11.c (gdk_window_queue): Keep the length of the anti-expose queue finite, by if it gets too long, first doing a XSync() and checking the event queue, and if that doesn't work, simply discarding all anti-expose items in the queue. * gdk/x11/gdkdnd-x11.c (gdk_window_cache_filter): Fix ordering on ConfigureNotify (#56349, Thomas Leonard)
* offset area being gotten from pixmap by the align/padding offsets, so weHavoc Pennington2002-02-051-0/+6
| | | | | | | | 2002-02-05 Havoc Pennington <hp@redhat.com> * gtk/gtkimage.c (gtk_image_expose): offset area being gotten from pixmap by the align/padding offsets, so we don't get warnings in gdk_pixbuf_get_from_drawable (and so it works, of course)
* Remove a (now) misleading comment.Matthias Clasen2002-02-051-0/+4
| | | | | | | * gtk/gtkrc.c (gtk_rc_parse_file): Remove a (now) misleading comment. * gtk/tmpl/gtkrc.sgml: Update the description of RC file loading to match recent code changes. Also document font_name and engine.
* Do not #include <gdk/gdkwindow.h>.Federico Mena Quintero2002-02-051-0/+4
| | | | | | 2002-02-05 Federico Mena Quintero <federico@ximian.com> * gdk/gdkwindow.h: Do not #include <gdk/gdkwindow.h>.
* let's set the path, which we're going to pass with the emission ofKristian Rietveld2002-02-051-0/+6
| | | | | | | | Tue Feb 5 22:54:16 2002 Kristian Rietveld <kris@gtk.org> * gtk/gtkliststore.c (gtk_list_store_insert_after): let's set the path, which we're going to pass with the emission of row_inserted, to the iter we inserted and not its sibling.
* Fix leak of GdkEvent (#70519)Padraig O'Briain2002-02-041-0/+5
| | | | | * gtk/gtkmenu.c (gtk_menu_popup): Fix leak of GdkEvent (#70519)
* Fix from Matthias Clasen to clear background appropriately for theme byOwen Taylor2002-02-041-0/+7
| | | | | | | | | Mon Feb 4 10:40:28 2002 Owen Taylor <otaylor@redhat.com> * gtk/gtkstyle.c (gtk_default_draw_resize_grip): Fix from Matthias Clasen to clear background appropriately for theme by calling gtk_style_apply_default_background(). (#70449)
* on Feb 4 10:06:49 2002 Owen Taylor <otaylor@redhat.com>Owen Taylor2002-02-041-0/+5
| | | | | * gdk/x11/gdkevents-x11.c: gtk-double-click-time, not gtk-double-click-timeout. (#70501)
* rename "signal" arg to "name" to avoid compiler warnings about shadowingHavoc Pennington2002-02-041-0/+7
| | | | | | | | | 2002-02-04 Havoc Pennington <hp@pobox.com> * gtk/gtksignal.c (gtk_signal_connect_while_alive): (gtk_signal_connect_object_while_alive): rename "signal" arg to "name" to avoid compiler warnings about shadowing signal(). #70453
* Add flipping support to the expanders.Anders Carlsson2002-02-031-0/+5
| | | | | | | 2002-02-03 Anders Carlsson <expander-master@gtk.org> * gtk/gtkstyle.c (gtk_default_draw_expander): Add flipping support to the expanders.
* RC file lookup improvements (#68234, suggestions from Matthias Clasen.)Owen Taylor2002-02-031-0/+13
| | | | | | | | | | | | | | | Sat Feb 2 21:54:01 2002 Owen Taylor <otaylor@redhat.com> RC file lookup improvements (#68234, suggestions from Matthias Clasen.) * gtk/gtkrc.c (gtk_rc_parse_file): Look for the locale suffix variants (gtkrc.en_US, gtkrc.en) for all RC files we parse, not just the default RC files. * gtk/gtkrc.c (gtk_rc_parse_default_files): Remove support for charset specific RC files.
* Non-exported _gtk_menu_select_first() function that selects the first itemOwen Taylor2002-02-031-0/+20
| | | | | | | | | | | | | | | | | | | | | | Sat Feb 2 20:16:04 2002 Owen Taylor <otaylor@redhat.com> * gtk/gtkmenushell.c (_gtk_menu_shell_select_first): Non-exported _gtk_menu_select_first() function that selects the first item of the menu in a standard way. (Skipping tearoffs.) * gtk/gtkmenushell.c gtk/gtkentry.c gtk/gtktextview.c gtkmenuitem.c: Use _gtk_menu_shell_select_first(). * gtk/gtkmenuitem.c (gtk_real_menu_item_select): Remember if we are starting the timeout from a keypress so we can set menushell->ignore_enter properly. * gtk/gtknotebook.c (focus_child_in): Return something meaningful if there are no children. * gtk/gtkmenu.c (gtk_menu_key_press): Fix precendence problem.
* Fix some bugs in the determination of xgrab_shell.Owen Taylor2002-02-031-0/+5
| | | | | | | Sat Feb 2 19:15:42 2002 Owen Taylor <otaylor@redhat.com> * gtk/gtkmenu.c (gtk_menu_popup): Fix some bugs in the determination of xgrab_shell.
* Add a GtkSetting (gtk-entry-select-on-focus) controlling whether theOwen Taylor2002-02-021-0/+25
| | | | | | | | | | | | | | | | | | | | | | | | | | | Sat Feb 2 17:43:00 2002 Owen Taylor <otaylor@redhat.com> * gtk/gtkentry.c (gtk_entry_grab_focus): Add a GtkSetting (gtk-entry-select-on-focus) controlling whether the contents of an entry are selected on focus in. * gtk/gtkmenu.c (gtk_menu_key_press): Add a GtkSetting (gtk-can-change-accels) controlling whether accelerators can be changed on the fly or not. (#51902) * gtk/gtkmenu.c (gtk_menu_key_press): Allow unmodified accelerators, now that accelerator changing can be turned off for those who won't expect it. (#61285) * gtk/gtkaccelgroup.c (gtk_accelerator_valid): Allow Backspace/Delete/KP_Delete as valid accelerators. * gtk/gtkmenu.c (gtk_menu_key_press): Allow setting of Delete/Backspace as accelerators by making them toggle the menu item between empty and the pressed key. (#58605) * tests/testgtkrc: Remove the objectionably short cursor blink time setting.
* To get around the fact that we may have a owner_events = FALSE grab inOwen Taylor2002-02-021-0/+10
| | | | | | | | | | | | Sat Feb 2 16:43:31 2002 Owen Taylor <otaylor@redhat.com> * gtk/gtkmenu.c (gtk_menu_popup): To get around the fact that we may have a owner_events = FALSE grab in effect when we pop up a window, make a temporary grab on a different window, then grab on the real window. Fixes a problem where if a context menu popped up under the cursor, the first item would be stuck unselected. (#59812, reported by Arnaud Charlet.)
* Install gtkrc.default from $(srcdir) for when $(builddir) is different.Peter Williams2002-02-021-0/+5
| | | | | | | 2002-02-02 Peter Williams <peterw@ximian.com> * gtk/Makefile.am (install-data-local): Install gtkrc.default from $(srcdir) for when $(builddir) is different.
* remove TESTGTK_RCFILE defineKristian Rietveld2002-02-021-0/+4
| | | | | | Sat Feb 2 19:00:39 2002 Kristian Rietveld <kris@gtk.org> * gtk/Makefile.am: remove TESTGTK_RCFILE define
* Remove the "select first item if popped up from keypress" hack -- wasOwen Taylor2002-02-021-0/+11
| | | | | | | | | | | | | Sat Feb 2 11:37:21 2002 Owen Taylor <otaylor@redhat.com> * gtk/gtkmenu.c (gtk_menu_popup): Remove the "select first item if popped up from keypress" hack -- was causing more problems than it was worth (#53191, #68483) * gtk/gtktextview.c (popup_targets_received): gtk/gtkentry.c (popup_targets_received): If activated from keyboard, select first item of popup menu.
* set upper member of vadjustment correct, so the vscrollbars of listsKristian Rietveld2002-02-021-0/+9
| | | | | | | | | | | Sat Feb 2 18:07:51 2002 Kristian Rietveld <kris@gtk.org> * gtk/gtktreeview.c (gtk_tree_view_size_allocate): set upper member of vadjustment correct, so the vscrollbars of lists smaller than 1 page are somewhat saner (#66905) * gtk/gtkliststore.c (gtk_list_store_remove_silently): do not increment the stamp, liststore is a model with persisting iters
* Support engine "" {} to mean override to the default engine. (#70205)Owen Taylor2002-02-021-0/+6
| | | | | | | | Fri Feb 1 23:54:00 2002 Owen Taylor <otaylor@redhat.com> * gtk/gtkrc.[ch] (gtk_rc_parse_engine): Support engine "" {} to mean override to the default engine. (#70205)
* Parse the RC string here when the first object is created rather than inOwen Taylor2002-02-021-0/+11
| | | | | | | | | | | | | Fri Feb 1 23:25:33 2002 Owen Taylor <otaylor@redhat.com> * gtk/gtktooltips.c (gtk_tooltips_init): Parse the RC string here when the first object is created rather than in the class_init to not break doc building. (#70341, Havoc Pennington.) * gtk/gtkrc.c (parse_include_file): Use the directories for the currently parsed files as the starting point to look for include files. (#59975)
* use gtk_label_new_with_mnemonic for labels that actually have mnemonicsManish Singh2002-02-021-0/+5
| | | | | | | Fri Feb 1 20:21:56 2002 Manish Singh <yosh@gimp.org> * gtk/gtkinputdialog.c: use gtk_label_new_with_mnemonic for labels that actually have mnemonics
* Fix use of ! in shell.Owen Taylor2002-02-021-0/+9
| | | | | | | | | | | Fri Feb 1 19:57:59 2002 Owen Taylor <otaylor@redhat.com> * configure.in: Fix use of ! in shell. * gtk/gtktooltips.c (gtk_tooltips_class_init) gtkrc.default: Move the setting of default tooltips colors to gtktooltips.c from gtkrc.default. (Use default priority so themes will override.) (#58542)
* Fix ordering of priorities so that priorities take precendence over theOwen Taylor2002-02-021-0/+9
| | | | | | | | | | | Fri Feb 1 17:48:51 2002 Owen Taylor <otaylor@redhat.com> * gtk/gtkrc.c (gtk_rc_get_style): Fix ordering of priorities so that priorities take precendence over the ordering by type. (#70205) * test/testgtkrc tests/testgtk.c (create_rc_file): Add some labels to test priorities in testgtkrc.
* use y coordinate relative to the tree and not the treeview window (fixesKristian Rietveld2002-02-011-0/+6
| | | | | | | | Fri Feb 1 00:37:49 2002 Kristian Rietveld <kris@gtk.org> * gtk/gtktreeview.c (gtk_tree_view_move_cursor_page_up_down): use y coordinate relative to the tree and not the treeview window (fixes the PgDn/PgUp brokenness)
* adjust cell_area and background_area for possible treeview scroll (fixesKristian Rietveld2002-02-011-0/+6
| | | | | | | | Fri Feb 1 23:40:31 2002 Kristian Rietveld <kris@gtk.org> * gtk/gtktreeview.c (gtk_tree_view_button_press): adjust cell_area and background_area for possible treeview scroll (fixes #70283, #70065)
* (committed this again -- broken pipe and ChangeLog update)Kristian Rietveld2002-02-011-1/+1
| | | | | | | Fri Feb 1 22:20:13 2002 Kristian Rietveld <kris@gtk.org> * gtk/gtktreeview.c (gtk_tree_view_size_allocate): use height - page_size not height - allocation->height (fixes #66269)
* use height - page_size not height - allocation->heightKristian Rietveld2002-02-011-0/+5
| | | | | | | Fri Feb 1 22:20:13 2002 Kristian Rietveld <kris@gtk.org> * gtk/gtktreeview.c (gtk_tree_view_size_allocate): use height - page_size not height - allocation->height
* Fix typo in property description. (Christian Rose.)Owen Taylor2002-02-011-0/+5
| | | | | | | Fri Feb 1 15:22:23 2002 Owen Taylor <otaylor@redhat.com> * gtk/gtkimage.c (gtk_image_class_init): Fix typo in property description. (Christian Rose.)
* Handle reparsing any strings if the theme changes. (#69465)Owen Taylor2002-02-011-0/+7
| | | | | | | | | Fri Feb 1 14:50:36 2002 Owen Taylor <otaylor@redhat.com> * gtk/gtkrc.c (gtk_rc_parse_string): Handle reparsing any strings if the theme changes. (#69465) * tests/testgtk.c: Add a test for gtk_rc_parse_string().
* set tree to NULL if tree_view->priv->tree is NULL (#70152, patch by JohnKristian Rietveld2002-02-011-0/+5
| | | | | | | Fri Feb 1 20:50:29 2002 Kristian Rietveld <kris@gtk.org> * gtk/gtktreeview.c (gtk_tree_view_dy_to_top_row): set tree to NULL if tree_view->priv->tree is NULL (#70152, patch by John Harper).
* ri Feb 1 12:51:20 2002 Owen Taylor <otaylor@redhat.com>Owen Taylor2002-02-011-0/+6
| | | | | | * gtk/gtknotebook.c (focus_child_in): Catch the cur_page == NULL (no children) case. (#70287, Paolo Maggi.)
* s/directory/folder/ in all labels and messages.Owen Taylor2002-02-011-0/+5
| | | | | | | Fri Feb 1 12:12:12 2002 Owen Taylor <otaylor@redhat.com> * gtk/gtkfilesel.c (attempt_file_completion): s/directory/folder/ in all labels and messages.
* Feb 1 08:57:38 2002 Owen Taylor <otaylor@redhat.com>Owen Taylor2002-02-011-0/+7
| | | | | | | * gtk/gtkmain.c (gtk_exit_func): Remove this useless atexit handler. (existance pointed out by Stefan Kost) * gtk/gtkmain.c (gtk_init_check): Warning fixes.