BeamMeUp
@@ -1,6 +1,6 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
<gresources>
|
<gresources>
|
||||||
<gresource prefix="/com/frac_tion/teleport">
|
<gresource prefix="/org/nekoweb/n0va/BeamMeUp">
|
||||||
<file preprocess="xml-stripblanks">window.ui</file>
|
<file preprocess="xml-stripblanks">window.ui</file>
|
||||||
<file preprocess="xml-stripblanks">settings.ui</file>
|
<file preprocess="xml-stripblanks">settings.ui</file>
|
||||||
<file preprocess="xml-stripblanks">device_settings.ui</file>
|
<file preprocess="xml-stripblanks">device_settings.ui</file>
|
||||||
@@ -1,60 +0,0 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
|
||||||
<!-- Copyleft 2017 Julian Sparber <julian@sparber.net> -->
|
|
||||||
<component type="desktop">
|
|
||||||
<id>com.frac_tion.teleport.desktop</id>
|
|
||||||
<metadata_license>CC0</metadata_license>
|
|
||||||
<project_license>AGPL-3.0+</project_license>
|
|
||||||
<name>Teleport</name>
|
|
||||||
<summary>Share files over the local network</summary>
|
|
||||||
|
|
||||||
<description>
|
|
||||||
<p>
|
|
||||||
Teleport is a fast way to share files over the local network. It's
|
|
||||||
designed to be a replacement for using USB keys or emailing stuff to
|
|
||||||
yourself just to move them on another device on your desk.
|
|
||||||
</p>
|
|
||||||
</description>
|
|
||||||
|
|
||||||
<screenshots>
|
|
||||||
<screenshot type="default">
|
|
||||||
<caption>Teleport window with multiple devices</caption>
|
|
||||||
<image width="1366" height="768">https://gitlab.gnome.org/jsparber/teleport/raw/master/data/screenshots/window.png</image>
|
|
||||||
</screenshot>
|
|
||||||
<screenshot type="default">
|
|
||||||
<caption>Teleport notification</caption>
|
|
||||||
<image width="1366" height="768">https://gitlab.gnome.org/jsparber/teleport/raw/master/data/screenshots/notification.png</image>
|
|
||||||
</screenshot>
|
|
||||||
</screenshots>
|
|
||||||
|
|
||||||
<url type="homepage">https://gitlab.gnome.org/jsparber/teleport</url>
|
|
||||||
<url type="bugtracker">https://gitlab.gnome.org/jsparber/teleport/issues</url>
|
|
||||||
<project_group>GNOME</project_group>
|
|
||||||
|
|
||||||
<kudos>
|
|
||||||
<kudo>AppMenu</kudo>
|
|
||||||
<kudo>HiDpiIcon</kudo>
|
|
||||||
<kudo>ModernToolkit</kudo>
|
|
||||||
<kudo>Notifications</kudo>
|
|
||||||
</kudos>
|
|
||||||
|
|
||||||
<update_contact>julian@sparber.net</update_contact>
|
|
||||||
<translation type="gettext">teleport</translation>
|
|
||||||
|
|
||||||
<releases>
|
|
||||||
<release version="0.0.1" date="2018-10-28">
|
|
||||||
<description>
|
|
||||||
<p>
|
|
||||||
Some small fixes.
|
|
||||||
</p>
|
|
||||||
</description>
|
|
||||||
</release>
|
|
||||||
<release version="0.0.0" date="2017-10-29">
|
|
||||||
<description>
|
|
||||||
<p>
|
|
||||||
This basic initial version sends files chose via the file chooser or
|
|
||||||
drag and drop. The Downloads directory can be set from the menu.
|
|
||||||
</p>
|
|
||||||
</description>
|
|
||||||
</release>
|
|
||||||
</releases>
|
|
||||||
</component>
|
|
||||||
|
Before Width: | Height: | Size: 25 KiB After Width: | Height: | Size: 25 KiB |
|
Before Width: | Height: | Size: 999 B After Width: | Height: | Size: 999 B |
|
Before Width: | Height: | Size: 1.8 KiB After Width: | Height: | Size: 1.8 KiB |
|
Before Width: | Height: | Size: 82 KiB After Width: | Height: | Size: 82 KiB |
|
Before Width: | Height: | Size: 2.7 KiB After Width: | Height: | Size: 2.7 KiB |
|
Before Width: | Height: | Size: 5.4 KiB After Width: | Height: | Size: 5.4 KiB |
|
Before Width: | Height: | Size: 266 KiB After Width: | Height: | Size: 266 KiB |
|
Before Width: | Height: | Size: 8.5 KiB After Width: | Height: | Size: 8.5 KiB |
|
Before Width: | Height: | Size: 648 KiB After Width: | Height: | Size: 648 KiB |
|
Before Width: | Height: | Size: 8.5 KiB After Width: | Height: | Size: 8.5 KiB |
@@ -1,4 +1,4 @@
|
|||||||
desktop = 'com.frac_tion.teleport.desktop'
|
desktop = 'org.nekoweb.n0va.BeamMeUp.desktop'
|
||||||
|
|
||||||
i18n.merge_file(
|
i18n.merge_file(
|
||||||
input: desktop + '.in',
|
input: desktop + '.in',
|
||||||
@@ -11,8 +11,8 @@ i18n.merge_file(
|
|||||||
|
|
||||||
# Appdata file.
|
# Appdata file.
|
||||||
appdata_file = i18n.merge_file(
|
appdata_file = i18n.merge_file(
|
||||||
input: 'com.frac_tion.teleport.appdata.xml.in',
|
input: 'org.nekoweb.n0va.BeamMeUp.appdata.xml.in',
|
||||||
output: 'com.frac_tion.teleport.appdata.xml',
|
output: 'org.nekoweb.n0va.BeamMeUp.appdata.xml',
|
||||||
po_dir: po_dir,
|
po_dir: po_dir,
|
||||||
install: true,
|
install: true,
|
||||||
install_dir: join_paths(get_option('datadir'), 'appdata'),
|
install_dir: join_paths(get_option('datadir'), 'appdata'),
|
||||||
@@ -41,7 +41,7 @@ endif
|
|||||||
|
|
||||||
schema_dir = join_paths(get_option('prefix'), get_option('datadir'), 'glib-2.0', 'schemas')
|
schema_dir = join_paths(get_option('prefix'), get_option('datadir'), 'glib-2.0', 'schemas')
|
||||||
install_data(
|
install_data(
|
||||||
'com.frac_tion.teleport.gschema.xml',
|
'org.nekoweb.n0va.BeamMeUp.gschema.xml',
|
||||||
install_dir: schema_dir
|
install_dir: schema_dir
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|||||||
41
data/org.nekoweb.n0va.BeamMeUp.appdata.xml.in
Normal file
@@ -0,0 +1,41 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<!-- Copyleft 2017 Julian Sparber <julian@sparber.net> -->
|
||||||
|
<component type="desktop">
|
||||||
|
<id>org.nekoweb.n0va.BeamMeUp.desktop</id>
|
||||||
|
<metadata_license>CC0</metadata_license>
|
||||||
|
<project_license>AGPL-3.0+</project_license>
|
||||||
|
<name>BeamMeUp</name>
|
||||||
|
<summary>Share files over the local network</summary>
|
||||||
|
|
||||||
|
<description>
|
||||||
|
<p>
|
||||||
|
BeamMeUp is a fast way to share files over the local network. It's
|
||||||
|
designed to be a replacement for using USB keys or emailing stuff to
|
||||||
|
yourself just to move them on another device on your desk.
|
||||||
|
</p>
|
||||||
|
</description>
|
||||||
|
|
||||||
|
<url type="homepage">https://git.krzak.org/N0VA/BeamMeUp</url>
|
||||||
|
<url type="bugtracker">https://git.krzak.org/N0VA/BeamMeUp/issues</url>
|
||||||
|
|
||||||
|
<update_contact>n0va@krzak.org</update_contact>
|
||||||
|
<translation type="gettext">BeamMeUp</translation>
|
||||||
|
|
||||||
|
<releases>
|
||||||
|
<release version="0.0.1" date="2018-10-28">
|
||||||
|
<description>
|
||||||
|
<p>
|
||||||
|
Some small fixes.
|
||||||
|
</p>
|
||||||
|
</description>
|
||||||
|
</release>
|
||||||
|
<release version="0.0.0" date="2017-10-29">
|
||||||
|
<description>
|
||||||
|
<p>
|
||||||
|
This basic initial version sends files chose via the file chooser or
|
||||||
|
drag and drop. The Downloads directory can be set from the menu.
|
||||||
|
</p>
|
||||||
|
</description>
|
||||||
|
</release>
|
||||||
|
</releases>
|
||||||
|
</component>
|
||||||
@@ -1,7 +1,7 @@
|
|||||||
[Desktop Entry]
|
[Desktop Entry]
|
||||||
Name=Teleport
|
Name=BeamMeUp
|
||||||
Comment=Share files on the local network
|
Comment=Share files on the local network
|
||||||
Exec=teleport
|
Exec=BeamMeUp
|
||||||
Icon=com.frac_tion.teleport
|
Icon=org.nekoweb.n0va.BeamMeUp
|
||||||
Type=Application
|
Type=Application
|
||||||
Categories=GTK;GNOME;Utility;
|
Categories=GTK;GNOME;Utility;
|
||||||
@@ -1,6 +1,6 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
<schemalist>
|
<schemalist>
|
||||||
<schema path="/com/frac_tion/teleport/" id="com.frac_tion.teleport">
|
<schema path="/org/nekoweb/n0va/BeamMeUp/" id="org.nekoweb.n0va.BeamMeUp">
|
||||||
<key name="download-dir" type="s">
|
<key name="download-dir" type="s">
|
||||||
<default>'~/Downloads'</default>
|
<default>'~/Downloads'</default>
|
||||||
<summary>Download directory</summary>
|
<summary>Download directory</summary>
|
||||||
@@ -1,5 +1,5 @@
|
|||||||
project(
|
project(
|
||||||
'teleport',
|
'BeamMeUp',
|
||||||
'c',
|
'c',
|
||||||
version: '0.0.1',
|
version: '0.0.1',
|
||||||
license: 'AGPL3+',
|
license: 'AGPL3+',
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
/* teleport-app.c
|
/* beam-me-up-app.c
|
||||||
*
|
*
|
||||||
* Copyright 2017 Julian Sparber <julian@sparber.com>
|
* Copyright 2017 Julian Sparber <julian@sparber.com>
|
||||||
*
|
*
|
||||||
@@ -22,13 +22,13 @@
|
|||||||
#include "config.h"
|
#include "config.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#include "teleport-app.h"
|
#include "beam-me-up-app.h"
|
||||||
#include "teleport-peer.h"
|
#include "beam-me-up-peer.h"
|
||||||
#include "teleport-window.h"
|
#include "beam-me-up-window.h"
|
||||||
#include "teleport-browser.h"
|
#include "beam-me-up-browser.h"
|
||||||
#include "teleport-publish.h"
|
#include "beam-me-up-publish.h"
|
||||||
#include "teleport-server.h"
|
#include "beam-me-up-server.h"
|
||||||
#include "teleport-get.h"
|
#include "beam-me-up-get.h"
|
||||||
|
|
||||||
|
|
||||||
static void save_file_callback (GSimpleAction *simple,
|
static void save_file_callback (GSimpleAction *simple,
|
||||||
@@ -236,7 +236,7 @@ open_file_callback (GSimpleAction *simple,
|
|||||||
|
|
||||||
void
|
void
|
||||||
create_user_notification (const char *file_name, const int file_size, const char *origin_device, GVariant *target) {
|
create_user_notification (const char *file_name, const int file_size, const char *origin_device, GVariant *target) {
|
||||||
GNotification *notification = g_notification_new ("Teleport");
|
GNotification *notification = g_notification_new ("BeamMeUp");
|
||||||
TeleportAppPrivate *priv = mainApplication->priv;
|
TeleportAppPrivate *priv = mainApplication->priv;
|
||||||
|
|
||||||
g_notification_set_body (notification,
|
g_notification_set_body (notification,
|
||||||
@@ -255,7 +255,7 @@ create_user_notification (const char *file_name, const int file_size, const char
|
|||||||
|
|
||||||
void
|
void
|
||||||
create_finished_notification (const char *origin, const int filesize, const char *filename, GVariant *target) {
|
create_finished_notification (const char *origin, const int filesize, const char *filename, GVariant *target) {
|
||||||
GNotification *notification = g_notification_new ("Teleport");
|
GNotification *notification = g_notification_new ("BeamMeUp");
|
||||||
TeleportAppPrivate *priv = mainApplication->priv;
|
TeleportAppPrivate *priv = mainApplication->priv;
|
||||||
|
|
||||||
g_notification_set_body (notification,
|
g_notification_set_body (notification,
|
||||||
@@ -369,7 +369,7 @@ teleport_app_startup (GApplication *app) {
|
|||||||
/* CSS style */
|
/* CSS style */
|
||||||
provider = GTK_STYLE_PROVIDER (gtk_css_provider_new ());
|
provider = GTK_STYLE_PROVIDER (gtk_css_provider_new ());
|
||||||
gtk_css_provider_load_from_resource (GTK_CSS_PROVIDER (provider),
|
gtk_css_provider_load_from_resource (GTK_CSS_PROVIDER (provider),
|
||||||
"/com/frac_tion/teleport/style.css");
|
"/org/nekoweb/n0va/BeamMeUp/style.css");
|
||||||
gtk_style_context_add_provider_for_display (gdk_display_get_default(),
|
gtk_style_context_add_provider_for_display (gdk_display_get_default(),
|
||||||
provider,
|
provider,
|
||||||
GTK_STYLE_PROVIDER_PRIORITY_APPLICATION);
|
GTK_STYLE_PROVIDER_PRIORITY_APPLICATION);
|
||||||
@@ -431,13 +431,15 @@ teleport_app_show_about (GSimpleAction *simple,
|
|||||||
g_autofree char *copyright = NULL;
|
g_autofree char *copyright = NULL;
|
||||||
g_autoptr(GDateTime) date = g_date_time_new_now_local ();
|
g_autoptr(GDateTime) date = g_date_time_new_now_local ();
|
||||||
int created_year = 2017;
|
int created_year = 2017;
|
||||||
|
AdwAboutDialog *dialog;
|
||||||
|
|
||||||
static const char *developers[] = {
|
static const char *developers[] = {
|
||||||
"Julian Sparber <julian@sparber.net>",
|
"N0\\A <n0va@krzak.org>",
|
||||||
NULL
|
NULL
|
||||||
};
|
};
|
||||||
|
|
||||||
static const char *artists[] = {
|
static const char *original_authors[] = {
|
||||||
|
"Julian Sparber <julian@sparber.net>",
|
||||||
"Tobias Bernard <tbernard@gnome.org>",
|
"Tobias Bernard <tbernard@gnome.org>",
|
||||||
NULL
|
NULL
|
||||||
};
|
};
|
||||||
@@ -451,16 +453,20 @@ teleport_app_show_about (GSimpleAction *simple,
|
|||||||
copyright = g_strdup_printf ("Copyright \xC2\xA9 %d\xE2\x80\x93%d The Teleport authors", created_year, g_date_time_get_year (date));
|
copyright = g_strdup_printf ("Copyright \xC2\xA9 %d\xE2\x80\x93%d The Teleport authors", created_year, g_date_time_get_year (date));
|
||||||
}
|
}
|
||||||
|
|
||||||
adw_show_about_dialog (priv->window,
|
dialog = ADW_ABOUT_DIALOG (adw_about_dialog_new ());
|
||||||
"application-name", "Teleport",
|
|
||||||
"version", VERSION,
|
adw_about_dialog_set_application_name (dialog, "BeamMeUp");
|
||||||
"copyright", copyright,
|
adw_about_dialog_set_version (dialog, VERSION);
|
||||||
"license-type", GTK_LICENSE_AGPL_3_0,
|
adw_about_dialog_set_copyright (dialog, copyright);
|
||||||
"developers", developers,
|
adw_about_dialog_set_license_type (dialog, GTK_LICENSE_AGPL_3_0);
|
||||||
"artists", artists,
|
adw_about_dialog_set_developers (dialog, developers);
|
||||||
"application-icon", "com.frac_tion.teleport",
|
adw_about_dialog_set_application_icon (dialog, "org.nekoweb.n0va.BeamMeUp");
|
||||||
"translator-credits", "translator-credits",
|
adw_about_dialog_set_translator_credits (dialog, "translator-credits");
|
||||||
NULL);
|
adw_about_dialog_set_website (dialog, "https://git.krzak.org/N0VA/BeamMeUp");
|
||||||
|
|
||||||
|
adw_about_dialog_add_acknowledgement_section (dialog, "Original Authors", original_authors);
|
||||||
|
|
||||||
|
adw_dialog_present (ADW_DIALOG (dialog), priv->window);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@@ -475,19 +481,35 @@ teleport_app_quit (GSimpleAction *simple,
|
|||||||
}
|
}
|
||||||
|
|
||||||
TeleportApp *
|
TeleportApp *
|
||||||
|
|
||||||
teleport_app_new (void)
|
teleport_app_new (void)
|
||||||
|
|
||||||
{
|
{
|
||||||
|
|
||||||
return g_object_new (TELEPORT_APP_TYPE,
|
return g_object_new (TELEPORT_APP_TYPE,
|
||||||
"application-id", "com.frac_tion.teleport",
|
|
||||||
|
"application-id", "org.nekoweb.n0va.BeamMeUp",
|
||||||
|
|
||||||
"flags", G_APPLICATION_HANDLES_OPEN,
|
"flags", G_APPLICATION_HANDLES_OPEN,
|
||||||
|
|
||||||
NULL);
|
NULL);
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
static void
|
static void
|
||||||
|
|
||||||
teleport_app_init (TeleportApp *app) {
|
teleport_app_init (TeleportApp *app) {
|
||||||
|
|
||||||
TeleportAppPrivate *priv = teleport_app_get_instance_private (app);
|
TeleportAppPrivate *priv = teleport_app_get_instance_private (app);
|
||||||
|
|
||||||
app->priv = priv;
|
app->priv = priv;
|
||||||
|
|
||||||
priv->settings = g_settings_new ("com.frac_tion.teleport");
|
|
||||||
|
|
||||||
|
priv->settings = g_settings_new ("org.nekoweb.n0va.BeamMeUp");
|
||||||
|
|
||||||
init_settings (priv->settings);
|
init_settings (priv->settings);
|
||||||
}
|
|
||||||
|
}
|
||||||
@@ -1,4 +1,4 @@
|
|||||||
/* teleport-app.h
|
/* beam-me-up-app.h
|
||||||
*
|
*
|
||||||
* Copyright 2017 Julian Sparber <julian@sparber.com>
|
* Copyright 2017 Julian Sparber <julian@sparber.com>
|
||||||
*
|
*
|
||||||
@@ -20,7 +20,7 @@
|
|||||||
#define __TELEPORT_APP_H
|
#define __TELEPORT_APP_H
|
||||||
|
|
||||||
#include <adwaita.h>
|
#include <adwaita.h>
|
||||||
#include "teleport-peer.h"
|
#include "beam-me-up-peer.h"
|
||||||
|
|
||||||
#define TELEPORT_APP_TYPE (teleport_app_get_type ())
|
#define TELEPORT_APP_TYPE (teleport_app_get_type ())
|
||||||
|
|
||||||
@@ -1,4 +1,4 @@
|
|||||||
/* teleport-browser.c
|
/* beam-me-up-browser.c
|
||||||
*
|
*
|
||||||
* Copyright 2017 Julian Sparber <julian@sparber.com>
|
* Copyright 2017 Julian Sparber <julian@sparber.com>
|
||||||
*
|
*
|
||||||
@@ -26,9 +26,9 @@
|
|||||||
#include <avahi-common/error.h>
|
#include <avahi-common/error.h>
|
||||||
#include <avahi-common/thread-watch.h>
|
#include <avahi-common/thread-watch.h>
|
||||||
|
|
||||||
#include "teleport-browser.h"
|
#include "beam-me-up-browser.h"
|
||||||
#include "teleport-app.h"
|
#include "beam-me-up-app.h"
|
||||||
#include "teleport-peer.h"
|
#include "beam-me-up-peer.h"
|
||||||
|
|
||||||
static AvahiThreadedPoll *threaded_poll = NULL;
|
static AvahiThreadedPoll *threaded_poll = NULL;
|
||||||
static AvahiClient *client = NULL;
|
static AvahiClient *client = NULL;
|
||||||
@@ -187,7 +187,7 @@ teleport_browser_run_avahi_service (TeleportPeer *peers)
|
|||||||
if (!(avahi_service_browser_new(client,
|
if (!(avahi_service_browser_new(client,
|
||||||
AVAHI_IF_UNSPEC,
|
AVAHI_IF_UNSPEC,
|
||||||
AVAHI_PROTO_INET,
|
AVAHI_PROTO_INET,
|
||||||
"_teleport._tcp",
|
"_beammeup._tcp",
|
||||||
NULL,
|
NULL,
|
||||||
0,
|
0,
|
||||||
browse_callback,
|
browse_callback,
|
||||||
@@ -1,4 +1,4 @@
|
|||||||
/* teleport-browser.h
|
/* beam-me-up-browser.h
|
||||||
*
|
*
|
||||||
* Copyright 2017 Julian Sparber <julian@sparber.com>
|
* Copyright 2017 Julian Sparber <julian@sparber.com>
|
||||||
*
|
*
|
||||||
@@ -19,7 +19,7 @@
|
|||||||
#ifndef __TELEPORT_BROWSER_H
|
#ifndef __TELEPORT_BROWSER_H
|
||||||
#define __TELEPORT_BROWSER_H
|
#define __TELEPORT_BROWSER_H
|
||||||
|
|
||||||
#include "teleport-peer.h"
|
#include "beam-me-up-peer.h"
|
||||||
|
|
||||||
int teleport_browser_run_avahi_service(TeleportPeer *);
|
int teleport_browser_run_avahi_service(TeleportPeer *);
|
||||||
void teleport_browser_avahi_shutdown(void);
|
void teleport_browser_avahi_shutdown(void);
|
||||||
@@ -1,4 +1,4 @@
|
|||||||
/* teleport-get.c
|
/* beam-me-up-get.c
|
||||||
*
|
*
|
||||||
* Copyright 2017 Julian Sparber <julian@sparber.com>
|
* Copyright 2017 Julian Sparber <julian@sparber.com>
|
||||||
*
|
*
|
||||||
@@ -21,9 +21,9 @@
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
#include <libsoup/soup.h>
|
#include <libsoup/soup.h>
|
||||||
#include "teleport-app.h"
|
#include "beam-me-up-app.h"
|
||||||
#include "teleport-window.h"
|
#include "beam-me-up-window.h"
|
||||||
#include "teleport-get.h"
|
#include "beam-me-up-get.h"
|
||||||
|
|
||||||
static int saveFile (SoupMessage *, const gchar *, const gchar *);
|
static int saveFile (SoupMessage *, const gchar *, const gchar *);
|
||||||
static gchar * getFilePath (const gchar *, const gchar *);
|
static gchar * getFilePath (const gchar *, const gchar *);
|
||||||
@@ -1,4 +1,4 @@
|
|||||||
/* teleport-get.h
|
/* beam-me-up-get.h
|
||||||
*
|
*
|
||||||
* Copyright 2017 Julian Sparber <julian@sparber.com>
|
* Copyright 2017 Julian Sparber <julian@sparber.com>
|
||||||
*
|
*
|
||||||
@@ -1,4 +1,4 @@
|
|||||||
/* teleport-peer.c
|
/* beam-me-up-peer.c
|
||||||
*
|
*
|
||||||
* Copyright 2017 Julian Sparber <julian@sparber.com>
|
* Copyright 2017 Julian Sparber <julian@sparber.com>
|
||||||
*
|
*
|
||||||
@@ -17,7 +17,7 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
#include <gtk/gtk.h>
|
#include <gtk/gtk.h>
|
||||||
#include "teleport-peer.h"
|
#include "beam-me-up-peer.h"
|
||||||
|
|
||||||
enum {
|
enum {
|
||||||
ADD, REMOVE, N_SIGNALS
|
ADD, REMOVE, N_SIGNALS
|
||||||
@@ -1,4 +1,4 @@
|
|||||||
/* teleport-peer.h
|
/* beam-me-up-peer.h
|
||||||
*
|
*
|
||||||
* Copyright 2017 Julian Sparber <julian@sparber.com>
|
* Copyright 2017 Julian Sparber <julian@sparber.com>
|
||||||
*
|
*
|
||||||
@@ -35,9 +35,9 @@
|
|||||||
#include <avahi-common/timeval.h>
|
#include <avahi-common/timeval.h>
|
||||||
#include <avahi-common/thread-watch.h>
|
#include <avahi-common/thread-watch.h>
|
||||||
|
|
||||||
#include "teleport-app.h"
|
#include "beam-me-up-app.h"
|
||||||
#include "teleport-peer.h"
|
#include "beam-me-up-peer.h"
|
||||||
#include "teleport-publish.h"
|
#include "beam-me-up-publish.h"
|
||||||
|
|
||||||
static AvahiThreadedPoll *threaded_poll = NULL;
|
static AvahiThreadedPoll *threaded_poll = NULL;
|
||||||
static AvahiEntryGroup *group = NULL;
|
static AvahiEntryGroup *group = NULL;
|
||||||
@@ -119,8 +119,8 @@ static void create_services(AvahiClient *c) {
|
|||||||
* the service type (IPP vs. BSD LPR). Only services with the
|
* the service type (IPP vs. BSD LPR). Only services with the
|
||||||
* same name should be put in the same entry group. */
|
* same name should be put in the same entry group. */
|
||||||
|
|
||||||
/* Add the service for Teleport */
|
/* Add the service for BeamMeUp */
|
||||||
if ((ret = avahi_entry_group_add_service(group, AVAHI_IF_UNSPEC, AVAHI_PROTO_UNSPEC, 0, name, "_teleport._tcp", NULL, NULL, 3000, "test=blah", r, NULL)) < 0) {
|
if ((ret = avahi_entry_group_add_service(group, AVAHI_IF_UNSPEC, AVAHI_PROTO_UNSPEC, 0, name, "_beammeup._tcp", NULL, NULL, 3000, "test=blah", r, NULL)) < 0) {
|
||||||
|
|
||||||
if (ret == AVAHI_ERR_COLLISION)
|
if (ret == AVAHI_ERR_COLLISION)
|
||||||
goto collision;
|
goto collision;
|
||||||
@@ -1,4 +1,4 @@
|
|||||||
/* teleport-publish.h
|
/* beam-me-up-publish.h
|
||||||
*
|
*
|
||||||
* Copyright 2017 Julian Sparber <julian@sparber.com>
|
* Copyright 2017 Julian Sparber <julian@sparber.com>
|
||||||
*
|
*
|
||||||
@@ -1,4 +1,4 @@
|
|||||||
/* teleport-remote-device.c
|
/* beam-me-up-remote-device.c
|
||||||
*
|
*
|
||||||
* Copyright 2017 Julian Sparber <julian@sparber.com>
|
* Copyright 2017 Julian Sparber <julian@sparber.com>
|
||||||
*
|
*
|
||||||
@@ -17,9 +17,9 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
#include <adwaita.h>
|
#include <adwaita.h>
|
||||||
#include "teleport-remote-device.h"
|
#include "beam-me-up-remote-device.h"
|
||||||
#include "teleport-peer.h"
|
#include "beam-me-up-peer.h"
|
||||||
#include "teleport-server.h"
|
#include "beam-me-up-server.h"
|
||||||
|
|
||||||
enum
|
enum
|
||||||
{
|
{
|
||||||
@@ -107,7 +107,7 @@ teleport_remote_device_class_init (TeleportRemoteDeviceClass *klass)
|
|||||||
"The peer that this row represents",
|
"The peer that this row represents",
|
||||||
G_PARAM_READWRITE | G_PARAM_CONSTRUCT));
|
G_PARAM_READWRITE | G_PARAM_CONSTRUCT));
|
||||||
|
|
||||||
gtk_widget_class_set_template_from_resource (widget_class, "/com/frac_tion/teleport/remote_list.ui");
|
gtk_widget_class_set_template_from_resource (widget_class, "/org/nekoweb/n0va/BeamMeUp/remote_list.ui");
|
||||||
gtk_widget_class_bind_template_child (widget_class, TeleportRemoteDevice, send_btn);
|
gtk_widget_class_bind_template_child (widget_class, TeleportRemoteDevice, send_btn);
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -1,4 +1,4 @@
|
|||||||
/* teleport-remote-device.c
|
/* beam-me-up-remote-device.c
|
||||||
*
|
*
|
||||||
* Copyright 2017 Julian Sparber <julian@sparber.com>
|
* Copyright 2017 Julian Sparber <julian@sparber.com>
|
||||||
*
|
*
|
||||||
@@ -20,7 +20,7 @@
|
|||||||
#define TELEPORT_REMOTE_DEVICE_H
|
#define TELEPORT_REMOTE_DEVICE_H
|
||||||
|
|
||||||
#include <adwaita.h>
|
#include <adwaita.h>
|
||||||
#include "teleport-peer.h"
|
#include "beam-me-up-peer.h"
|
||||||
|
|
||||||
G_BEGIN_DECLS
|
G_BEGIN_DECLS
|
||||||
|
|
||||||
@@ -1,4 +1,4 @@
|
|||||||
/* teleport-server.c
|
/* beam-me-up-server.c
|
||||||
*
|
*
|
||||||
* Copyright 2017 Julian Sparber <julian@sparber.com>
|
* Copyright 2017 Julian Sparber <julian@sparber.com>
|
||||||
*
|
*
|
||||||
@@ -22,9 +22,9 @@
|
|||||||
#include <glib.h>
|
#include <glib.h>
|
||||||
#include <glib/gstdio.h>
|
#include <glib/gstdio.h>
|
||||||
|
|
||||||
#include "teleport-server.h"
|
#include "beam-me-up-server.h"
|
||||||
#include "teleport-get.h"
|
#include "beam-me-up-get.h"
|
||||||
#include "teleport-app.h"
|
#include "beam-me-up-app.h"
|
||||||
|
|
||||||
static int port;
|
static int port;
|
||||||
static SoupServer *glob_server;
|
static SoupServer *glob_server;
|
||||||
@@ -232,7 +232,7 @@ teleport_server_run (void) {
|
|||||||
GError *error = NULL;
|
GError *error = NULL;
|
||||||
|
|
||||||
port = 3000;
|
port = 3000;
|
||||||
glob_server = soup_server_new (SOUP_SERVER_SERVER_HEADER, "teleport-httpd ",
|
glob_server = soup_server_new (SOUP_SERVER_SERVER_HEADER, "beam-me-up-httpd ",
|
||||||
NULL);
|
NULL);
|
||||||
soup_server_listen_all (glob_server, port, 0, &error);
|
soup_server_listen_all (glob_server, port, 0, &error);
|
||||||
|
|
||||||
@@ -1,4 +1,4 @@
|
|||||||
/* teleport-server.h
|
/* beam-me-up-server.h
|
||||||
*
|
*
|
||||||
* Copyright 2017 Julian Sparber <julian@sparber.com>
|
* Copyright 2017 Julian Sparber <julian@sparber.com>
|
||||||
*
|
*
|
||||||
@@ -1,4 +1,4 @@
|
|||||||
/* teleport-window.c
|
/* beam-me-up-window.c
|
||||||
*
|
*
|
||||||
* Copyright 2017 Julian Sparber <julian@sparber.com>
|
* Copyright 2017 Julian Sparber <julian@sparber.com>
|
||||||
*
|
*
|
||||||
@@ -19,11 +19,11 @@
|
|||||||
#include <adwaita.h>
|
#include <adwaita.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
|
|
||||||
#include "teleport-app.h"
|
#include "beam-me-up-app.h"
|
||||||
#include "teleport-window.h"
|
#include "beam-me-up-window.h"
|
||||||
#include "teleport-server.h"
|
#include "beam-me-up-server.h"
|
||||||
#include "teleport-peer.h"
|
#include "beam-me-up-peer.h"
|
||||||
#include "teleport-remote-device.h"
|
#include "beam-me-up-remote-device.h"
|
||||||
|
|
||||||
struct _TeleportWindow
|
struct _TeleportWindow
|
||||||
{
|
{
|
||||||
@@ -125,6 +125,45 @@ on_show_popover (GtkPopover *widget,
|
|||||||
"device-name"));
|
"device-name"));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
static void
|
||||||
|
update_download_dir_display (GtkWidget *label,
|
||||||
|
GtkWidget *icon,
|
||||||
|
const char *path)
|
||||||
|
{
|
||||||
|
g_autoptr(GFile) file = g_file_new_for_path (path);
|
||||||
|
g_autoptr(GFileInfo) info = g_file_query_info (file,
|
||||||
|
G_FILE_ATTRIBUTE_STANDARD_DISPLAY_NAME ","
|
||||||
|
G_FILE_ATTRIBUTE_STANDARD_SYMBOLIC_ICON,
|
||||||
|
G_FILE_QUERY_INFO_NONE,
|
||||||
|
NULL, NULL);
|
||||||
|
|
||||||
|
if (info)
|
||||||
|
{
|
||||||
|
GIcon *gicon = g_file_info_get_symbolic_icon (info);
|
||||||
|
gtk_label_set_text (GTK_LABEL (label), g_file_info_get_display_name (info));
|
||||||
|
if (gicon)
|
||||||
|
gtk_image_set_from_gicon (GTK_IMAGE (icon), gicon);
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
gtk_label_set_text (GTK_LABEL (label), path);
|
||||||
|
gtk_image_set_from_icon_name (GTK_IMAGE (icon), "folder-symbolic");
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
static void
|
||||||
|
on_download_dir_setting_changed (GSettings *settings,
|
||||||
|
const char *key,
|
||||||
|
gpointer user_data)
|
||||||
|
{
|
||||||
|
GtkBuilder *builder = user_data;
|
||||||
|
GtkWidget *label = GTK_WIDGET (gtk_builder_get_object (builder, "settings_download_directory_label"));
|
||||||
|
GtkWidget *icon = GTK_WIDGET (gtk_builder_get_object (builder, "settings_download_directory_icon"));
|
||||||
|
g_autofree char *path = g_settings_get_string (settings, key);
|
||||||
|
|
||||||
|
update_download_dir_display (label, icon, path);
|
||||||
|
}
|
||||||
|
|
||||||
static void
|
static void
|
||||||
teleport_window_init (TeleportWindow *win)
|
teleport_window_init (TeleportWindow *win)
|
||||||
{
|
{
|
||||||
@@ -132,6 +171,8 @@ teleport_window_init (TeleportWindow *win)
|
|||||||
GtkBuilder *builder;
|
GtkBuilder *builder;
|
||||||
GtkWidget *menu;
|
GtkWidget *menu;
|
||||||
GtkWidget *downloadDirBtn;
|
GtkWidget *downloadDirBtn;
|
||||||
|
GtkWidget *downloadDirLabel;
|
||||||
|
GtkWidget *downloadDirIcon;
|
||||||
GSettings *settings = teleport_app_get_settings ();
|
GSettings *settings = teleport_app_get_settings ();
|
||||||
|
|
||||||
priv = teleport_window_get_instance_private (win);
|
priv = teleport_window_get_instance_private (win);
|
||||||
@@ -141,9 +182,11 @@ teleport_window_init (TeleportWindow *win)
|
|||||||
g_type_ensure (ADW_TYPE_ACTION_ROW);
|
g_type_ensure (ADW_TYPE_ACTION_ROW);
|
||||||
gtk_widget_init_template (GTK_WIDGET (win));
|
gtk_widget_init_template (GTK_WIDGET (win));
|
||||||
|
|
||||||
builder = gtk_builder_new_from_resource ("/com/frac_tion/teleport/settings.ui");
|
builder = gtk_builder_new_from_resource ("/org/nekoweb/n0va/BeamMeUp/settings.ui");
|
||||||
menu = GTK_WIDGET (gtk_builder_get_object (builder, "settings"));
|
menu = GTK_WIDGET (gtk_builder_get_object (builder, "settings"));
|
||||||
downloadDirBtn = GTK_WIDGET (gtk_builder_get_object (builder, "settings_download_directory"));
|
downloadDirBtn = GTK_WIDGET (gtk_builder_get_object (builder, "settings_download_directory"));
|
||||||
|
downloadDirLabel = GTK_WIDGET (gtk_builder_get_object (builder, "settings_download_directory_label"));
|
||||||
|
downloadDirIcon = GTK_WIDGET (gtk_builder_get_object (builder, "settings_download_directory_icon"));
|
||||||
|
|
||||||
gtk_menu_button_set_popover(GTK_MENU_BUTTON (priv->gears), menu);
|
gtk_menu_button_set_popover(GTK_MENU_BUTTON (priv->gears), menu);
|
||||||
|
|
||||||
@@ -151,12 +194,22 @@ teleport_window_init (TeleportWindow *win)
|
|||||||
priv->this_device_row, "title",
|
priv->this_device_row, "title",
|
||||||
G_SETTINGS_BIND_GET);
|
G_SETTINGS_BIND_GET);
|
||||||
|
|
||||||
|
/* Initial update */
|
||||||
|
g_autofree char *path = g_settings_get_string (settings, "download-dir");
|
||||||
|
update_download_dir_display (downloadDirLabel, downloadDirIcon, path);
|
||||||
|
|
||||||
|
/* Update on change */
|
||||||
|
g_signal_connect_data (settings, "changed::download-dir",
|
||||||
|
G_CALLBACK (on_download_dir_setting_changed),
|
||||||
|
g_object_ref (builder),
|
||||||
|
(GClosureNotify)g_object_unref, 0);
|
||||||
|
|
||||||
g_signal_connect (downloadDirBtn, "clicked", G_CALLBACK (on_choose_download_dir_clicked), settings);
|
g_signal_connect (downloadDirBtn, "clicked", G_CALLBACK (on_choose_download_dir_clicked), settings);
|
||||||
|
|
||||||
g_object_unref (builder);
|
g_object_unref (builder);
|
||||||
|
|
||||||
/* Add popover for device settings */
|
/* Add popover for device settings */
|
||||||
builder = gtk_builder_new_from_resource ("/com/frac_tion/teleport/device_settings.ui");
|
builder = gtk_builder_new_from_resource ("/org/nekoweb/n0va/BeamMeUp/device_settings.ui");
|
||||||
menu = GTK_WIDGET (gtk_builder_get_object (builder, "device-settings"));
|
menu = GTK_WIDGET (gtk_builder_get_object (builder, "device-settings"));
|
||||||
gtk_menu_button_set_popover(GTK_MENU_BUTTON (priv->this_device_settings_button), menu);
|
gtk_menu_button_set_popover(GTK_MENU_BUTTON (priv->this_device_settings_button), menu);
|
||||||
|
|
||||||
@@ -232,7 +285,7 @@ teleport_window_class_init (TeleportWindowClass *class)
|
|||||||
G_OBJECT_CLASS (class)->dispose = teleport_window_dispose;
|
G_OBJECT_CLASS (class)->dispose = teleport_window_dispose;
|
||||||
|
|
||||||
gtk_widget_class_set_template_from_resource (GTK_WIDGET_CLASS (class),
|
gtk_widget_class_set_template_from_resource (GTK_WIDGET_CLASS (class),
|
||||||
"/com/frac_tion/teleport/window.ui");
|
"/org/nekoweb/n0va/BeamMeUp/window.ui");
|
||||||
|
|
||||||
gtk_widget_class_bind_template_child_private (GTK_WIDGET_CLASS (class), TeleportWindow, gears);
|
gtk_widget_class_bind_template_child_private (GTK_WIDGET_CLASS (class), TeleportWindow, gears);
|
||||||
gtk_widget_class_bind_template_child_private (GTK_WIDGET_CLASS (class), TeleportWindow, this_device_settings_button);
|
gtk_widget_class_bind_template_child_private (GTK_WIDGET_CLASS (class), TeleportWindow, this_device_settings_button);
|
||||||
@@ -1,4 +1,4 @@
|
|||||||
/* teleport-window.h
|
/* beam-me-up-window.h
|
||||||
*
|
*
|
||||||
* Copyright 2017 Julian Sparber <julian@sparber.com>
|
* Copyright 2017 Julian Sparber <julian@sparber.com>
|
||||||
*
|
*
|
||||||
@@ -20,8 +20,8 @@
|
|||||||
#define __TELEPORT_WINDOW_H
|
#define __TELEPORT_WINDOW_H
|
||||||
|
|
||||||
#include <adwaita.h>
|
#include <adwaita.h>
|
||||||
#include "teleport-app.h"
|
#include "beam-me-up-app.h"
|
||||||
#include "teleport-peer.h"
|
#include "beam-me-up-peer.h"
|
||||||
|
|
||||||
#define TELEPORT_WINDOW_TYPE (teleport_window_get_type ())
|
#define TELEPORT_WINDOW_TYPE (teleport_window_get_type ())
|
||||||
G_DECLARE_FINAL_TYPE (TeleportWindow,
|
G_DECLARE_FINAL_TYPE (TeleportWindow,
|
||||||
@@ -18,7 +18,7 @@
|
|||||||
|
|
||||||
#include <adwaita.h>
|
#include <adwaita.h>
|
||||||
|
|
||||||
#include "teleport-app.h"
|
#include "beam-me-up-app.h"
|
||||||
|
|
||||||
int
|
int
|
||||||
main (int argc, char *argv[])
|
main (int argc, char *argv[])
|
||||||
|
|||||||
@@ -1,13 +1,12 @@
|
|||||||
|
|
||||||
headers = files(
|
headers = files(
|
||||||
'teleport-remote-device.h',
|
'beam-me-up-remote-device.h',
|
||||||
'teleport-browser.h',
|
'beam-me-up-browser.h',
|
||||||
'teleport-get.h',
|
'beam-me-up-get.h',
|
||||||
'teleport-publish.h',
|
'beam-me-up-publish.h',
|
||||||
'teleport-server.h',
|
'beam-me-up-server.h',
|
||||||
'teleport-window.h',
|
'beam-me-up-window.h',
|
||||||
'teleport-peer.h',
|
'beam-me-up-peer.h',
|
||||||
'teleport-app.h'
|
'beam-me-up-app.h'
|
||||||
)
|
)
|
||||||
|
|
||||||
install_headers(headers, subdir: meson.project_name())
|
install_headers(headers, subdir: meson.project_name())
|
||||||
@@ -18,22 +17,22 @@ install_headers(headers, subdir: meson.project_name())
|
|||||||
################
|
################
|
||||||
|
|
||||||
sources = files(
|
sources = files(
|
||||||
'teleport-remote-device.c',
|
'beam-me-up-remote-device.c',
|
||||||
'teleport-browser.c',
|
'beam-me-up-browser.c',
|
||||||
'teleport-get.c',
|
'beam-me-up-get.c',
|
||||||
'teleport-publish.c',
|
'beam-me-up-publish.c',
|
||||||
'teleport-server.c',
|
'beam-me-up-server.c',
|
||||||
'teleport-app.c',
|
'beam-me-up-app.c',
|
||||||
'teleport-window.c',
|
'beam-me-up-window.c',
|
||||||
'teleport-peer.c',
|
'beam-me-up-peer.c',
|
||||||
'main.c'
|
'main.c'
|
||||||
)
|
)
|
||||||
|
|
||||||
sources += gnome.compile_resources(
|
sources += gnome.compile_resources(
|
||||||
'teleport-resources',
|
'BeamMeUp-resources',
|
||||||
join_paths(data_dir, 'teleport.gresource.xml'),
|
join_paths(data_dir, 'BeamMeUp.gresource.xml'),
|
||||||
source_dir: [ data_dir, join_paths(meson.build_root(), 'plugins') ],
|
source_dir: [ data_dir, join_paths(meson.build_root(), 'plugins') ],
|
||||||
c_name: 'teleport',
|
c_name: 'BeamMeUp',
|
||||||
# dependencies: plugins_confs,
|
# dependencies: plugins_confs,
|
||||||
export: true
|
export: true
|
||||||
)
|
)
|
||||||
@@ -78,10 +77,10 @@ ldflags = [ '-Wl,--export-dynamic' ]
|
|||||||
|
|
||||||
|
|
||||||
###############
|
###############
|
||||||
# teleport #
|
# BeamMeUp #
|
||||||
###############
|
###############
|
||||||
|
|
||||||
teleport = executable(
|
BeamMeUp = executable(
|
||||||
meson.project_name(),
|
meson.project_name(),
|
||||||
sources,
|
sources,
|
||||||
include_directories: incs,
|
include_directories: incs,
|
||||||
@@ -98,8 +97,8 @@ teleport = executable(
|
|||||||
# Private library #
|
# Private library #
|
||||||
###################
|
###################
|
||||||
|
|
||||||
libteleport = shared_library(
|
libBeamMeUp = shared_library(
|
||||||
'teleport',
|
'BeamMeUp',
|
||||||
sources: sources,
|
sources: sources,
|
||||||
version: libversion,
|
version: libversion,
|
||||||
soversion: soversion,
|
soversion: soversion,
|
||||||
@@ -108,9 +107,8 @@ libteleport = shared_library(
|
|||||||
c_args: cflags
|
c_args: cflags
|
||||||
)
|
)
|
||||||
|
|
||||||
libteleport_dep = declare_dependency(
|
libBeamMeUp_dep = declare_dependency(
|
||||||
link_with: libteleport,
|
link_with: libBeamMeUp,
|
||||||
include_directories: src_inc,
|
include_directories: src_inc,
|
||||||
dependencies: teleport_deps
|
dependencies: teleport_deps
|
||||||
)
|
)
|
||||||
|
|
||||||
@@ -22,7 +22,23 @@
|
|||||||
</child>
|
</child>
|
||||||
<child>
|
<child>
|
||||||
<object class="GtkButton" id="settings_download_directory">
|
<object class="GtkButton" id="settings_download_directory">
|
||||||
<property name="label" translatable="yes">Choose download dir</property>
|
<property name="child">
|
||||||
|
<object class="GtkBox">
|
||||||
|
<property name="spacing">6</property>
|
||||||
|
<child>
|
||||||
|
<object class="GtkImage" id="settings_download_directory_icon">
|
||||||
|
<property name="icon-name">folder-symbolic</property>
|
||||||
|
</object>
|
||||||
|
</child>
|
||||||
|
<child>
|
||||||
|
<object class="GtkLabel" id="settings_download_directory_label">
|
||||||
|
<property name="label" translatable="yes">Choose download dir</property>
|
||||||
|
<property name="ellipsize">end</property>
|
||||||
|
<property name="xalign">0</property>
|
||||||
|
</object>
|
||||||
|
</child>
|
||||||
|
</object>
|
||||||
|
</property>
|
||||||
</object>
|
</object>
|
||||||
</child>
|
</child>
|
||||||
</object>
|
</object>
|
||||||
@@ -34,7 +50,7 @@
|
|||||||
<child>
|
<child>
|
||||||
<object class="GtkLabel">
|
<object class="GtkLabel">
|
||||||
<property name="margin-top">6</property>
|
<property name="margin-top">6</property>
|
||||||
<property name="label" translatable="yes">Automatically enable Teleport on these networks:</property>
|
<property name="label" translatable="yes">Automatically enable BeamMeUp on these networks:</property>
|
||||||
<property name="xalign">0</property>
|
<property name="xalign">0</property>
|
||||||
</object>
|
</object>
|
||||||
</child>
|
</child>
|
||||||
@@ -114,7 +130,7 @@
|
|||||||
<child>
|
<child>
|
||||||
<object class="GtkButton">
|
<object class="GtkButton">
|
||||||
<property name="action_name">app.about</property>
|
<property name="action_name">app.about</property>
|
||||||
<property name="label" translatable="yes">About Teleport</property>
|
<property name="label" translatable="yes">About BeamMeUp</property>
|
||||||
<style>
|
<style>
|
||||||
<class name="flat"/>
|
<class name="flat"/>
|
||||||
</style>
|
</style>
|
||||||
|
|||||||
@@ -3,7 +3,7 @@
|
|||||||
<requires lib="gtk" version="4.0"/>
|
<requires lib="gtk" version="4.0"/>
|
||||||
<requires lib="libadwaita" version="1.0"/>
|
<requires lib="libadwaita" version="1.0"/>
|
||||||
<template class="TeleportWindow" parent="AdwApplicationWindow">
|
<template class="TeleportWindow" parent="AdwApplicationWindow">
|
||||||
<property name="title" translatable="yes">Teleport</property>
|
<property name="title" translatable="yes">BeamMeUp</property>
|
||||||
<property name="default_width">650</property>
|
<property name="default_width">650</property>
|
||||||
<property name="default_height">500</property>
|
<property name="default_height">500</property>
|
||||||
<property name="content">
|
<property name="content">
|
||||||
|
|||||||