Commit Graph

177 Commits

Author SHA1 Message Date
Emmanuel Bretelle
998a59bddf fix drop on itself with titlebars 2008-03-06 19:13:10 +00:00
Emmanuel Bretelle
416685efa0 * Added: titlebars can be drag and dropped 2008-03-06 19:06:23 +00:00
Emmanuel Bretelle
90ffd49eb7 rectangle overlay default 2008-03-06 14:57:16 +00:00
Emmanuel Bretelle
4109deef26 changed gtk.gdk.ACTION_COPY to gtk.gdk.ACTION_MOVE 2008-03-06 14:56:30 +00:00
Emmanuel Bretelle
c81df8ab05 fiddling around with text dnd 2008-03-06 14:54:31 +00:00
Emmanuel Bretelle
6322a5ba0d adding rectangle layout 2008-03-05 16:28:20 +00:00
Emmanuel Bretelle
9ebbc671ed * cleaned up on_drag_motion 2008-03-04 20:25:51 +00:00
Emmanuel Bretelle
ed3f695669 * Adding layout over destination pane on DnD 2008-03-04 19:08:31 +00:00
Emmanuel Bretelle
d7ca7b3ce3 merging title-hightlight to dnd 2008-03-02 13:17:56 +00:00
Emmanuel Bretelle
847ee62684 Highlight focused term support 2008-03-02 12:44:08 +00:00
Emmanuel Bretelle
679518b288 really fixed this time :)
bool('False') is True, therefore we can't just use bool(value) but we need
 assign a True or False value when reading terminatorrc 
 if value is "True" or "False"
2008-03-02 12:11:34 +00:00
Emmanuel Bretelle
92ce9fe4b3 Fixes:
* titlebars and titletips was not read properly from ~/.terminatorrc
    when a ~/.terminatorrc is a boolean, bool(value) has tobe used 
    while comparing to True/False as value is read as a string
  * If titlebars=False, the label is still created but hidden, by
    doing so, one can show the title at anytime by right-clicking and
    enabling the title on a per term basis
Added:
  * Terminator window title changes to:
	"Terminator: <active term title>"
2008-03-02 11:46:21 +00:00
Chris Jones
031685268e Allow dodgy gconf use of this too 2008-03-01 01:15:34 +00:00
Chris Jones
8f9b2b1804 Integrate modified patch from chantra with some changes so titlebars and title tooltips are configurable via terminatorrc (or in theory gconf, but that's a violation of a schema violation 2008-03-01 01:14:32 +00:00
Chris Jones
4b6094fbe5 terminatorrc isn't created by default, so it can be used to override the gnome-terminal profile as well as providing gconf independence for non-gnome users 2008-03-01 00:24:14 +00:00
Chris Jones
201e48c9be re-order these to make more sense 2008-03-01 00:09:49 +00:00
Emmanuel Bretelle
246b7a1e36 Added grandparent.resize_children() in Terminator.remove()
to force the terminal term to have the right size when returning
 otherwise, resizing is delayed and dnd between 2 siblings will
 squeeze a term
2008-02-29 17:50:32 +00:00
Emmanuel Bretelle
bd86949ad6 some documentation 2008-02-27 20:27:29 +00:00
Emmanuel Bretelle
429339108b Cleaned up dnd code
* added a destroy method to TerminatorTerm so
    a term can be destroyed with its corresponding vte and hbox
  * splitaxis now creates a term and add it to the receiving term
  * closeterm now remove the term and destroy it
  * added Terminator.add(widget, term, pos) add a term to widget a pos
  * added Terminator.remove(widget) removes a widget from the Terminator view
2008-02-27 20:11:47 +00:00
Emmanuel Bretelle
649bc21750 removing useless self.reconfigure_vte() in on_drag_data_received() 2008-02-26 20:57:06 +00:00
Emmanuel Bretelle
bdad9597f7 fixes issue where moving a term with --no-gconf and
scrollbar_position=disabled in ~/.terminatorrc 
will create a scroll bar of the left of src and dst terms
2008-02-26 19:57:22 +00:00
Emmanuel Bretelle
df5d260f05 updated trunk 2008-02-26 18:30:21 +00:00
Emmanuel Bretelle
53a6677be9 merged trunk 2008-02-26 18:18:24 +00:00
Nicolas Valcárcel
84b984dc0c Added comments support on .terminatorrc 2008-02-26 13:03:41 -05:00
Chris Jones
4e45095f59 [CJ] Expand Thomas Meire no-gconf branch to have an optparse entry and move it. write a fake gconf client to make this work. We should refactor eventually. 2008-02-26 00:25:01 +00:00
Emmanuel Bretelle
4396433c2d Fixed Ctrl-Rightclick keybinding for DnD:
* changed gtk.gdk.ACTION_MOVE to gtk.gdk.ACTION_COPY
2008-02-25 20:41:36 +00:00
Emmanuel Bretelle
ff2a6b0fa6 fixed a bug where the source term was set to the bottom or right
of the destination term
2008-02-25 18:56:51 +00:00
Emmanuel Bretelle
2b354af88f merging changes from trunk to drag-and-drop 2008-02-25 16:49:44 +00:00
Thomas Meire
752e929eec Fix how background-settings are applied. (Code based on code from gnome-terminal) 2008-02-25 12:02:02 +01:00
Chris Jones
d4f5e4362f Remove a FIXME. Stop failing on unfound config values, this is madness. Move options parsing callback into the __main__ handling. Formatting tweaks 2008-02-25 09:50:06 +00:00
Emmanuel Bretelle
95059747fb merging drag-and-drop to trunk tree 2008-02-25 01:03:39 +00:00
Emmanuel Bretelle
77d209303a drag and drop:
behaviour should be correct now
2008-02-25 00:39:09 +00:00
Chris Jones
2ee1943b4c Update Thomas Meire's cwd patch so it's clear that it's OS specific, choose a default cwd. LP #181194 2008-02-25 00:00:10 +00:00
Chris Jones
67fd877d11 Move child exit behaviour to a properly named config value so it is simplified. Merge in patch from chantra. Closes LP #194771 2008-02-24 23:46:56 +00:00
Thomas Meire
77e4246714 Make a new terminal to open in the same cwd as the cwd of the terminal in which the user was working. If no directory
was specified (as for the first terminal at startup), the cwd of the parent process will be used. Fixes LP #181194
2008-02-24 23:33:26 +01:00
Chris Jones
8c63403f1c My tree has diverged a little while pulling in these changes. also some text editors are being unhelpful here with tabs. This should be two spaces for new items and 4 for continuations.I keep getting caught out by vim auto-indenting tabs for some reason. 2008-02-24 22:10:39 +00:00
Emmanuel Bretelle
0da21aa1d8 beginning with drag and drop 2008-02-24 20:42:08 +00:00
Chris Jones
aa8fcdd75d terminatorrc support 2008-02-24 20:29:25 +00:00
Thomas Meire
4c35d98cad Switch transparency-mode when compositing is turned off or on. (Addition to the fix for LP #190946) 2008-02-24 17:44:51 +01:00
Thomas Meire
379be85a09 Add support for real transparency when using a composited environment. (Fixes LP #190946) 2008-02-23 22:54:39 +01:00
Emmanuel Bretelle
5f07cec9b9 changed get_first_pane to get_first_parent_paned
allow to get the first parent Paned
if vertical is specified, return the first H/VPaned
2008-02-23 00:02:26 +00:00
Emmanuel Bretelle
71f4cbfebd Added keybindings:
- Ctrl-Shift-Up or down : move first VPaned handle Up or Down
- Ctrl-Shift-Left or Right: move first parent HPaned handle Up or Down
-Ctrl-Shift-S: Hide/Show scrollbar
2008-02-22 23:39:59 +00:00
Nicolas Valcarcel
f4321af68b added suport for ~/.terminatorrc file 2008-02-19 19:50:10 -05:00
Chris Jones
bd36c9e545 The schema for this seems to change, so let's accept these as equal values 2008-02-19 23:50:08 +00:00
Chris Jones
c126c143cb solve another fixme - we now track the palette properly 2008-02-17 23:08:27 +00:00
Chris Jones
2ebd8a3fd2 try and handle colours a little better, by not using the system colours over our own 2008-02-17 22:59:43 +00:00
Chris Jones
97811a5aab move url opening into a dedicated helper function so we can ignore stupid exceptions from it. Also remove all our crack URI matching stuff and just blindly copy gnome-terminal 2008-02-17 01:28:18 +00:00
Chris Jones
05105e17ad Remove experimental URI matching 2008-02-14 00:25:34 +00:00
Chris Jones
08486bb4ae This should prevent LP#189116 from crashing Terminator 2008-02-12 23:22:25 +00:00
Chris Jones
4930e42729 Fix some minor quirks and improve the bell setting code, removing a FIXME 2008-02-12 23:11:04 +00:00
Chris Jones
14943ef3f4 Add necessary changes for supporting -x as well as -e. Basically makes all commands stored as arrays 2008-02-12 22:06:19 +00:00
Chris Jones
b40053169b Switch parsing to optparse so -x can work 2008-02-12 13:49:36 +00:00
Chris Jones
45b0e41c6d More icon bits 2008-02-08 11:05:19 +00:00
Chris Jones
e6d5c4eae3 Gear up to a new release 2008-02-08 10:20:48 +00:00
Chris Jones
4f462d771d Make this a bit more compact and remove some unneeded show() calls 2008-02-02 10:47:29 +00:00
Chris Jones
c5a56e52fc gnome-terminal violates its own schema. yay 2008-02-02 10:05:06 +00:00
Chris Jones
ea73696330 Track gnome-terminal scrollbar position settings. Fixes 185051 2008-02-02 01:49:32 +00:00
Chris Jones
852330d727 New gconf behaviour requires us to match up with gnome-terminal key names. Fix custom font behaviour that wasn't following with this new scheme 2008-01-31 22:15:23 +00:00
Chris Jones
65f1e5c047 Only use the gnome module if it is available, otherwise use the (inferior) built-in webbrowser module. This will probably break email URLs for non-gnome users, but there's not much we can do about that and it's better than not working at all. Fixes LP #184809 Also laying some groundwork for 0.8 2008-01-29 23:58:08 +00:00
Chris Jones
0ee12ee6d4 Stage three of the gconf marathon. Should now be completed and have returned us to where we started, functionality/bug-wise 2008-01-29 15:21:58 +00:00
Chris Jones
cd510b7c78 Stage two of rerolling the gconf handling. Now we have a proper abstract function that can grab arbitrary values (lists and other types TBC). It just needs to be used directly instead of via the type specific helpers 2008-01-29 15:18:33 +00:00
Chris Jones
b0fcd80594 Stage one of abstracting out our settings getting 2008-01-29 14:25:24 +00:00
Chris Jones
9948b5a14c remove extraneous whitespace 2008-01-29 14:00:02 +00:00
Chris Jones
42ff80837c calling this variable term is just unhelpfully confusing. I want it to go away anyway, and the first step is to clearly identify it 2008-01-29 13:54:16 +00:00
Chris Jones
9f7bbfe07d Fix -e to pass an array not a string 2008-01-28 23:28:31 +00:00
Nicolas Valcárcel
95bba138f9 Added -e option to execute a command inside terminal (LP: #184921) 2008-01-27 23:27:18 -05:00
Thomas Meire
3bb1299f47 removed the computations from splitaxis and do_scrollbar_toggle as they were obsolete. Removed the ctrl-shft-f binding
for fullscreen state. Cleaned up the splitaxis function, and commented it.
2008-01-14 23:45:43 +01:00
Nicolas Valcárcel
6d79b2d80a added some documentation to the code and clean some algorithms 2008-01-14 15:52:28 -05:00
Thomas Meire
77acf827de reverted all changes related to the pwd (not ready for trunk yet) 2008-01-14 18:04:13 +01:00
Thomas Meire
cb87e86bf9 make F11 toggle fullscreen (fixes bug #182863) 2008-01-14 16:41:52 +01:00
Chris Jones
7cfa40bafc Stop the tooltip madness until we have a better solution 2008-01-14 10:37:35 +00:00
Thomas Meire
a9c2d6e410 Fix darkness of the background when transparent. Darkness has to be set as 1-darkness to be
compatible with gnome-terminal.
2008-01-08 10:08:23 +01:00
Thomas Meire
2f6f1472fb Make terminator use the same default profile as gnome-terminal. Fixes LP #181197 2008-01-08 09:59:22 +01:00
Chris Jones
99280881e1 changelog the default values changes, and slightly improve the fallback behaviour of finding a profile to use 2008-01-06 22:23:16 +00:00
Chris Jones
9fa21a3132 Make child restarting behaviour work without a default profile 2008-01-06 14:41:36 +00:00
Chris Jones
41dfad77cd Tweak zooming behaviour so it doesn't lose fractional font sizes 2008-01-06 14:33:35 +00:00
Thomas Meire
5590e21225 Stop TerminatorTerm from failing when the correct gnome-terminal profile was not found. 2008-01-06 10:31:37 +01:00
Thomas Meire
67d4fd2585 Fix check for key-mask when zooming out. 2008-01-06 09:35:16 +01:00
Chris Jones
93e6c017c6 Support the background scrolling aspect of backgrounds too 2008-01-06 03:25:54 +00:00
Chris Jones
28eeb0e14d Support profile settings for terminal backgrounds. Closes LP #180717 2008-01-06 03:23:26 +00:00
Chris Jones
fd2d642242 Add the title of the terminal as its tooltip. I may revert this if it is annoying 2008-01-06 02:28:21 +00:00
Chris Jones
91c5b61359 Add support for font zooming. Fixes LP #178792 2008-01-06 00:00:22 +00:00
Chris Jones
9914817630 Set window title and add support for removing window border 2008-01-05 01:05:41 +00:00
Chris Jones
ef9014ec0c merge 2008-01-05 00:54:54 +00:00
Chris Jones
aa55d4d7b5 Support gnome-terminal shortcuts for copy and paste 2008-01-05 00:50:56 +00:00
Chris Jones
25aec218e9 Patch from Nicolas Valcárcel to stop clashing with gnome-terminal's shortcuts 2008-01-05 00:47:57 +00:00
Thomas Meire
46d4ae278c Fix a typo in an error-message. Updated terminator.pot accordingly. 2008-01-03 09:23:20 +01:00
Thomas Meire
051b1d2036 Display a translatable error when an import fails. When importing the VTE-bindings fails, the error is shown in a
nice gtk dialog. Updated the .pot file with the new strings. Closes LP #179961
2008-01-03 09:10:39 +01:00
Chris Jones
6d5cac4b09 Add patch from Thomas Meire to prevent closing terminals from removing focus from any terminal. Closes LP #179054 2007-12-29 10:18:53 +00:00
Chris Jones
832c0ac988 Add gettext support 2007-12-29 03:01:28 +00:00
Chris Jones
31ec32f595 Add a window-level key-binding for quitting Terminator 2007-12-29 02:05:11 +00:00
Thomas Meire
99eeb02259 Removed the confirmation-dialog when closing a single terminal. Changed the key-combo to close a single terminal to
Ctrl-Shift-W to mimic the behaviour of Gnome-terminal. Enhanced the look of the confirmation-dialog when closing the 
whole window.
2007-12-28 11:48:26 +01:00
Thomas Meire
caa2650e05 Added support for a Terminator in fullscreen state. 2007-12-27 18:44:38 +01:00
Chris Jones
747095c870 This isn't required as it was solved properly elsewhere 2007-12-26 19:59:59 +00:00
Chris Jones
4d04648811 Remove FIXMEs that probably no longer apply 2007-12-26 19:31:14 +00:00
Chris Jones
71f07637ac Since gnome-terminal now seems to set a global key with the list of profiles it knows about, we don't need to walk the profile directory ourselves, which seems like a good plan 2007-12-16 17:11:22 +00:00
Chris Jones
ec51a1e865 Stop hardcoding some settings, although mouse autohiding is forced on by gnome-terminal 2007-12-16 17:00:53 +00:00
Chris Jones
c7b8d30254 Rather than using blunderbus show_all()s, only show widgets that need to be shown and only when they need to be. This fixes LP #172829 2007-12-16 16:49:49 +00:00
Chris Jones
ceb0582fd9 Remove useless feature to override settings yet another way. Remove duplication of hardcoding in TerminatorTerm.defaults{} but I think this structure mostly needs to go away. gconf schemae ought to save us 2007-12-03 19:38:55 +00:00
Chris Jones
2001d432b6 For some reason we are getting key events with no name, which cause .endswith not to exist, which prints an error 2007-11-29 17:16:04 +00:00