Commit 0cacae31 authored by Julian Sparber's avatar Julian Sparber

change app id to com.frac_tion.teleport

Signed-off-by: Julian Sparber's avatarJulian Sparber <julian@sparber.net>
parent a54a19d6
[Desktop Entry] [Desktop Entry]
Name=Teleport Name=Teleport
Exec=teleportapp Exec=teleportapp
Icon=org.gtk.teleportapp Icon=com.frac_tion.teleport
Type=Application Type=Application
Categories=GTK;GNOME;Utility; Categories=GTK;GNOME;Utility;
<?xml version="1.0" encoding="UTF-8"?> <?xml version="1.0" encoding="UTF-8"?>
<schemalist> <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"> <key name="font" type="s">
<default>'Monospace 12'</default> <default>'Monospace 12'</default>
<summary>Font</summary> <summary>Font</summary>
......
desktop = 'org.gtk.teleportapp.desktop' desktop = 'com.frac_tion.teleport.desktop'
i18n.merge_file( i18n.merge_file(
desktop, desktop,
...@@ -24,7 +24,7 @@ i18n.merge_file( ...@@ -24,7 +24,7 @@ i18n.merge_file(
#) #)
install_data( install_data(
'org.gtk.teleportapp.gschema.xml', 'com.frac_tion.teleport.gschema.xml',
install_dir: teleportapp_schemadir install_dir: teleportapp_schemadir
) )
......
<?xml version="1.0" encoding="UTF-8"?> <?xml version="1.0" encoding="UTF-8"?>
<gresources> <gresources>
<gresource prefix="/org/gtk/teleportapp"> <gresource prefix="/com/frac_tion/teleport">
<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">remote_list.ui</file> <file preprocess="xml-stripblanks">remote_list.ui</file>
......
...@@ -214,7 +214,7 @@ teleport_app_class_init (TeleportAppClass *class) ...@@ -214,7 +214,7 @@ teleport_app_class_init (TeleportAppClass *class)
teleport_app_new (void) teleport_app_new (void)
{ {
return g_object_new (TELEPORT_APP_TYPE, return g_object_new (TELEPORT_APP_TYPE,
"application-id", "org.gtk.teleportapp", "application-id", "com.frac_tion.teleport",
"flags", G_APPLICATION_HANDLES_OPEN, "flags", G_APPLICATION_HANDLES_OPEN,
NULL); NULL);
} }
...@@ -38,7 +38,7 @@ teleport_app_window_init (TeleportAppWindow *win) ...@@ -38,7 +38,7 @@ teleport_app_window_init (TeleportAppWindow *win)
gtk_widget_init_template (GTK_WIDGET (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")); menu = GTK_WIDGET (gtk_builder_get_object (builder, "settings"));
downloadDir = GTK_ENTRY (gtk_builder_get_object (builder, "settings_download_directory")); downloadDir = GTK_ENTRY (gtk_builder_get_object (builder, "settings_download_directory"));
...@@ -60,7 +60,7 @@ open_file_picker(GtkButton *btn, Peer *device) { ...@@ -60,7 +60,7 @@ open_file_picker(GtkButton *btn, Peer *device) {
gint res; gint res;
g_print("Open file chooser for submitting a file to %s with Address %s\n", device->name, device->ip); 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), GTK_WINDOW(mainWin),
action, action,
("_Cancel"), ("_Cancel"),
...@@ -96,7 +96,7 @@ void update_remote_device_list(TeleportAppWindow *win, Peer *device) { ...@@ -96,7 +96,7 @@ void update_remote_device_list(TeleportAppWindow *win, Peer *device) {
priv = teleport_app_window_get_instance_private (win); 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")); 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")); name_label = GTK_LABEL (gtk_builder_get_object (builder_remote_list, "device_name"));
...@@ -180,7 +180,7 @@ teleport_app_window_class_init (TeleportAppWindowClass *class) ...@@ -180,7 +180,7 @@ teleport_app_window_class_init (TeleportAppWindowClass *class)
G_OBJECT_CLASS (class)->dispose = teleport_app_window_dispose; G_OBJECT_CLASS (class)->dispose = teleport_app_window_dispose;
gtk_widget_class_set_template_from_resource (GTK_WIDGET_CLASS (class), 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, gears);
gtk_widget_class_bind_template_child_private (GTK_WIDGET_CLASS (class), TeleportAppWindow, this_device_name_label); 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