java-gnome-developer Mailing List for The java-gnome language bindings project (Page 101)
Brought to you by:
afcowie
You can subscribe to this list here.
2000 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
(37) |
Dec
(14) |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2001 |
Jan
(2) |
Feb
(20) |
Mar
(20) |
Apr
(8) |
May
|
Jun
(1) |
Jul
(6) |
Aug
(39) |
Sep
(37) |
Oct
(34) |
Nov
(50) |
Dec
(22) |
2002 |
Jan
(7) |
Feb
(13) |
Mar
(32) |
Apr
(16) |
May
(26) |
Jun
(20) |
Jul
(32) |
Aug
(7) |
Sep
(2) |
Oct
(11) |
Nov
(3) |
Dec
(35) |
2003 |
Jan
(11) |
Feb
(3) |
Mar
(8) |
Apr
(3) |
May
(11) |
Jun
(20) |
Jul
(11) |
Aug
(29) |
Sep
(13) |
Oct
(91) |
Nov
(185) |
Dec
(207) |
2004 |
Jan
(108) |
Feb
(171) |
Mar
(207) |
Apr
(113) |
May
(22) |
Jun
(53) |
Jul
(69) |
Aug
(43) |
Sep
(34) |
Oct
(182) |
Nov
(101) |
Dec
(61) |
2005 |
Jan
(86) |
Feb
(45) |
Mar
(106) |
Apr
(67) |
May
(70) |
Jun
(47) |
Jul
(19) |
Aug
(34) |
Sep
(24) |
Oct
(45) |
Nov
(20) |
Dec
(58) |
2006 |
Jan
(21) |
Feb
(21) |
Mar
(16) |
Apr
(24) |
May
(24) |
Jun
(47) |
Jul
(20) |
Aug
(8) |
Sep
(13) |
Oct
(7) |
Nov
(23) |
Dec
(2) |
2007 |
Jan
|
Feb
(14) |
Mar
(3) |
Apr
(11) |
May
(1) |
Jun
(15) |
Jul
(2) |
Aug
(5) |
Sep
(10) |
Oct
(5) |
Nov
(1) |
Dec
|
2008 |
Jan
|
Feb
(13) |
Mar
(13) |
Apr
(4) |
May
(2) |
Jun
(1) |
Jul
(5) |
Aug
(7) |
Sep
(2) |
Oct
(14) |
Nov
(11) |
Dec
(12) |
2009 |
Jan
(30) |
Feb
(4) |
Mar
(16) |
Apr
(9) |
May
(9) |
Jun
(7) |
Jul
(6) |
Aug
(3) |
Sep
(14) |
Oct
(8) |
Nov
(12) |
Dec
(9) |
2010 |
Jan
(4) |
Feb
(27) |
Mar
(6) |
Apr
(4) |
May
(3) |
Jun
(13) |
Jul
(6) |
Aug
(15) |
Sep
(15) |
Oct
(12) |
Nov
(11) |
Dec
(9) |
2011 |
Jan
(12) |
Feb
(11) |
Mar
|
Apr
(3) |
May
|
Jun
(3) |
Jul
(1) |
Aug
|
Sep
(1) |
Oct
(8) |
Nov
(1) |
Dec
|
2012 |
Jan
|
Feb
(10) |
Mar
|
Apr
|
May
|
Jun
|
Jul
(6) |
Aug
(2) |
Sep
(7) |
Oct
(7) |
Nov
|
Dec
(4) |
2013 |
Jan
(8) |
Feb
(1) |
Mar
(1) |
Apr
(2) |
May
(3) |
Jun
(3) |
Jul
(16) |
Aug
|
Sep
|
Oct
|
Nov
(1) |
Dec
(1) |
2014 |
Jan
(1) |
Feb
|
Mar
|
Apr
|
May
(1) |
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2015 |
Jan
|
Feb
|
Mar
|
Apr
(2) |
May
(2) |
Jun
|
Jul
|
Aug
|
Sep
|
Oct
(2) |
Nov
|
Dec
|
2016 |
Jan
|
Feb
(1) |
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
(1) |
Sep
|
Oct
|
Nov
|
Dec
|
2017 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
(1) |
Dec
|
2018 |
Jan
|
Feb
(1) |
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2020 |
Jan
(1) |
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
From: Mark H. <mh...@ca...> - 2003-12-29 22:03:34
|
Hi, Sorry for the long delay in responding On Mon, Dec 15, 2003 at 05:51:01PM +0100, Alex Moreno wrote: > i´m not sure how to do the next. I want to have a login window that > when you press OK, dissapears and lets a new window to get the control. > If i try to hide or destroying the login window the application crashes. Could you please send the output of this crash? It could be a bug in java-gnome. If you could send your full example program too, it might help resolve this issue. For a HIG-compliant gnome application, the correct way to to handle such a situation is to create the main window, display it but have it setSensitive(false). Then have your login dialog as a modal popup window. See recent releases of the gnome-system-tools as an example. -- .''`. Mark Howard : :' : `. `' http://www.tildemh.com `- mh...@de... | mh...@ti... | mh...@ca... |
From: Mark H. <mh...@ca...> - 2003-12-29 22:03:31
|
On Mon, Dec 22, 2003 at 09:26:03AM +0000, Andrew wrote: > I was hoping for an answer to this as well. > The only way I found around this problem (and it's not a good one) is to > load all the windows and just show/hide them, but this means they sit in > memory and it's really just wrong ! > I guess we do need to have multiple glade files. If you're going to show/hide them anyway, you might as well load them. Please send examples of your applications crashing - it could be bugs in java-gnome which we may be able to fix. -- .''`. Mark Howard : :' : `. `' http://www.tildemh.com `- mh...@de... | mh...@ti... | mh...@ca... |
From: Mark H. <mh...@ca...> - 2003-12-29 22:03:31
|
I think it's a case of the latest release of kaffe might work with java-gnome, but nobody is using it much. gcj/gij should work fine. On Fri, Dec 19, 2003 at 10:34:13AM -0400, Rafael George <rg...@ya...> wrote: > Does kaffe works fine with the gtk+ bindings, im using sun's jvm right > now for testing on my work but on my house i want another options > because my limit of bw, if its so just let me know, thx -- .''`. Mark Howard : :' : `. `' http://www.tildemh.com `- mh...@de... | mh...@ti... | mh...@ca... |
From: Luca De R. <pie...@li...> - 2003-12-28 16:46:10
|
Il dom, 2003-12-28 alle 17:36, Luca De Rugeriis ha scritto: > Il dom, 2003-12-28 alle 16:51, Luca De Rugeriis ha scritto: > > Il sab, 2003-12-27 alle 14:13, Mark Howard ha scritto: > > > The password dialog is a new widget for gnome 2.5. It should not be in > > > the 0.8 branch. Simply removing the files should fix the problems. > > > Also, could you please copy the common/NEWS file from head to 0.8 > > > branch, remove the 2.x section and a note about this gnome password > > > dialog in a new 0.8.3 section. > > Ok, I'll do that. > > > > > Since this is an FTBFS bug (fails to build from source), we should > > > probably make a 0.8.3 maintenance release fairly soon. > > It's exactly what I was thinking. We should provide a release that > > compiles fine, at least, cause there are still some months before > > gnome-2.6. > > > > > Is there anything > > > else to fix? > > GConf compilation always failed for me. This is being caused because the > > build process is using GCONF_LIBS during the linking for gconf even > > though this isn't set anywhere. > > > > > I have a fix for menu popups which I will commit as soon as I get > > > internet access again. > > > The build system fixes in cvs HEAD have all been related to > > > the new version numbers, so shouldn't need backporting to 0.8. > > Mark, I guess I should use the RELEASE_0_8_2 tag in cvs, is this right? > Or I should use the maint-0_8 ? I think I have to use maint-0_8, if not I coudn't commit the changes. However I've made an error, I've removed the PasswordDialog files, but the files in my cvs sandbox were tagged RELEASE_0_8_2. What I have to do? Upload those files back? -- Luca De Rugeriis <pie...@li...> |
From: Luca De R. <pie...@li...> - 2003-12-28 16:37:32
|
Il dom, 2003-12-28 alle 16:51, Luca De Rugeriis ha scritto: > Il sab, 2003-12-27 alle 14:13, Mark Howard ha scritto: > > The password dialog is a new widget for gnome 2.5. It should not be in > > the 0.8 branch. Simply removing the files should fix the problems. > > Also, could you please copy the common/NEWS file from head to 0.8 > > branch, remove the 2.x section and a note about this gnome password > > dialog in a new 0.8.3 section. > Ok, I'll do that. > > > Since this is an FTBFS bug (fails to build from source), we should > > probably make a 0.8.3 maintenance release fairly soon. > It's exactly what I was thinking. We should provide a release that > compiles fine, at least, cause there are still some months before > gnome-2.6. > > > Is there anything > > else to fix? > GConf compilation always failed for me. This is being caused because the > build process is using GCONF_LIBS during the linking for gconf even > though this isn't set anywhere. > > > I have a fix for menu popups which I will commit as soon as I get > > internet access again. > > The build system fixes in cvs HEAD have all been related to > > the new version numbers, so shouldn't need backporting to 0.8. > Mark, I guess I should use the RELEASE_0_8_2 tag in cvs, is this right? Or I should use the maint-0_8 ? -- Luca De Rugeriis <pie...@li...> |
From: Luca De R. <pie...@li...> - 2003-12-28 15:52:47
|
Il sab, 2003-12-27 alle 14:13, Mark Howard ha scritto: > The password dialog is a new widget for gnome 2.5. It should not be in > the 0.8 branch. Simply removing the files should fix the problems. > Also, could you please copy the common/NEWS file from head to 0.8 > branch, remove the 2.x section and a note about this gnome password > dialog in a new 0.8.3 section. Ok, I'll do that. > Since this is an FTBFS bug (fails to build from source), we should > probably make a 0.8.3 maintenance release fairly soon. It's exactly what I was thinking. We should provide a release that compiles fine, at least, cause there are still some months before gnome-2.6. > Is there anything > else to fix? GConf compilation always failed for me. This is being caused because the build process is using GCONF_LIBS during the linking for gconf even though this isn't set anywhere. > I have a fix for menu popups which I will commit as soon as I get > internet access again. > The build system fixes in cvs HEAD have all been related to > the new version numbers, so shouldn't need backporting to 0.8. Mark, I guess I should use the RELEASE_0_8_2 tag in cvs, is this right? -- Luca De Rugeriis <pie...@li...> |
From: Jeffrey M. <ku...@zo...> - 2003-12-28 13:34:45
|
On Sat, 2003-12-27 at 08:13, Mark Howard wrote: > The password dialog is a new widget for gnome 2.5. It should not be in > the 0.8 branch. Simply removing the files should fix the problems. It actually was new in 2.4. Still I think the correct solution is to remove it. This raises an issue. When we have our 2.6 release it will not compile with most distros since they usually lag behind by about 6 months. -Jeff |
From: Mark H. <mh...@ca...> - 2003-12-28 05:15:45
|
Hi, When creating a new topic please hit new, not reply. When you hit reply, an In-Reply-To header is added to your message. Many email clients will group together related messages in a threaded view based on this information. On Sat, Dec 27, 2003 at 10:02:33AM +0000, Andrew wrote: > I have looked through the examples, and I am silly enough not to work > out how to get the current row selected in a treeview/listview. > Is there actually an example, if not, could someone show me how this is > done? We should probably add a method for this to java-gnome. Please file a bug report for it. In my applications, I have added a listener to the selection of the treeview: pkgView.getSelection().addListener( watchSelectionChange ); private TreeSelectionListener watchSelectionChange = new TreeSelectionListener(){ public void selectionChangedEvent(TreeSelectionEvent event){ TreeSelectionForEach fe = new TreeSelectionForEach(){ public void forEach(TreeModel model, TreePath path, TreeIter iter){ ... } }; pkgView.getSelection().forEachSelected(fe); } }; > Also, is the cromagnon application included in the 0.82 release? I have > it on my pc at home which is an older release (0.8 or 081 I think), > however the file structure seems to have changed A LOT in this more > recent release. Are you subscribed to java-gnome-announce? I did explain the file structure changes in an announcement of 0.8.2 release. cromagnon is not included in 0.8.2. It is a little too big for an example app; and if it is to survive, it should be developed in it's own project. -- .''`. Mark Howard : :' : `. `' http://www.tildemh.com `- mh...@de... | mh...@ti... | mh...@ca... |
From: Mark H. <mh...@ca...> - 2003-12-28 05:15:37
|
Hi, Java-Gnome does not have any support for libegg at the moment. It is unlikely that we will add it in the future either, since libegg changes very quickly. However, the best bits of libegg always move into standard gtk/gnome once they become stable and are accepted as being useful. Once they are there, java-gnome will support them. Our new release schedule means that our support for them will be very shortly after gnome supports them. (For those reading this who don't know, libegg is a library for new widgets which are being developed. It changes very quickly and so is not usually supported by many applications. However, once widgets in libegg are proven to be useful, they are moved into core gtk/gnome libraries) If you do want to add support for this part of libegg yourself, the only documentation that is available is the java-gnome source code itself. you would have to create a new java-gnome module containing jni and java code. This would require quite detailed knowledge of java, jni and of course the libegg api. If you have this, then we would be glad to help out with any problems you encounter (although java-gnome developers are currently very busy adding support for gnome 2.5, so we might be a little slow in responding at the moment) -- .''`. Mark Howard : :' : `. `' http://www.tildemh.com `- mh...@de... | mh...@ti... | mh...@ca... |
From: Mark H. <mh...@ca...> - 2003-12-27 18:51:37
|
The password dialog is a new widget for gnome 2.5. It should not be in the 0.8 branch. Simply removing the files should fix the problems. Also, could you please copy the common/NEWS file from head to 0.8 branch, remove the 2.x section and a note about this gnome password dialog in a new 0.8.3 section. Since this is an FTBFS bug (fails to build from source), we should probably make a 0.8.3 maintenance release fairly soon. Is there anything else to fix? I have a fix for menu popups which I will commit as soon as I get internet access again. The build system fixes in cvs HEAD have all been related to the new version numbers, so shouldn't need backporting to 0.8. -- .''`. Mark Howard : :' : `. `' http://www.tildemh.com `- mh...@de... | mh...@ti... | mh...@ca... |
From: Luca De R. <pie...@li...> - 2003-12-27 15:06:30
|
Il sab, 2003-12-27 alle 11:02, Andrew ha scritto: > Hi, > > I have looked through the examples, and I am silly enough not to work > out how to get the current row selected in a treeview/listview. > Is there actually an example, if not, could someone show me how this is > done? What do you mean exactly? When you have a treeview widget it should just select a row with a mouse click. Maybe are you asking how to catch the row selected event? > Also, is the cromagnon application included in the 0.82 release? No, it was removed from the distribution in order to become a standalone project. > I have > it on my pc at home which is an older release (0.8 or 081 I think), Last time I've touched CroMagnon it was version 0.2. If you want I'll send you an updated CroMagnon tarball, let me know. -- Luca De Rugeriis <pie...@li...> |
From: Luca De R. <pie...@li...> - 2003-12-27 14:57:04
|
Il sab, 2003-12-27 alle 13:27, Jeffrey Morgan ha scritto: > The problem is that it cannot find the PasswordDialog widget. > Does the version of libgnomeui you are using have this widget? > I know it was included in gnome 2.4.0.1 (the version on my > system). Perhaps we should remove this class entirely from > the 0.8 stream if earlier versions of libgnomeui didn't > include it. You are totally right, my libgnomeui-2.2.0 doesn't have any PasswordDialog widget... we should clearly state that you need gnome 2.4 for the stable version and gnome-2.5.1 for the dev version, or we should remove that class from stable. -- Luca De Rugeriis <pie...@li...> |
From: Jeffrey M. <ku...@zo...> - 2003-12-27 12:34:29
|
The problem is that it cannot find the PasswordDialog widget. Does the version of libgnomeui you are using have this widget? I know it was included in gnome 2.4.0.1 (the version on my system). Perhaps we should remove this class entirely from the 0.8 stream if earlier versions of libgnomeui didn't include it. -Jeff On Fri, 2003-12-26 at 23:33, Luca De Rugeriis wrote: > Il sab, 2003-12-27 alle 03:01, Jeffrey Morgan ha scritto: > > On Fri, 2003-12-26 at 15:21, Luca De Rugeriis wrote: > > > Ehr, this was only the first line of the error. I've guessed it was the > > > significant one, but clearly it's not. > > > > It compiles file for me. My compilation line is: > Jeff, I'm talking about the 0.8 branch exclusively. The dev branch > compiles fine for me too. > > The problem arises even after the two PasswordDialog files (the .java > and the .c one) are overrided with the ones from the dev version. > > This is my compilation line: > > > make[1]: Entering directory > `/home/mari/java-gnome0.8/java-gnome/gnome/src' > CLASSPATH=java:../../gtk/lib/gtk0.8-0.8.2.jar::java > /home/mari/j2sdk_nb/j2sdk1.4.2/bin/javac -d build-java \ > java/org/gnu/gnome/PasswordDialog.java > gcc -c -g -O2 -fPIC jni/org_gnu_gnome_PasswordDialog.c -o > jni/org_gnu_gnome_PasswordDialog.o -I > /home/mari/j2sdk_nb/j2sdk1.4.2/include -I > /home/mari/j2sdk_nb/j2sdk1.4.2/include/linux -I/usr/include/gtk-2.0 > -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 > -I/usr/include/pango-1.0 -I/usr/X11R6/include -I/usr/include/freetype2 > -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include \ > -I/usr/include/gtkhtml-2.0 -I/usr/include/gtk-2.0 > -I/usr/include/libxml2 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 > -I/usr/include/pango-1.0 -I/usr/X11R6/include -I/usr/include/freetype2 > -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DORBIT2=1 > -pthread -I/usr/include/libgnomeui-2.0 -I/usr/include/libgnome-2.0 > -I/usr/include/libgnomecanvas-2.0 -I/usr/include/gtk-2.0 > -I/usr/include/libart-2.0 -I/usr/include/gconf/2 > -I/usr/include/libbonoboui-2.0 -I/usr/include/glib-2.0 > -I/usr/lib/glib-2.0/include -I/usr/include/orbit-2.0 > -I/usr/include/libbonobo-2.0 -I/usr/include/gnome-vfs-2.0 > -I/usr/lib/gnome-vfs-2.0/include -I/usr/include/linc-1.0 > -I/usr/include/bonobo-activation-2.0 -I/usr/include/pango-1.0 > -I/usr/include/freetype2 -I/usr/lib/gtk-2.0/include > -I/usr/include/atk-1.0 -I/usr/X11R6/include -I/usr/include/libxml2 > -I/usr/include/libglade-2.0 -I/usr/include/gtk-2.0 > -I/usr/include/libxml2 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 > -I/usr/include/pango-1.0 -I/usr/X11R6/include -I/usr/include/freetype2 > -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include > jni/org_gnu_gnome_PasswordDialog.c: In function > `Java_org_gnu_gnome_PasswordDialog_gnome_1password_1dialog_1new': > jni/org_gnu_gnome_PasswordDialog.c:57: warning: initialization makes > pointer from integer without a cast > jni/org_gnu_gnome_PasswordDialog.c: In function > `Java_org_gnu_gnome_PasswordDialog_gnome_1password_1dialog_1run_1and_1block': > jni/org_gnu_gnome_PasswordDialog.c:77: `GnomePasswordDialog' undeclared > (first use in this function) > jni/org_gnu_gnome_PasswordDialog.c:77: (Each undeclared identifier is > reported only once > jni/org_gnu_gnome_PasswordDialog.c:77: for each function it appears in.) > jni/org_gnu_gnome_PasswordDialog.c:77: parse error before ')' token > jni/org_gnu_gnome_PasswordDialog.c: In function > `Java_org_gnu_gnome_PasswordDialog_gnome_1password_1dialog_1set_1username': > jni/org_gnu_gnome_PasswordDialog.c:89: `GnomePasswordDialog' undeclared > (first use in this function) > jni/org_gnu_gnome_PasswordDialog.c:89: parse error before ')' token > jni/org_gnu_gnome_PasswordDialog.c: In function > `Java_org_gnu_gnome_PasswordDialog_gnome_1password_1dialog_1set_1password': > jni/org_gnu_gnome_PasswordDialog.c:102: `GnomePasswordDialog' undeclared > (first use in this function) > jni/org_gnu_gnome_PasswordDialog.c:102: parse error before ')' token > jni/org_gnu_gnome_PasswordDialog.c: In function > `Java_org_gnu_gnome_PasswordDialog_gnome_1password_1dialog_1set_1readonly_1username': > jni/org_gnu_gnome_PasswordDialog.c:114: `GnomePasswordDialog' undeclared > (first use in this function) > jni/org_gnu_gnome_PasswordDialog.c:114: parse error before ')' token > jni/org_gnu_gnome_PasswordDialog.c: In function > `Java_org_gnu_gnome_PasswordDialog_gnome_1password_1dialog_1set_1remember': > jni/org_gnu_gnome_PasswordDialog.c:125: `GnomePasswordDialog' undeclared > (first use in this function) > jni/org_gnu_gnome_PasswordDialog.c:125: parse error before ')' token > jni/org_gnu_gnome_PasswordDialog.c: In function > `Java_org_gnu_gnome_PasswordDialog_gnome_1password_1dialog_1get_1username': > jni/org_gnu_gnome_PasswordDialog.c:136: `GnomePasswordDialog' undeclared > (first use in this function) > jni/org_gnu_gnome_PasswordDialog.c:136: parse error before ')' token > jni/org_gnu_gnome_PasswordDialog.c: In function > `Java_org_gnu_gnome_PasswordDialog_gnome_1password_1dialog_1get_1password': > jni/org_gnu_gnome_PasswordDialog.c:148: `GnomePasswordDialog' undeclared > (first use in this function) > jni/org_gnu_gnome_PasswordDialog.c:148: parse error before ')' token > jni/org_gnu_gnome_PasswordDialog.c: In function > `Java_org_gnu_gnome_PasswordDialog_gnome_1password_1dialog_1get_1remember': > jni/org_gnu_gnome_PasswordDialog.c:160: `GnomePasswordDialog' undeclared > (first use in this function) > jni/org_gnu_gnome_PasswordDialog.c:160: parse error before ')' token > make[1]: *** [jni/org_gnu_gnome_PasswordDialog.o] Error 1 > make[1]: Leaving directory > `/home/mari/java-gnome0.8/java-gnome/gnome/src' > make: *** [distro] Error 2 > > |
From: Andrew <ac...@on...> - 2003-12-27 10:04:14
|
Hi, I have looked through the examples, and I am silly enough not to work out how to get the current row selected in a treeview/listview. Is there actually an example, if not, could someone show me how this is done? Also, is the cromagnon application included in the 0.82 release? I have it on my pc at home which is an older release (0.8 or 081 I think), however the file structure seems to have changed A LOT in this more recent release. Thanks :) -- [ A n d r e w ] -------|------- |
From: Luca De R. <pie...@li...> - 2003-12-27 04:34:28
|
Il sab, 2003-12-27 alle 03:01, Jeffrey Morgan ha scritto: > On Fri, 2003-12-26 at 15:21, Luca De Rugeriis wrote: > > Ehr, this was only the first line of the error. I've guessed it was the > > significant one, but clearly it's not. > > It compiles file for me. My compilation line is: Jeff, I'm talking about the 0.8 branch exclusively. The dev branch compiles fine for me too. The problem arises even after the two PasswordDialog files (the .java and the .c one) are overrided with the ones from the dev version. This is my compilation line: make[1]: Entering directory `/home/mari/java-gnome0.8/java-gnome/gnome/src' CLASSPATH=java:../../gtk/lib/gtk0.8-0.8.2.jar::java /home/mari/j2sdk_nb/j2sdk1.4.2/bin/javac -d build-java \ java/org/gnu/gnome/PasswordDialog.java gcc -c -g -O2 -fPIC jni/org_gnu_gnome_PasswordDialog.c -o jni/org_gnu_gnome_PasswordDialog.o -I /home/mari/j2sdk_nb/j2sdk1.4.2/include -I /home/mari/j2sdk_nb/j2sdk1.4.2/include/linux -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/pango-1.0 -I/usr/X11R6/include -I/usr/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include \ -I/usr/include/gtkhtml-2.0 -I/usr/include/gtk-2.0 -I/usr/include/libxml2 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/pango-1.0 -I/usr/X11R6/include -I/usr/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DORBIT2=1 -pthread -I/usr/include/libgnomeui-2.0 -I/usr/include/libgnome-2.0 -I/usr/include/libgnomecanvas-2.0 -I/usr/include/gtk-2.0 -I/usr/include/libart-2.0 -I/usr/include/gconf/2 -I/usr/include/libbonoboui-2.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/orbit-2.0 -I/usr/include/libbonobo-2.0 -I/usr/include/gnome-vfs-2.0 -I/usr/lib/gnome-vfs-2.0/include -I/usr/include/linc-1.0 -I/usr/include/bonobo-activation-2.0 -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/X11R6/include -I/usr/include/libxml2 -I/usr/include/libglade-2.0 -I/usr/include/gtk-2.0 -I/usr/include/libxml2 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/pango-1.0 -I/usr/X11R6/include -I/usr/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include jni/org_gnu_gnome_PasswordDialog.c: In function `Java_org_gnu_gnome_PasswordDialog_gnome_1password_1dialog_1new': jni/org_gnu_gnome_PasswordDialog.c:57: warning: initialization makes pointer from integer without a cast jni/org_gnu_gnome_PasswordDialog.c: In function `Java_org_gnu_gnome_PasswordDialog_gnome_1password_1dialog_1run_1and_1block': jni/org_gnu_gnome_PasswordDialog.c:77: `GnomePasswordDialog' undeclared (first use in this function) jni/org_gnu_gnome_PasswordDialog.c:77: (Each undeclared identifier is reported only once jni/org_gnu_gnome_PasswordDialog.c:77: for each function it appears in.) jni/org_gnu_gnome_PasswordDialog.c:77: parse error before ')' token jni/org_gnu_gnome_PasswordDialog.c: In function `Java_org_gnu_gnome_PasswordDialog_gnome_1password_1dialog_1set_1username': jni/org_gnu_gnome_PasswordDialog.c:89: `GnomePasswordDialog' undeclared (first use in this function) jni/org_gnu_gnome_PasswordDialog.c:89: parse error before ')' token jni/org_gnu_gnome_PasswordDialog.c: In function `Java_org_gnu_gnome_PasswordDialog_gnome_1password_1dialog_1set_1password': jni/org_gnu_gnome_PasswordDialog.c:102: `GnomePasswordDialog' undeclared (first use in this function) jni/org_gnu_gnome_PasswordDialog.c:102: parse error before ')' token jni/org_gnu_gnome_PasswordDialog.c: In function `Java_org_gnu_gnome_PasswordDialog_gnome_1password_1dialog_1set_1readonly_1username': jni/org_gnu_gnome_PasswordDialog.c:114: `GnomePasswordDialog' undeclared (first use in this function) jni/org_gnu_gnome_PasswordDialog.c:114: parse error before ')' token jni/org_gnu_gnome_PasswordDialog.c: In function `Java_org_gnu_gnome_PasswordDialog_gnome_1password_1dialog_1set_1remember': jni/org_gnu_gnome_PasswordDialog.c:125: `GnomePasswordDialog' undeclared (first use in this function) jni/org_gnu_gnome_PasswordDialog.c:125: parse error before ')' token jni/org_gnu_gnome_PasswordDialog.c: In function `Java_org_gnu_gnome_PasswordDialog_gnome_1password_1dialog_1get_1username': jni/org_gnu_gnome_PasswordDialog.c:136: `GnomePasswordDialog' undeclared (first use in this function) jni/org_gnu_gnome_PasswordDialog.c:136: parse error before ')' token jni/org_gnu_gnome_PasswordDialog.c: In function `Java_org_gnu_gnome_PasswordDialog_gnome_1password_1dialog_1get_1password': jni/org_gnu_gnome_PasswordDialog.c:148: `GnomePasswordDialog' undeclared (first use in this function) jni/org_gnu_gnome_PasswordDialog.c:148: parse error before ')' token jni/org_gnu_gnome_PasswordDialog.c: In function `Java_org_gnu_gnome_PasswordDialog_gnome_1password_1dialog_1get_1remember': jni/org_gnu_gnome_PasswordDialog.c:160: `GnomePasswordDialog' undeclared (first use in this function) jni/org_gnu_gnome_PasswordDialog.c:160: parse error before ')' token make[1]: *** [jni/org_gnu_gnome_PasswordDialog.o] Error 1 make[1]: Leaving directory `/home/mari/java-gnome0.8/java-gnome/gnome/src' make: *** [distro] Error 2 -- Luca De Rugeriis <pie...@li...> |
From: Yuedong Du <yue...@su...> - 2003-12-27 03:02:22
|
Hi All, I want to implement the java-gnome binding for tray( in libegg). With this feature I hope java application can be more tightly integrated into gnome desktop. For example, a java mail client will launch a tray icon in the notification area when startup. I think it is very useful. Is there any document point me how to do this? Thanks. York |
From: Jeffrey M. <ku...@zo...> - 2003-12-27 02:08:44
|
On Fri, 2003-12-26 at 15:21, Luca De Rugeriis wrote: > Ehr, this was only the first line of the error. I've guessed it was the > significant one, but clearly it's not. It compiles file for me. My compilation line is: gcc -c -g -O2 -fPIC jni/org_gnu_gnome_PasswordDialog.c -o jni/org_gnu_gnome_PasswordDialog.o -I /opt/blackdown-jdk-1.4.1/include -I /opt/blackdown-jdk-1.4.1/include/linux -I/home/jeff/gnome2.5.1/include/gtk-2.0 -I/home/jeff/gnome2.5.1/lib/gtk-2.0/include -I/home/jeff/gnome2.5.1/include/atk-1.0 -I/home/jeff/gnome2.5.1/include -I/usr/X11R6/include -I/home/jeff/gnome2.5.1/include/pango-1.0 -I/home/jeff/gnome2.5.1/include/freetype2 -I/home/jeff/gnome2.5.1/include/glib-2.0 -I/home/jeff/gnome2.5.1/lib/glib-2.0/include \ -I/home/jeff/gnome2.5.1/include/gtkhtml-2.0 -I/home/jeff/gnome2.5.1/include/gtk-2.0 -I/home/jeff/gnome2.5.1/include/libxml2 -I/home/jeff/gnome2.5.1/lib/gtk-2.0/include -I/home/jeff/gnome2.5.1/include/atk-1.0 -I/home/jeff/gnome2.5.1/include -I/usr/X11R6/include -I/home/jeff/gnome2.5.1/include/pango-1.0 -I/home/jeff/gnome2.5.1/include/freetype2 -I/home/jeff/gnome2.5.1/include/glib-2.0 -I/home/jeff/gnome2.5.1/lib/glib-2.0/include -DORBIT2=1 -pthread -I/home/jeff/gnome2.5.1/include/libgnomeui-2.0 -I/home/jeff/gnome2.5.1/include/libgnome-2.0 -I/home/jeff/gnome2.5.1/include/libgnomecanvas-2.0 -I/home/jeff/gnome2.5.1/include/gtk-2.0 -I/home/jeff/gnome2.5.1/include/libart-2.0 -I/home/jeff/gnome2.5.1/include/gconf/2 -I/home/jeff/gnome2.5.1/include/libbonoboui-2.0 -I/home/jeff/gnome2.5.1/include/glib-2.0 -I/home/jeff/gnome2.5.1/lib/glib-2.0/include -I/home/jeff/gnome2.5.1/include/orbit-2.0 -I/home/jeff/gnome2.5.1/include/libbonobo-2.0 -I/home/jeff/gnome2.5.1/include/gnome-vfs-2.0 -I/home/jeff/gnome2.5.1/lib/gnome-vfs-2.0/include -I/home/jeff/gnome2.5.1/include/bonobo-activation-2.0 -I/home/jeff/gnome2.5.1/include/pango-1.0 -I/home/jeff/gnome2.5.1/include -I/home/jeff/gnome2.5.1/include/freetype2 -I/home/jeff/gnome2.5.1/lib/gtk-2.0/include -I/home/jeff/gnome2.5.1/include/atk-1.0 -I/usr/X11R6/include -I/home/jeff/gnome2.5.1/include/libxml2 -I/home/jeff/gnome2.5.1/include/libglade-2.0 -I/home/jeff/gnome2.5.1/include/gtk-2.0 -I/home/jeff/gnome2.5.1/include/libxml2 -I/home/jeff/gnome2.5.1/lib/gtk-2.0/include -I/home/jeff/gnome2.5.1/include/atk-1.0 -I/home/jeff/gnome2.5.1/include -I/usr/X11R6/include -I/home/jeff/gnome2.5.1/include/pango-1.0 -I/home/jeff/gnome2.5.1/include/freetype2 -I/home/jeff/gnome2.5.1/include/glib-2.0 -I/home/jeff/gnome2.5.1/lib/glib-2.0/include The critical include here is the libgnomeui-2.0. The header file gnome.h is included in this directory and it in turn includes libgnomeui/libgnomeui.h which includes gnome-password-dialog.h. Please make sure that your compilation line includes this. -Jeff |
From: Luca De R. <pie...@li...> - 2003-12-26 20:22:42
|
Il ven, 2003-12-26 alle 20:43, Jeffrey Morgan ha scritto: > On Fri, 2003-12-26 at 14:17, Luca De Rugeriis wrote: > > Il ven, 2003-12-26 alle 19:25, Jeffrey Morgan ha scritto: > > > On Fri, 2003-12-26 at 12:48, Luca De Rugeriis wrote: > > > > If everyone agrees, I will commit the new PasswordDialog and > > > > org_gnu_gnome_PasswordDialog.c back into 0.8 branch. Let me know. > > > > > > Yes. Please commit the fix. > > I'm sorry but it doesn't fix the problem for me: > > the org_gnu_gnome_PasswordDialog.c files are identical (between > > versions), the corresponding java class was upgraded with the new one > > but it still complains: > > The files should not be identical. I made a change a few days > ago. I removed the method that no longer exists in the 2.5 > stream. You're rigth, they're different. I've wrongly typed a diff command . > > jni/org_gnu_gnome_PasswordDialog.c: In function > > `Java_org_gnu_gnome_PasswordDialog_gnome_1password_1dialog_1new': > > jni/org_gnu_gnome_PasswordDialog.c:57: warning: initialization makes > > pointer from integer without a cast > > > > It seems to me a C problem only... > > This is only a warning and shouldn't cause the build to fail. Ehr, this was only the first line of the error. I've guessed it was the significant one, but clearly it's not. This is the whole error message: jni/org_gnu_gnome_PasswordDialog.c: In function `Java_org_gnu_gnome_PasswordDialog_gnome_1password_1dialog_1new': jni/org_gnu_gnome_PasswordDialog.c:57: warning: initialization makes pointer from integer without a cast jni/org_gnu_gnome_PasswordDialog.c: In function `Java_org_gnu_gnome_PasswordDialog_gnome_1password_1dialog_1run_1and_1block': jni/org_gnu_gnome_PasswordDialog.c:77: `GnomePasswordDialog' undeclared (first use in this function) jni/org_gnu_gnome_PasswordDialog.c:77: (Each undeclared identifier is reported only once jni/org_gnu_gnome_PasswordDialog.c:77: for each function it appears in.) jni/org_gnu_gnome_PasswordDialog.c:77: parse error before ')' token jni/org_gnu_gnome_PasswordDialog.c: In function `Java_org_gnu_gnome_PasswordDialog_gnome_1password_1dialog_1set_1username': jni/org_gnu_gnome_PasswordDialog.c:89: `GnomePasswordDialog' undeclared (first use in this function) jni/org_gnu_gnome_PasswordDialog.c:89: parse error before ')' token jni/org_gnu_gnome_PasswordDialog.c: In function `Java_org_gnu_gnome_PasswordDialog_gnome_1password_1dialog_1set_1password': jni/org_gnu_gnome_PasswordDialog.c:102: `GnomePasswordDialog' undeclared (first use in this function) jni/org_gnu_gnome_PasswordDialog.c:102: parse error before ')' token jni/org_gnu_gnome_PasswordDialog.c: In function `Java_org_gnu_gnome_PasswordDialog_gnome_1password_1dialog_1set_1readonly_1username': jni/org_gnu_gnome_PasswordDialog.c:114: `GnomePasswordDialog' undeclared (first use in this function) jni/org_gnu_gnome_PasswordDialog.c:114: parse error before ')' token jni/org_gnu_gnome_PasswordDialog.c: In function `Java_org_gnu_gnome_PasswordDialog_gnome_1password_1dialog_1set_1remember': jni/org_gnu_gnome_PasswordDialog.c:125: `GnomePasswordDialog' undeclared (first use in this function) jni/org_gnu_gnome_PasswordDialog.c:125: parse error before ')' token jni/org_gnu_gnome_PasswordDialog.c: In function `Java_org_gnu_gnome_PasswordDialog_gnome_1password_1dialog_1get_1username': jni/org_gnu_gnome_PasswordDialog.c:136: `GnomePasswordDialog' undeclared (first use in this function) jni/org_gnu_gnome_PasswordDialog.c:136: parse error before ')' token jni/org_gnu_gnome_PasswordDialog.c: In function `Java_org_gnu_gnome_PasswordDialog_gnome_1password_1dialog_1get_1password': jni/org_gnu_gnome_PasswordDialog.c:148: `GnomePasswordDialog' undeclared (first use in this function) jni/org_gnu_gnome_PasswordDialog.c:148: parse error before ')' token jni/org_gnu_gnome_PasswordDialog.c: In function `Java_org_gnu_gnome_PasswordDialog_gnome_1password_1dialog_1get_1remember': jni/org_gnu_gnome_PasswordDialog.c:160: `GnomePasswordDialog' undeclared (first use in this function) jni/org_gnu_gnome_PasswordDialog.c:160: parse error before ')' token make[1]: *** [jni/org_gnu_gnome_PasswordDialog.o] Error 1 make[1]: Leaving directory `/home/mari/java-gnome0.8/java-gnome/gnome/src' make: *** [distro] Error 2 Is `GnomePasswordDialog' undeclared? -- Luca De Rugeriis <pie...@li...> |
From: Jeffrey M. <ku...@zo...> - 2003-12-26 19:50:38
|
On Fri, 2003-12-26 at 14:17, Luca De Rugeriis wrote: > Il ven, 2003-12-26 alle 19:25, Jeffrey Morgan ha scritto: > > On Fri, 2003-12-26 at 12:48, Luca De Rugeriis wrote: > > > If everyone agrees, I will commit the new PasswordDialog and > > > org_gnu_gnome_PasswordDialog.c back into 0.8 branch. Let me know. > > > > Yes. Please commit the fix. > I'm sorry but it doesn't fix the problem for me: > the org_gnu_gnome_PasswordDialog.c files are identical (between > versions), the corresponding java class was upgraded with the new one > but it still complains: The files should not be identical. I made a change a few days ago. I removed the method that no longer exists in the 2.5 stream. > > jni/org_gnu_gnome_PasswordDialog.c: In function > `Java_org_gnu_gnome_PasswordDialog_gnome_1password_1dialog_1new': > jni/org_gnu_gnome_PasswordDialog.c:57: warning: initialization makes > pointer from integer without a cast > > It seems to me a C problem only... This is only a warning and shouldn't cause the build to fail. -Jeff |
From: Luca De R. <pie...@li...> - 2003-12-26 19:18:23
|
Il ven, 2003-12-26 alle 19:25, Jeffrey Morgan ha scritto: > On Fri, 2003-12-26 at 12:48, Luca De Rugeriis wrote: > > If everyone agrees, I will commit the new PasswordDialog and > > org_gnu_gnome_PasswordDialog.c back into 0.8 branch. Let me know. > > Yes. Please commit the fix. I'm sorry but it doesn't fix the problem for me: the org_gnu_gnome_PasswordDialog.c files are identical (between versions), the corresponding java class was upgraded with the new one but it still complains: jni/org_gnu_gnome_PasswordDialog.c: In function `Java_org_gnu_gnome_PasswordDialog_gnome_1password_1dialog_1new': jni/org_gnu_gnome_PasswordDialog.c:57: warning: initialization makes pointer from integer without a cast It seems to me a C problem only... -- Luca De Rugeriis <pie...@li...> |
From: Jeffrey M. <ku...@zo...> - 2003-12-26 18:32:39
|
On Fri, 2003-12-26 at 12:48, Luca De Rugeriis wrote: > If everyone agrees, I will commit the new PasswordDialog and > org_gnu_gnome_PasswordDialog.c back into 0.8 branch. Let me know. Yes. Please commit the fix. |
From: Luca De R. <pie...@li...> - 2003-12-26 18:04:30
|
Il ven, 2003-12-26 alle 18:56, Thijs Thiessens ha scritto: > Ohww yeah!!!! Please let him... please let him!! :) > > If you are in a hurry, you can always grab these two files from cvs, (you can do it from sourceforge web interface), then overwrite the ones you have in your local copy and recompile. -- Luca De Rugeriis <pie...@li...> |
From: Thijs T. <T.T...@ti...> - 2003-12-26 17:56:29
|
Ohww yeah!!!! Please let him... please let him!! :) Thijs Op vr 26-12-2003, om 18:48 schreef Luca De Rugeriis: > Il ven, 2003-12-26 alle 16:58, Jeffrey Morgan ha scritto: > > On Fri, 2003-12-26 at 09:57, Luca De Rugeriis wrote: > > > Il ven, 2003-12-26 alle 15:27, Luca De Rugeriis ha scritto: > > > > > It seems it's a bug in the org.gnu.gnome.PasswordDialog class: > > > > > there is no gnome_password_dialog_set_remember_label_text method in > > > > > there. There is only gnome_password_dialog_set_remember. > > > > > Mark, sorry for the ignorance, how can we fetch the 0.8 version from > > > > > cvs? It needs some debbuging love ;) > > > > Ok, it was a matter of running > > > > cvs -z9 -d:ext:pie...@cv...:/cvsroot/java-gnome co -r > > > > RELEASE_0_8_2 java-gnome > > > I've compiled 0.8 branch: apart the usual gconf problem, it didn't build > > > libgnomejava because of the following error: > > > > > > jni/org_gnu_gnome_PasswordDialog.c: In function > > > `Java_org_gnu_gnome_PasswordDialog_gnome_1password_1dialog_1new': > > > jni/org_gnu_gnome_PasswordDialog.c:57: warning: initialization makes > > > pointer from integer without a cast > > > > > > It's likely to be easy to fix this, but because my lack of C knowledge, > > > I can't do that. > > > Could someone commit a fix for it? > > > > Grab the cvs head for PasswordDialog and > > org_gnu_gnome_PasswordDialog.c and it will work. It is currently > > fixed in dev. > I know, Jeff, I have already compiled the dev branch. I was saying that > the fix should go also in 0.8 branch, so users can compile it without > problems. > If everyone agrees, I will commit the new PasswordDialog and > org_gnu_gnome_PasswordDialog.c back into 0.8 branch. Let me know. |
From: Luca De R. <pie...@li...> - 2003-12-26 17:49:51
|
Il ven, 2003-12-26 alle 16:58, Jeffrey Morgan ha scritto: > On Fri, 2003-12-26 at 09:57, Luca De Rugeriis wrote: > > Il ven, 2003-12-26 alle 15:27, Luca De Rugeriis ha scritto: > > > > It seems it's a bug in the org.gnu.gnome.PasswordDialog class: > > > > there is no gnome_password_dialog_set_remember_label_text method in > > > > there. There is only gnome_password_dialog_set_remember. > > > > Mark, sorry for the ignorance, how can we fetch the 0.8 version from > > > > cvs? It needs some debbuging love ;) > > > Ok, it was a matter of running > > > cvs -z9 -d:ext:pie...@cv...:/cvsroot/java-gnome co -r > > > RELEASE_0_8_2 java-gnome > > I've compiled 0.8 branch: apart the usual gconf problem, it didn't build > > libgnomejava because of the following error: > > > > jni/org_gnu_gnome_PasswordDialog.c: In function > > `Java_org_gnu_gnome_PasswordDialog_gnome_1password_1dialog_1new': > > jni/org_gnu_gnome_PasswordDialog.c:57: warning: initialization makes > > pointer from integer without a cast > > > > It's likely to be easy to fix this, but because my lack of C knowledge, > > I can't do that. > > Could someone commit a fix for it? > > Grab the cvs head for PasswordDialog and > org_gnu_gnome_PasswordDialog.c and it will work. It is currently > fixed in dev. I know, Jeff, I have already compiled the dev branch. I was saying that the fix should go also in 0.8 branch, so users can compile it without problems. If everyone agrees, I will commit the new PasswordDialog and org_gnu_gnome_PasswordDialog.c back into 0.8 branch. Let me know. -- Luca De Rugeriis <pie...@li...> |
From: Jeffrey M. <ku...@zo...> - 2003-12-26 16:05:38
|
On Fri, 2003-12-26 at 09:57, Luca De Rugeriis wrote: > Il ven, 2003-12-26 alle 15:27, Luca De Rugeriis ha scritto: > > > It seems it's a bug in the org.gnu.gnome.PasswordDialog class: > > > there is no gnome_password_dialog_set_remember_label_text method in > > > there. There is only gnome_password_dialog_set_remember. > > > Mark, sorry for the ignorance, how can we fetch the 0.8 version from > > > cvs? It needs some debbuging love ;) > > Ok, it was a matter of running > > cvs -z9 -d:ext:pie...@cv...:/cvsroot/java-gnome co -r > > RELEASE_0_8_2 java-gnome > I've compiled 0.8 branch: apart the usual gconf problem, it didn't build > libgnomejava because of the following error: > > jni/org_gnu_gnome_PasswordDialog.c: In function > `Java_org_gnu_gnome_PasswordDialog_gnome_1password_1dialog_1new': > jni/org_gnu_gnome_PasswordDialog.c:57: warning: initialization makes > pointer from integer without a cast > > It's likely to be easy to fix this, but because my lack of C knowledge, > I can't do that. > Could someone commit a fix for it? Grab the cvs head for PasswordDialog and org_gnu_gnome_PasswordDialog.c and it will work. It is currently fixed in dev. -Jeff |