[gnome-love] XMMS Applet



hi!

i'm new to GNOME (a week or so). i've been using blackbox, wmaker,
openbox and other window managers. but i've decided to change a bit (or
a lot), so i have choosen GNOME.

i'd like to contribute to GNOME, so i have started an XMMS applet. i
know there is an xmms-status-plugin for xmms, but my idea is to create
an applet similar to the gkrellmms plugin for gkrellm. i don't have any
idea if there is another xmms applet... anyone knows it?

the applet is currently working, that is, it has the play/pause, stop,
previous track... buttons and they do what they are suppose to.

rigth now, the applet functionallity is minimum, and i'd like to add
some cute features, suchs as song name scrolling.

the first problem i have found is with buttons. for it, i have created
GtkEventBox with images (xpm image using iconset factory) inside it. i
have two images for button (the normal image, and the clicked image). i
have added two signals (button_press_event and button_release_event) and
depending on the signal i replace the button image with the normal or
clicked, depending on the signal. the problem is that the images just
don't change. what i do is a gtk_conatiner_remove with the old image in
the GtkEventBox and then a gtk_container_add with the new image. the
images just don't change. i have checked all the gtk_widget_show calls.

what am i missing?

thans in advance.

best regards,

aleix



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]