Re: RFC: GbfProjectView widget
- From: Jeroen Zwartepoorte <jeroen xs4all nl>
- To: Gustavo Giráldez <gustavo giraldez gmx net>
- Cc: Gnome Devtools list <gnome-devtools gnome org>, JP Rosevear <jpr ximian com>
- Subject: Re: RFC: GbfProjectView widget
- Date: 12 Jan 2003 12:51:44 +0100
Hey Gustavo, JP
On Sun, 2003-01-12 at 05:10, Gustavo Gir�ez wrote:
> Hi JP,
>
> I've just committed the patches to gnome-build and anjuta2 I sent last
> week, which implement the GbfProjectView widget, and modify anjuta2's
> project tool to use it.
>
> Apart from the new files in gnome-build (gbf-project-view.[ch],
> gbf-project-model.[ch] and test-project-view.c) I removed
> default-icon.[ch] (which should have been removed when the icon API
> moved to gdl) and the old widgets gbf-project-tree.[ch] and
> gbf-target-tree.[ch]. Full patches are attached.
Here's a small fix to make the project-manager compile
(libgnome/gnome-i18n.h include was missing). I've also added a shadow to
the project view in project-tool.c.
A bigger issue is that loading a project no longer works. I see a
"Spawning script" when i load a project, but nothing after that.
Attaching gdb to the anjuta2 process, it seems to be waiting for
something:
#0 0x420d224b in poll () from /lib/i686/libc.so.6
#1 0x408300c7 in g_main_context_poll (context=0x806c0e8, timeout=99,
priority=2147483647, fds=0x8393410, n_fds=11) at gmain.c:2596
#2 0x4082f5d5 in g_main_context_iterate (context=0x806c0e8, block=1,
dispatch=1, self=0x805ae90) at gmain.c:2273
#3 0x4082fc9a in g_main_loop_run (loop=0x837b490) at gmain.c:2498
#4 0x413e7f8c in spawn_script (argv=0xbfffe270, timeout=30, input=0x0,
input_size=0, input_cb=0x413e7a90 <write_child>,
output_cb=0x413e7b7c <read_output>, error_cb=0x413e7cc0
<read_error>)
at gbf-am-project.c:1336
#5 0x413e80c4 in get_project (prj=0x837b3d8,
dir=0xfffffffc <Address 0xfffffffc out of bounds>) at
gbf-am-project.c:1366
#6 0x413e86be in impl_load (project=0x837b3d8,
path=0x81a2cc8 "/home/jeroen/Projects/anjuta2", error=0xbfffe338)
at gbf-am-project.c:1585
#7 0x40d49674 in gbf_project_load (project=0x837b3d8,
path=0x81a2cc8 "/home/jeroen/Projects/anjuta2", error=0xbfffe338)
at gbf-project.c:36
#8 0x413c9cb8 in set_build (proj_tool=0x831fd08,
path=0x81a2cc8 "/home/jeroen/Projects/anjuta2") at
project-tool.c:186
Any idea why this is happening?
Regards,
Jeroen
? project-manager.patch
Index: project-tool.c
===================================================================
RCS file: /cvs/gnome/anjuta2/plugins/project-manager/project-tool.c,v
retrieving revision 1.37
diff -u -r1.37 project-tool.c
--- project-tool.c 12 Jan 2003 03:58:39 -0000 1.37
+++ project-tool.c 12 Jan 2003 11:42:03 -0000
@@ -30,6 +30,7 @@
#include <gbf/gbf-tree-data.h>
#include <gbf/gbf-build-info.h>
#include <libanjuta/libanjuta.h>
+#include <libgnome/gnome-i18n.h>
#include <libgnomevfs/gnome-vfs.h>
#include "project-druid.h"
#include "anjuta-project-manager.h"
@@ -592,6 +593,8 @@
gtk_scrolled_window_set_policy (GTK_SCROLLED_WINDOW (scrolled_window),
GTK_POLICY_AUTOMATIC,
GTK_POLICY_AUTOMATIC);
+ gtk_scrolled_window_set_shadow_type (GTK_SCROLLED_WINDOW (scrolled_window),
+ GTK_SHADOW_IN);
gtk_container_add (GTK_CONTAINER (scrolled_window), proj_tool->project_view);
gtk_widget_show (scrolled_window);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]