Commit 33b9c9ac authored by Julian Sparber's avatar Julian Sparber

[refactor] change app id to com.frac-tion.teleport

parent b78a36fc
[Desktop Entry]
Name=Teleport
Exec=teleportapp
Icon=org.gtk.teleportapp
Icon=com.frac-tion.teleport
Type=Application
Categories=GTK;GNOME;Utility;
<?xml version="1.0" encoding="UTF-8"?>
<schemalist>
<schema path="/org/gtk/teleportapp/" id="org.gtk.teleportapp">
<schema path="/com/frac-tion/teleport/" id="com.frac-tion.teleport">
<key name="font" type="s">
<default>'Monospace 12'</default>
<summary>Font</summary>
......
desktop = 'org.gtk.teleportapp.desktop'
desktop = 'com.frac-tion.teleport.desktop'
i18n.merge_file(
desktop,
......@@ -24,7 +24,7 @@ i18n.merge_file(
#)
install_data(
'org.gtk.teleportapp.gschema.xml',
'com.frac-tion.teleport.gschema.xml',
install_dir: teleportapp_schemadir
)
......
<?xml version="1.0" encoding="UTF-8"?>
<gresources>
<gresource prefix="/org/gtk/teleportapp">
<gresource prefix="/com/frac-tion/teleport">
<file preprocess="xml-stripblanks">window.ui</file>
<file preprocess="xml-stripblanks">settings.ui</file>
<file preprocess="xml-stripblanks">remote_list.ui</file>
......
......@@ -214,7 +214,7 @@ teleport_app_class_init (TeleportAppClass *class)
teleport_app_new (void)
{
return g_object_new (TELEPORT_APP_TYPE,
"application-id", "org.gtk.teleportapp",
"application-id", "com.frac-tion.teleport",
"flags", G_APPLICATION_HANDLES_OPEN,
NULL);
}
......@@ -38,7 +38,7 @@ teleport_app_window_init (TeleportAppWindow *win)
gtk_widget_init_template (GTK_WIDGET (win));
builder = gtk_builder_new_from_resource ("/org/gtk/teleportapp/settings.ui");
builder = gtk_builder_new_from_resource ("/com/frac-tion/teleport/settings.ui");
menu = GTK_WIDGET (gtk_builder_get_object (builder, "settings"));
downloadDir = GTK_ENTRY (gtk_builder_get_object (builder, "settings_download_directory"));
......@@ -60,7 +60,7 @@ open_file_picker(GtkButton *btn, Peer *device) {
gint res;
g_print("Open file chooser for submitting a file to %s with Address %s\n", device->name, device->ip);
dialog = gtk_file_chooser_dialog_new ("Open File",
dialog = ("Open File",
GTK_WINDOW(mainWin),
action,
("_Cancel"),
......@@ -96,7 +96,7 @@ void update_remote_device_list(TeleportAppWindow *win, Peer *device) {
priv = teleport_app_window_get_instance_private (win);
builder_remote_list = gtk_builder_new_from_resource ("/org/gtk/teleportapp/remote_list.ui");
builder_remote_list = gtk_builder_new_from_resource ("/com/frac-tion/teleport/remote_list.ui");
row = GTK_WIDGET (gtk_builder_get_object (builder_remote_list, "remote_device_row"));
name_label = GTK_LABEL (gtk_builder_get_object (builder_remote_list, "device_name"));
......@@ -180,7 +180,7 @@ teleport_app_window_class_init (TeleportAppWindowClass *class)
G_OBJECT_CLASS (class)->dispose = teleport_app_window_dispose;
gtk_widget_class_set_template_from_resource (GTK_WIDGET_CLASS (class),
"/org/gtk/teleportapp/window.ui");
"/com/frac-tion/teleport/window.ui");
gtk_widget_class_bind_template_child_private (GTK_WIDGET_CLASS (class), TeleportAppWindow, gears);
gtk_widget_class_bind_template_child_private (GTK_WIDGET_CLASS (class), TeleportAppWindow, this_device_name_label);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment