- added lxterminal-0.1.8-hide_menu_bar-sf3032519.patch to fix

bug sf#3032519

OBS-URL: https://build.opensuse.org/package/show/X11:lxde/lxterminal?expand=0&rev=30
This commit is contained in:
andrea florio 2010-07-21 10:08:34 +00:00 committed by Git OBS Bridge
parent f242a73864
commit 244e4bb434
3 changed files with 31 additions and 0 deletions

View File

@ -0,0 +1,20 @@
diff --git a/src/lxterminal.c b/src/lxterminal.c
index dc63796..a263150 100644
--- a/src/lxterminal.c
+++ b/src/lxterminal.c
@@ -1244,12 +1244,12 @@ LXTerminal * lxterminal_initialize(LXTermWindow * lxtermwin, CommandArguments *
/* Initialize accelerators. */
terminal_accelerator_initialize(terminal);
- /* Update terminal settings. */
- terminal_settings_apply(terminal);
-
/* Show the widget, so it is realized and has a window. */
gtk_widget_show_all(terminal->window);
+ /* Update terminal settings. */
+ terminal_settings_apply(terminal);
+
/* Initialize the geometry hints. */
gdk_window_get_geometry_hints(GTK_WIDGET(term->vte)->window, &terminal->geometry, &terminal->geometry_mask);

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Wed Jul 21 10:07:47 UTC 2010 - andrea@opensuse.org
- added lxterminal-0.1.8-hide_menu_bar-sf3032519.patch to fix
bug sf#3032519
------------------------------------------------------------------- -------------------------------------------------------------------
Tue Jul 20 07:42:08 UTC 2010 - andrea@opensuse.org Tue Jul 20 07:42:08 UTC 2010 - andrea@opensuse.org

View File

@ -32,6 +32,10 @@ Patch0: %name-0.1.8-disable-f10.patch
# PATCH-FIX-UPSTREAM lxterminal-0.1.8-fix-alt_n-sf3006779.patch andrea@opensuse.org # PATCH-FIX-UPSTREAM lxterminal-0.1.8-fix-alt_n-sf3006779.patch andrea@opensuse.org
# upstream patch to fix sf#3006779 (enable/disable Alt+n) # upstream patch to fix sf#3006779 (enable/disable Alt+n)
Patch1: %name-0.1.8-fix-alt_n-sf3006779.patch.bz2 Patch1: %name-0.1.8-fix-alt_n-sf3006779.patch.bz2
# PATCH-FIX-UPSTREAM lxterminal-0.1.8-hide_menu_bar-sf3032519.patch andrea@opensuse.org
# 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
Patch2: %name-0.1.8-hide_menu_bar-sf3032519.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
@ -48,6 +52,7 @@ of the LXDE project
%setup -q %setup -q
%patch0 -p1 %patch0 -p1
%patch1 -p1 %patch1 -p1
%patch2 -p1
%build %build
export CFLAGS="$RPM_OPT_FLAGS" export CFLAGS="$RPM_OPT_FLAGS"