Xfce Forum

Sub domains
 

You are not logged in.

#1 2011-08-19 12:22:08

Tal
Member
Registered: 2011-08-11
Posts: 11

How to get whether panel plugin unique-id is dead?

I want that my panel plugin I'm working on could be non-unique(so multiply instance of it can be used),
I want it will be possible to have different user setting for the same user, using different profiles.
The user can change particular instance of the plugin and change the profile of it.
When the plugin will be destroyed, the setting will be removed from the user configuration files.
But what happens when it crush? That's why I want every time new instance is created, it will check whether to delete some configuration files, if the unique-id isn't exist or it's name different than the plugin.
In short words, I need to know:
1. How to check if unique-id exist/List all unique-ids.
2. How to know the name of the plugin when unique id is given.

Last edited by Tal (2011-08-19 12:33:17)

Offline

Registered users online in this topic: 0, guests: 1
[Bot] ClaudeBot

Board footer

Powered by FluxBB
Modified by Visman

[ Generated in 0.006 seconds, 7 queries executed - Memory usage: 510 KiB (Peak: 524.03 KiB) ]