[vinagre] Fix the main notebook widget expansion

Tomas Bzatek tbzatek at fedoraproject.org
Wed Jun 15 16:51:19 UTC 2011


commit d60d615d39cfef5173b5c21d81f7ffca86e7843c
Author: Tomas Bzatek <tbzatek at redhat.com>
Date:   Wed Jun 15 18:51:06 2011 +0200

    Fix the main notebook widget expansion

 vinagre-3.1.2-notebook-expand.patch |   23 +++++++++++++++++++++++
 vinagre.spec                        |    8 +++++++-
 2 files changed, 30 insertions(+), 1 deletions(-)
---
diff --git a/vinagre-3.1.2-notebook-expand.patch b/vinagre-3.1.2-notebook-expand.patch
new file mode 100644
index 0000000..65912cb
--- /dev/null
+++ b/vinagre-3.1.2-notebook-expand.patch
@@ -0,0 +1,23 @@
+From 89e6ebabb2842dee867bd1f0cccb024819af1acb Mon Sep 17 00:00:00 2001
+From: Tomas Bzatek <tbzatek at redhat.com>
+Date: Tue, 14 Jun 2011 15:16:47 +0000
+Subject: Allow the main notebook to expand
+
+This was broken by the removal of the side pane, and caused the notebook
+to always take up too little space.
+---
+diff --git a/vinagre/vinagre-window.c b/vinagre/vinagre-window.c
+index 57ef6db..f2a1740 100644
+--- a/vinagre/vinagre-window.c
++++ b/vinagre/vinagre-window.c
+@@ -690,7 +690,7 @@ _create_notebook (VinagreWindow *window, GtkWidget *main_box)
+     window->priv->notebook = vinagre_notebook_new (window);
+ 
+     gtk_box_pack_start (GTK_BOX (main_box), GTK_WIDGET (window->priv->notebook),
+-        TRUE, FALSE, 0);
++        TRUE, TRUE, 0);
+ 
+     gtk_widget_show (GTK_WIDGET (window->priv->notebook));
+ }
+--
+cgit v0.9
diff --git a/vinagre.spec b/vinagre.spec
index c06d776..069532b 100644
--- a/vinagre.spec
+++ b/vinagre.spec
@@ -4,7 +4,7 @@
 
 Name:           vinagre
 Version:        3.1.2
-Release:        1%{?dist}
+Release:        2%{?dist}
 Summary:        VNC client for GNOME
 
 Group:          Applications/System
@@ -30,7 +30,9 @@ BuildRequires:  libxml2-devel >= 2.6.31
 BuildRequires:  vte3-devel >= 0.20
 BuildRequires:  scrollkeeper
 
+# from upstream
 Patch0: vinagre-3.1.2-spice-plugin.patch
+Patch1: vinagre-3.1.2-notebook-expand.patch
 
 # for /usr/share/dbus-1/services
 Requires: dbus
@@ -56,6 +58,7 @@ GNOME keyring, and browse the network to look for VNC servers.
 %prep
 %setup -q
 %patch0 -p1 -b .spice-plugin
+%patch1 -p1 -b .notebook-expand
 
 %build
 %configure --enable-avahi \
@@ -127,6 +130,9 @@ glib-compile-schemas %{_datadir}/glib-2.0/schemas || :
 
 
 %changelog
+* Wed Jun 15 2011 Tomas Bzatek <tbzatek at redhat.com> - 3.1.2-2
+- Fix the main notebook widget expansion
+
 * Tue Jun 14 2011 Tomas Bzatek <tbzatek at redhat.com> - 3.1.2-1
 - Update to 3.1.2
 - Removed -devel package


More information about the scm-commits mailing list