Re: [Tracker] Question : Detect mounting of volume





  I took a look at tracker source code. I want to build a small demo
that will print out a message to the screen (listen to a signal) when
a volume is mounted on the host. I looked at the source code but there
are just to many source code files and data scathered on different
classes. I also looked at GVolumeMonitor but there is no straight
example or maybe I can't see it. Can you please provide a hint, not
code example because I must do the work myself and Ii want to learn
for myself. Or maybe a good MOUNT DETECTION, SIGNAL LISTENER
ORIENTATED reference.



Check:
http://www.lanedo.com/~aleksander/gnome-tracker/volume-monitor/glib-test-mounts.c

(Sorry, its a real example of GVolumeMonitor)


-- 
Aleksander




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