Danny Milosavljevic wrote:
Hi,
I just checked what is currently in lazarus svn, and there you do:
GTK_WIDGET_SET_FLAGS(PGtkWidget(GtkForm.Handle),GTK_VISIBLE);
GTK_WIDGET_SET_FLAGS(PGtkWidget(GtkForm.Handle),GTK_MAPPED);
in TWidgetTrayIcon.Show.
(wsgtk2trayicon).
Don't do that! SET_FLAGS is mostly for gtk internal use. Nobody should
ever need to call that :)
What you mean to use is probably GtkForm.Show (or gtk_widget_show, used
by GtkForm.Show).
Removing those 2 lines and adding GtkForm.Show; on the end of the
procedure makes it work!!!! YEIIIIII
Great!
thanks a lot,
Felipe
_________________________________________________________________
To unsubscribe: mail [EMAIL PROTECTED] with
"unsubscribe" as the Subject
archives at http://www.lazarus.freepascal.org/mailarchives