r24485 - in /desktop/unstable/vinagre/debian: changelog patches/01_password_limit.patch patches/series

joss at users.alioth.debian.org joss at users.alioth.debian.org
Sun Jun 6 07:42:16 UTC 2010


Author: joss
Date: Sun Jun  6 07:41:53 2010
New Revision: 24485

URL: http://svn.debian.org/wsvn/pkg-gnome/?sc=1&rev=24485
Log:
01_password_limit.patch: stolen upstream. Remove password limit for 
SSH connections. Closes: #580323.

Added:
    desktop/unstable/vinagre/debian/patches/01_password_limit.patch
Modified:
    desktop/unstable/vinagre/debian/changelog
    desktop/unstable/vinagre/debian/patches/series

Modified: desktop/unstable/vinagre/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-gnome/desktop/unstable/vinagre/debian/changelog?rev=24485&op=diff
==============================================================================
--- desktop/unstable/vinagre/debian/changelog [utf-8] (original)
+++ desktop/unstable/vinagre/debian/changelog [utf-8] Sun Jun  6 07:41:53 2010
@@ -1,3 +1,10 @@
+vinagre (2.30.1-2) UNRELEASED; urgency=low
+
+  * 01_password_limit.patch: stolen upstream. Remove password limit for 
+    SSH connections. Closes: #580323.
+
+ -- Josselin Mouette <joss at debian.org>  Sun, 06 Jun 2010 09:40:39 +0200
+
 vinagre (2.30.1-1) unstable; urgency=low
 
   [ Josselin Mouette ]

Added: desktop/unstable/vinagre/debian/patches/01_password_limit.patch
URL: http://svn.debian.org/wsvn/pkg-gnome/desktop/unstable/vinagre/debian/patches/01_password_limit.patch?rev=24485&op=file
==============================================================================
--- desktop/unstable/vinagre/debian/patches/01_password_limit.patch (added)
+++ desktop/unstable/vinagre/debian/patches/01_password_limit.patch [utf-8] Sun Jun  6 07:41:53 2010
@@ -1,0 +1,76 @@
+From e0721cd7c31291142117ec39da75d48ec4940db8 Mon Sep 17 00:00:00 2001
+From: Jonh Wendell <jwendell at gnome.org>
+Date: Sat, 22 May 2010 11:17:38 +0000
+Subject: Removed password length limit for SSH connections.
+
+---
+diff --git a/data/vinagre.ui b/data/vinagre.ui
+index d2d17bf..0841e17 100644
+--- a/data/vinagre.ui
++++ b/data/vinagre.ui
+@@ -385,7 +385,6 @@
+                     <property name="visible">True</property>
+                     <property name="can_focus">True</property>
+                     <property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
+-                    <property name="max_length">8</property>
+                     <property name="visibility">False</property>
+                     <property name="activates_default">True</property>
+                   </object>
+diff --git a/plugins/vnc/vinagre-vnc-tab.c b/plugins/vnc/vinagre-vnc-tab.c
+index 70c8f81..6d84143 100644
+--- a/plugins/vnc/vinagre-vnc-tab.c
++++ b/plugins/vnc/vinagre-vnc-tab.c
+@@ -509,6 +509,7 @@ vnc_authentication_cb (VncDisplay *vnc, GValueArray *credList, VinagreVncTab *vn
+ 					     host,
+ 					     need_username,
+ 					     need_password,
++					     8,
+ 					     &username,
+ 					     &password,
+ 					     &save_in_keyring))
+diff --git a/vinagre/vinagre-ssh.c b/vinagre/vinagre-ssh.c
+index 0d59ed9..7a5afc8 100644
+--- a/vinagre/vinagre-ssh.c
++++ b/vinagre/vinagre-ssh.c
+@@ -428,6 +428,7 @@ handle_login (GtkWindow *parent,
+ 						  full_host,
+ 						  FALSE,
+ 						  TRUE,
++						  0,
+ 						  NULL,
+ 						  &password,
+ 						  &save_in_keyring);
+diff --git a/vinagre/vinagre-utils.c b/vinagre/vinagre-utils.c
+index 0b00045..0f80e90 100644
+--- a/vinagre/vinagre-utils.c
++++ b/vinagre/vinagre-utils.c
+@@ -631,6 +631,7 @@ vinagre_utils_ask_credential (GtkWindow *parent,
+ 			      gchar *host,
+ 			      gboolean need_username,
+ 			      gboolean need_password,
++			      gint password_limit,
+ 			      gchar **username,
+ 			      gchar **password,
+ 			      gboolean *save_in_keyring)
+@@ -688,6 +689,7 @@ vinagre_utils_ask_credential (GtkWindow *parent,
+ 
+   if (need_password)
+     {
++      gtk_entry_set_max_length (GTK_ENTRY (control.pw), password_limit);
+       if (password && *password)
+         gtk_entry_set_text (GTK_ENTRY (control.pw), *password);
+     }
+diff --git a/vinagre/vinagre-utils.h b/vinagre/vinagre-utils.h
+index 146dac2..8f75df3 100644
+--- a/vinagre/vinagre-utils.h
++++ b/vinagre/vinagre-utils.h
+@@ -77,6 +77,7 @@ gboolean	vinagre_utils_ask_credential		(GtkWindow *parent,
+ 							 gchar *host,
+ 							 gboolean need_username,
+ 							 gboolean need_password,
++							 gint password_limit,
+ 							 gchar **username,
+ 							 gchar **password,
+ 							 gboolean *save_in_keyring);
+--
+cgit v0.8.3.1

Modified: desktop/unstable/vinagre/debian/patches/series
URL: http://svn.debian.org/wsvn/pkg-gnome/desktop/unstable/vinagre/debian/patches/series?rev=24485&op=diff
==============================================================================
--- desktop/unstable/vinagre/debian/patches/series [utf-8] (original)
+++ desktop/unstable/vinagre/debian/patches/series [utf-8] Sun Jun  6 07:41:53 2010
@@ -1,0 +1,1 @@
+01_password_limit.patch




More information about the pkg-gnome-commits mailing list