Hello Rob,

You were right not to integrate this correction in new package release.

In fact, I saw a little bord effect with the patch proposed here. When
user insert an existing file in project, anjuta is now trying to
insert this file two times. Impact for user is an information popup
window showing that file is already present. The file is inserted as
well.

Here is the correct file which can be used with previously send files.

Regards,
Yannick

2006/11/14, Yannick Gicquel <[EMAIL PROTECTED]>:
Hi Rob,

Currently I made some little corrections because of the big
instability I observed myself on this version software. With theses
little patchs I think the software would be stable enought to ensure a
minimum usage by users and also a big thing from my point of view : to
permit the installation if you are today using anything else that
unstable debian distribution.

I have concentrate this work on this baseline because I also remark
that Anjuta 2 more unstable under my distribution today (debian
testing). (FYI: it make X crash on my side)

Your remark is interesting, I was also thinking to bring some help to
Anjuta's developpers. I will contact them soon.


Concerning the 383949 bug, I know this is more that a simple patch but
a real new developpment. You can integrate it or not, no problem with
that. Maybe upstream developpers can validate this...


Regards,
Yannick


2006/11/14, Rob Bradford <[EMAIL PROTECTED]>:
> On Mon, 2006-11-13 at 19:48 +0100, Yannick Gicquel wrote:
> > Hi,
> >
> > This is a proposal for this feature implementation.
> >
> > Because the resolved patch use a new developped function interface in
> > file managment, it needs to be validate by project leader to confirm
> > general software behaviour.
> >
>
> Yannick,
>
> Anjuta 1.2.* is no longer actively maintained by upstream. Instead they
> are working on Anjuta 2. Perhaps you might like to join in the work? See
> http://www.anjuta.org for more information.
>
> And although I will of course apply the bug-fixes that you sent me i'd
> hate to deviate too much from the upstream version.
>
> Cheers,
>
> Rob
> --
> Rob Bradford <[EMAIL PROTECTED]>
>
>

--- anjuta-1.2.4a/src/project_dbase_gui.c	2005-04-06 11:05:45.000000000 +0200
+++ anjuta-1.2.4a-4_debug/src/project_dbase_gui.c	2006-11-23 20:08:30.000000000 +0100
@@ -1321,6 +1321,12 @@
 	ProjectDBase *p = (ProjectDBase *) user_data;
 
 	list = fileselection_get_filelist(p->fileselection_add_file);
+        if (NULL == list)
+        {
+                list = g_list_prepend (list, (gpointer)
+                                       fileselection_get_filename (p->fileselection_add_file));
+        }
+        
 	node = list;
 	while (node)
 	{
@@ -1347,9 +1353,17 @@
 			gtk_widget_show(label);
 			gtk_dialog_set_default_response (GTK_DIALOG (dialog), GTK_RESPONSE_YES);
 			button = gtk_dialog_run (GTK_DIALOG(dialog));
+
+			if(button == GTK_RESPONSE_YES)
+                        {
+                                display_new_file_with_preset (filename);
+			}
+
 			g_free(mesg);
-			if(button != GTK_RESPONSE_YES)
-				continue;
+                        gtk_widget_destroy (dialog);
+
+                        node = g_list_next (node);
+                        continue;
 		}
 		else if (!S_ISREG(s.st_mode))
 		{

Reply via email to