Commit b2025190 authored by Nalin Dahyabhai's avatar Nalin Dahyabhai

complete selection if we were selecting, not just if Shift is held down

* src/vte.c(vte_terminal_button_release): complete selection if we were
	selecting, not just if Shift is held down (allows Press Shift, Press
	Button, Release Shift, Release Button in addition to already-recognized
	Press Shift, Press Button, Release Button, Release Shift) (#121905).
* vte.spec: buildrequire gtk-doc, manually copy png images at install-time.
parent ff40403f
2004-04-30 nalin
* src/vte.c(vte_terminal_button_release): complete selection if we were
selecting, not just if Shift is held down (allows Press Shift, Press
Button, Release Shift, Release Button in addition to already-recognized
Press Shift, Press Button, Release Button, Release Shift) (#121905).
* vte.spec: buildrequire gtk-doc, manually copy png images at
install-time.
2004-04-29 nalin
* src/vte.c, NEWS, doc/reference/vte-sections.txt,
doc/reference/tmpl/vte-unused.sgml: documentation updates.
......
......@@ -10386,8 +10386,7 @@ vte_terminal_button_release(GtkWidget *widget, GdkEventButton *event)
case 1:
/* If Shift is held down, or we're not in events mode,
* copy the selected text. */
if ((terminal->pvt->modifiers & GDK_SHIFT_MASK) ||
!event_mode) {
if (terminal->pvt->selecting || !event_mode) {
/* Copy only if something was selected. */
if (terminal->pvt->has_selection &&
!terminal->pvt->selecting_restart &&
......
......@@ -6,7 +6,7 @@ License: LGPL
Group: User Interface/X
BuildRoot: %{_tmppath}/%{name}-root
Source: %{name}-%{version}.tar.gz
BuildPrereq: gtk2-devel, pygtk2-devel, python-devel
BuildPrereq: gtk-doc, gtk2-devel, pygtk2-devel, python-devel
Requires: bitmap-fonts
%description
......@@ -59,6 +59,10 @@ fi
rm -f $RPM_BUILD_ROOT/%{_libdir}/python*/site-packages/*.la
rm -f $RPM_BUILD_ROOT/%{_libdir}/python*/site-packages/*.a
for png in home left right up ; do
cp %{_datadir}/gtk-doc/data/${png}.png $RPM_BUILD_ROOT/%{_datadir}/gtk-doc/html/vte/
done
%find_lang %{name}
%post -p /sbin/ldconfig
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment