After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 311248 - Patch to include layer numbers in the layer dialogue
Patch to include layer numbers in the layer dialogue
Status: RESOLVED OBSOLETE
Product: dia
Classification: Other
Component: general
CVS head
Other All
: Normal enhancement
: ---
Assigned To: Dia maintainers
Dia maintainers
Depends on:
Blocks:
 
 
Reported: 2005-07-22 11:54 UTC by Simon Kågström
Modified: 2019-03-20 11:21 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Patch to implement display of layers in the layer dialogue (3.55 KB, patch)
2005-07-22 11:56 UTC, Simon Kågström
none Details | Review
Fixed patch to handle layer deleting as well (4.04 KB, patch)
2005-07-22 15:17 UTC, Simon Kågström
needs-work Details | Review

Description Simon Kågström 2005-07-22 11:54:05 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
Comment 1 Simon Kågström 2005-07-22 11:56:29 UTC
Created attachment 49561 [details] [review]
Patch to implement display of layers in the layer dialogue

patch against CVS
Comment 2 Simon Kågström 2005-07-22 15:17:12 UTC
Created attachment 49575 [details] [review]
Fixed patch to handle layer deleting as well
Comment 3 Lars Clausen 2005-11-07 03:18:13 UTC
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 4 Hans Breuer 2006-01-22 21:22:06 UTC
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 ...
Comment 5 GNOME Infrastructure Team 2019-03-20 11:21:17 UTC
-- 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.