sigh, again with the merging and pushing drama

This commit is contained in:
Chris Jones 2008-06-22 00:10:53 +01:00
commit cbb6343d14
4 changed files with 101 additions and 48 deletions

View File

@ -133,5 +133,8 @@ Default value: \fBFalse\fR
.B cycle_term_tab .B cycle_term_tab
If this is set to true, when switching to the next/previous term, Terminator will cycle within the same tab. Ctrl-PageUp/PageDown can then be used to move from one tab to the other one. If this is set to true, when switching to the next/previous term, Terminator will cycle within the same tab. Ctrl-PageUp/PageDown can then be used to move from one tab to the other one.
Default value: \fBTrue\fR Default value: \fBTrue\fR
.B copy_on_selection
If set to True, text selections will be automatically copied to the clipboard, in addition to being made the Primary selection.
Default value: \fBFalse\fR
.SH "SEE ALSO" .SH "SEE ALSO"
.BR gnome\-terminal(1) .BR gnome\-terminal(1)

View File

@ -167,6 +167,9 @@ class TerminatorTerm (gtk.VBox):
self._vte.connect("drag-motion", self.on_drag_motion, self) self._vte.connect("drag-motion", self.on_drag_motion, self)
self._vte.connect("drag-data-received", self.on_drag_data_received, self) self._vte.connect("drag-data-received", self.on_drag_data_received, self)
if self.conf.copy_on_selection:
self._vte.connect ("selection-changed", lambda widget: self._vte.copy_clipboard ())
self._vte.connect ("composited-changed", self.on_composited_changed) self._vte.connect ("composited-changed", self.on_composited_changed)
self._vte.connect ("window-title-changed", self.on_vte_title_change) self._vte.connect ("window-title-changed", self.on_vte_title_change)
self._vte.connect ("grab-focus", self.on_vte_focus) self._vte.connect ("grab-focus", self.on_vte_focus)
@ -306,6 +309,7 @@ text/plain
data.terminator.add(self, widgetsrc,pos) data.terminator.add(self, widgetsrc,pos)
return return
def get_location(self, vte, x, y): def get_location(self, vte, x, y):
pos = "" pos = ""
#get the diagonales function for the receiving widget #get the diagonales function for the receiving widget

45
terminator.spec Normal file
View File

@ -0,0 +1,45 @@
Summary: Terminator, The robot future of terminals
Name: terminator
Version: 0.8.1
Release: 1.fc9.rb
License: GPLv2+
Group: Terminals
URL: http://www.tenshu.net/terminator/
Source: http://code.launchpad.net/terminator/trunk/%{version}/+download/terminator_%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
BuildArch: noarch
BuildRequires: python-devel
Requires: vte, gnome-python2-gconf, GConf2
Packager: Emmanuel Bretelle <chantra AatT rpm-based DdOoTt org>
%description
Multiple GNOME terminals in one window
This is a project to produce an efficient way of filling a
large area of screen space with terminals. This is done by
splitting the window into a resizeable grid of terminals. As
such, you can produce a very flexible arrangements of terminals
for different tasks.
%prep
%setup -q -n %{name}-%{version}
%build
%__python setup.py build
%install
%__rm -rf %{buildroot}
%__python setup.py install --root=%{buildroot} --record=FILELIST.tmp
grep -v man/man1 FILELIST.tmp > FILELIST
%clean
%__rm -rf %{buildroot}
%files -f FILELIST
%defattr(-,root,root)
%doc README COPYING ChangeLog
%{_mandir}/man1/terminator.*
%changelog
* Sat May 17 2008 - chantra AatT rpm-based DdOoTt org 0.8.1.fc9.rb
- Initial release for Fedora 9.

View File

@ -125,6 +125,7 @@ class TerminatorConfValuestore:
'f11_modifier' : False, 'f11_modifier' : False,
'force_no_bell' : False, 'force_no_bell' : False,
'cycle_term_tab' : True, 'cycle_term_tab' : True,
'copy_on_selection' : False,
} }
def __getattr__ (self, keyname): def __getattr__ (self, keyname):