summaryrefslogtreecommitdiffstats
path: root/src/virt-viewer-notebook.c
Commit message (Collapse)AuthorAgeFilesLines
* cleanup: Don't use gtk_widget_modify_{fg,bg}()Fabiano Fidêncio2016-02-241-3/+10
| | | | | | | | | | | These function have been deprecated since Gtk 3.0 and is recommended to use _override_color() and _override_background_color() instead. As these new functions take a GdkRGBA as parameter, let's use gdk_rgba_parse() instead of gdk_color_parse(). Signed-off-by: Fabiano Fidêncio <fidencio@redhat.com> Acked-by: Jonathon Jongsma <jjongsma@redhat.com> Acked-by: Pavel Grunt <pgrunt@redhat.com>
* Remove unused VirtViewerNotebook::disposeChristophe Fergeau2014-08-041-7/+0
| | | | | The vfunc implementation is only chaining to its parent, removing it will achieve the same result.
* Replace DEBUG_LOG with g_debugMarc-André Lureau2014-06-101-3/+3
| | | | https://bugzilla.redhat.com/show_bug.cgi?id=1107518
* Make status widget visible immediatelyMarc-André Lureau2012-07-231-0/+1
| | | | | | | | | | GtkNotebook will use the currently visible widget as default page. If we don't show status widget before we append the display, the current page will be on display. Quoting Gtk+ documentation: "Note that due to historical reasons, GtkNotebook refuses to switch to a page unless the child widget is visible. Therefore, it is recommended to show child widgets before adding them to a notebook."
* Do not warn if the display is shown and not readyMarc-Andre Lureau2012-03-221-2/+4
| | | | | | | Lower warning message to debug level. There are various racy ways it ends up calling show_display although the display is not yet ready. This is not such a big problem, although it would be nice to handle this case better
* Add config.h to every source fileDaniel P. Berrange2012-02-061-0/+3
|
* Update copyright headersDaniel P. Berrange2012-02-061-2/+2
|
* Convert TABS to spaces & reindent everywhereDaniel P. Berrange2012-02-061-61/+60
|
* Grab the focus when showing the displayMarc-André Lureau2012-02-061-0/+1
| | | | | | | Override the grab_focus() method in the display class. Since both VNC and Spice displays are the direct child, let's just grab the child. It can be that this behaviour need to be overriden if Spice or VNC display become more complex (using sub-childs or different objects)
* Remove duplicated struct definitionDaniel P. Berrange2011-07-261-2/+0
|
* Show status on all open windowsMarc-André Lureau2011-07-261-5/+13
| | | | | | The split virt_viewer_notebook_show_status() to virt_viewer_notebook_show_status_va() is unnecessary in the end, but it's more future-proof.
* Let virt_viewer_notebook_show_status take varagsMarc-André Lureau2011-07-261-1/+8
|
* Split VirtViewerApp window into VirtViewerWindowMarc-André Lureau2011-07-261-0/+135