[virt-tools-list] [PATCH virt-viewer 4/4] Fix missing field initializers

2016-06-21 Thread Pavel Grunt
--- src/virt-viewer-display-spice.c | 2 +- src/virt-viewer-display-vnc.c | 2 +- src/virt-viewer-window.c| 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/virt-viewer-display-spice.c b/src/virt-viewer-display-spice.c index ee07507..a604230 100644 --- a/src/virt-

[virt-tools-list] [PATCH virt-viewer 3/4] window: Use loop instead of multiple ifs

2016-06-21 Thread Pavel Grunt
Binds modifier's mask and key, also fixes a compile time warning: warning: cast from 'gchar *' (aka 'char *') to 'guint *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] return (guint*)g_array_free(a, FALSE); --- src/virt-viewer-window.c | 39 ++-

[virt-tools-list] [PATCH virt-viewer 2/4] window: Move definition from header

2016-06-21 Thread Pavel Grunt
--- src/virt-viewer-window.c | 2 ++ src/virt-viewer-window.h | 1 - 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/src/virt-viewer-window.c b/src/virt-viewer-window.c index e03df65..60a1675 100644 --- a/src/virt-viewer-window.c +++ b/src/virt-viewer-window.c @@ -43,6 +43,8 @@ #inc

[virt-tools-list] [PATCH virt-viewer 1/4] window: Do not use constant

2016-06-21 Thread Pavel Grunt
--- src/virt-viewer-window.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/virt-viewer-window.c b/src/virt-viewer-window.c index 8ec2521..e03df65 100644 --- a/src/virt-viewer-window.c +++ b/src/virt-viewer-window.c @@ -378,7 +378,7 @@ virt_viewer_window_get_real_zoom_leve

Re: [virt-tools-list] [virt-viewer 2/2] window: Replace autoDrawer with native Gtk widgets

2016-06-21 Thread Fabiano Fidêncio
On Tue, Jun 21, 2016 at 11:50 PM, Eduardo Lima (Etrunko) wrote: > On 06/21/2016 05:04 PM, Fabiano Fidêncio wrote: > >> diff --git a/src/view/virt-viewer-timed-revealer.c >> b/src/view/virt-viewer-timed-revealer.c >> new file mode 100644 >> index 000..bba363c >> --- /dev/null >> +++ b/src/view

Re: [virt-tools-list] [virt-viewer 2/2] window: Replace autoDrawer with native Gtk widgets

2016-06-21 Thread Eduardo Lima (Etrunko)
On 06/21/2016 05:04 PM, Fabiano Fidêncio wrote: > diff --git a/src/view/virt-viewer-timed-revealer.c > b/src/view/virt-viewer-timed-revealer.c > new file mode 100644 > index 000..bba363c > --- /dev/null > +++ b/src/view/virt-viewer-timed-revealer.c > @@ -0,0 +1,224 @@ > +/* > + * Virt Viewer:

Re: [virt-tools-list] [virt-viewer 2/2] window: Replace autoDrawer with native Gtk widgets

2016-06-21 Thread Eduardo Lima (Etrunko)
On 06/21/2016 05:50 PM, Fabiano Fidêncio wrote: > On Tue, Jun 21, 2016 at 10:39 PM, Eduardo Lima (Etrunko) > wrote: >> On 06/21/2016 05:04 PM, Fabiano Fidêncio wrote: >>> GtkRevealer was intrudced in Gtk+ 3.10 and, combined with Gtk Overlay >>> (intoduced in Gtk+ 3.2), can provide a more sustainab

Re: [virt-tools-list] [virt-viewer v2] util: Fix resource path

2016-06-21 Thread Fabiano Fidêncio
On Tue, Jun 21, 2016 at 10:41 PM, Eduardo Lima (Etrunko) wrote: > On 06/21/2016 05:28 PM, Fabiano Fidêncio wrote: >> Since commit 1f6f1a48 the resource path for icons has been broken. >> The reason is that when moving the .ui files to $(srcdir)/resources/ui >> the define used for the resources was

Re: [virt-tools-list] [virt-viewer 2/2] window: Replace autoDrawer with native Gtk widgets

2016-06-21 Thread Fabiano Fidêncio
On Tue, Jun 21, 2016 at 10:39 PM, Eduardo Lima (Etrunko) wrote: > On 06/21/2016 05:04 PM, Fabiano Fidêncio wrote: >> GtkRevealer was intrudced in Gtk+ 3.10 and, combined with Gtk Overlay >> (intoduced in Gtk+ 3.2), can provide a more sustainably implementation >> of the AutoDrawer functionality. >

Re: [virt-tools-list] [virt-viewer v2] util: Fix resource path

2016-06-21 Thread Eduardo Lima (Etrunko)
On 06/21/2016 05:28 PM, Fabiano Fidêncio wrote: > Since commit 1f6f1a48 the resource path for icons has been broken. > The reason is that when moving the .ui files to $(srcdir)/resources/ui > the define used for the resources was changed to reflect the new > directory. However, this change wasn't n

Re: [virt-tools-list] [virt-viewer 2/2] window: Replace autoDrawer with native Gtk widgets

2016-06-21 Thread Eduardo Lima (Etrunko)
On 06/21/2016 05:04 PM, Fabiano Fidêncio wrote: > GtkRevealer was intrudced in Gtk+ 3.10 and, combined with Gtk Overlay > (intoduced in Gtk+ 3.2), can provide a more sustainably implementation > of the AutoDrawer functionality. > > This approach is completely based on the approach taken by virt-ma

[virt-tools-list] [virt-viewer v2] util: Fix resource path

2016-06-21 Thread Fabiano Fidêncio
Since commit 1f6f1a48 the resource path for icons has been broken. The reason is that when moving the .ui files to $(srcdir)/resources/ui the define used for the resources was changed to reflect the new directory. However, this change wasn't needed by the icons and ended up with virt-viewer not dis

Re: [virt-tools-list] [virt-viewer 1/2] window, util: Fix resource path for icons

2016-06-21 Thread Eduardo Lima (Etrunko)
On 06/21/2016 05:04 PM, Fabiano Fidêncio wrote: > Since commit 1f6f1a48 the resource path for icons has been broken. > The reason is that when moving the .ui files to $(srcdir)/resources/ui, > the define used for the resources was changed to reflect the new > directory. However, this change wasn't

[virt-tools-list] [virt-viewer 1/2] window, util: Fix resource path for icons

2016-06-21 Thread Fabiano Fidêncio
Since commit 1f6f1a48 the resource path for icons has been broken. The reason is that when moving the .ui files to $(srcdir)/resources/ui, the define used for the resources was changed to reflect the new directory. However, this change wasn't needed by the icons and ended up with virt-viewer not di