- added lxterminal-0.1.8-fix_alt-key_after_tab_delete.patch to
fix bug sf#3036189 OBS-URL: https://build.opensuse.org/package/show/X11:lxde/lxterminal?expand=0&rev=31
This commit is contained in:
parent
244e4bb434
commit
1e75eadb2a
25
lxterminal-0.1.8-fix_alt-key_after_tab_delete.patch
Normal file
25
lxterminal-0.1.8-fix_alt-key_after_tab_delete.patch
Normal file
@ -0,0 +1,25 @@
|
|||||||
|
From 86fbd89e295dfd7dfdc3a4ac838e3aca524dd02c Mon Sep 17 00:00:00 2001
|
||||||
|
From: Marty Jack <martyj@linux.local>
|
||||||
|
Date: Wed, 28 Jul 2010 17:30:47 -0400
|
||||||
|
Subject: [PATCH] Fix Alt-key assignment after tab deleted (Bug3036189; Patch3036253, Ideal Shang)
|
||||||
|
|
||||||
|
---
|
||||||
|
src/lxterminal.c | 3 +++
|
||||||
|
1 files changed, 3 insertions(+), 0 deletions(-)
|
||||||
|
|
||||||
|
diff --git a/src/lxterminal.c b/src/lxterminal.c
|
||||||
|
index a263150..9f89bb4 100644
|
||||||
|
--- a/src/lxterminal.c
|
||||||
|
+++ b/src/lxterminal.c
|
||||||
|
@@ -737,6 +737,9 @@ static void terminal_child_exited_event(VteTerminal * vte, Term * term)
|
||||||
|
{
|
||||||
|
Term * t = g_ptr_array_index(terminal->terms, i);
|
||||||
|
t->index -= 1;
|
||||||
|
+ if ((GTK_IS_ACCEL_GROUP(t->parent->accel_group)) && (t->closure != NULL))
|
||||||
|
+ gtk_accel_group_disconnect(t->parent->accel_group, t->closure);
|
||||||
|
+ terminal_set_disable_alt(t, t->parent->setting->disable_alt);
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Delete the tab and free the Term structure. */
|
||||||
|
--
|
||||||
|
1.6.3
|
@ -1,3 +1,9 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Jul 29 08:30:55 UTC 2010 - andrea@opensuse.org
|
||||||
|
|
||||||
|
- added lxterminal-0.1.8-fix_alt-key_after_tab_delete.patch to
|
||||||
|
fix bug sf#3036189
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Wed Jul 21 10:07:47 UTC 2010 - andrea@opensuse.org
|
Wed Jul 21 10:07:47 UTC 2010 - andrea@opensuse.org
|
||||||
|
|
||||||
|
@ -36,6 +36,9 @@ Patch1: %name-0.1.8-fix-alt_n-sf3006779.patch.bz2
|
|||||||
# upstream patch to fix sf#3032519 if toggle on hide menu bar in preference, then exit
|
# upstream patch to fix sf#3032519 if toggle on hide menu bar in preference, then exit
|
||||||
# and restart lxterminal, lxterminal will not hide menu bar, This patch fix this problem
|
# and restart lxterminal, lxterminal will not hide menu bar, This patch fix this problem
|
||||||
Patch2: %name-0.1.8-hide_menu_bar-sf3032519.patch
|
Patch2: %name-0.1.8-hide_menu_bar-sf3032519.patch
|
||||||
|
# PATCH-FIX-UPSTREAM lxterminal-0.1.8-fix_alt-key_after_tab_delete.patch andrea@opensuse.org
|
||||||
|
# upstream patch to fix sf#3036189 Fix Alt-key assignment after tab deleted
|
||||||
|
Patch3: %name-0.1.8-fix_alt-key_after_tab_delete.patch
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
BuildRequires: fdupes gtk2-devel intltool pkg-config update-desktop-files
|
BuildRequires: fdupes gtk2-devel intltool pkg-config update-desktop-files
|
||||||
BuildRequires: docbook-utils docbook-xsl-stylesheets libxslt-devel vte-devel
|
BuildRequires: docbook-utils docbook-xsl-stylesheets libxslt-devel vte-devel
|
||||||
@ -53,6 +56,7 @@ of the LXDE project
|
|||||||
%patch0 -p1
|
%patch0 -p1
|
||||||
%patch1 -p1
|
%patch1 -p1
|
||||||
%patch2 -p1
|
%patch2 -p1
|
||||||
|
%patch3 -p1
|
||||||
|
|
||||||
%build
|
%build
|
||||||
export CFLAGS="$RPM_OPT_FLAGS"
|
export CFLAGS="$RPM_OPT_FLAGS"
|
||||||
|
Loading…
Reference in New Issue
Block a user