Start the epic refactor of the profile editor

This commit is contained in:
Chris Jones 2009-12-27 00:59:44 +00:00
parent 945a547344
commit 896bd1af35
1 changed files with 8 additions and 11 deletions

View File

@ -1,12 +1,14 @@
#!/usr/bin/python #!/usr/bin/python
from terminatorlib.util import dbg,err import gtk
from terminatorlib.config import DEFAULTS,TerminatorConfValuestoreRC import gobject
from terminatorlib.keybindings import TerminatorKeybindings, KeymapError
from terminatorlib.version import APP_NAME, APP_VERSION from util import dbg, err
from terminatorlib import translation import config
from keybindings import Keybindings
from version import APP_NAME, APP_VERSION
from translation import _
import gtk, gobject
class ProfileEditor: class ProfileEditor:
# lists of which settings to put in which tabs # lists of which settings to put in which tabs
@ -67,11 +69,6 @@ class ProfileEditor:
self.window = gtk.Window () self.window = gtk.Window ()
self.notebook = gtk.Notebook() self.notebook = gtk.Notebook()
self.box = gtk.VBox() self.box = gtk.VBox()
self.warning = gtk.Label()
self.warning.set_use_markup (True)
self.warning.set_line_wrap (True)
self.warning.set_markup ("<i><b>NOTE:</b> These settings will not be saved. See:</i> <tt>man terminator_config</tt>")
self.butbox = gtk.HButtonBox() self.butbox = gtk.HButtonBox()
self.applybut = gtk.Button(stock=gtk.STOCK_APPLY) self.applybut = gtk.Button(stock=gtk.STOCK_APPLY)