Commit Graph

30 Commits

Author SHA1 Message Date
Chris Jones ae4a8a65ed Fix various bugs (Stephen Boddy) 2011-08-20 16:34:05 +01:00
Chris Jones 32b8d04695 Optimise various low level parts (Stephen Boddy) 2011-08-20 14:53:23 +01:00
Chris Jones ce0bedc3cf Fixes from checkers to work around missing user definitions 2011-05-03 17:49:00 +01:00
Stephen Boddy 05520fd5a7 Replace the get_top_window with the much quicker builtin get_toplevel widget call 2011-02-23 22:35:10 +01:00
Stephen Boddy 966c6ca104 Makes the Insert terminal number order more sane in complex layouts 2011-02-23 22:02:09 +01:00
Chris Jones 7253eda0c8 Add a couple of handy debugging statements for config file/dir problems 2010-10-15 12:40:29 +01:00
Chris Jones e753470633 We should destroy the gerr dialog in the context it exists in 2010-06-15 14:54:24 +01:00
Chris Jones 9a90d48137 Wrap our dbg/err prints in an exception handler, since std.stderr is unfunctional in certain circumstances. Closes LP #562490 2010-04-15 12:59:19 +01:00
Chris Jones 5ac45778d5 Relax the checking of navigability slightly, to handle the case where handle_size=0. Closes LP #562039 2010-04-13 12:55:10 +01:00
Chris Jones 54305c8254 Add basic support for filtering in dbg() to reduce the noise if someone only cares about a few classes/methods 2010-02-17 21:15:33 +01:00
Chris Jones 102463acb3 Skip widget pixbuf generation for older gtks, not newer ones 2010-02-04 01:00:35 +00:00
Chris Jones 789092bb07 Refactor some code from Notebook into a standalone function that finds all descendant widgets of a given container that are Containers or Terminals and returns lists of them, and use this when closing a tab. This function will form the basis of layout enumeration 2010-01-28 13:41:44 +00:00
Chris Jones 81e00fca0b Mask some incompatibilities with older gtk 2010-01-21 13:23:39 +00:00
Chris Jones ee72ae478f refactor out the last two decisions in the directional navigation so instead of being test code that can only move left, they now move in all four directions 2010-01-20 13:04:14 +00:00
Chris Jones db7b0cc0a0 Directional navigation. Only works for going left yet, see included FIXME 2010-01-20 00:54:35 +00:00
Chris Jones bdbe359767 Restore -e and -x support 2010-01-18 22:56:43 +00:00
Chris Jones 3917ea568b Add tiny test coverage for util.py 2010-01-14 23:48:15 +00:00
Chris Jones 4d216633fc -d now automatically infers the Class::method in dbg(), and -d additionally adds a trailing (filename:line) item. debugserver is now moved to -ddd 2010-01-14 13:15:05 +00:00
Chris Jones b8aac8874a Disable DEBUG for now 2010-01-11 10:10:19 +00:00
Chris Jones dbe683e259 hey look it's 2010 already 2010-01-04 23:56:28 +00:00
Chris Jones 5bd1b3f9af Make sure ConfigBase() only uses a copy of DEFAULTS so we never change DEFAULTS, allowing us to add dict_diff() so we can avoid including things in the config file that aren't default 2009-12-26 01:19:42 +00:00
Chris Jones 60a1b085b4 Add a utility function for finding ~/.config/terminator and use it in PLuginRegistry to load plugins from the user's homedir 2009-12-24 21:35:07 +00:00
Chris Jones 0deda2434d pylint fixes 2009-11-20 16:52:39 -06:00
Chris Jones f7d0d957cd Add function to snapshot a widget and its children as a pixbuf 2009-10-27 21:03:11 +00:00
Chris Jones 0912fb8aae fix up a pylint error and migrate some pure functions from terminal.py 2009-09-06 22:54:52 +01:00
Chris Jones 5e54d42eca work on grouping/ungrouping of all terminals in a tab 2009-09-05 00:34:09 +01:00
Chris Jones ad372bbdcd Make a generic graphical error function 2009-08-18 12:52:06 +01:00
Chris Jones 70173e6978 remove unnecessary import and default to debugging for now 2009-08-10 00:11:31 +01:00
Chris Jones dee9745d99 improve pylint compliance of util 2009-08-10 00:10:08 +01:00
Chris Jones c2cf103374 start an epic refactor 2009-08-07 10:21:37 +01:00