gnome-session r4688 - in trunk: . capplet



Author: lucasr
Date: Wed May 14 15:56:29 2008
New Revision: 4688
URL: http://svn.gnome.org/viewvc/gnome-session?rev=4688&view=rev

Log:
2008-05-14  Lucas Rocha  <lucasr gnome org>

	* capplet/ui.c (add_app_cb): remove iter from store if app is not
	actually added. #532973,  David Ronis.


Modified:
   trunk/ChangeLog
   trunk/capplet/ui.c

Modified: trunk/capplet/ui.c
==============================================================================
--- trunk/capplet/ui.c	(original)
+++ trunk/capplet/ui.c	Wed May 14 15:56:29 2008
@@ -416,6 +416,8 @@
 
   if (edit_app_dialog (_("Add Startup Program"), GTK_LIST_STORE (model), &iter, parent))
     spc_command_add_app (GTK_LIST_STORE (model), &iter);  
+  else
+    gtk_list_store_remove (GTK_LIST_STORE (model), &iter);
 }
 
 static void



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]