rpms/tsclient/devel quick-pick.patch, NONE, 1.1 tsclient.spec, 1.26, 1.27

Matthias Clasen (mclasen) fedora-extras-commits at redhat.com
Tue Oct 16 14:49:54 UTC 2007


Author: mclasen

Update of /cvs/extras/rpms/tsclient/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv12498

Modified Files:
	tsclient.spec 
Added Files:
	quick-pick.patch 
Log Message:
fix a crash when saving profiles


quick-pick.patch:

--- NEW FILE quick-pick.patch ---
diff -up tsclient-0.150/src/connect.c.quick-pick tsclient-0.150/src/connect.c
--- tsclient-0.150/src/connect.c.quick-pick	2007-10-16 10:43:08.000000000 -0400
+++ tsclient-0.150/src/connect.c	2007-10-16 10:44:16.000000000 -0400
@@ -1372,10 +1372,7 @@ on_btnSaveAs_clicked                   (
 	  if (lastdelim) {
         GtkWidget *opt = lookup_widget (main_window, "optProfileLauncher");
  	    lastdelim += strlen (home) + 1;
-  	    mi = gtk_menu_item_new_with_label (lastdelim);
-        g_signal_connect (G_OBJECT(mi), "activate", G_CALLBACK(tsc_quick_pick_activate), g_strdup (lastdelim));
-        gtk_container_add (GTK_CONTAINER(GTK_OPTION_MENU(opt)->menu), mi);
-        gtk_widget_show (mi);
+	gtk_combo_box_append_text (GTK_COMBO_BOX (opt), lastdelim);
 	  }
 	  // Try to avoid *some* memory leaks
       g_free (filename);


Index: tsclient.spec
===================================================================
RCS file: /cvs/extras/rpms/tsclient/devel/tsclient.spec,v
retrieving revision 1.26
retrieving revision 1.27
diff -u -r1.26 -r1.27
--- tsclient.spec	2 Oct 2007 05:10:40 -0000	1.26
+++ tsclient.spec	16 Oct 2007 14:49:21 -0000	1.27
@@ -8,7 +8,7 @@
 Summary: Client for VNC and Windows Terminal Server
 Name: tsclient
 Version: 0.150
-Release: 4%{?dist}
+Release: 5%{?dist}
 URL: http://www.gnomepro.com/tsclient/
 Source0: http://www.gnomepro.com/tsclient/%{name}-%{version}.tar.gz
 License: GPL+
@@ -25,12 +25,15 @@
 BuildRequires: gettext
 BuildRequires: perl(XML::Parser)
 
+Patch0: quick-pick.patch
+
 %description
 tsclient is a frontend that makes it easy to use rdesktop and vncviewer.
 You will need to install rdesktop or vnc in addition to tsclient.
 
 %prep
 %setup -q
+%patch0 -p1 -b .quick-pick
 
 %build
 
@@ -68,6 +71,9 @@
 %{_libexecdir}/tsclient-applet
 
 %changelog
+* Tue Oct 16 2007 Matthias Clasen <mclasen at redhat.com> - 0.150.5
+- Don't crash when saving a connection  (#333461)
+
 * Tue Oct  2 2007 Matthias Clasen <mclasen at redhat.com> - 0.150.4
 - Require vnc, too (#158658)
 - Fix license field




More information about the fedora-extras-commits mailing list