Fix enablement of -Werror
Remove use of deprecated GStaticMutex

The entangle_camera_is_mounted method can only be called
from the main thread now, so does not need mutex protection.

Signed-off-by: Daniel P. Berrange <dan@berrange.com>
Use GtkGrid instead of GtkTable if available

For GTK >= 3.2.0 we can use GtkGrid for layout instead
of the deprecated GtkTable

Signed-off-by: Daniel P. Berrange <dan@berrange.com>
Fix args to gtk_grid_attach

Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
Re-arrange nesting of image display

To prevent the image statusbar being resized to fit in the image
scrolled window, re-arrange the nesting of image display. This
puts the statusbar outside the scrolled window.

Bug #20429

Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
Fix double unref of pixbuf when rotating

Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
Preserve scrollbar offsets when switching images

When cycling back & forth between images when auto-scale is
not set, preserve the scrollbar offsets.

Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
Skip redraw of items without size allocated

In the session browser, it is possible for the item draw
routine to be invoked before a width/height has been set.
This makes pixman rather unhappy, so skip the drawing
operation in this case

Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
Ensure camera progress functions run in main thread

GTK APIs must only be used from the main thread, so the
camera progress functions must use an idle callback to
switch to the main thread.

Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
Make metadata query robust to missing metadata

To avoid displaying garbage when exif data is unset, change to
explicitly query whether the metadata tag is set before asking
for the value.

Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
Refresh translations from transifex

Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
Switch to automatically generated AUTHORS file

Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
Remove trailing whitespace

Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
Remove use of 'document_mode' field in raw file generation

LibRaw >= 0.15 has removed the 'document_mode' field, so we must
stop using it in Entangle. Fortunately it wasn't doing anything
important for us.

Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
Update to 0.5.2 release

Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
Move file name to tooltip

To allow more room for the image, remove the filename from
the session browser and use a tooltip instead.

Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
Remove unused adjust_wrap_width method

The adjust_wrap_width method in the session browser no
longer does anything useful, since the filename was
removed. Delete the code.

Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
Re-position tooltip over items

Ensure the tooltip positions itself over the item that it
is related to

Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
Switch to use gsettings autoconf rule

Switch to using the GLIB_GSETTINGS autoconf rule to create
the make rules. This adds a '--disable-schemas-compile'
arg to configure, which distro packagers should utilize.

Fixes bug #20223

Signed-off-by: Daniel P. Berrange <dan@berrange.com>
Remove Encoding key from desktop file

The Encoding key is no longer required in desktop files, since
they are mandated to all use UTF-8

Fixes bug #20419

Signed-off-by: Daniel P. Berrange <dan@berrange.com>