Proposal for bug/feature request 110804 (system-config-samba)
The way this works is pretty simple or should be simple to understand.
I had to change some minor things to the parser in order to add a parent
to a section-header (it's adding itself as parent). This eases finding
back the correct section-header which is what we want to change, of
course.
It adds a label and textbox in the glade UI
On the add-button if decides to use or the sharename or if that one is
empty it will use the old-style technique to choose a name. We might
want to change that functionality to a on_text_changed callback for the
path-entry and set the generated name in the new text
on-path-text-changed or something like that. As I am not sure whether or
not this is what you like or want I decide to not yet move this
functionality (would make the patch larger and would radically modify
stuff and the way things work now. As a small contributor I feel that
this is not really my task nor decision to make).
On the edit-button it will search for lines with parent 'oldsharename'
and it will change the parent name. It will also change the
section-header and it will set the treestore of the parentclass of
course.
--
Philip Van Hoof, Software Developer @ Cronos
home: me at freax dot org
work: Philip dot VanHoof at cronos dot be
http://www.freax.be, http://www.freax.eu.org
txtVX2C2QhbSJ.txt
Description: Text Data
--
Fedora-config-list mailing list
Fedora-config-list@xxxxxxxxxx
http://www.redhat.com/mailman/listinfo/fedora-config-list
|