- 18 Jun, 2001 1 commit
-
-
Jonathan Blandford authored
Mon Jun 18 19:41:38 2001 Jonathan Blandford <jrb@redhat.com> * gtk/gtktreeview.c (gtk_tree_view_real_collapse_row): Fix bug where collapsing a selected row would result in the cursor/anchor getting screwed up.
-
- 15 Jun, 2001 1 commit
-
-
Jonathan Blandford authored
Fri Jun 15 18:53:48 2001 Jonathan Blandford <jrb@redhat.com> * gtk/gtktreesortable.c (gtk_tree_sortable_set_sort_func): Rename gtk_tree_sortable_sort_column_id_set_func. It's much shorter now. * gtk/gtktreeview.c (gtk_tree_view_sort_iter_changed): WOOO!!! Now I can really reorder/sort all Store widgets. treesorttest seems to just work now. * gtk/gtklistview.c (gtk_list_store_iter_changed): Whoops. testtreesort worked through a big coincidence all this time. * gtk/gtkrbtree.c (_gtk_rbtree_reorder): Nasty bug fix in nasty code. * tests/testtreecolumns.c: Big 'ol warning at the top letting people know that this code should never ever ever be copied. HA! While everyone else was busy flaming eash other over configuration engines, I secretly got sorting completely working with store widgets and GtkTreeView. GtkTreeModelSort, here I come!!!!!
-
- 14 Jun, 2001 1 commit
-
-
Jonathan Blandford authored
Thu Jun 14 19:21:27 2001 Jonathan Blandford <jrb@redhat.com> * gtk/gtktreestore.c (gtk_tree_store_sort_helper): Whoops. Forgot this a couple months ago. Now GtkTreeStore sort of sorts. I'll finish it off tonight, though it basically works now when it's a list. Also, I have a sinking feeling neither GtkTreeStore or GtkListStore actually resort when adding a new item. I'll look into it.
-
- 12 Jun, 2001 1 commit
-
-
Jonathan Blandford authored
Tue Jun 12 12:41:27 2001 Jonathan Blandford <jrb@redhat.com> * gtk/gtktreemodel.h (GTK_TREE_MODEL_LIST_ONLY): further justify gtk_tree_model_get_flags by adding a second flag for atk. * gtk/gtktreemodel.c: make cursor behavior interact better with mouse presses.
-
- 11 Jun, 2001 1 commit
-
-
Jonathan Blandford authored
Mon Jun 11 12:43:08 2001 Jonathan Blandford <jrb@redhat.com> * gtk/gtktreeview.c (gtk_tree_view_class_init): changed expand_row/collapse_row to be 2 signals each -- test_expand_row and row_expanded as well as test_collapse_row and row_collapsed.
-
- 08 Jun, 2001 3 commits
-
-
Jonathan Blandford authored
Fri Jun 8 19:49:29 2001 Jonathan Blandford <jrb@redhat.com> * gtk/gtktreeview.c (gtk_tree_view_real_select_cursor_row): New keybinding. (gtk_tree_view_focus): Fix merge conflict.
-
Jonathan Blandford authored
Fri Jun 8 18:41:30 2001 Jonathan Blandford <jrb@redhat.com> * gtk/gtktreeview.c (gtk_tree_view_set_cursor): new function to clean up cursor handling. Pretty much nailed single selection motion, and multi-selection focus minus the fact that the anchor isn't quite right.
-
Havoc Pennington authored
2001-06-08 Havoc Pennington <hp@redhat.com> * gtk/gtktextbuffer.c (gtk_text_buffer_remove_all_tags): geez, don't call g_list funcs on GSList * gtk/gtkwidget.c (gtk_widget_child_focus): replaces gtk_container_focus(), since some widgets have focusable locations which are not other widgets. These widgets should not have to be containers just to manage the focus. For example, GtkHSV is currently a container for no good reason. Also, this cleans up the "if (is_container && is_sensitive && is_drawable) container_focus ()" mess in widget implementations. * gtk/gtkcontainer.c (gtk_container_focus): deprecate this function, and have it just call gtk_widget_child_focus(). * gtk/gtkhsv.c: derive from widget not container Throughout: fix to reflect GtkContainer::focus change
-
- 07 Jun, 2001 5 commits
-
-
Jonathan Blandford authored
Thu Jun 7 18:25:42 2001 Jonathan Blandford <jrb@redhat.com> * gtk/gtktreeselection.c: Now it's a GObject instead of a GtkObject. The GtkTreeSelection::selection_changed signal is now the GtkTreeSelection::changed signal. * gtk/gtktreeview.c: Modified to deal with new GtkTreeSelection object. * tests/gtktree*.c: Modified to deal with new GtkTreeSelection object.
-
Jonathan Blandford authored
Wed Jun 6 21:59:16 2001 Jonathan Blandford <jrb@redhat.com> * gtk/gtktreeview.c (gtk_tree_view_size_allocate): hook up arrow buttons. Fixes #55460 reported by matthiasc@poet.de.
-
Jonathan Blandford authored
Wed Jun 6 21:18:54 2001 Jonathan Blandford <jrb@webwynk.net> * gtk/gtktreeview.c (gtk_tree_view_real_collapse_row): centralize expansion/collapsing so it only happens in one place. (gtk_tree_view_real_expand_row): ditto.
-
Jonathan Blandford authored
Wed Jun 6 19:31:11 2001 Jonathan Blandford <jrb@redhat.com> * gtk/gtktreeview.c (gtk_tree_view_set_model): fix silly bug reported by "Padraig O'Briain" <Padraig.Obriain@Sun.COM>.
-
Jonathan Blandford authored
Wed Jun 6 20:01:38 2001 Jonathan Blandford <jrb@redhat.com> * gtk/gtktreeview.c (gtk_tree_view_real_expand_collapse_cursor_row): Handle key bindings to expand and collapse rows. (gtk_tree_view_real_select_cursor_parent): New key binding. (gtk_tree_view_real_toggle_cursor_row): New key binding. * gtk/gtkmarshal.list: new marshaller. (VOID__BOOLEAN_BOOLEAN_BOOLEAN)
-
- 05 Jun, 2001 1 commit
-
-
Jonathan Blandford authored
Mon Jun 4 15:05:24 2001 Jonathan Blandford <jrb@redhat.com> * gtk/gtktreeviewcolumn.c (gtk_tree_view_column_set_max_width): Fix segfault found by Vitaly Tishkov <tvv@sparc.spb.su>. (gtk_tree_view_column_set_min_width): ditto.
-
- 01 Jun, 2001 1 commit
-
-
Jonathan Blandford authored
Fri Jun 1 18:54:47 2001 Jonathan Blandford <jrb@redhat.com> * gtk/gtktreeview.c: (gtk_tree_view_focus): Initial stab at getting the focus code to work. (gtk_tree_view_class_init): Add a bunch of keybindings. * gtk/gtktreeviewcolumn.c (gtk_tree_view_column_set_cell_data_func): s/GtkCellDataFunc/GtkTreeCellDataFunc. (_gtk_tree_view_column_set_tree_view): Use "notify::model" instead of "properties_changed" to help justify the death of the latter signal. (-: * tests/testtreefocus.c (main): Let some columns be focussable to test focus better.
-
- 25 May, 2001 2 commits
-
-
Jonathan Blandford authored
Fri May 25 19:04:17 2001 Jonathan Blandford <jrb@redhat.com> * gtk/gtktreeview.c (gtk_tree_view_calc_size): Remove almost all instances of GtkCellRenderer in code (all but dnd icon code). Virtualized in GtkTreeViewColumn. Now I need to move focus in there, and I can do multiple Cells per column. * gtk/gtktreeviewcolumn.c: Proxy all cell calls correctly * gtk/gtktreemodel.c (gtk_tree_row_reference_new_proxy): fix bug when model was unreffed prior to removing the row reference.
-
Havoc Pennington authored
2001-05-25 Havoc Pennington <hp@redhat.com> * gtk/gtkiconfactory.c (gtk_icon_set_get_sizes): get sizes an icon set can render without falling back to missing image icon * gtk/gtktextview.c (gtk_text_view_size_request): request full size of text, instead of random values * gtk/gtktreeview.c (gtk_tree_view_size_request): request full size of tree view, instead of random values * gtk/gtkiconfactory.c (gtk_icon_set_render_icon): render fallback image in an appropriate size * gtk/gtkstock.h: Rename the stock items including _BUTTON_, etc. not to include that. i.e. s/GTK_STOCK_BUTTON_OK/GTK_STOCK_OK/ Throughout: fix GTK_STOCK_BUTTON_ instances * gtk/gtkstock.h, gtk/gtkstock.c, gtk/gtkiconfactory.h, gtk/gtkiconfactory.c, gtk/stock-icons/Makefile.am: Add a bunch of new stock items/icons * gtk/gtktreeview.c (gtk_tree_view_insert_column_with_data_func): new function, convenience for inserting columns with a data func * gtk/gtkiconfactory.c: keep a list of all existing icon factories (_gtk_icon_factory_list_ids): use list of all factories to generate a list of all known IDs * gtk/gtkstock.c (gtk_stock_list_ids): replace gtk_stock_list_items() with a function that returns all IDs known including those for GtkIconFactory.
-
- 16 May, 2001 1 commit
-
-
Jonathan Blandford authored
Tue May 15 20:13:24 2001 Jonathan Blandford <jrb@redhat.com> * gtk/gtktreeviewcolumn.c: You can now set all sorts of properties in any order you wan, whether or not the column is added to the tree, or the tree is realized. Yay! * gtk/gtktreeviewcolumn.c (gtk_tree_view_column_setup_sort_column_id_callback): handle sorting columns a lot saner * gtk/gtktreeviewcolumn.c (gtk_tree_view_column_set_reorderable): new function to actually set wether or not a column is reorderable. * gtk/gtktreeview.c (gtk_tree_view_unrealize): Only destroy things if we have 'em. * gtk/gtktreeviewcolumn.c (_gtk_tree_view_column_set_tree_view): Fix nasty bug where we were showing the button just before realizing it. As a result, the parent window was tree_view->window instead of tree_view->priv->header_window. * gtk/gtktreeview.c (gtk_tree_view_set_reorderable): new property to let you easily reorder a list or tree.
-
- 09 May, 2001 2 commits
-
-
Jonathan Blandford authored
Wed May 9 15:27:22 2001 Jonathan Blandford <jrb@redhat.com> * gtk/gtktreeview.c (gtk_tree_view_set_column_drag_function): New function to let user control where columns are dragged. * gtk/gtktreeview.c (gtk_tree_view_key_press): Cancel drags if Escape is pressed.
-
Jonathan Blandford authored
Wed May 9 09:08:44 2001 Jonathan Blandford <jrb@webwynk.net> * gtk/gtktreeview.c (gtk_tree_view_class_init): New "columns_changed" signal. (gtk_tree_view_motion_draw_column_motion_arrow): Change column motion code to draw arrows to the side if indicator is outside the widget. (gtk_tree_view_map_expanded_rows): Implement.
-
- 05 May, 2001 1 commit
-
-
Owen Taylor authored
Sat May 5 09:18:30 2001 Owen Taylor <otaylor@redhat.com> * demos/gtk-demo/images.c (progressive_timeout): Fix typo in filename. * gtk/gtktreeview.c (gtk_tree_view_row_activated): Comment out FIXME warning; just too annoying.
-
- 02 May, 2001 1 commit
-
-
Jonathan Blandford authored
Tue May 1 09:21:23 2001 Jonathan Blandford <jrb@redhat.com> * gtk/gtktreeview.c (gtk_tree_view_button_release_drag_column): fix bug in dropping columns. Moving columns now basically works modula some fine tuning.
-
- 01 May, 2001 1 commit
-
-
Jonathan Blandford authored
Tue May 1 19:09:21 2001 Jonathan Blandford <jrb@redhat.com> * gtk/gtktreeview.c (gtk_tree_view_horizontal_autoscroll): Add autoscroll support. It mostly works, but could use some fine tuning. * gtk/gtktreeview.c (gtk_tree_view_button_release_drag_column): Actually move the column.
-
- 30 Apr, 2001 1 commit
-
-
Jonathan Blandford authored
Sun Apr 29 20:13:40 2001 Jonathan Blandford <jrb@redhat.com> * gtk/gtktreeview.c (gtk_tree_view_get_columns): new function. (gtk_tree_view_move_column_after): Clean up interface.
-
- 28 Apr, 2001 2 commits
-
-
James Henstridge authored
obvious fix to make it compile
-
Jonathan Blandford authored
Fri Apr 27 20:27:21 2001 Jonathan Blandford <jrb@redhat.com> * gtk/gtktreeview.[hc]: Massive reorder/cleanup of a lot of the code. Some documentation added.
-
- 26 Apr, 2001 1 commit
-
-
Jonathan Blandford authored
Thu Apr 26 19:11:46 2001 Jonathan Blandford <jrb@redhat.com> * gtk/gtktreeview.c (gtk_tree_view_motion): clean up column dragging code. Revealed some (potential) GdkWindow bugs. * gdk/x11/gdkwindow-x11.c (gdk_window_reparent): add _gdk_window_init_position to the end of reparent to fix the case of reparenting when new_x != old_x and new_y != old_y.
-
- 23 Apr, 2001 1 commit
-
-
Jonathan Blandford authored
Mon Apr 23 18:57:03 2001 Jonathan Blandford <jrb@redhat.com> * gtk/gtksocket.c (gtk_socket_filter_func): add missing '}' that got munched by #endif. * gtk/Makefile.am (gtk_plug_c_sources): add missing '\' * gtk/gtktreeview.c: Refactored code to clean up a number of events. * gtk/gtktreemodel.c (gtk_tree_path_compare): Switched return values to make consistent with other functions. Spotted by Jeff Franks <jcf@tpg.com.au>. * gtk/gtktreeview.h (struct _GtkTreeViewClass): Fixes to signal declaration spotted by Jeff Franks <jcf@tpg.com.au>.
-
- 12 Apr, 2001 2 commits
-
-
Tim Janik authored
Thu Apr 12 21:04:26 2001 Tim Janik <timj@gtk.org> * gtk/gtktreeview.c (_gtk_tree_view_column_start_drag): get this to compile.
-
Jonathan Blandford authored
Sun Apr 8 05:36:06 2001 Jonathan Blandford <jrb@webwynk.net> * gtk/gtktextview.c (gtk_text_view_class_init): fix a fixme. * gtk/gtkcellrendertoggle.c: change GTK_TYPE_POINTER to GTK_TYPE_STRING. * gtk/gtktreeview.c: New functions to allow initial column dragging work. * gtk/gtktreeviewcolumn.c: Initial column dragging support. * tests/testtreefocus.c: give dave some love. * tests/testtreesort.c: Modify test to check really long samples.
-
- 02 Apr, 2001 2 commits
-
-
Jonathan Blandford authored
Mon Apr 2 19:36:57 2001 Jonathan Blandford <jrb@redhat.com> * gtk/gtktreestore.c (gtk_tree_store_init): Bug fix to make trees work again when not sorted. * gtk/gtktreeview.c (gtk_tree_view_class_init): Add "collapse_row" and "expand_row" signal, closing bug 52578. * gtk/gtktreeview.c (gtk_tree_view_expand_row): Add signal support. * gtk/gtktreeview.c (gtk_tree_view_collapse_row): Add signal support.
-
Jonathan Blandford authored
Mon Apr 2 16:56:15 2001 Jonathan Blandford <jrb@redhat.com> * gtk/gtkmarshal.list (VOID:BOXED,BOXED,BOXED,BOXED): new marshaller. * gtk/gtktreemodel.c (gtk_tree_model_range_changed): change "changed" signal to "range_changed". * gtk/gtktreeview.c (gtk_tree_view_set_model): fix small bug where removing a tree from one model would remove all trees from that model. * gtk/gtktreeview.c (gtk_tree_view_range_changed): use range changed signal instead.
-
- 30 Mar, 2001 1 commit
-
-
Jonathan Blandford authored
Thu Mar 29 20:20:38 2001 Jonathan Blandford <jrb@redhat.com> * gtk/gtktreemodel.c (gtk_tree_row_ref_reordered_callback): Now we listen to the reorder signal.
-
- 29 Mar, 2001 1 commit
-
-
Jonathan Blandford authored
Thu Mar 29 16:29:12 2001 Jonathan Blandford <jrb@webwynk.net> * gtk/gtkliststore.c (gtk_list_store_iter_changed): Massive reordering/sorting work. Now pretty much works. * gtk/gtkrbtree.c (_gtk_rbtree_reorder): Lots of work to make reorder mostly work. Still need to get the parity correct. * gtk/gtktreeviewcolumn.c: Listen for "model" property changed signal, so I can listen for the sort_column_changed signal so I can change my "sort_indicator" property. Cool.
-
- 28 Mar, 2001 3 commits
-
-
Jonathan Blandford authored
Wed Mar 28 17:27:12 2001 Jonathan Blandford <jrb@redhat.com> * gtk/gtkrbtree.c (_gtk_rbtree_reorder): new function to handle reordering of trees. Seems to mostly work w/ the exception of the parity flag. * gtk/gtktreeview.c (gtk_tree_view_reordered): handle "reordered" signal.
-
Jonathan Blandford authored
Tue Mar 27 22:07:44 2001 Jonathan Blandford <jrb@webwynk.net> * gtk/gtkliststore.c (gtk_list_store_sort): Fix arguments to reordered signal. * tests/testtreesort.c (main): fix spelling. Bad Jonathan. Don't break the tree.
-
Jonathan Blandford authored
Tue Mar 27 20:55:29 2001 Jonathan Blandford <jrb@redhat.com> * gtk/gtkliststore.c: More work on implementing sortable interface.
-
- 24 Mar, 2001 1 commit
-
-
Havoc Pennington authored
2001-03-23 Havoc Pennington <hp@pobox.com> * gtk/gtkhsv.c: make this somewhat key-navigable * gtk/gtkfontsel.c: mnemonics * gtk/gtkgamma.c: mnemonics * gtk/gtkcolorsel.c: add mnemonics to labels 2001-03-22 Havoc Pennington <hp@pobox.com> Applied big patch from Seth Lytle to fix event handler return values, slightly modified. * gtk/gtkcalendar.c (gtk_calendar_button_press): return TRUE if handled. (gtk_calendar_key_press): return TRUE for GDK_space triggers select_day * gtk/gtkclist.c (gtk_clist_button_press): return TRUE if handled (gtk_clist_button_release): return TRUE if handled * gtk/gtkcolorsel.c (mouse_release): (palette_activate): (palette_press): (palette_new): (mouse_press): (get_screen_color): fixed return type (void to gboolean), return TRUE, added GTK_SIGNAL_FUNC cast * gtk/gtkcombo.c (gtk_combo_popup_button_press): fixed return type (void to gboolean), and return TRUE (gtk_combo_button_release): changed return value to TRUE after gtk_grab_add on combo->popwin * gtk/gtkctree.c (gtk_ctree_button_press): return TRUE if triggers a collapse or expand * gtk/gtkcurve.c (gtk_curve_graph_events): return TRUE for button/motion * gtk/gtkdnd.c (gtk_drag_source_event_cb): return TRUE for button press/release and motion that trigger act * gtk/gtkentry.c (gtk_entry_button_release): return TRUE * gtk/gtkfontsel.c (gtk_font_selection_size_key_press): return TRUE for GDK_Return * gtk/gtklist.c (gtk_list_button_press): return TRUE mostly (gtk_list_button_release): return TRUE if selection * gtk/gtklistitem.c (gtk_list_item_button_press): return TRUE on press * gtk/gtkmenushell.c (gtk_menu_shell_button_press): (gtk_menu_shell_button_release): chain parent_menu_shell retval * gtk/gtknotebook.c (gtk_notebook_button_press): return FALSE if nothing triggered (gtk_notebook_button_release): return TRUE if we do anything * gtk/gtkspinbutton.c (gtk_spin_button_button_press): (gtk_spin_button_button_release): return TRUE or chained retval * gtk/gtktext.c (gtk_text_button_press): (gtk_text_button_release): return TRUE (gtk_text_key_press): remove redundant retval code * gtk/gtktreeitem.c (gtk_tree_item_button_press): return TRUE if button and sensitive (gtk_tree_item_subtree_button_click): changed type to gint, and return TRUE if sensitive * gtk/gtktooltips.c (gtk_tooltips_event_handler): deactivate implies return TRUE
-
- 23 Mar, 2001 1 commit
-
-
Jonathan Blandford authored
Thu Mar 22 19:27:34 2001 Jonathan Blandford <jrb@redhat.com> * gtk/gtkcellrenderertoggle.c (gtk_cell_renderer_toggle_render): fix braino. * gtk/gtktreesortable.[ch]: New interface to add cleanup sortable support. * gtk/gtktreeview.c: Addition of initial sortable support. * gtk/gtktreestore.c: Addition of initial sortable support. * gtk/gtkliststore.c: Addition of initial sortable support. * gtk/gtkmarshal.list: yet another marshaller. * gtk/gtktreedatallist.[ch]: shared code between the store models for handling sorting headers.
-
- 19 Mar, 2001 1 commit
-
-
Owen Taylor authored
Mon Mar 19 15:53:36 2001 Owen Taylor <otaylor@redhat.com> * gtk/gtkitemfactory.c gtk/testgtk.c: Handle quoting of / with \; properly handle __ in paths, quote " and \n in gtk_item_factory_dump_items(). * gtk/gtkadjustment.[ch] gtk/gtkclist.c gtk/gtkhruler.c gtk/gtklayout.c gtk/gtklist.c gtk/gtkprogress.[ch] gtk/gtkprogressbar.[ch] gtk/gtkrange.[ch] gtk/gtkruler.[ch] gtk/gtkscale.c gtk/gtkscrolledwindow.c gtk/gtkspinbutton.[ch] gtk/gtktext.c gtk/gtktextview.c gtk/gtkvruler.c gtk/testgtk.c: Change float to double everywhere with the exception of 0<->1.0 alignment and GtkCurve.
-