GNOME Bugzilla – Bug 311248
Patch to include layer numbers in the layer dialogue
Last modified: 2019-03-20 11:21:17 UTC
This patch adds a column in the layer dialogue that displays the layer number. For me this is useful since I use the --show-layers option with numbered ranges of layers. The patch, and a decription of what it does, is available on http://www.ipd.bth.se/ska/sim_home/dia.html
Created attachment 49561 [details] [review] Patch to implement display of layers in the layer dialogue patch against CVS
Created attachment 49575 [details] [review] Fixed patch to handle layer deleting as well
This patch uses GTK 2.6 functionality (gtk_label_set_width_chars), which Dia has not required until now. It may be that we will upgrade before next release, but I will not do it for this minor a feature.
Comment on attachment 49575 [details] [review] Fixed patch to handle layer deleting as well Dia now depends on Gtk+ >= 2.6 so the issue raised by Lars is no longer valid. I've tested it but it needs some work, i.e. when moving layers up/down the layer numbering becomes wrong. Also it would be good to put the /* Update the layer numbering */ in some helper function instead of copy & pasting it all over the file ...
-- GitLab Migration Automatic Message -- This bug has been migrated to GNOME's GitLab instance and has been closed from further activity. You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.gnome.org/GNOME/dia/issues/148.