[gnome-games] ui: Make ApplicationWindow use MediaSet
- From: Adrien Plazas <aplazas src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-games] ui: Make ApplicationWindow use MediaSet
- Date: Fri, 19 Aug 2016 21:10:00 +0000 (UTC)
commit c5595ca3c7275dfd2741af5868f81f6779508ee6
Author: Ricard Gascons <gascons1995 gmail com>
Date: Fri Aug 19 17:05:07 2016 +0200
ui: Make ApplicationWindow use MediaSet
This will be used by multi-source games for changing the source in the
middle of the game.
This is part of a series of commits to add multi-source support.
src/ui/application-window.vala | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/src/ui/application-window.vala b/src/ui/application-window.vala
index 19fa571..ab0835a 100644
--- a/src/ui/application-window.vala
+++ b/src/ui/application-window.vala
@@ -181,6 +181,8 @@ private class Games.ApplicationWindow : Gtk.ApplicationWindow {
display_header_bar.can_fullscreen = runner.can_fullscreen;
display_box.header_bar.can_fullscreen = runner.can_fullscreen;
display_box.runner = runner;
+ display_header_bar.media_set = runner.media_set;
+ display_box.header_bar.media_set = runner.media_set;
bool resume = false;
if (runner.can_resume)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]