- 30 Jun, 2001 2 commits
-
-
Jonathan Blandford authored
Sat Jun 30 17:13:51 2001 Jonathan Blandford <jrb@redhat.com> * gtk/gtkliststore.c (gtk_list_store_newv): New function for language bindings. * gtk/gtkteststore.c (gtk_test_store_newv): New function for language bindings.
-
Jonathan Blandford authored
Fri Jun 29 22:13:28 2001 Jonathan Blandford <jrb@redhat.com> * gtk/gtktreestore.c (gtk_tree_store_new): changed new_with_types to just plain new, fixing the number of columns, and column types at creation time. * gtk/gtkliststore.c (gtk_list_store_new): ditto. * gtk/gtkcellrenderertext.c (gtk_cell_renderer_text_set_fixed_height_from_font): FIX the height to a specific font. * gtk/gtktreeview.c (gtk_tree_view_is_expander_column): fix brokenness. * tests/*c: change to work with new store models.
-
- 29 Jun, 2001 2 commits
-
-
Havoc Pennington authored
2001-06-29 Havoc Pennington <hp@redhat.com> * Throughout: fixes to compile with G_DISABLE_COMPAT (s/g_signal_connectc/g_signal_connect/, s/g_signal_newc/g_signal_new/, s/g_signal_disconnect_by_func/g_signal_handlers_disconnect_by_func/)
-
Jonathan Blandford authored
Fri Jun 8 18:52:10 2001 Jonathan Blandford <jrb@redhat.com> * gtk/gtktreeview.[hc]: Patch Thomas Broyer from <tbroyer@ltgt.net>. Expander arrows are now attached to a specific column and follow it when draged, rather than a location in the view. "expander_column" property and drawing functions changed accordingly. Fixes bug #55942. (gtk_tree_view_{set,get}_expander_column): Now works with a GtkTreeViewColumn* instead of int.
-
- 27 Jun, 2001 1 commit
-
-
Jonathan Blandford authored
Wed Jun 27 19:40:31 2001 Jonathan Blandford <jrb@redhat.com> * gtk/gtktreeviewcolumn.c (gtk_tree_view_column_pack_start_cell_renderer): New function to reflect that you can (hypothetically) pack cell renderers into a column. (gtk_tree_view_column_pack_end_cell_renderer): ditto. (gtk_tree_view_column_cell_is_visible): Move more functionality to the column. (gtk_tree_view_column_cell_can_focus): Move more functionality to the column. * gtk/gtktreeview.c: Move to use new column-packing code. (gtk_tree_view_real_expand_row): remove totally braindead code. (gtk_tree_view_real_collapse_row): ditto.
-
- 26 Jun, 2001 1 commit
-
-
Jonathan Blandford authored
Tue Jun 26 12:59:28 2001 Jonathan Blandford <jrb@redhat.com> * gtk/gtktreemodelsort.c (gtk_tree_model_sort_set_model): fix stupid missing statement * gtk/gtktreeview.c (gtk_tree_view_set_destroy_count_func): New private function for ATK. It notifies you of how many _visible_ children are deleted when a node is deleted. Should be used by atk only.
-
- 25 Jun, 2001 1 commit
-
-
Havoc Pennington authored
2001-06-25 Havoc Pennington <hp@redhat.com> * gtk/gtktreeviewcolumn.h, gtk/gtktreeviewcolumn.c: s/RESIZEABLE/RESIZABLE/ * gtk/gtkwindow.c, gtk/gtkwindow.h: s/resizeable/resizable/
-
- 24 Jun, 2001 1 commit
-
-
Owen Taylor authored
Sun Jun 24 11:29:35 2001 Owen Taylor <otaylor@redhat.com> * gdk/x11/gdkimage-x11.c (gdk_image_new): Fix stupid error introduced last night that was making things decidedly not work. * gtk/*.[ch]: Patch from Kristian Rietveld adding 80 getters so that we have getter/setter pairing everywhere it makes sense. (#55767) * gtk/gtkradiobutton.[ch] gtk/gtktoolbar.c tests/testgtk.: Rename gtk_radio_button_group to gtk_radio_button_get_group, add a deprecated compat macro. (#55516) * gtk/gtklabel.[ch]: Add functions gtk_label_set/get_use_underline(), gtk_label_set/get_use_markup(), gtk_label_set_label(), which mirror the property API for GtkLabel. Make gtk_label_get_attributes() only reflect the attributes set by gtk_label_set_attributes. * gtk/gtknotebook.c (gtk_notebook_set_current_page) gtk/gtkcompat.h: Rename from gtk_notebook_set_page().
-
- 22 Jun, 2001 1 commit
-
-
Jonathan Blandford authored
Fri Jun 22 14:06:08 2001 Jonathan Blandford <jrb@redhat.com> * gtk/gtktreeview.c (gtk_tree_view_real_collapse_row): Fix bug noticed by Brian Cameron. (gtk_tree_view_real_expand_row): Fix bug noticed by Brian Cameron.
-
- 20 Jun, 2001 1 commit
-
-
Jonathan Blandford authored
Wed Jun 20 19:19:15 2001 Jonathan Blandford <jrb@redhat.com> * gtk/gtktreeview.c (gtk_tree_view_move_cursor_up_down): clean up (gtk_tree_view_move_cursor_page_up_down): implement.
-
- 19 Jun, 2001 1 commit
-
-
Jonathan Blandford authored
Mon Jun 18 20:06:10 2001 Jonathan Blandford <jrb@redhat.com> * gtk/gtktreeview.c (gtk_tree_view_row_expanded): New function to test if a node is expanded.
-
- 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 1 commit
-
-
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.
-