Small main loops for simple operations

2012-03-21 Thread Amit
Using GIO with asynchronous mounting/unmounting. This requires a main loop to be running in order for the callbacks to work. So, I already have a main application that uses a select based main loop. Can't change this unfortunately. When the main loop receives a mount request, a function is called

GVolumeMonitor refresh after writing to fstab

2012-04-18 Thread Amit
, immediately after the above function call, mount the volume (mount_volume()): 1. Get the volume monitor 2. Get the list of volumes -> Does not see latest addition to fstab Any ideas of where I might be missing a step? Thanks, Amit ___ gtk-app-de

Re: GVolumeMonitor refresh after writing to fstab [SOLVED]

2012-04-18 Thread Amit
Amit gmail.com> writes: > > > My current application adds an entry to fstab and then uses > GVolumeMonitor to get the list of volumes and then mounts the recently > added volume. > > The problem is GVolumeMonitor does not see the recently added fstab > entry right a

Re: GTK3 VTE

2012-04-20 Thread Amit
Neil Munro gmail.com> writes: > > Hey all > I am trying to convert a project from gtk2 to gtk3 using > both regular compilation and autotools, I can't seem to find much > about how to access vte. I currently type: > gcc `pkg-config --cflags --libs gtk+-3.0 vte` -o app app.c -Wall > O