|
|
Home » U++ Library support » TopWindow&PopUp, TrayIcon » [1st Usable Version] TrayIcon for Linux Version 0.6
|
|
Re: [1st Usable Version] TrayIcon for Linux Version 0.5 [message #5674 is a reply to message #5656] |
Mon, 09 October 2006 11:29 |
nicomesas
Messages: 104 Registered: September 2006 Location: Barcelona, Spain
|
Experienced Member |
|
|
In file mbpixbuf.h line 23
#include "libmb/mbconfig.h"
This file does not exists in my system, but if I comment this line, mbpixbuf.c file compiles fine.
This is the result when i tried to complile.
(I'm sorry my compiler show msg in spanish!!)
mbtray.c
/home/nico/upp/examples/TrayIcon/mbtray.c:814: aviso: tipos en conflicto para ‘_set_win_context_hint’
WARNING: CONFLICT TYPES FOR
/home/nico/upp/examples/TrayIcon/mbtray.c:419: aviso: la declaración implícita previa de ‘_set_win_context_h int’ estaba aquí
WARNING IMPLICIT DECLARATION PREVIUS...
/home/nico/upp/examples/TrayIcon/mbtray.c: En la función ‘mb_tray_handle_xevent’:
/home/nico/upp/examples/TrayIcon/mbtray.c:1102: error: ‘XK_q’ no se declaró aquí (primer uso en esta funció
n)
ERROR: XK_q DOES NOT DECLARED HERE
/home/nico/upp/examples/TrayIcon/mbtray.c:1102: error: (Cada identificador no declarado solamente se reporta
una vez
/home/nico/upp/examples/TrayIcon/mbtray.c:1102: error: para cada funcion en la que aparece.)
main.cpp
/home/nico/upp/examples/TrayIcon/main.cpp: In member function ‘void TrayIcon::RegisWin(Window)’:
/home/nico/upp/uppsrc/CtrlCore/CtrlCore.h:532: error: ‘static ArrayMap<long unsigned int, Ctrl::XWindow, Std
Hash<long unsigned int> >& Ctrl::Xwindow()’ es privado
IS PRIVATE IN THIS CONTEXT
/home/nico/upp/examples/TrayIcon/main.cpp:162: error: desde este contexto
/home/nico/upp/uppsrc/CtrlCore/CtrlCore.h:532: error: ‘static ArrayMap<long unsigned int, Ctrl::XWindow, Std
Hash<long unsigned int> >& Ctrl::Xwindow()’ es privado
/home/nico/upp/examples/TrayIcon/main.cpp:162: error: desde este contexto
/home/nico/upp/uppsrc/CtrlCore/CtrlCore.h:532: error: ‘static ArrayMap<long unsigned int, Ctrl::XWindow, Std
Hash<long unsigned int> >& Ctrl::Xwindow()’ es privado
/home/nico/upp/examples/TrayIcon/main.cpp:164: error: desde este contexto
/home/nico/upp/uppsrc/CtrlCore/CtrlCore.h:532: error: ‘static ArrayMap<long unsigned int, Ctrl::XWindow, Std
Hash<long unsigned int> >& Ctrl::Xwindow()’ es privado
/home/nico/upp/examples/TrayIcon/main.cpp:164: error: desde este contexto
/home/nico/upp/uppsrc/CtrlCore/CtrlCore.h:532: error: ‘static ArrayMap<long unsigned int, Ctrl::XWindow, Std
Hash<long unsigned int> >& Ctrl::Xwindow()’ es privado
/home/nico/upp/examples/TrayIcon/main.cpp:165: error: desde este contexto
/home/nico/upp/uppsrc/CtrlCore/CtrlCore.h:532: error: ‘static ArrayMap<long unsigned int, Ctrl::XWindow, Std
Hash<long unsigned int> >& Ctrl::Xwindow()’ es privado
/home/nico/upp/examples/TrayIcon/main.cpp:165: error: desde este contexto
/home/nico/upp/uppsrc/CtrlCore/CtrlCore.h:532: error: ‘static ArrayMap<long unsigned int, Ctrl::XWindow, Std
Hash<long unsigned int> >& Ctrl::Xwindow()’ es privado
/home/nico/upp/examples/TrayIcon/main.cpp:165: error: desde este contexto
/home/nico/upp/uppsrc/CtrlCore/CtrlCore.h:532: error: ‘static ArrayMap<long unsigned int, Ctrl::XWindow, Std
Hash<long unsigned int> >& Ctrl::Xwindow()’ es privado
/home/nico/upp/examples/TrayIcon/main.cpp:165: error: desde este contexto
/home/nico/upp/uppsrc/CtrlCore/CtrlCore.h:299: error: ‘Ctrl::Top* Ctrl::<anonymous union>::top’ es privado
/home/nico/upp/examples/TrayIcon/main.cpp:176: error: desde este contexto
/home/nico/upp/uppsrc/CtrlCore/CtrlCore.h:285: error: ‘struct Ctrl::Top’ es privado
/home/nico/upp/examples/TrayIcon/main.cpp:176: error: desde este contexto
/home/nico/upp/uppsrc/CtrlCore/CtrlCore.h:299: error: ‘Ctrl::Top* Ctrl::<anonymous union>::top’ es privado
/home/nico/upp/examples/TrayIcon/main.cpp:177: error: desde este contexto
TrayIcon: 2 file(s) built in (0:03.67), 1838 msecs / file, duration = 3696 msecs
There were errors. (0:03.79)
|
|
|
Re: [1st Usable Version] TrayIcon for Linux Version 0.5 [message #5680 is a reply to message #5674] |
Mon, 09 October 2006 14:55 |
3togo
Messages: 83 Registered: May 2006 Location: Hong Kong SAR
|
Member |
|
|
Sorry, I have forgotten to tell u that CtrlCore.h need to be patched. Some program's access level need to be changed from "private" to "protected".
I have modified the traytest program to do the patch job.
Quote: | tar jxvf trayicon20061010.tar.bz2
cd trayicon
./traytest
make
./traytest
|
Thank u for sending me the error codes. Though I can't read Spanish, it is still very helpful to me.
3togo
[Updated on: Mon, 09 October 2006 23:05] Report message to a moderator
|
|
|
|
Re: [1st Usable Version] TrayIcon for Linux Version 0.5 [message #5709 is a reply to message #5696] |
Tue, 10 October 2006 19:52 |
3togo
Messages: 83 Registered: May 2006 Location: Hong Kong SAR
|
Member |
|
|
Thank u very much. I am very delighted to know that it works.
I know the popup menu look a bit obscure. Any suggestion to make it look better?
By the way, why don't u use my traytest to patch CtrlCore.h ?
3togo
nicomesas wrote on Tue, 10 October 2006 20:43 | It works!
I have modified CtrlCore/CtrlCore.h file (lines 262 and 531 to convert private to protected) and program work in my ubuntu with gnome.
The popup menu look a bit rare ...
Nico
|
[Updated on: Tue, 10 October 2006 19:54] Report message to a moderator
|
|
|
|
|
|
|
Re: [1st Usable Version] TrayIcon for Linux Version 0.5 [message #5743 is a reply to message #5739] |
Thu, 12 October 2006 15:03 |
nicomesas
Messages: 104 Registered: September 2006 Location: Barcelona, Spain
|
Experienced Member |
|
|
Quote: | What is the meaning of "avísame"? Is it available.
|
oooooh!
I'm sorry. "avísame" in spanish is like "call me" or "send me a email".... My english is very poor and I use a translation page to make almost all the translations.
What I say about prayer was a joke , I practice the meditation every day. And this is good to have the wide-awake mind.
Nico
[Updated on: Thu, 12 October 2006 15:28] Report message to a moderator
|
|
|
|
|
|
|
|
|
Goto Forum:
Current Time: Fri Mar 29 12:21:45 CET 2024
Total time taken to generate the page: 0.01874 seconds
|
|
|