Daniel P. Berrange [Fri, 2 May 2014 18:07:42 +0000 (19:07 +0100)]
Updates for 0.6.0 release
Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
Daniel P. Berrange [Fri, 2 May 2014 18:01:44 +0000 (19:01 +0100)]
Refresh translations from transifex
Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
Daniel P. Berrange [Fri, 2 May 2014 17:57:14 +0000 (18:57 +0100)]
Update to comply with latest appdata specs
See
http://blogs.gnome.org/hughsie/2014/05/02/appdata-meet-spdx-spdx-meet-appdata/
Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
Daniel P. Berrange [Thu, 1 May 2014 22:48:40 +0000 (23:48 +0100)]
The plugin schemas can be shipped pre-compiled in the RPM
Since the plugin schemas are in a private directory they
are ok to ship pre-compiled
Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
Daniel P. Berrange [Thu, 1 May 2014 22:48:19 +0000 (23:48 +0100)]
Add a BR in RPM for the symbolic icon theme
Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
Daniel P. Berrange [Thu, 1 May 2014 22:25:31 +0000 (23:25 +0100)]
Fix typos in docs
Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
Daniel P. Berrange [Thu, 1 May 2014 21:58:47 +0000 (22:58 +0100)]
Adjust pkg-config check for symbolic icon theme
Older versions of the GNOME symbolic icon theme don't include
a pkg-config file, so make the configure check fall back to
looking for a specific file
Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
Daniel P. Berrange [Sun, 24 Nov 2013 21:04:06 +0000 (21:04 +0000)]
Disable progress display in preview mode
The PTP driver for Canon EOS activates the progress meter when
downloading preview images. This causes the display to flicker
madly during preview.
Try to ignore progress updates when preview mode is active, but
still display when downloading the final captured image
Fixes bug #21246
Daniel P. Berrange [Thu, 1 May 2014 21:24:07 +0000 (22:24 +0100)]
Finish off the rest of the API docs
Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
Daniel P. Berrange [Tue, 29 Apr 2014 20:21:58 +0000 (21:21 +0100)]
Ignore more non-version controlled files
Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
Daniel P. Berrange [Tue, 29 Apr 2014 20:20:06 +0000 (21:20 +0100)]
Temporarily disable syncing camera clock
Due to unresolved problems relating to timezone handling,
disable the feature for syncing the camera clock from the
computer.
Related bug #20430
Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
Daniel P. Berrange [Wed, 23 Apr 2014 21:14:41 +0000 (22:14 +0100)]
Make manual focus work with Canon cameras
Canon cameras don't have an arbitrary delta for manual focus,
just 3 discrete step sizes. Change the internal API to use
discrete step sizes for both Canon and Nikon to give a consistent
approach.
Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
Daniel P. Berrange [Wed, 23 Apr 2014 20:35:35 +0000 (21:35 +0100)]
Include port/model in debug when adding cameras
Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
Daniel P. Berrange [Wed, 23 Apr 2014 20:35:17 +0000 (21:35 +0100)]
Fix bug opening extra window at startup
Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
Daniel P. Berrange [Wed, 23 Apr 2014 19:53:54 +0000 (20:53 +0100)]
Use install-data-hook instead of install-data-local
The schema must only be compiled after it is installed, so
we must use install-data-hook which runs after install-data-am
Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
Daniel P. Berrange [Wed, 23 Apr 2014 09:46:02 +0000 (10:46 +0100)]
Fix install of schemas for plugin
Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
Daniel P. Berrange [Wed, 23 Apr 2014 09:22:19 +0000 (10:22 +0100)]
Port over to use lcms2 instead of lcms
Support for lcms 1.x is dropped entirely since lcms2 has
been around for long enough now - as long as GTK3 which
we also require.
Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
Daniel P. Berrange [Mon, 14 Apr 2014 22:50:55 +0000 (23:50 +0100)]
Remove duplicated plugin files in RPM spec
Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
Daniel P. Berrange [Mon, 14 Apr 2014 22:46:04 +0000 (23:46 +0100)]
Move icons into standard directory location
For GNOME software center, the icon listed in desktop file must
be in a standard directory location
https://github.com/hughsie/createrepo_as/blob/master/README.md#guidelines-for-applications
Move all the icons into the standard "hicolor" icon theme so we
can remove custom code for loading them too.
Fixes bug #21904
Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
Daniel P. Berrange [Mon, 14 Apr 2014 21:35:19 +0000 (22:35 +0100)]
Fix incorrect whitespace around brackets
Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
Daniel P. Berrange [Mon, 14 Apr 2014 21:30:54 +0000 (22:30 +0100)]
Remove capture/preview icons no longer required
Since switching to the symbolic icon theme, the custom
capture/preview icons are no longer needed.
Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
Bastien Nocera [Fri, 11 Apr 2014 10:53:47 +0000 (12:53 +0200)]
Use the GNOME symbolic icon theme
The symbolic icons look better in combination with the
dark style theme.
Bastien Nocera [Fri, 11 Apr 2014 10:41:48 +0000 (12:41 +0200)]
Use a dark theme
The dark theme is for media applications, such as photo and video
apps. We're one of those.
Daniel P. Berrange [Mon, 7 Apr 2014 19:23:58 +0000 (20:23 +0100)]
Add API docs for pixbuf classes
Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
Daniel P. Berrange [Sun, 6 Apr 2014 16:11:16 +0000 (18:11 +0200)]
Add explicit method for setting capture target
Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
Daniel P. Berrange [Mon, 7 Apr 2014 19:47:49 +0000 (20:47 +0100)]
Set automake subdir-objects declaration
Make newer automake shut up about subdir-objects
Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
Daniel P. Berrange [Mon, 7 Apr 2014 19:42:20 +0000 (20:42 +0100)]
Remove auto-generation of gitignore files
The git ignore file generator is not entirely reliable
so not worth the trouble of using it.
Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
Daniel P. Berrange [Mon, 7 Apr 2014 19:35:30 +0000 (20:35 +0100)]
Fix name of menubar widget
Then menubar was just renamed to 'win-menubar' and the code
was not updated.
Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
Daniel P. Berrange [Mon, 7 Apr 2014 19:34:30 +0000 (20:34 +0100)]
Blank out source ID after removing it
Avoid removing the same source twice in the auto drawer by
blanking out the source ID.
Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
Daniel P. Berrange [Mon, 7 Apr 2014 19:19:08 +0000 (20:19 +0100)]
Update to deal with changed GExiv2 GIR version
GExiv2 0.10 changed the GIR version from 0.4 to 0.10
Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
Daniel P. Berrange [Mon, 7 Apr 2014 19:08:21 +0000 (20:08 +0100)]
Fix override of GtkApplication startup method
When overriding the startup method the parent impl must be
the first thing invoked.
Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
Daniel P. Berrange [Sat, 5 Apr 2014 22:22:00 +0000 (00:22 +0200)]
Don't auto connect to cameras without capture capability
Only auto connect to cameras with the capture capability so
that we don't connect to simple drivers doing only MTP / disk
filesystem access.
Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
Daniel P. Berrange [Sat, 5 Apr 2014 15:37:57 +0000 (17:37 +0200)]
Create a sample plugin for setting up a photobox captive UI
Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
Daniel P. Berrange [Sat, 5 Apr 2014 15:29:44 +0000 (17:29 +0200)]
Remove use of deprecated libpeas APIs
Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
Daniel P. Berrange [Sat, 5 Apr 2014 15:33:42 +0000 (17:33 +0200)]
Add local source dir to plugin search path
Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
Daniel P. Berrange [Fri, 4 Apr 2014 19:28:27 +0000 (21:28 +0200)]
Change to use python3 for plugin language
Change the peas plugin loader to use python for the language
instead of gjs. This is to open up possibility to use the
general python library ecosystem which is broader than the
gjs compatible javascript ecosystem. Python3 is chosen instead
of Python2 so we can avoid introducing a problem of having to
switch python versions later.
Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
Daniel P. Berrange [Sat, 5 Apr 2014 13:29:31 +0000 (15:29 +0200)]
Add entangle_window_get_builder method
Add an accessor for getting the GtkBuilder instance associated
with a window, to allow plugins to get access to widgets in a
fast manner.
Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
Daniel P. Berrange [Sat, 5 Apr 2014 13:28:54 +0000 (15:28 +0200)]
Add names for more widgets in camera manager
To make life easier for plugin authors, give names to the key
layout widgets i nthe camera manager.
Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
Daniel P. Berrange [Sat, 5 Apr 2014 13:27:24 +0000 (15:27 +0200)]
Set parent on camera error dialog
Ensure that the camera error dialog is associated with the main
manager window by setting its parent.
Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
Daniel P. Berrange [Fri, 4 Apr 2014 11:41:38 +0000 (13:41 +0200)]
Filter list of supported cameras to only those supporting capture/preview
Instead of reporting all cameras known to gphoto2, only report those
that support capture or preview capabilities. This removes all those
which only support download, since there's not much of interest you
can do with those in the application.
Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
Daniel P. Berrange [Fri, 4 Apr 2014 10:27:18 +0000 (12:27 +0200)]
Remove camera manual/about/driver help windows
The camera manual/about/driver information reported by libgphoto2
isn't really in any kind of user friendly format. It mostly has
info that's developer targetted. Remove the UI for showing this
information to simplify the UI.
Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
Daniel P. Berrange [Thu, 3 Apr 2014 19:31:05 +0000 (21:31 +0200)]
Don't let preferences popup hold reference to the application
When closing the main manager window, delete the prefs widget
so it then allows the application to close.
Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
Daniel P. Berrange [Thu, 3 Apr 2014 19:31:35 +0000 (21:31 +0200)]
Revert "Don't let preferences popup hold reference to the application"
This reverts commit
5f98d9694827d35c2d85f0b01329c56c3d1fd8dd.
Daniel P. Berrange [Wed, 2 Apr 2014 21:50:41 +0000 (23:50 +0200)]
Fix incorrect object type test in camera info popup
Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
Daniel P. Berrange [Wed, 2 Apr 2014 21:17:34 +0000 (23:17 +0200)]
Don't let preferences popup hold reference to the application
If we register the preferences popup window with GtkApplication
then the main loop will never exit, since we don't ever destroy
the prefs window, merely hide / show it.
Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
Daniel P. Berrange [Wed, 2 Apr 2014 21:17:10 +0000 (23:17 +0200)]
Fix whitespace in for() statement
Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
Jesper Pedersen [Wed, 2 Apr 2014 21:15:40 +0000 (23:15 +0200)]
Add customizable image background/highlight
The use-case is that you want an "opposite" background color against
what you are shooting, e.g. white background when shooting using a
black backdrop.
Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
Daniel P. Berrange [Wed, 2 Apr 2014 20:38:47 +0000 (22:38 +0200)]
Update copyright date in about dialog
Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
Daniel P. Berrange [Fri, 28 Mar 2014 20:54:22 +0000 (20:54 +0000)]
Workaround for Nikon D5100 camera serial number
At least one D5100 has been seen to append 25 zero characters
to the serial number, so strip them off.
Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
Daniel P. Berrange [Fri, 28 Mar 2014 20:52:46 +0000 (20:52 +0000)]
Avoid circular updating of controls
When loading config from the camera be careful not to trigger
a change in the UI which in turn triggers a save to the
camera again. Do this by comparing old / new values in the
controls. Also avoiding calling save if no controls have been
marked dirty. Finally also refresh the list of combo box
choices to avoid confusing the UI into triggering an update.
Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
Daniel P. Berrange [Fri, 28 Mar 2014 20:32:52 +0000 (20:32 +0000)]
Remove bogus calls to gp_widget_set_changed
The gp_widget_set_value method sets the changed flag
on our behalf.
Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
Daniel P. Berrange [Wed, 26 Mar 2014 21:40:58 +0000 (21:40 +0000)]
Fix repeated expose events due to auto-drawer
Every time entangle_auto_drawer_set_pinned is called it
triggers an expose event. Check whether it is on the right
setting before calling it, since we do this in every mouse
move event. This reduces CPU usage dramatically.
Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
Daniel P. Berrange [Wed, 26 Mar 2014 21:40:32 +0000 (21:40 +0000)]
Add further debug in various camera operations
Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
Daniel P. Berrange [Wed, 26 Mar 2014 19:59:45 +0000 (19:59 +0000)]
Fix inverted test in range widget updates
Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
Daniel P. Berrange [Wed, 26 Mar 2014 19:59:25 +0000 (19:59 +0000)]
Add further debug logs in camera control code
Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
Daniel P. Berrange [Fri, 14 Mar 2014 22:32:14 +0000 (22:32 +0000)]
Add API docs for image and session classes
Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
Kashyap Chamarthy [Sun, 23 Feb 2014 17:35:55 +0000 (17:35 +0000)]
README: Fix an inadvertent typos
Correct copy+paste mitsake s/libvirt-sandbox/Entangle/ in several
places in the README file
Daniel P. Berrange [Sun, 16 Feb 2014 21:49:14 +0000 (21:49 +0000)]
Refresh translations from transifex
Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
Cristian Marchi [Sun, 16 Feb 2014 21:33:51 +0000 (21:33 +0000)]
Setup appdata and desktop files for translation
Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
Daniel P. Berrange [Wed, 5 Feb 2014 19:06:30 +0000 (19:06 +0000)]
Add GExiv2 package to g-ir-scanner
Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
Daniel P. Berrange [Tue, 4 Feb 2014 22:17:09 +0000 (22:17 +0000)]
Fix off-by-1 in image histogram tables
A guchar has 256 possible levels, not 255. The short
tables resulted in a buffer overflow which in turn
scrambled the linear/logarithmic setting.
Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
Daniel P. Berrange [Tue, 4 Feb 2014 22:16:23 +0000 (22:16 +0000)]
Don't reset basic camera capabilities on disconnect
The capture/preview/controls capabilities are populated
when we detect the camera ports, so must not be reset
when disconnecting from the camera.
Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
Daniel P. Berrange [Tue, 4 Feb 2014 21:30:09 +0000 (21:30 +0000)]
Add ability to auto-sync camera time on connect
Add a preference to control whether the camera time
will be automatically synchronized with the computer
at time of connection
Fixes bug #20430
Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
Daniel P. Berrange [Tue, 4 Feb 2014 20:22:44 +0000 (20:22 +0000)]
Add menu option to sync camera clock with PC
Fixes bug #20430
Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
Daniel P. Berrange [Sun, 26 Jan 2014 15:41:00 +0000 (15:41 +0000)]
Conditionalize use of gtk_drag_begin_with_coordinates
The gtk_drag_begin_with_coordinates method is only available
from GTK 3.10 onwards. Revert to use of gtk_drag_begin for
earlier GTK versions.
Signed-off-by: Daniel P. Berrange <dan@berrange.com>
Daniel P. Berrange [Tue, 14 Jan 2014 22:13:02 +0000 (22:13 +0000)]
Remove version number from about dialog
Fixes bug #21362
Signed-off-by: Daniel P. Berrange <dan@berrange.com>
Daniel P. Berrange [Tue, 14 Jan 2014 22:06:06 +0000 (22:06 +0000)]
Add API docs across many frontend classes
Signed-off-by: Daniel P. Berrange <dan@berrange.com>
Daniel P. Berrange [Sat, 21 Dec 2013 23:35:50 +0000 (23:35 +0000)]
Fix GTK-DOC comments in application class
Signed-off-by: Daniel P. Berrange <dan@berrange.com>
Daniel P. Berrange [Sat, 21 Dec 2013 23:28:02 +0000 (23:28 +0000)]
Switch to using gtk_drag_begin_with_coordinates
Remove use of deprecated gtk_drag_begin in favour of
gtk_drag_begin_with_coordinates.
Signed-off-by: Daniel P. Berrange <dan@berrange.com>
Daniel P. Berrange [Sat, 21 Dec 2013 23:25:29 +0000 (23:25 +0000)]
Remove use of deprecated gtk_widget_set_state
Use gtk_widget_set_state_flages instead of the deprecated
gtk_widget_set_state.
Signed-off-by: Daniel P. Berrange <dan@berrange.com>
Daniel P. Berrange [Sat, 21 Dec 2013 23:20:16 +0000 (23:20 +0000)]
Remove use of gexiv2_metadata_get_exif_tag_long
The gexiv2_metadata_get_exif_tag_long method has moved to a
private gexiv2 header file, not for application use. Switch
to use gexiv2_metadata_get_iso_speed instead
Signed-off-by: Daniel P. Berrange <dan@berrange.com>
Daniel P. Berrange [Sat, 21 Dec 2013 23:15:55 +0000 (23:15 +0000)]
Remove use of deprecated functions for setting color
Switch to use gtk_widget_override_background_color
and gtk_widget_override_color functions for setting
status bar colours.
Signed-off-by: Daniel P. Berrange <dan@berrange.com>
Daniel P. Berrange [Sat, 21 Dec 2013 23:08:12 +0000 (23:08 +0000)]
Remove use of GtkVBox class in control panel
Make the control panel class inherit from plain GtkBox
instead of the deprecated GtkVBox class.
Signed-off-by: Daniel P. Berrange <dan@berrange.com>
Daniel P. Berrange [Sat, 21 Dec 2013 23:04:51 +0000 (23:04 +0000)]
Remove use of deprecated stock constants
Use plain strings instead of GTK_STOCK constants which
are now deprecated
Signed-off-by: Daniel P. Berrange <dan@berrange.com>
Daniel P. Berrange [Sun, 15 Dec 2013 22:22:15 +0000 (22:22 +0000)]
Refresh translations from transifex
Ought to remember todo this *before* a new release next time.
Signed-off-by: Daniel P. Berrange <dan@berrange.com>
Daniel P. Berrange [Sun, 15 Dec 2013 21:37:58 +0000 (21:37 +0000)]
Update for 0.5.4 release
Signed-off-by: Daniel P. Berrange <dan@berrange.com>
Daniel P. Berrange [Sun, 15 Dec 2013 21:24:33 +0000 (21:24 +0000)]
Keep the progress/cancel toolbar permanently visible
The preview API for Canon cameras triggers progress bar
updates. Since previews are taken many times a second this
causes the progress bar to show/hide very frequently which
is unusable. Instead of showing/hiding toolbar controls
just keep them visible all the time and tweak sensitivity
when required
Fixes bug: #21246
Signed-off-by: Daniel P. Berrange <dan@berrange.com>
Daniel P. Berrange [Sun, 15 Dec 2013 21:13:45 +0000 (21:13 +0000)]
Add some API docs with gir annotations
Signed-off-by: Daniel P. Berrange <dan@berrange.com>
Daniel P. Berrange [Sun, 15 Dec 2013 21:13:14 +0000 (21:13 +0000)]
Fix leak of image when exiting preview mode
Signed-off-by: Daniel P. Berrange <dan@berrange.com>
Daniel P. Berrange [Wed, 27 Nov 2013 21:59:08 +0000 (21:59 +0000)]
Fix bracket whitespace usage
Import bracket-spacing.pl script from libvirt for
validating the whitespace around brackets and semicolons
Signed-off-by: Daniel P. Berrange <dan@berrange.com>
Daniel P. Berrange [Sun, 24 Nov 2013 22:03:14 +0000 (22:03 +0000)]
Remove GTK2 compat code
Entangle is GTK3 only so we can remove the GTK2 compat code
from the auto-drawer related classes.
Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
Daniel P. Berrange [Fri, 1 Nov 2013 10:54:51 +0000 (10:54 +0000)]
Move and rename auto-drawer classes
Move the auto-drawer classes into the main directory. Change the
naming convention to follow normal GTK practice.
Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
Daniel P. Berrange [Sun, 24 Nov 2013 18:26:14 +0000 (18:26 +0000)]
Improve ability to control manual focus
Make the , and . key accelerators to very fine grained
focus control (64 steps), and allow < and > to do coarse
grained focus control (512 steps)
Fixes bug #21101
Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
Daniel P. Berrange [Sun, 24 Nov 2013 18:21:47 +0000 (18:21 +0000)]
Fix missing break in focus key accelerators
The switch block handling key accelerators was missing
break statements in the focus code. This focus out was
always cancelled out by a focus in.
Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
Daniel P. Berrange [Sun, 24 Nov 2013 17:35:03 +0000 (17:35 +0000)]
Reduce intermediate layer opacity to 30%
To prevent previous images being washed out too quickly
reduce the opacity of intermediate layers to 30% instead
of 50%.
Fixes bug #21288
Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
Daniel P. Berrange [Sun, 24 Nov 2013 17:20:01 +0000 (17:20 +0000)]
Increase opacity of top level image when onion skinning
Make the top level image stand out more by increasing the
opacity to 65% instead of 50%.
Fixes bug #21288
Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
Daniel P. Berrange [Sun, 24 Nov 2013 17:12:53 +0000 (17:12 +0000)]
Remove unused variable in key release handler
Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
Daniel P. Berrange [Sat, 23 Nov 2013 19:44:20 +0000 (19:44 +0000)]
Introduce menu items for capture/preview
Add menu items for the capture/preview operations with visible
key shortcut accelerators. Remove the hand-crafted shortcut
code.
Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
Jehan [Tue, 5 Nov 2013 12:25:50 +0000 (01:25 +1300)]
Fix onion skinning in preview mode.
The dimension of a preview are usually smaller than actual images.
We take care of this case by scaling buffers to the same size before
display.
Fixes bug #21254
Jehan [Mon, 4 Nov 2013 06:31:46 +0000 (19:31 +1300)]
Do not ever set empty tooltips on capture and preview buttons.
Fixes bug #21249
Jehan [Tue, 5 Nov 2013 10:45:54 +0000 (23:45 +1300)]
Display the currently selected image when cancelling preview.
Currently on preview cancel, the last preview image would keep displayed
until you select a thumbnail. Instead let's redisplay the currently
selected image directly.
Also prevent any race condition by not displaying a preview image if the
preview mode is already cancelled.
Fixes bug #21253
Jehan [Tue, 5 Nov 2013 12:52:00 +0000 (01:52 +1300)]
Onion skinning in preview mode should show start at the selected image.
Currently onion skinning adds the images *before* the selected one. But
in preview mode, it does not make sense. You want to start to layer from
the selected one, included.
Fixes bug #21255
Jehan [Wed, 6 Nov 2013 11:18:00 +0000 (00:18 +1300)]
Switch gexiv2 include to use gexiv2/gexiv2.h
The current pkg-config file for gexiv2 adds a cflag
of -I$prefix/gexiv2 but this is already broken, since
the gexiv2/gexiv2.h file includes other files using
a gexiv2/gexiv2-xxxx.h path. As such current releases
can only be used if installed in /usr which means the
default include path works. Future releases of gexiv2
fix the pkg-config file and will require use of
gexiv2/gexiv2.h
Fixes bug #21260
Daniel P. Berrange [Sun, 15 Sep 2013 17:43:01 +0000 (18:43 +0100)]
Move connect/disconnect item to dedicated menu
Create a top level "Camera" menu and move the "Connect
and "Disconnect" items to the new menu.
Signed-off-by: Daniel P. Berrange <dan@berrange.com>
Daniel P. Berrange [Sun, 15 Sep 2013 17:27:32 +0000 (18:27 +0100)]
Rename all .xml files to .ui
Signed-off-by: Daniel P. Berrange <dan@berrange.com>
Daniel P. Berrange [Sun, 25 Aug 2013 20:54:13 +0000 (21:54 +0100)]
Make all window classes inherit Gtk classes
Instead of having all the entangle window classes inherit
from GObject, make them inherit from the Gtk class that
corresponds to the type of window in the Gtk Builder file.
Use a hack whereby the Gtk Builder file primary window
class name is replaced by the entangle class name before
being loaded. Introduce a EntangleWindow class to handle
passing of the GtkBUilder object into the class for init
purposes.
Signed-off-by: Daniel P. Berrange <dan@berrange.com>
Daniel P. Berrange [Fri, 30 Aug 2013 20:05:14 +0000 (21:05 +0100)]
Add an appdata XML file for gnome software center
http://people.freedesktop.org/~hughsient/appdata/
Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
Daniel P. Berrange [Fri, 30 Aug 2013 19:11:08 +0000 (20:11 +0100)]
Don't use ::PACKAGE:: in desktop file
The executable name is not required to be the same as the autoconf
package name, so just hardcode 'entangle' in the desktop file.
Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
Daniel P. Berrange [Fri, 30 Aug 2013 18:51:21 +0000 (19:51 +0100)]
Fix memory leak in generating image thumbnals
Fix code for generating thumbnails from raw files to not leak
reference count on pixbuf.
Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
Daniel P. Berrange [Fri, 30 Aug 2013 18:25:13 +0000 (19:25 +0100)]
Ensure thumbnail directory exists
Before trying to save a thumbnail, ensure the cache directory
exists.
Signed-off-by: Daniel P. Berrange <berrange@redhat.com>