Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[help] Glade
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Forum italiano (Italian)
View previous topic :: View next topic  
Author Message
rakim
Apprentice
Apprentice


Joined: 08 Mar 2005
Posts: 231

PostPosted: Thu Apr 07, 2005 12:32 pm    Post subject: [help] Glade Reply with quote

Ho creato una piccola finestra con due controlli immagine con glade.
Quando eseguo il programma, però, ottengo il seguente messaggio di errore
Code:
* (battery:713): WARNING **: Couldn't find pixmap file: battery_low.png
** (battery:713): WARNING **: Couldn't find pixmap file: messaggio.png

Io credo di aver sbagliato la posizione in cui ho salvato le immagini:
Code:
/home/mtx/Projects/project1/pixmaps

Ma nelle opzioni di glade ho:
Pixmaps Directory: pixmaps :?:
Help me!
Back to top
View user's profile Send private message
fedeliallalinea
Administrator
Administrator


Joined: 08 Mar 2003
Posts: 31483
Location: here

PostPosted: Thu Apr 07, 2005 1:48 pm    Post subject: Reply with quote

[MOD]Non ti conviene a fare un up ogni 24 ore invece di cancellare e riscrivere il messaggio?[/MOD]
_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
rakim
Apprentice
Apprentice


Joined: 08 Mar 2005
Posts: 231

PostPosted: Thu Apr 07, 2005 4:18 pm    Post subject: Reply with quote

fedeliallalinea wrote:
[MOD]Non ti conviene a fare un up ogni 24 ore invece di cancellare e riscrivere il messaggio?[/MOD]

Scusami, l'avevo scritto su quello inglese (e l'ho cancellato da qui per non avere un topic duplicato) ma non avevo avuto alcuna risposta.
Ho deciso quindi di ripostare qui! :oops:
Back to top
View user's profile Send private message
gutter
Bodhisattva
Bodhisattva


Joined: 13 Mar 2004
Posts: 7162
Location: Aarau, Aargau, Switzerland

PostPosted: Thu Apr 07, 2005 9:28 pm    Post subject: Reply with quote

Il cross posting non è una bella cosa.

Quindi in generale scegli un forum e posta solo in quello.
_________________
Registered as User #281564 and Machines #163761
Back to top
View user's profile Send private message
rakim
Apprentice
Apprentice


Joined: 08 Mar 2005
Posts: 231

PostPosted: Thu Apr 07, 2005 10:09 pm    Post subject: Reply with quote

@ gutter: scusa! :oops:
Ho googlato un po' ed ho trovato questo tutorial:
http://www.gtk.org/tutorial/
in cui non dice praticamente nulla sul controllo image e
http://www.kplug.org/glade_tutorial/glade2_tutorial/gtemp_1.html
Quote:
[nel pannello delle opzioni] Set the subdirectoriesfor source [la directory ha nome src] and pixmaps [la directory ha nome pixmaps] if you wish to change them from the default, and select the preferred language.

Ho capito ma...
dove si trova questa directory di nome pixmaps???
Io ho salvato le immagini in
Code:
/home/mtx/Projects/project1/pixmaps

facendo questa deduzione:
se src si trova in
Code:
/home/mtx/Projects/project1/src

pixmaps si troverà in
Code:
/home/mtx/Projects/project1/pixmaps

Nulla da fare!

EDIT:
ho editato manualmente il file interface.c generato da blade mettendo il percorso assoluto delle immagini. Ecco il risultato:
Code:
** (battery:26369): WARNING **: Couldn't find pixmap file: /home/mtx/Projects/project1/pixmaps/battery_low.png
** (battery:26369): WARNING **: Couldn't find pixmap file: /home/mtx/Projects/project1/pixmaps/messaggio.png

Com'è possibile??? Eppure le immagini SONO LI' e SI CHIAMANO VERAMENTE così! :twisted:

Qualche idea???
Back to top
View user's profile Send private message
rakim
Apprentice
Apprentice


Joined: 08 Mar 2005
Posts: 231

PostPosted: Tue Apr 12, 2005 11:26 pm    Post subject: Reply with quote

up? Possibile che nessuno sappia aiutarmi?
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Forum italiano (Italian) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum