summaryrefslogtreecommitdiff
path: root/gtk
Commit message (Collapse)AuthorAgeFilesLines
* Set state of labels back to normal before reparenting back. (#102387)Matthias Clasen2003-03-291-0/+1
| | | | | | | 2003-03-29 Matthias Clasen <maclas@gmx.de> * gtk/gtkoptionmenu.c (gtk_option_menu_remove_contents): Set state of labels back to normal before reparenting back. (#102387)
* Set a default window title to match the GtkFontSelectionDialog behavior.Matthias Clasen2003-03-291-1/+8
| | | | | | | | | | 2003-03-29 Matthias Clasen <maclas@gmx.de> * gtk/gtkcolorseldialog.c (gtk_color_selection_dialog_init): Set a default window title to match the GtkFontSelectionDialog behavior. (gtk_color_selection_dialog_new): Don't call gtk_window_set_title() if title is NULL. (bug #101975, Daniel Elstner)
* Fix for bug #78499:Matthias Clasen2003-03-292-1/+52
| | | | | | | | | | | | | | | 2003-03-29 Matthias Clasen <maclas@gmx.de> Fix for bug #78499: * gtk/gtkentry.h (struct _GtkEntry): Add flags select_words and select_lines. * gtk/gtkentry.c (gtk_entry_button_press): Set select_words and select_lines on double/triple click. * gtk/gtkentry.c (gtk_entry_motion_notify): Implement select-by-words and select-by-lines behaviour.
* Fix the previous commit.Matthias Clasen2003-03-292-2/+2
|
* Fixes for bug #56248:Matthias Clasen2003-03-293-38/+95
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 2003-03-29 Matthias Clasen <maclas@gmx.de> Fixes for bug #56248: * gtk/gtknotebook.c (stop_scrolling): New function to remove the timer and queue a redraw. (gtk_notebook_grab_notify): (gtk_notebook_state_changed): New functions to call stop_scrolling() if necessary. (gtk_notebook_button_release): Use stop_scrolling(). (gtk_notebook_draw_arrow): Fix drawing of insensitive arrows. * gtk/gtkrange.c (stop_scrolling): New function to remove the grab, remove the timer and queue a redraw. (gtk_range_grab_notify): (gtk_range_state_changed): New functions to call stop_scrolling() if necessary. (gtk_range_button_release): Use stop_scrolling(). * gtk/gtkspinbutton.c (gtk_spin_button_grab_notify): (gtk_spin_button_state_changed): Redraw after stop_spinning. (gtk_spin_button_stop_spinning): Reset click_child to correct the drawing of the arrows. (gtk_spin_button_button_release): Use a local copy of click_child, since stop_spinning() resets it.
* Add C-A-PgUp and C-A-PgDown as alternatives to the A-less variants.Matthias Clasen2003-03-281-2/+2
| | | | | | | 2003-03-29 Matthias Clasen <maclas@gmx.de> * gtk/gtknotebook.c (gtk_notebook_class_init): Add C-A-PgUp and C-A-PgDown as alternatives to the A-less variants. (#97860)
* Finish monitoring, add a TODO, fill in details in README, fix some missing ↵Owen Taylor2003-03-274-73/+257
| | | | finalization chainups
* Add a construct-only 'file_system' property, split test case into ↵Owen Taylor2003-03-268-111/+281
| | | | testfilechooser, testfilechooser-vfs
* - Add GnomeVFS backendOwen Taylor2003-03-266-139/+337
| | | | | | - Add gtk_file_info_get_display_key() - Start switching from file_added => files_added - Switch over to Nautilus-like Loading.../Empty
* rewrote the function that does node and arrow prelighting, queue allSven Neumann2003-03-261-85/+75
| | | | | | | 2003-03-26 Sven Neumann <sven@gimp.org> * gtk/gtktreeview.c: rewrote the function that does node and arrow prelighting, queue all redraws from here (Fixes bug #108792).
* Add GtkFileSystem::parse, and a chooser entry with completionOwen Taylor2003-03-257-6/+918
|
* Make incrememtal searching work, some bug fixesOwen Taylor2003-03-243-46/+67
|
* Add sorting, a size column.Owen Taylor2003-03-214-24/+244
| | | | | | Try making the tree view on the left auto-expand/collapse when the selection changes. Some bug fixes.
* Add some documentation comments, fix some missing staticsOwen Taylor2003-03-216-15/+166
|
* Initial revisionOwen Taylor2003-03-2116-0/+4265
|
* use GTK_DISABLE_DEPRECATED instead of G_DISABLE_DEPRECATED.Manish Singh2003-03-161-1/+1
| | | | | | | Sat Mar 15 18:49:27 2003 Manish Singh <yosh@gimp.org> * gtk/gtkradiomenuitem.h: use GTK_DISABLE_DEPRECATED instead of G_DISABLE_DEPRECATED.
* Add a "buffer" property. (#108353)Matthias Clasen2003-03-141-0/+19
| | | | | | 2003-03-15 Matthias Clasen <maclas@gmx.de> * gtk/gtktextview.c: Add a "buffer" property. (#108353)
* removed redundant calls to g_object_notify().Sven Neumann2003-03-132-17/+16
| | | | | | | | | | | | | 2003-03-13 Sven Neumann <sven@gimp.org> * gtk/gtkcellrendererpixbuf.c (gtk_cell_renderer_pixbuf_set_property): removed redundant calls to g_object_notify(). (gtk_cell_renderer_pixbuf_get_size): removed redundant casts, see bug #108236. * gtk/gtktextiter.c (_gtk_text_iter_get_segment_char) (_gtk_text_iter_get_segment_byte): return 0, not NULL (these functions return an integer value).
* Ctrl/Shift [left/right] expands/collapses the tree, #108092Jonathan Blandford2003-03-111-8/+8
| | | | | | | Tue Mar 11 12:01:07 2003 Jonathan Blandford <jrb@gnome.org> * gtk/gtktreeview.c (gtk_tree_view_class_init): Ctrl/Shift [left/right] expands/collapses the tree, #108092
* Trivial cleanups (bug #107664)Matthias Clasen2003-03-081-6/+6
|
* Fix NULL/FALSE confusion (#107648, Morten Welinder)Matthias Clasen2003-03-063-4/+4
| | | | | | | | | | 2003-03-06 Matthias Clasen <maclas@gmx.de> * gtk/gtktextmark.c (gtk_text_mark_get_buffer): * gtk/gtkeditable.c (gtk_editable_get_chars): * gtk/gtkctree.c (gtk_ctree_find_node_ptr): * demos/gtk-demo/main.c (demo_find_file): Fix NULL/FALSE confusion (#107648, Morten Welinder)
* Add deprecation guards around gtk_object_new().Matthias Clasen2003-03-041-4/+3
|
* handle rtl code.Jonathan Blandford2003-03-036-102/+344
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Sun Mar 2 23:35:57 2003 Jonathan Blandford <jrb@gnome.org> * gtk/gtkcellrenderertoggle.c (gtk_cell_renderer_toggle_get_size): handle rtl code. * gtk/gtkcellrendererpixbuf.c (gtk_cell_renderer_pixbuf_get_size): ditto * gtk/gtkcellrenderertext.c (gtk_cell_renderer_text_get_size): ditto * gtk/gtktreeview.c: (invalidate_column), (invalidate_last_column), (gtk_tree_view_get_real_requested_width_from_column), (gtk_tree_view_size_allocate_columns), (gtk_tree_view_size_allocate), (gtk_tree_view_button_press), (gtk_tree_view_button_release_drag_column), (gtk_tree_view_update_current_reorder), (gtk_tree_view_motion_drag_column), (gtk_tree_view_bin_expose), (gtk_tree_view_key_press), (gtk_tree_view_header_focus), (gtk_tree_view_get_background_xrange), (gtk_tree_view_get_arrow_xrange), (gtk_tree_view_is_expander_column), (gtk_tree_view_set_column_drag_info), (gtk_tree_view_move_cursor_left_right): Add RTL support. * gtk/gtktreeviewcolumn.h (struct _GtkTreeViewColumn): add an expand flag. * gtk/gtktreeviewcolumn.c: (gtk_tree_view_column_class_init), (gtk_tree_view_column_set_property), (gtk_tree_view_column_get_property), (gtk_tree_view_column_set_expand), (gtk_tree_view_column_get_expand), (gtk_tree_view_column_cell_process_action): Add support for expand flag
* Add a bunch of missing entries. Noticed by Cedric Gustin.Tor Lillqvist2003-03-021-0/+3
| | | | | | | 2003-03-02 Tor Lillqvist <tml@iki.fi> * gtk/gtk.def: Add a bunch of missing entries. Noticed by Cedric Gustin.
* Replace uses of gtk_object_new by g_object_new.Matthias Clasen2003-02-281-2/+2
| | | | | | | | 2003-03-01 Matthias Clasen <maclas@gmx.de> * gtk/gtkscrolledwindow.c (gtk_scrolled_window_set_vadjustment): (gtk_scrolled_window_set_hadjustment): Replace uses of gtk_object_new by g_object_new.
* demos/gtk-demo/main.c demos/gtk-demo/tree_store.c gdk/x11/gdkscreen-x11.cManish Singh2003-02-2815-28/+28
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Thu Feb 27 17:44:24 2003 Manish Singh <yosh@gimp.org> * demos/gtk-demo/main.c * demos/gtk-demo/tree_store.c * gdk/x11/gdkscreen-x11.c * gtk/gtkcellrenderertoggle.c * gtk/gtkcolorsel.c * gtk/gtkdnd.c * gtk/gtkeditable.c * gtk/gtkentry.c * gtk/gtkmenu.c * gtk/gtkmenubar.c * gtk/gtkmenuitem.c * gtk/gtkmenushell.c * gtk/gtkrc.c * gtk/gtksettings.c * gtk/gtkstyle.c * gtk/gtktextbuffer.c * gtk/gtktextview.c * gtk/gtktreeviewcolumn.c * tests/testgtk.c * tests/testtext.c * tests/testtreeedit.c * tests/testtreefocus.c * tests/testtreeview.c: remove unnecessary G_OBJECT() casts.
* account for RTL code.Jonathan Blandford2003-02-261-0/+4
| | | | | | | Tue Feb 25 21:55:17 2003 Jonathan Blandford <jrb@redhat.com> * gtk/gtkoptionmenu.c (gtk_option_menu_position): account for RTL code.
* fixed documentation.Sven Neumann2003-02-241-3/+4
| | | | | | 2003-02-24 Sven Neumann <sven@gimp.org> * gtk/gtkmain.c (gtk_get_default_language): fixed documentation.
* Check if line_ancestor_parent is NULL. (#102711, Manuel Clos)Matthias Clasen2003-02-202-2/+11
| | | | | | | | | | | 2003-02-20 Matthias Clasen <maclas@gmx.de> * gtk/gtktextbtree.c (_gtk_text_line_previous_could_contain_tag): Check if line_ancestor_parent is NULL. (#102711, Manuel Clos) * gtk/gtktextview.c (gtk_text_view_scroll_to_iter): (gtk_text_view_update_adjustments): Make sure cursor stays visible during horizontal scrolling. (#75270)
* Remove bogus casts.Matthias Clasen2003-02-141-2/+2
| | | | | | 2003-02-14 Matthias Clasen <maclas@gmx.de> * gtk/gtktextview.c (popup_targets_received): Remove bogus casts.
* Fix for #82734 and #78216:Matthias Clasen2003-02-112-4/+69
| | | | | | | | | | | | | | | | 2003-02-12 Matthias Clasen <maclas@gmx.de> Fix for #82734 and #78216: * gtk/gtktextview.c (delete_cb): (select_all_cb): New callbacks for context menu items. (popup_targets_received): Add "Delete" and "Select All" to context menu, mnemonics and title caps for all items. * gtk/gtkentry.c (gtk_entry_delete_cb): New callback for "Delete" context menu item. (popup_targets_received): Add "Delete" to context menu, mnemonics and title caps for all items.
* Use GetDriveType() to recognize removable drives (in order to avoidTor Lillqvist2003-02-091-1/+1
| | | | | | | | | 2003-02-09 Tor Lillqvist <tml@iki.fi> * gtk/gtkfilesel.c (win32_gtk_add_drives_to_dir_list): Use GetDriveType() to recognize removable drives (in order to avoid hanging if trying to access an empty floppy drive), instead of hardcoding A: and B: (#105654).
* Add note about periods in names. (#57680)Matthias Clasen2003-02-091-0/+2
| | | | | | | 2003-02-09 Matthias Clasen <maclas@gmx.de> * gtk/gtkwidget.c (gtk_widget_set_name): Add note about periods in names. (#57680)
* remove quark_user_data usage in gtk_object_{g|s}et_user_data(). fixesTim Janik2003-02-072-18/+9
| | | | | | | | | | | | | | Fri Feb 7 04:49:46 2003 Tim Janik <timj@gtk.org> * gtk/gtkobject.c: remove quark_user_data usage in gtk_object_{g|s}et_user_data(). fixes get_user_data() returning NULL for user_data set through property interface. * gtk/gtkitemfactory.c (gtk_item_factory_create_item): don't put out warnings if a pixbuf couldn't be retrieved, since (a) this doesn't need to be a programming error (in case of loaded data), (b) it breaks with 2.0 behaviour where extra magic could be used to create empty images. don't attempt to retrieve pixbufs from NULL extra_data.
* Replace uses of gtk_timeout_* and gtk_idle_* by their non-deprecatedMatthias Clasen2003-02-0517-110/+120
| | | | GLib counterparts. Fully deprecate gtk_timeout_* and gtk_idle_*.
* set_state on the tab_label before unparenting it, in case the unparentManish Singh2003-02-011-1/+1
| | | | | | | | Fri Jan 31 17:33:00 2003 Manish Singh <yosh@gimp.org> * gtk/gtknotebook.c (gtk_notebook_remove_tab_label): set_state on the tab_label before unparenting it, in case the unparent drops the refcount to 0.
* Use GDK_MULTIHEAD_SAFE like all other gtk headers.Matthias Clasen2003-02-011-2/+2
| | | | | | | 2003-02-01 Matthias Clasen <maclas@gmx.de> * gtk/gtkiconfactory.h: Use GDK_MULTIHEAD_SAFE like all other gtk headers.
* declare gtk_selection_clear in GTK_COMPILATION too, for gtkwidget.c.Manish Singh2003-01-311-1/+1
| | | | | | | | | | | Thu Jan 30 17:16:05 2003 Manish Singh <yosh@gimp.org> * gtk/gtkselection.h: declare gtk_selection_clear in GTK_COMPILATION too, for gtkwidget.c. Remember people, when introducing new deprecations, make sure internal code isn't using it, or if so, reorganize appropriately like I've done in other places. * tests/testtext.c: don't use deprecated gtk_timeout_* stuff.
* Deprecate. (#85683)Matthias Clasen2003-01-312-5/+7
| | | | | | | 2003-01-31 Matthias Clasen <maclas@gmx.de> * gtk/gtkselection.h: * gtk/gtkselection.c (gtk_selection_clear): Deprecate. (#85683)
* Deprecate. (#60582)Matthias Clasen2003-01-312-3/+6
| | | | | | | | | | | | 2003-01-31 Matthias Clasen <maclas@gmx.de> * gdk/gdkpixbuf.h: * gdk/gdkpixbuf-render.c (gdk_pixbuf_render_to_drawable): (gdk_pixbuf_render_to_drawable_alpha): Deprecate. (#60582) * gtk/gtkcolorsel.h: * gtk/gtkcolorsel.c (gtk_color_selection_set_change_palette_hook): Deprecate. (#98167)
* Deprecate gtk_paned_computed_position(). (#97077)Matthias Clasen2003-01-316-4/+14
| | | | | | | | | | | | | | | | | | | | | | 2003-01-31 Matthias Clasen <maclas@gmx.de> * gtk/gtkpaned.h: Deprecate gtk_paned_computed_position(). (#97077) * gtk/gtkmain.h: Deprecate the gtk_timeout_*, gtk_idle_* and gtk_input_* functions. (#71596) * gtk/gtkentry.c (gtk_entry_move_cursor): * gtk/gtklabel.c (gtk_label_move_cursor): Handle GTK_MOVEMENT_HORIZONTAL_PAGES in switches. * gdk/gdk.h: Deprecate gdk_wcstombs() and gdk_mbstowcs(). (#79803) * gtk/gtkitemfactory.h: * gtk/gtkitemfactory.c (gtk_item_factory_add_foreign): Deprecate. (#69244) * gtk/tmpl/gtkmain.sgml: Deprecate the gtk_timeout_*, gtk_idle_* and gtk_input_* functions. (#71596)
* only count the special cell if it is also visible,Kristian Rietveld2003-01-302-8/+13
| | | | | | | | | | | | | | | | | | | | | | | Thu Jan 30 23:48:30 2003 Kristian Rietveld <kris@gtk.org> * gtk/gtktreeviewcolumn.c (_gtk_tree_view_column_count_special_cell): only count the special cell if it is also visible, (_gtk_tree_view_column_get_neighbor_sizes): only take the width into account from visible cells, (gtk_tree_view_column_cell_get_position): likewise, (Reported and testcase provided by Vasco Alexandre da Silva Costa, via IRC, tracking bug was #104563). Thu Jan 30 23:46:15 2003 Kristian Rietveld <kris@gtk.org> * gtk/gtktreeviewcolumn.c (gtk_tree_view_column_cell_process_action): subtract expander space and focus line space from the extra space we are about the allocate. (Fixes #104635). Thu Jan 30 23:42:03 2003 Kristian Rietveld <kris@gtk.org> * gtk/gtkstyle.c (apply_affine_on_point): fix rouding error (Fixes #96252, patch from Soeren Sandmann).
* Patch from Soeren Sandmann to update the states of the tab label childOwen Taylor2003-01-301-1/+27
| | | | | | | | | Thu Jan 30 16:54:29 2003 Owen Taylor <otaylor@redhat.com> * gtk/gtknotebook.c: Patch from Soeren Sandmann to update the states of the tab label child widgets to match the state of the tabs. (#93389, Reported by Tommi Komulainen)
* New helper function that sets the icon's and label's packing options andDaniel Elstner2003-01-301-136/+86
| | | | | | | | | | | | | | | 2003-01-30 Daniel Elstner <daniel.elstner@gmx.net> * gtk/gtktoolbar.c (set_child_packing_and_visibility): New helper function that sets the icon's and label's packing options and visibility based on toolbar->style. (gtk_toolbar_internal_insert_element): (gtk_real_toolbar_style_changed): Make use of set_child_packing_and_visibility() to clean up the code and get the packing right for icon-only/text-only toolbars. (#104679) (get_first_child): Remove, and use gtk_bin_get_child() instead.
* Replace PAGE_HORIZONTALLY_HACK_VALUE by GTK_MOVEMENT_HORIZONTAL_PAGES.Matthias Clasen2003-01-302-50/+16
| | | | | | | | | 2003-01-30 Matthias Clasen <maclas@gmx.de> * gtk/gtktextview.c: Replace PAGE_HORIZONTALLY_HACK_VALUE by GTK_MOVEMENT_HORIZONTAL_PAGES. (#68947) * gtk/gtkenums.h: Add GTK_MOVEMENT_HORIZONTAL_PAGES to GtkMovementStep.
* Explicitely draw an opaque rectangle using the background color ratherDaniel Elstner2003-01-301-6/+5
| | | | | | | | | | | | 2003-01-30 Daniel Elstner <daniel.elstner@gmx.net> * gtk/gtkcolorsel.c (palette_paint): Explicitely draw an opaque rectangle using the background color rather than relying on gdk_window_clear_area(), so that the palette works properly with pixmap themes. * demos/gtk-demo/colorsel.c: Install an "expose_event" handler to fill the drawing area in the background color.
* Make up from the menu bar go to the end of the submenu. (#96114, IanOwen Taylor2003-01-292-6/+20
| | | | | | | | | | | | | Wed Jan 29 15:43:56 2003 Owen Taylor <otaylor@redhat.com> * gtk/gtkmenushell.c (gtk_real_menu_shell_move_current): Make up from the menu bar go to the end of the submenu. (#96114, Ian Peters.) * gtk/gtkmenuitem.c (gtk_menu_item_mnemonic_activate): Only do the select-but-not-activate stuff if the menu is already active. Otherwise, just activate. (#101690, Arvind Samptur)
* ChangeLog too long to mention here. Bugs fixed: #100973, #83195, #87556,Kristian Rietveld2003-01-275-25/+75
| | | | | #99803, #100458. And a couple of non-bugzilla'd bugs (I am soooo sure I misspelled that).
* event->any.window might be NULL. Use gtk_widget_get_display (widget)Owen Taylor2003-01-271-1/+1
| | | | | | | | Mon Jan 27 16:19:59 2003 Owen Taylor <otaylor@redhat.com> * gtk/gtksocket.c (gtk_socket_filter_func): event->any.window might be NULL. Use gtk_widget_get_display (widget) (#102860, Thomas Leonard)
* Override hide_all in addition to show_all in order to keep them symmetric.Daniel Elstner2003-01-231-0/+22
| | | | | | | 2003-01-23 Daniel Elstner <daniel.elstner@gmx.net> * gtk/gtktoolbar.c (gtk_toolbar_hide_all): Override hide_all in addition to show_all in order to keep them symmetric. (#102201)