[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

Re: gEDA-user: Please test new grids for GTK PCB



On Thu, Feb 24, 2011 at 07:17:33AM +0000, jpka wrote:

> I prepare patch for new grid management, if you're interested please test 
> it:
> https://bugs.launchpad.net/pcb/+bug/724154

Some comments:

* mark disappears (is not redrawn?) when active grid is changed in the preferences window
* to have GtkTreeView updated you need to emit "row-changed" signal, like:

    gtk_tree_model_row_changed (GTK_TREE_MODEL (model), path, &iter);

* the "Yes" is not updated also when grid changes via keypress while
  preferences dialog is active

* maybe "Yes" as string column can be replaced with gboolean and a GtkCellRendererToggle?
  Or a custom renderer if really needed. Or a selection could be updated on
  change of grid.

-- 
Krzysztof KoÅciuszkiewicz
"Simplicity is the ultimate sophistication" -- Leonardo da Vinci


_______________________________________________
geda-user mailing list
geda-user@xxxxxxxxxxxxxx
http://www.seul.org/cgi-bin/mailman/listinfo/geda-user