[virt-tools-list] [PATCH virt-viewer] virt-viewer-app: Set hotkeys when app is constructed
Pavel Grunt
pgrunt at redhat.com
Sat Mar 28 13:26:47 UTC 2015
Resolves: https://bugzilla.redhat.com/show_bug.cgi?id=1206106
---
src/virt-viewer-app.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/virt-viewer-app.c b/src/virt-viewer-app.c
index dd0361f..cfc62b1 100644
--- a/src/virt-viewer-app.c
+++ b/src/virt-viewer-app.c
@@ -1742,7 +1742,6 @@ virt_viewer_app_init(VirtViewerApp *self)
gtk_window_set_default_icon_name("virt-viewer");
virt_viewer_app_set_debug(opt_debug);
virt_viewer_app_set_fullscreen(self, opt_fullscreen);
- virt_viewer_app_set_hotkeys(self, opt_hotkeys);
self->priv->displays = g_hash_table_new_full(g_direct_hash, g_direct_equal, NULL, g_object_unref);
self->priv->config = g_key_file_new();
@@ -1833,6 +1832,7 @@ virt_viewer_app_constructed(GObject *object)
self->priv->main_notebook = GTK_WIDGET(virt_viewer_window_get_notebook(self->priv->main_window));
virt_viewer_app_set_kiosk(self, opt_kiosk);
+ virt_viewer_app_set_hotkeys(self, opt_hotkeys);
virt_viewer_window_set_zoom_level(self->priv->main_window, opt_zoom);
virt_viewer_set_insert_smartcard_accel(self, GDK_F8, GDK_SHIFT_MASK);
--
2.3.4
More information about the virt-tools-list
mailing list