On Sat, Jul 23, 2016 at 12:05 AM, Jonathon Jongsma wrote:
> When using client-side decorations, as well as in certain other
> situations (wayland, and windows in some cases), the window gradually
> resizes larger and larger.
>
> This is caused by a change in how gtk
When using client-side decorations, as well as in certain other
situations (wayland, and windows in some cases), the window gradually
resizes larger and larger.
This is caused by a change in how gtk interprets the sizes passed to
gtk_window_resize(), particularly when client-side decorations
The OvirtForeignMenu pointer is needed by the new ISO list dialog, and
we make it acessible via property to avoid interdependency between
objects.
Signed-off-by: Eduardo Lima (Etrunko)
---
src/remote-viewer-iso-list-dialog.c | 31 +++
Signed-off-by: Eduardo Lima (Etrunko)
---
src/resources/ui/virt-viewer.ui | 1 +
src/virt-viewer-window.c| 24
2 files changed, 25 insertions(+)
diff --git a/src/resources/ui/virt-viewer.ui b/src/resources/ui/virt-viewer.ui
index
With this commit, we finish cleaning up ovirt foreign menu code, which
only deals with data, leaving the UI bits to be handled properly in the
new ISO list dialog.
This patch also updates remote-viewer to reflect the change.
Signed-off-by: Eduardo Lima (Etrunko)
---
Signed-off-by: Eduardo Lima (Etrunko)
---
po/POTFILES.in | 2 +
src/Makefile.am| 3 +
src/remote-viewer-iso-list-dialog.c| 112 +
src/remote-viewer-iso-list-dialog.h| 58
When user presses the Refresh button in ISO dialog, the list is cleared, and
currently, the only way it is informed of the new list is by the notify signal.
The same applies when an error occurs while trying to change the current ISO.
Signed-off-by: Eduardo Lima (Etrunko)
---
Signed-off-by: Eduardo Lima (Etrunko)
---
src/ovirt-foreign-menu.c | 49 ++--
src/ovirt-foreign-menu.h | 5 -
2 files changed, 39 insertions(+), 15 deletions(-)
diff --git a/src/ovirt-foreign-menu.c b/src/ovirt-foreign-menu.c
New version of the ISO list dialog, with changes suggested in first
round of reviews and lots of bug fixes. Before sending v1 I had
refactored a few bits and it introduced some serious crashes.
On the UI side, we now use GtkStack instead of GtkNotebook and the last
commit of the series also makes
Use switch/case instead of lots of conditional blocks
Signed-off-by: Eduardo Lima (Etrunko)
Acked-by: Pavel Grunt
---
src/ovirt-foreign-menu.c | 46 --
1 file changed, 20 insertions(+), 26 deletions(-)
diff
Signed-off-by: Eduardo Lima (Etrunko)
---
src/resources/ui/virt-viewer.ui | 18 +-
1 file changed, 9 insertions(+), 9 deletions(-)
diff --git a/src/resources/ui/virt-viewer.ui b/src/resources/ui/virt-viewer.ui
index 6e3c5ad..af3ae46 100644
---
With the new ISO dialog, the user triggers the refresh manually.
Signed-off-by: Eduardo Lima (Etrunko)
---
src/ovirt-foreign-menu.c | 23 +++
1 file changed, 3 insertions(+), 20 deletions(-)
diff --git a/src/ovirt-foreign-menu.c
Signed-off-by: Eduardo Lima (Etrunko)
---
src/remote-viewer-iso-list-dialog.c| 157 -
src/resources/ui/remote-viewer-iso-list.ui | 5 +-
2 files changed, 158 insertions(+), 4 deletions(-)
diff --git a/src/remote-viewer-iso-list-dialog.c
Signed-off-by: Eduardo Lima (Etrunko)
Acked-by: Christophe Fergeau
---
src/ovirt-foreign-menu.c | 68
1 file changed, 16 insertions(+), 52 deletions(-)
diff --git a/src/ovirt-foreign-menu.c
It seems to give more modern look to the dialog, but it requires Gtk+
3.12, thus I will am keeping this commit separated.
Signed-off-by: Eduardo Lima (Etrunko)
---
configure.ac| 4 ++--
src/remote-viewer-iso-list-dialog.c | 33
15 matches
Mail list logo