Skip to content

Commit

Permalink
refactor: Use new signaler URL
Browse files Browse the repository at this point in the history
  • Loading branch information
pojntfx committed Aug 26, 2023
1 parent 67e677e commit b0d2945
Show file tree
Hide file tree
Showing 3 changed files with 25 additions and 60 deletions.
80 changes: 23 additions & 57 deletions internal/ressources/assistant.ui
Original file line number Diff line number Diff line change
Expand Up @@ -63,32 +63,27 @@
<object class="GtkBox">
<child>
<object class="GtkBox">
<property name="orientation">
vertical</property>
<property name="orientation">vertical</property>
<property name="halign">center</property>
<property name="valign">center</property>

<child>
<object class="GtkLabel"
id="button-headerbar-title">
<object class="GtkLabel" id="button-headerbar-title">
<style>
<class name="title"></class>
</style>

<property name="label">
Welcome</property>
<property name="label">Welcome</property>
</object>
</child>

<child>
<object class="GtkLabel"
id="button-headerbar-subtitle">
<object class="GtkLabel" id="button-headerbar-subtitle">
<style>
<class name="subtitle"></class>
</style>

<property name="visible">
false</property>
<property name="visible">false</property>
</object>
</child>
</object>
Expand Down Expand Up @@ -167,11 +162,8 @@
</property>

<child>
<object class="GtkEntry"
id="magnet-link-entry">
<property
name="placeholder-text">Magnet
link or stream code</property>
<object class="GtkEntry" id="magnet-link-entry">
<property name="placeholder-text">Magnet link or stream code</property>
</object>
</child>
</object>
Expand All @@ -195,16 +187,12 @@
<object class="AdwStatusPage">
<property name="margin-start">12</property>
<property name="margin-end">12</property>
<property name="icon-name">
applications-multimedia-symbolic</property>
<property name="icon-name">applications-multimedia-symbolic</property>
<property name="title">Media</property>
<property name="description">Select
the file you want to play</property>
<property name="description">Select the file you want to play</property>

<child>
<object
class="AdwPreferencesGroup"
id="media-selection-group"></object>
<object class="AdwPreferencesGroup" id="media-selection-group"></object>
</child>
</object>
</child>
Expand All @@ -227,54 +215,32 @@
<object class="AdwStatusPage">
<property name="margin-start">12</property>
<property name="margin-end">12</property>
<property name="icon-name">
emblem-ok-symbolic</property>
<property name="title">You're all
set!</property>
<property name="icon-name">emblem-ok-symbolic</property>
<property name="title">You're all set!</property>

<child>
<object class="GtkBox">
<property name="orientation">
vertical</property>
<property name="orientation">vertical</property>
<property name="spacing">36</property>
<property name="halign">
center</property>
<property name="valign">
center</property>
<property name="halign">center</property>
<property name="valign">center</property>

<child>
<object
class="GtkCheckButton"
id="rights-confirmation-button">
<property
name="label"> I
have the right
to stream the
selected media</property>
<object class="GtkCheckButton" id="rights-confirmation-button">
<property name="label">I have the right to stream the selected media</property>
</object>
</child>

<child>
<object
class="AdwSplitButton"
id="download-and-play-button">
<object class="AdwSplitButton" id="download-and-play-button">
<style>
<class
name="pill"></class>
<class name="pill"></class>
</style>

<property
name="label">Download
and Play</property>
<property
name="sensitive">
false</property>
<property
name="halign">
center</property>
<property
name="popover">
stream-popover</property>
<property name="label">Download and Play</property>
<property name="sensitive">false</property>
<property name="halign">center</property>
<property name="popover">stream-popover</property>
</object>
</child>
</object>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@
</key>

<key name='weronurl' type='s'>
<default>"wss://weron.herokuapp.com/"</default>
<default>"wss://weron.up.railway.app/"</default>
<summary>weron URL</summary>
<description>URL for the weron signaling server</description>
</key>
Expand Down
3 changes: 1 addition & 2 deletions internal/ressources/controls.ui
Original file line number Diff line number Diff line change
Expand Up @@ -257,8 +257,7 @@
<child>
<object class="GtkLabel">
<property name="justify">center</property>
<property name="label">Ask the people you want to watch with
to enter the following stream code:</property>
<property name="label">Ask the people you want to watch with to enter the following stream code:</property>
</object>
</child>

Expand Down

0 comments on commit b0d2945

Please sign in to comment.