Commit Graph

990 Commits

Author SHA1 Message Date
Thomas Hurst a37be8bb35 Change debugging from "Ignoring" to "Skipping", and use repr(). 2008-08-29 21:29:07 +01:00
Thomas Hurst d388885581 Save maximized and fullscreen state. Argument handling needs improving; it'll break if short-form is used and squished together.
Probably we should piece together a command line directly from OptionParser's results, not copy it manually like this.
2008-08-29 19:23:30 +01:00
Thomas Hurst 035b15b6d9 Session support now tests ok with xsm. Note change of default #! line, and addition of dummy arguments to OptionParser. If we move gnome init earlier we can avoid the latter. 2008-08-29 19:22:16 +01:00
Thomas Hurst 0f5c6b361b Handle old Fedora gnome bindings.
save_yourself on startup.

Add geometry back to arguments, they're clearly isn't any wm magic for this stuff.
2008-08-29 19:20:50 +01:00
Thomas Hurst 9d183ed5e1 Introduce X session support by way of gnome.ui.
This involves moving cwd detection and url_show into class Terminator, since we need to initialize gnome earlier.
2008-08-29 19:18:31 +01:00
Chris Jones 11df8b9783 python 2.4 hates Exception.message, and it's not really crucial here anyway, so ditch it. Closes LP #262452 2008-08-29 14:09:29 +01:00
Thomas Hurst 3c77ec10c1 Add support for tab_position. 2008-08-28 17:08:15 +01:00
Thomas Hurst 6016f06775 Instead of a boring old MessageDialog, display errors in a Dialog with a scrolling text gadget containing errors.
This is a lot of effort for a case that should be rather unlikely; i.e. the user having dozens of errors in their config.

IndentErrors might make this more likely in future.  This may be reverted in future, but at least it'll be here if we need it.
2008-08-28 16:34:34 +01:00
Thomas Hurst 4fa5e1a442 Remove some leftovers. 2008-08-28 14:20:52 +01:00
Thomas Hurst f9d96d7210 print -> dbg 2008-08-27 00:58:27 +01:00
Thomas Hurst 32fc1f5082 Only set a setting if the entire line parses 2008-08-27 00:55:57 +01:00
Thomas Hurst a63c1358ca Use a callback for getting settings from ConfigFile, so we can validate them as they come in. 2008-08-27 00:30:13 +01:00
Thomas Hurst 5c8b1e7435 Set a default currvalue so line_ok works on configs starting with comments. 2008-08-28 15:12:05 +01:00
root 7ad31a0ee6 Prevent g-t profile failure 2008-08-28 13:56:16 +01:00
root 4d4a9ca39d import latest translations from launchpad 2008-08-28 13:06:52 +01:00
root c8915a8cea add one more thing 2008-08-27 23:54:26 +01:00
Chris Jones 39127b3b5a tweak INSTALL a bit 2008-08-27 23:45:36 +01:00
Chris Jones 10188f42db update .pot file with new strings 2008-08-27 23:44:28 +01:00
Chris Jones 1771528474 Update various bits of documentation 2008-08-27 01:35:32 +01:00
Thomas Hurst c2524cec47 Actually set a colour value. Only set config options if the entire line parses correctly. 2008-08-27 01:51:37 +01:00
Chris Jones e7467bfeba fix up escaping 2008-08-27 01:24:34 +01:00
Chris Jones 377caa85b5 more detail about quotes and # inside values. 2008-08-27 01:21:28 +01:00
Chris Jones cab010ed52 make comments and quotes obvious, I hope 2008-08-27 01:18:46 +01:00
Chris Jones 6ba5824fda Bring manpages up to reflect reality 2008-08-27 01:13:16 +01:00
Thomas Hurst d01ed3554f Handle bogus config values better; err() and keep going rather than raising an exception.
If there are exceptions, return to eating them for 0.10.
2008-08-26 23:32:29 +01:00
Chris Jones f020eaa32b Keep a note of when we are using a custom font size, so we don't override it in reconfigure_vte. Closes #256335 2008-08-26 22:24:36 +01:00
Thomas Hurst 31d598bb9b Few gconf fixes; use_system_font should now work again 2008-08-26 21:43:07 +01:00
Thomas Hurst c304b519ad Handle errors a bit more sensibly, especially with quoted strings 2008-08-26 17:12:29 +01:00
Thomas Hurst 9baf905cab Convert the stderr spam into a gtk.MessageDialog. Format and localise the error.
Handle unterminated quoted string errors better
2008-08-26 17:04:53 +01:00
Thomas Hurst a89f18e095 Make config parsing errors non-fatal. Spam stderr with any errors encountered. 2008-08-26 15:41:27 +01:00
Emmanuel Bretelle 47bc7bc378 readding thomas changes 2008-08-25 20:56:08 +01:00
Emmanuel Bretelle f44955b926 Cleaning up rev 490 2008-08-25 20:16:49 +01:00
Thomas Hurst cac821f58a Add a demo font selection button and a spin button for scrollback 2008-08-24 07:39:49 +01:00
Thomas Hurst 0a6acc19dc Ctrl-Tab and Ctrl-Shift-Tab are actually valid keybindings. Teach keybindings.py that some items may have more than one keybinding by supporting optional tuples in defaults. 2008-08-23 23:57:51 +01:00
Thomas Hurst f37324303b Remove some keybinding changes that were only meant for local testing. 2008-08-23 10:01:50 +01:00
Thomas Hurst f685f3e317 source.keybindings -> source['keybindings'] now. 2008-08-22 06:45:31 +01:00
Thomas Hurst 4dafba1270 Don't use __getattr__ in config stores; use __getitem__ and talk to them using store[key] instead of getattr(store, key). Simpler and maybe faster (1 method lookup vs failed attribute lookup + method lookup). 2008-08-22 03:05:22 +01:00
Chris Jones 5f81247353 Feeble exploration of the parts necessary for a graphical profile editor 2008-08-22 00:19:18 +01:00
Chris Jones 93fad0cee1 remove duplicate config default 2008-08-21 23:06:56 +01:00
Thomas Hurst 769b86119b Handle trailing spaces in configs properly; don't make them part of the value.
Handle unquoted palette values.  Parse errors will occur if they're not exact.
2008-08-21 21:57:59 +01:00
Thomas Hurst fc53521c80 Add a --geometry option. Terminator's constructor is getting a bit long. 2008-08-21 08:07:38 +01:00
Emmanuel Bretelle aad468993d Porting changes needed for gutsy package
* Fix LP#248359
2008-08-16 14:08:33 +01:00
Emmanuel Bretelle e7c57039a4 Fixing Zoom/UnZoom with notebook pages 2008-08-16 13:37:49 +01:00
Thomas Hurst 8ee6c682ca Avoid silently eating gconf exceptions, at least under debug mode. 2008-08-15 17:34:33 +01:00
Thomas Hurst 7f1dc2729a Really. 2008-08-15 17:27:56 +01:00
Thomas Hurst 6e638af1e7 Defaults have moved 2008-08-15 17:27:16 +01:00
Thomas Hurst 894ba31880 Handle case changing better. <Ctrl>F now works like <Ctrl>f rather than <Ctrl><Shift>F 2008-08-15 16:20:08 +01:00
Thomas Hurst fbd862c1aa Make <Ctrl>plus/minus/etc work 2008-08-15 15:46:38 +01:00
Thomas Hurst ca66d55bea Make f11_modifier work again. 2008-08-15 13:40:10 +01:00
Thomas Hurst 1f0bb51e76 Make sections and settings case-insensitive (stored lowercase).
When we get profiles we should be case-preserving, but this will do for now.
2008-08-15 13:22:07 +01:00