Add a warning about terminatorrc moving
This commit is contained in:
parent
695e087114
commit
7ff71273d4
24
terminator
24
terminator
|
@ -1414,7 +1414,6 @@ class Terminator:
|
|||
grandparent.set_tab_reorderable(sibling, True)
|
||||
grandparent.set_current_page(page)
|
||||
|
||||
|
||||
else:
|
||||
grandparent.remove (parent)
|
||||
sibling.reparent (grandparent)
|
||||
|
@ -1743,6 +1742,29 @@ if __name__ == '__main__':
|
|||
"Make sure DISPLAY is properly set"))
|
||||
sys.exit(1)
|
||||
|
||||
try:
|
||||
open (os.path.expanduser ('~/.config/terminator/config'))
|
||||
except:
|
||||
try:
|
||||
open (os.path.expanduser ('~/.terminatorrc'))
|
||||
error = gtk.MessageDialog (None, gtk.DIALOG_MODAL, gtk.MESSAGE_ERROR, gtk.BUTTONS_OK,
|
||||
('''You have a configuration file:
|
||||
|
||||
~/.terminatorrc.
|
||||
|
||||
Please be aware that this file needs to be moved to:
|
||||
|
||||
~/.config/terminator/config.
|
||||
|
||||
See the following bug report for more details:
|
||||
|
||||
https://bugs.launchpad.net/bugs/238070'''))
|
||||
error.run ()
|
||||
error.destroy ()
|
||||
|
||||
except:
|
||||
pass
|
||||
|
||||
print 'profile_cb: settled on profile: "%s"'%options.profile
|
||||
term = Terminator (options.profile, command, options.fullscreen, options.maximise, options.borderless)
|
||||
|
||||
|
|
Loading…
Reference in New Issue