Commit Graph

25 Commits

Author SHA1 Message Date
Marc-André Lureau
2a8ed0522e Add remote-viewer program
This program is meant for direct URI connections.
ex: remote-viewer vnc://uri
2012-01-31 12:36:04 +00:00
Marc-André Lureau
15cc78d91c build: make gtk-vnc optional 2011-11-07 12:22:15 +00:00
Daniel P. Berrange
ea5c75645b Revert 1a56de3aca
The GLIB2 check previously removed was misleading because it in
fact checked for gmodule-export-2.0 which is needed to export
the signal handlers. Revert the previous commit, but rename the
var to GMODULE2 to make it clearer
2011-11-07 11:25:55 +00:00
Daniel P. Berrange
1a56de3aca Remove pkgconfig check for GLIB2 since it is implied by GTK2/3 2011-11-04 11:43:38 +00:00
Marc-André Lureau
1002a220a4 Lookup UI file correctly, to fix Windows support 2011-08-04 13:32:17 +01:00
Marc-André Lureau
c7ad98333d Split VirtViewerApp window into VirtViewerWindow 2011-07-26 11:16:34 +01:00
Marc-André Lureau
dd9c85a32d Inherit from VirtViewerApp for VirtViewer
Make it a real GObject.

The parts specific to virt should go in virt-viewer.c
2011-07-22 16:11:18 +01:00
Daniel P. Berrange
ebf5e088c6 Remove virt-viewer-priv.h from sources, since it is gone 2011-07-12 11:48:51 +01:00
Daniel P. Berrange
1def55556f Split pull part of VirtViewerDisplay out into VirtViewerSession
To facilitate introduction of multi-head support, pull some of
the VirtViewerDisplay class out into a new VirtViewerSession
class.
2011-07-11 20:03:32 +01:00
Daniel P. Berrange
7a7112a9fa Turn VirtViewerDisplay into a proper Gtk widget
Turn VirtViewerDisplay into a Gtk widget instead of just a GObject,
by merging the functionality from VirtViewerAlign
2011-07-11 14:10:07 +01:00
Daniel P. Berrange
7f91cdf4ab Update to optionally build with GTK3 2011-07-11 12:07:21 +01:00
Daniel P. Berrange
cff795065a Replace use of GtkAlignment with a custom align widget
To use the GtkAlignment we have to play evil tricks overriding
its size request, to make it reallocate the child to the preferred
size we desire based on the virtual desktop size + zoom level.

By replacing the GtkAlignment with a custom widget we can
directly implement the layout/sizing semantics we want without
playing stupid games
2011-07-01 18:07:25 +01:00
Daniel P. Berrange
f3fa999769 Introduce standard naming convention to files & methods
All source files must be named

  virt-viewer-XXXX

All methods named

  virt_viewer_XXX
2011-07-01 16:12:20 +01:00
Daniel P. Berrange
4c210b712c Convert from Glade to GtkBuilder 2011-07-01 13:41:54 +01:00
Daniel P. Berrange
e37190e754 Hide menu bar on fullscreen & add a hiding toolbar
* src/Makefile.am, src/view/autoDrawer.c, src/view/autoDrawer.c
  src/view/drawer.c, src/view/drawer.h, src/view/ovBox.c,
  src/view/ovBox.c: Import auto-drawer from vinagre
* src/viewer-priv.h, src/viewer.c, src/viewer.glade,
  src/display-vnc.c: Insert an auto-drawer above the
  notebook and display an auto-hiding toolbar when fullscreen
2011-07-01 12:56:02 +01:00
Marc-André Lureau
a12a00758b build: make spice-gtk dependency optional 2010-12-10 12:22:48 +01:00
Marc-André Lureau
155a03f9c8 viewer: Add support for Spice 2010-11-30 13:59:01 +01:00
Daniel P. Berrange
50f48b4d91 Add support for i18n of the UI
Add all the boilerplate code required for doing i18n of the UI.
No translations available yet though
2010-01-11 16:01:20 +00:00
Daniel P. Berrange
852825ae5e Pull auth code out into separate file 2009-07-29 11:21:11 +01:00
Daniel P. Berrange
296f91c549 Pull glib event loop integration into tree until libvirt-glib is more mature 2009-07-28 20:48:43 +01:00
Daniel P. Berrange
a9c5318923 Move most of viewer code out into viewer.c 2009-07-28 12:06:18 +01:00
Daniel P. Berrange
61a05530b1 Re-write completely to use Glade, libvirt events, and libvirt-glib integration 2008-11-26 13:03:50 -05:00
Richard W.M. Jones
fb01700365 * configure.ac, src/Makefile.am, src/main.c, src/usleep.c: Support
for building on Windows using MinGW compiler toolchain (or
	for cross-compiling using the same).

	* .hgignore: Ignore some generated files.
2008-10-10 12:37:23 +01:00
Daniel P. Berrange
a26c5cea4e Refactor main method for viewer to prepare for plugin (Richard Jones 2008-01-25 16:14:34 -05:00
Daniel P. Berrange
07c89c3f5e Initial commit 2007-07-20 15:26:08 -04:00