multiple instances of a panel applet
- From: Jimmy Do <crispyleaves gmail com>
- To: gtk-app-devel-list gnome org
- Subject: multiple instances of a panel applet
- Date: Wed, 5 Jan 2005 15:08:26 -0800
Hi everyone,
I just created a timer applet for the GNOME panel and I would like to
add the ability to have multiple instances of it running
simultaneously. I believe I can easily to do this by making the
GtkTreeModel I use for storing the timer presets (frequently used
times) into a global variable. Every time a preset is
added/modified/deleted, the XML data file at ~/.gnome/timer-applet is
updated using xmlSaveFormatFile().
Should I worry about synchronizing access to the GtkTreeModel? (is
each instance of an applet in a separate thread?)
Thanks for any help. :)
Jimmy
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]