From 2da443ea8be5b68b6416a6d70ce9ee9197004c33 Mon Sep 17 00:00:00 2001 From: Vladimir Stoiakin <VStoiakin@lavabit.com> Date: Fri, 21 Dec 2018 23:21:14 +0300 Subject: [PATCH] change a top-level domain from 'cx' to 'net' Change-Id: Ief3d0ad0d7ce6299c738dbfab80a1d3baa8242b0 --- data/cx.ring.RingGnome.gschema.xml | 2 +- pixmaps/pixmaps.gresource.xml | 2 +- sounds/sounds.gresource.xml | 2 +- src/accountcreationwizard.cpp | 4 ++-- src/accountgeneraltab.cpp | 10 +++++----- src/accountmigrationview.cpp | 2 +- src/avatarmanipulation.cpp | 2 +- src/chatview.cpp | 2 +- src/currentcallview.cpp | 22 +++++++++++----------- src/dialogs.c | 2 +- src/generalsettingsview.cpp | 2 +- src/incomingcallview.cpp | 2 +- src/mediasettingsview.cpp | 2 +- src/messagingwidget.cpp | 2 +- src/native/pixbufmanipulator.cpp | 2 +- src/newaccountsettingsview.cpp | 2 +- src/ring_client.cpp | 2 +- src/ringmainwindow.cpp | 10 +++++----- src/ringwelcomeview.cpp | 4 ++-- src/usernameregistrationbox.cpp | 2 +- src/utils/drawing.cpp | 2 +- src/webkitchatcontainer.cpp | 12 ++++++------ ui/chatview.ui | 6 +++--- ui/currentcallview.ui | 16 ++++++++-------- ui/generalsettingsview.ui | 2 +- ui/incomingcallview.ui | 6 +++--- ui/messagingwidget.ui | 10 +++++----- ui/ringmainwindow.ui | 8 ++++---- ui/ui.gresource.xml | 2 +- web/web.gresource.xml | 2 +- 30 files changed, 73 insertions(+), 73 deletions(-) diff --git a/data/cx.ring.RingGnome.gschema.xml b/data/cx.ring.RingGnome.gschema.xml index 4de346aa..68770ffd 100644 --- a/data/cx.ring.RingGnome.gschema.xml +++ b/data/cx.ring.RingGnome.gschema.xml @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="UTF-8"?> <schemalist> - <schema path="/cx/jami/JamiGnome/" id="cx.ring.RingGnome"> + <schema path="/net/jami/JamiGnome/" id="cx.ring.RingGnome"> <key name="start-on-login" type="b"> <default>true</default> <summary>Start Jami on login.</summary> diff --git a/pixmaps/pixmaps.gresource.xml b/pixmaps/pixmaps.gresource.xml index 27de5f86..61ae7a76 100644 --- a/pixmaps/pixmaps.gresource.xml +++ b/pixmaps/pixmaps.gresource.xml @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="UTF-8"?> <gresources> - <gresource prefix="/cx/jami/JamiGnome"> + <gresource prefix="/net/jami/JamiGnome"> <file alias="jami-symbol-blue">jami.svg</file> <file alias="jami-logo-blue">logo-jami-standard-coul.svg</file> <file alias="addressbook_small">addressbook.svg</file> diff --git a/sounds/sounds.gresource.xml b/sounds/sounds.gresource.xml index 3064e54a..9913fab5 100644 --- a/sounds/sounds.gresource.xml +++ b/sounds/sounds.gresource.xml @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="UTF-8"?> <gresources> - <gresource prefix="/cx/jami/JamiGnome"> + <gresource prefix="/net/jami/JamiGnome"> <file>ringtone_notify.wav</file> </gresource> </gresources> diff --git a/src/accountcreationwizard.cpp b/src/accountcreationwizard.cpp index e6361c06..beab80af 100644 --- a/src/accountcreationwizard.cpp +++ b/src/accountcreationwizard.cpp @@ -135,7 +135,7 @@ account_creation_wizard_class_init(AccountCreationWizardClass *klass) G_OBJECT_CLASS(klass)->dispose = account_creation_wizard_dispose; gtk_widget_class_set_template_from_resource(GTK_WIDGET_CLASS (klass), - "/cx/jami/JamiGnome/accountcreationwizard.ui"); + "/net/jami/JamiGnome/accountcreationwizard.ui"); gtk_widget_class_bind_template_child_private(GTK_WIDGET_CLASS (klass), AccountCreationWizard, stack_account_creation); @@ -512,7 +512,7 @@ build_creation_wizard_view(AccountCreationWizard *view, gboolean show_cancel_but /* set ring logo */ GError *error = NULL; - GdkPixbuf* logo_ring = gdk_pixbuf_new_from_resource_at_scale("/cx/jami/JamiGnome/jami-logo-blue", + GdkPixbuf* logo_ring = gdk_pixbuf_new_from_resource_at_scale("/net/jami/JamiGnome/jami-logo-blue", -1, 50, TRUE, &error); if (logo_ring == NULL) { g_debug("Could not load logo: %s", error->message); diff --git a/src/accountgeneraltab.cpp b/src/accountgeneraltab.cpp index 6a12d297..07f480b6 100644 --- a/src/accountgeneraltab.cpp +++ b/src/accountgeneraltab.cpp @@ -126,7 +126,7 @@ account_general_tab_class_init(AccountGeneralTabClass *klass) G_OBJECT_CLASS(klass)->dispose = account_general_tab_dispose; gtk_widget_class_set_template_from_resource(GTK_WIDGET_CLASS (klass), - "/cx/jami/JamiGnome/accountgeneraltab.ui"); + "/net/jami/JamiGnome/accountgeneraltab.ui"); gtk_widget_class_bind_template_child_private(GTK_WIDGET_CLASS (klass), AccountGeneralTab, stack_account_general); gtk_widget_class_bind_template_child_private(GTK_WIDGET_CLASS (klass), AccountGeneralTab, account_general); @@ -409,13 +409,13 @@ replace_name_from_row(GtkWidget* row, const std::string& name, const std::string auto* new_label_name = gtk_label_new(name.c_str()); gtk_container_add(GTK_CONTAINER(box_info->data), new_label_name); gtk_widget_set_halign(GTK_WIDGET(new_label_name), GTK_ALIGN_START); - auto image = gtk_image_new_from_resource("/cx/jami/JamiGnome/edit"); + auto image = gtk_image_new_from_resource("/net/jami/JamiGnome/edit"); gtk_button_set_image(GTK_BUTTON(action_button->data), image); } else { auto* entry_name = gtk_entry_new(); gtk_entry_set_text(GTK_ENTRY(entry_name), name.c_str()); gtk_container_add(GTK_CONTAINER(box_info->data), entry_name); - auto image = gtk_image_new_from_resource("/cx/jami/JamiGnome/save"); + auto image = gtk_image_new_from_resource("/net/jami/JamiGnome/save"); gtk_button_set_image(GTK_BUTTON(action_button->data), image); } auto* new_label_id = gtk_label_new(""); @@ -553,9 +553,9 @@ add_device(AccountGeneralTab *view, const lrc::api::Device& device) gtk_container_add(GTK_CONTAINER(device_info_box), label_id); gtk_container_add(GTK_CONTAINER(device_box), device_info_box); // Add action button - auto image = gtk_image_new_from_resource("/cx/jami/JamiGnome/edit"); + auto image = gtk_image_new_from_resource("/net/jami/JamiGnome/edit"); if (!device.isCurrent) - image = gtk_image_new_from_resource("/cx/jami/JamiGnome/revoke"); + image = gtk_image_new_from_resource("/net/jami/JamiGnome/revoke"); auto* action_device_button = gtk_button_new(); gtk_widget_set_tooltip_text(action_device_button, device.isCurrent ? _("Save name") : _("Revoke device")); gtk_button_set_image(GTK_BUTTON(action_device_button), image); diff --git a/src/accountmigrationview.cpp b/src/accountmigrationview.cpp index 66075982..aaea53da 100644 --- a/src/accountmigrationview.cpp +++ b/src/accountmigrationview.cpp @@ -105,7 +105,7 @@ account_migration_view_class_init(AccountMigrationViewClass *klass) G_OBJECT_CLASS(klass)->dispose = account_migration_view_dispose; gtk_widget_class_set_template_from_resource(GTK_WIDGET_CLASS (klass), - "/cx/jami/JamiGnome/accountmigrationview.ui"); + "/net/jami/JamiGnome/accountmigrationview.ui"); /* main_view */ gtk_widget_class_bind_template_child_private(GTK_WIDGET_CLASS (klass), AccountMigrationView, main_view); gtk_widget_class_bind_template_child_private(GTK_WIDGET_CLASS (klass), AccountMigrationView, label_account_alias); diff --git a/src/avatarmanipulation.cpp b/src/avatarmanipulation.cpp index e8a94060..ec2b35a9 100644 --- a/src/avatarmanipulation.cpp +++ b/src/avatarmanipulation.cpp @@ -176,7 +176,7 @@ avatar_manipulation_class_init(AvatarManipulationClass *klass) G_OBJECT_CLASS(klass)->finalize = avatar_manipulation_finalize; G_OBJECT_CLASS(klass)->dispose = avatar_manipulation_dispose; - gtk_widget_class_set_template_from_resource(GTK_WIDGET_CLASS (klass), "/cx/jami/JamiGnome/avatarmanipulation.ui"); + gtk_widget_class_set_template_from_resource(GTK_WIDGET_CLASS (klass), "/net/jami/JamiGnome/avatarmanipulation.ui"); gtk_widget_class_bind_template_child_private(GTK_WIDGET_CLASS (klass), AvatarManipulation, box_views_and_controls); gtk_widget_class_bind_template_child_private(GTK_WIDGET_CLASS (klass), AvatarManipulation, box_controls); diff --git a/src/chatview.cpp b/src/chatview.cpp index 2991bbb7..89224946 100644 --- a/src/chatview.cpp +++ b/src/chatview.cpp @@ -319,7 +319,7 @@ chat_view_class_init(ChatViewClass *klass) G_OBJECT_CLASS(klass)->dispose = chat_view_dispose; gtk_widget_class_set_template_from_resource(GTK_WIDGET_CLASS (klass), - "/cx/jami/JamiGnome/chatview.ui"); + "/net/jami/JamiGnome/chatview.ui"); gtk_widget_class_bind_template_child_private(GTK_WIDGET_CLASS (klass), ChatView, box_webkit_chat_container); diff --git a/src/currentcallview.cpp b/src/currentcallview.cpp index 9a8aade3..f8772a68 100644 --- a/src/currentcallview.cpp +++ b/src/currentcallview.cpp @@ -382,9 +382,9 @@ on_togglebutton_muteaudio_clicked(CurrentCallView* view) lrc::api::NewCallModel::Media::AUDIO); auto togglebutton = GTK_TOGGLE_BUTTON(priv->togglebutton_muteaudio); - auto image = gtk_image_new_from_resource ("/cx/jami/JamiGnome/mute_audio"); + auto image = gtk_image_new_from_resource ("/net/jami/JamiGnome/mute_audio"); if (gtk_toggle_button_get_active(togglebutton)) - image = gtk_image_new_from_resource ("/cx/jami/JamiGnome/unmute_audio"); + image = gtk_image_new_from_resource ("/net/jami/JamiGnome/unmute_audio"); gtk_button_set_image(GTK_BUTTON(togglebutton), image); } @@ -402,9 +402,9 @@ on_togglebutton_mutevideo_clicked(CurrentCallView* view) lrc::api::NewCallModel::Media::VIDEO); auto togglebutton = GTK_TOGGLE_BUTTON(priv->togglebutton_mutevideo); - auto image = gtk_image_new_from_resource ("/cx/jami/JamiGnome/mute_video"); + auto image = gtk_image_new_from_resource ("/net/jami/JamiGnome/mute_video"); if (gtk_toggle_button_get_active(togglebutton)) - image = gtk_image_new_from_resource ("/cx/jami/JamiGnome/unmute_video"); + image = gtk_image_new_from_resource ("/net/jami/JamiGnome/unmute_video"); gtk_button_set_image(GTK_BUTTON(togglebutton), image); } @@ -1035,26 +1035,26 @@ CppImpl::updateState() auto call = (*accountInfo)->callModel->getCall(callId); auto pauseBtn = GTK_TOGGLE_BUTTON(widgets->togglebutton_hold); - auto image = gtk_image_new_from_resource ("/cx/jami/JamiGnome/pause"); + auto image = gtk_image_new_from_resource ("/net/jami/JamiGnome/pause"); if (call.status == lrc::api::call::Status::PAUSED) - image = gtk_image_new_from_resource ("/cx/jami/JamiGnome/play"); + image = gtk_image_new_from_resource ("/net/jami/JamiGnome/play"); gtk_button_set_image(GTK_BUTTON(pauseBtn), image); auto audioButton = GTK_TOGGLE_BUTTON(widgets->togglebutton_muteaudio); gtk_widget_set_sensitive(GTK_WIDGET(widgets->togglebutton_muteaudio), (call.type != lrc::api::call::Type::CONFERENCE)); gtk_toggle_button_set_active(GTK_TOGGLE_BUTTON(widgets->togglebutton_muteaudio), call.audioMuted); - auto imageMuteAudio = gtk_image_new_from_resource ("/cx/jami/JamiGnome/mute_audio"); + auto imageMuteAudio = gtk_image_new_from_resource ("/net/jami/JamiGnome/mute_audio"); if (call.audioMuted) - imageMuteAudio = gtk_image_new_from_resource ("/cx/jami/JamiGnome/unmute_audio"); + imageMuteAudio = gtk_image_new_from_resource ("/net/jami/JamiGnome/unmute_audio"); gtk_button_set_image(GTK_BUTTON(audioButton), imageMuteAudio); if (!call.isAudioOnly) { auto videoButton = GTK_TOGGLE_BUTTON(widgets->togglebutton_mutevideo); gtk_toggle_button_set_active(GTK_TOGGLE_BUTTON(widgets->togglebutton_mutevideo), call.videoMuted); - auto imageMuteVideo = gtk_image_new_from_resource ("/cx/jami/JamiGnome/mute_video"); + auto imageMuteVideo = gtk_image_new_from_resource ("/net/jami/JamiGnome/mute_video"); if (call.videoMuted) - imageMuteVideo = gtk_image_new_from_resource ("/cx/jami/JamiGnome/unmute_video"); + imageMuteVideo = gtk_image_new_from_resource ("/net/jami/JamiGnome/unmute_video"); gtk_button_set_image(GTK_BUTTON(videoButton), imageMuteVideo); gtk_widget_set_sensitive(GTK_WIDGET(widgets->togglebutton_mutevideo), (call.type != lrc::api::call::Type::CONFERENCE)); @@ -1255,7 +1255,7 @@ current_call_view_class_init(CurrentCallViewClass *klass) G_OBJECT_CLASS(klass)->dispose = current_call_view_dispose; gtk_widget_class_set_template_from_resource(GTK_WIDGET_CLASS (klass), - "/cx/jami/JamiGnome/currentcallview.ui"); + "/net/jami/JamiGnome/currentcallview.ui"); gtk_widget_class_bind_template_child_private(GTK_WIDGET_CLASS (klass), CurrentCallView, hbox_call_info); gtk_widget_class_bind_template_child_private(GTK_WIDGET_CLASS (klass), CurrentCallView, hbox_call_status); diff --git a/src/dialogs.c b/src/dialogs.c index 6d2a5e13..712540cb 100644 --- a/src/dialogs.c +++ b/src/dialogs.c @@ -74,7 +74,7 @@ ring_about_dialog(GtkWidget *parent) /* get logo */ GError *error = NULL; - GdkPixbuf* logo = gdk_pixbuf_new_from_resource("/cx/jami/JamiGnome/jami-logo-blue", &error); + GdkPixbuf* logo = gdk_pixbuf_new_from_resource("/net/jami/JamiGnome/jami-logo-blue", &error); if (logo == NULL) { g_debug("Could not load logo: %s", error->message); g_clear_error(&error); diff --git a/src/generalsettingsview.cpp b/src/generalsettingsview.cpp index 885642cc..1d547a9e 100644 --- a/src/generalsettingsview.cpp +++ b/src/generalsettingsview.cpp @@ -308,7 +308,7 @@ general_settings_view_class_init(GeneralSettingsViewClass *klass) object_class->dispose = general_settings_view_dispose; gtk_widget_class_set_template_from_resource(GTK_WIDGET_CLASS (klass), - "/cx/jami/JamiGnome/generalsettingsview.ui"); + "/net/jami/JamiGnome/generalsettingsview.ui"); gtk_widget_class_bind_template_child_private(GTK_WIDGET_CLASS (klass), GeneralSettingsView, checkbutton_autostart); gtk_widget_class_bind_template_child_private(GTK_WIDGET_CLASS (klass), GeneralSettingsView, checkbutton_showstatusicon); diff --git a/src/incomingcallview.cpp b/src/incomingcallview.cpp index e58ff21c..9dede78e 100644 --- a/src/incomingcallview.cpp +++ b/src/incomingcallview.cpp @@ -201,7 +201,7 @@ incoming_call_view_class_init(IncomingCallViewClass *klass) G_OBJECT_CLASS(klass)->dispose = incoming_call_view_dispose; gtk_widget_class_set_template_from_resource(GTK_WIDGET_CLASS (klass), - "/cx/jami/JamiGnome/incomingcallview.ui"); + "/net/jami/JamiGnome/incomingcallview.ui"); gtk_widget_class_bind_template_child_private(GTK_WIDGET_CLASS (klass), IncomingCallView, paned_call); gtk_widget_class_bind_template_child_private(GTK_WIDGET_CLASS (klass), IncomingCallView, image_incoming); diff --git a/src/mediasettingsview.cpp b/src/mediasettingsview.cpp index e40cf371..b8fbb897 100644 --- a/src/mediasettingsview.cpp +++ b/src/mediasettingsview.cpp @@ -449,7 +449,7 @@ media_settings_view_class_init(MediaSettingsViewClass *klass) G_OBJECT_CLASS(klass)->dispose = media_settings_view_dispose; gtk_widget_class_set_template_from_resource(GTK_WIDGET_CLASS (klass), - "/cx/jami/JamiGnome/mediasettingsview.ui"); + "/net/jami/JamiGnome/mediasettingsview.ui"); gtk_widget_class_bind_template_child_private(GTK_WIDGET_CLASS (klass), MediaSettingsView, vbox_main); gtk_widget_class_bind_template_child_private(GTK_WIDGET_CLASS (klass), MediaSettingsView, combobox_manager); diff --git a/src/messagingwidget.cpp b/src/messagingwidget.cpp index 4f57267f..27d98b56 100644 --- a/src/messagingwidget.cpp +++ b/src/messagingwidget.cpp @@ -303,7 +303,7 @@ messaging_widget_class_init(MessagingWidgetClass *klass) G_OBJECT_CLASS(klass)->finalize = messaging_widget_finalize; G_OBJECT_CLASS(klass)->dispose = messaging_widget_dispose; - gtk_widget_class_set_template_from_resource(GTK_WIDGET_CLASS (klass), "/cx/jami/JamiGnome/messagingwidget.ui"); + gtk_widget_class_set_template_from_resource(GTK_WIDGET_CLASS (klass), "/net/jami/JamiGnome/messagingwidget.ui"); gtk_widget_class_bind_template_child_private(GTK_WIDGET_CLASS (klass), MessagingWidget, image_send); gtk_widget_class_bind_template_child_private(GTK_WIDGET_CLASS (klass), MessagingWidget, image_stop); diff --git a/src/native/pixbufmanipulator.cpp b/src/native/pixbufmanipulator.cpp index 14ad3c3f..8e88d023 100644 --- a/src/native/pixbufmanipulator.cpp +++ b/src/native/pixbufmanipulator.cpp @@ -48,7 +48,7 @@ PixbufManipulator::temporaryItemAvatar() const { GError *error = nullptr; std::shared_ptr<GdkPixbuf> result( - gdk_pixbuf_new_from_resource("/cx/jami/JamiGnome/temporary-item", &error), + gdk_pixbuf_new_from_resource("/net/jami/JamiGnome/temporary-item", &error), g_object_unref ); diff --git a/src/newaccountsettingsview.cpp b/src/newaccountsettingsview.cpp index aeda4938..300bda1e 100644 --- a/src/newaccountsettingsview.cpp +++ b/src/newaccountsettingsview.cpp @@ -247,7 +247,7 @@ new_account_settings_view_class_init(NewAccountSettingsViewClass *klass) object_class->dispose = new_account_settings_view_dispose; gtk_widget_class_set_template_from_resource(GTK_WIDGET_CLASS(klass), - "/cx/jami/JamiGnome/newaccountsettingsview.ui"); + "/net/jami/JamiGnome/newaccountsettingsview.ui"); gtk_widget_class_bind_template_child_private(GTK_WIDGET_CLASS(klass), NewAccountSettingsView, stack_account); diff --git a/src/ring_client.cpp b/src/ring_client.cpp index 05d94d5c..58d637fb 100644 --- a/src/ring_client.cpp +++ b/src/ring_client.cpp @@ -288,7 +288,7 @@ init_systray(RingClient *client) if (!use_appinidcator) { GError *error = NULL; - GdkPixbuf* icon = gdk_pixbuf_new_from_resource("/cx/jami/JamiGnome/jami-symbol-blue", &error); + GdkPixbuf* icon = gdk_pixbuf_new_from_resource("/net/jami/JamiGnome/jami-symbol-blue", &error); if (icon == nullptr) { g_debug("Could not load icon: %s", error->message); g_clear_error(&error); diff --git a/src/ringmainwindow.cpp b/src/ringmainwindow.cpp index 9107390d..87299815 100644 --- a/src/ringmainwindow.cpp +++ b/src/ringmainwindow.cpp @@ -242,7 +242,7 @@ render_account_avatar(GtkCellLayout*, g_free(avatar); g_free(id); - GdkPixbuf* icon = gdk_pixbuf_new_from_resource("/cx/jami/JamiGnome/add-device", nullptr); + GdkPixbuf* icon = gdk_pixbuf_new_from_resource("/net/jami/JamiGnome/add-device", nullptr); g_object_set(G_OBJECT(cell), "width", 32, nullptr); g_object_set(G_OBJECT(cell), "height", 32, nullptr); g_object_set(G_OBJECT(cell), "pixbuf", icon, nullptr); @@ -1038,7 +1038,7 @@ CppImpl::init() /* set window icon */ GError *error = NULL; - GdkPixbuf* icon = gdk_pixbuf_new_from_resource("/cx/jami/JamiGnome/jami-symbol-blue", &error); + GdkPixbuf* icon = gdk_pixbuf_new_from_resource("/net/jami/JamiGnome/jami-symbol-blue", &error); if (icon == NULL) { g_debug("Could not load icon: %s", error->message); g_clear_error(&error); @@ -1046,7 +1046,7 @@ CppImpl::init() gtk_window_set_icon(GTK_WINDOW(self), icon); /* set menu icon */ - GdkPixbuf* image_ring = gdk_pixbuf_new_from_resource_at_scale("/cx/jami/JamiGnome/jami-symbol-blue", + GdkPixbuf* image_ring = gdk_pixbuf_new_from_resource_at_scale("/net/jami/JamiGnome/jami-symbol-blue", -1, 16, TRUE, &error); if (image_ring == NULL) { g_debug("Could not load icon: %s", error->message); @@ -1055,7 +1055,7 @@ CppImpl::init() gtk_image_set_from_pixbuf(GTK_IMAGE(widgets->image_ring), image_ring); /* ring menu */ - GtkBuilder *builder = gtk_builder_new_from_resource("/cx/jami/JamiGnome/ringgearsmenu.ui"); + GtkBuilder *builder = gtk_builder_new_from_resource("/net/jami/JamiGnome/ringgearsmenu.ui"); GMenuModel *menu = G_MENU_MODEL(gtk_builder_get_object(builder, "menu")); gtk_menu_button_set_menu_model(GTK_MENU_BUTTON(widgets->ring_menu), menu); g_object_unref(builder); @@ -2264,7 +2264,7 @@ ring_main_window_class_init(RingMainWindowClass *klass) G_OBJECT_CLASS(klass)->dispose = ring_main_window_dispose; gtk_widget_class_set_template_from_resource(GTK_WIDGET_CLASS (klass), - "/cx/jami/JamiGnome/ringmainwindow.ui"); + "/net/jami/JamiGnome/ringmainwindow.ui"); gtk_widget_class_bind_template_child_private(GTK_WIDGET_CLASS (klass), RingMainWindow, vbox_left_pane); gtk_widget_class_bind_template_child_private(GTK_WIDGET_CLASS (klass), RingMainWindow, notebook_contacts); diff --git a/src/ringwelcomeview.cpp b/src/ringwelcomeview.cpp index fc81d7e3..e17c18e9 100644 --- a/src/ringwelcomeview.cpp +++ b/src/ringwelcomeview.cpp @@ -135,7 +135,7 @@ ring_welcome_view_init(RingWelcomeView *self) /* get logo */ GError *error = NULL; - GdkPixbuf* logo = gdk_pixbuf_new_from_resource_at_scale("/cx/jami/JamiGnome/jami-logo-blue", + GdkPixbuf* logo = gdk_pixbuf_new_from_resource_at_scale("/net/jami/JamiGnome/jami-logo-blue", 350, -1, TRUE, &error); if (logo == NULL) { g_debug("Could not load logo: %s", error->message); @@ -210,7 +210,7 @@ ring_welcome_view_init(RingWelcomeView *self) /* QR code button */ priv->button_qrcode = gtk_button_new(); - GdkPixbuf *image_qr = gdk_pixbuf_new_from_resource_at_scale("/cx/jami/JamiGnome/qrcode", + GdkPixbuf *image_qr = gdk_pixbuf_new_from_resource_at_scale("/net/jami/JamiGnome/qrcode", -1, 16, TRUE, &error); if (!image_qr) { g_warning("Could not load icon: %s", error->message); diff --git a/src/usernameregistrationbox.cpp b/src/usernameregistrationbox.cpp index 1eaad911..cfe6d002 100644 --- a/src/usernameregistrationbox.cpp +++ b/src/usernameregistrationbox.cpp @@ -205,7 +205,7 @@ username_registration_box_class_init(UsernameRegistrationBoxClass *klass) G_OBJECT_CLASS(klass)->dispose = username_registration_box_dispose; gtk_widget_class_set_template_from_resource(GTK_WIDGET_CLASS (klass), - "/cx/jami/JamiGnome/usernameregistrationbox.ui"); + "/net/jami/JamiGnome/usernameregistrationbox.ui"); gtk_widget_class_bind_template_child_private(GTK_WIDGET_CLASS (klass), UsernameRegistrationBox, label_username); gtk_widget_class_bind_template_child_private(GTK_WIDGET_CLASS (klass), UsernameRegistrationBox, frame_username); diff --git a/src/utils/drawing.cpp b/src/utils/drawing.cpp index 7d685937..5110a014 100644 --- a/src/utils/drawing.cpp +++ b/src/utils/drawing.cpp @@ -76,7 +76,7 @@ ring_draw_fallback_avatar(int size, const std::string& letter, const char color) // Compose from fallback svg if no letter found GError *error = nullptr; auto* finalAvatar = gdk_pixbuf_get_from_surface(cairo_get_target(cr), 0, 0, size, size); - auto* fallbackavatar = gdk_pixbuf_new_from_resource_at_scale("/cx/jami/JamiGnome/fallbackavatar", size, size, true, &error); + auto* fallbackavatar = gdk_pixbuf_new_from_resource_at_scale("/net/jami/JamiGnome/fallbackavatar", size, size, true, &error); gdk_pixbuf_composite (fallbackavatar, finalAvatar, 0, 0, size, size, 0, 0, 1, 1, GDK_INTERP_BILINEAR, 0xff); return finalAvatar; diff --git a/src/webkitchatcontainer.cpp b/src/webkitchatcontainer.cpp index 70a0b9fd..07f6f4a0 100644 --- a/src/webkitchatcontainer.cpp +++ b/src/webkitchatcontainer.cpp @@ -97,7 +97,7 @@ webkit_chat_container_class_init(WebKitChatContainerClass *klass) G_OBJECT_CLASS(klass)->dispose = webkit_chat_container_dispose; gtk_widget_class_set_template_from_resource(GTK_WIDGET_CLASS (klass), - "/cx/jami/JamiGnome/webkitchatcontainer.ui"); + "/net/jami/JamiGnome/webkitchatcontainer.ui"); gtk_widget_class_bind_template_child_private(GTK_WIDGET_CLASS (klass), WebKitChatContainer, box_webview_chat); @@ -400,9 +400,9 @@ load_javascript_libs(WebKitWebView *webview_chat, WebKitChatContainerPrivate *priv = WEBKIT_CHAT_CONTAINER_GET_PRIVATE(self); /* Create the list of libraries to load */ - priv->js_libs_to_load = g_list_append(priv->js_libs_to_load, (gchar*) "/cx/jami/JamiGnome/linkify.js"); - priv->js_libs_to_load = g_list_append(priv->js_libs_to_load, (gchar*) "/cx/jami/JamiGnome/linkify-string.js"); - priv->js_libs_to_load = g_list_append(priv->js_libs_to_load, (gchar*) "/cx/jami/JamiGnome/linkify-html.js"); + priv->js_libs_to_load = g_list_append(priv->js_libs_to_load, (gchar*) "/net/jami/JamiGnome/linkify.js"); + priv->js_libs_to_load = g_list_append(priv->js_libs_to_load, (gchar*) "/net/jami/JamiGnome/linkify-string.js"); + priv->js_libs_to_load = g_list_append(priv->js_libs_to_load, (gchar*) "/net/jami/JamiGnome/linkify-html.js"); /* ref the chat view so that its not destroyed while we load * we will unref in javascript_library_loaded @@ -495,7 +495,7 @@ build_view(WebKitChatContainer *view) WebKitUserStyleSheet* chatview_style_sheet = webkit_user_style_sheet_new( (gchar*) g_bytes_get_data( g_resources_lookup_data( - "/cx/jami/JamiGnome/chatview.css", + "/net/jami/JamiGnome/chatview.css", G_RESOURCE_LOOKUP_FLAGS_NONE, NULL ), @@ -544,7 +544,7 @@ build_view(WebKitChatContainer *view) #endif GBytes* chatview_bytes = g_resources_lookup_data( - "/cx/jami/JamiGnome/chatview.html", + "/net/jami/JamiGnome/chatview.html", G_RESOURCE_LOOKUP_FLAGS_NONE, NULL ); diff --git a/ui/chatview.ui b/ui/chatview.ui index 8dc712db..7ec70fb5 100644 --- a/ui/chatview.ui +++ b/ui/chatview.ui @@ -128,7 +128,7 @@ <object class="GtkImage" id="image_invite"> <property name="visible">True</property> - <property name="resource">/cx/jami/JamiGnome/invite</property> + <property name="resource">/net/jami/JamiGnome/invite</property> <child internal-child="accessible"> <object class="AtkObject" id="image_invite-atkobject"> <property name="AtkObject::accessible-description" translatable="yes">Send Invitation</property> @@ -137,10 +137,10 @@ </object> <object class="GtkImage" id="image_place_call"> <property name="visible">True</property> - <property name="resource">/cx/jami/JamiGnome/call_start</property> + <property name="resource">/net/jami/JamiGnome/call_start</property> </object> <object class="GtkImage" id="image_place_audio_only_call"> <property name="visible">True</property> - <property name="resource">/cx/jami/JamiGnome/audio_only_call_start</property> + <property name="resource">/net/jami/JamiGnome/audio_only_call_start</property> </object> </interface> diff --git a/ui/currentcallview.ui b/ui/currentcallview.ui index 5a1e4ad3..ec5d8ba6 100644 --- a/ui/currentcallview.ui +++ b/ui/currentcallview.ui @@ -432,7 +432,7 @@ <object class="GtkImage" id="image_chat"> <property name="visible">True</property> - <property name="resource">/cx/jami/JamiGnome/chat</property> + <property name="resource">/net/jami/JamiGnome/chat</property> <child internal-child="accessible"> <object class="AtkObject" id="image_chat-atkobject"> <property name="AtkObject::accessible-description" translatable="yes">Chat</property> @@ -441,7 +441,7 @@ </object> <object class="GtkImage" id="image_mute_audio"> <property name="visible">True</property> - <property name="resource">/cx/jami/JamiGnome/mute_audio</property> + <property name="resource">/net/jami/JamiGnome/mute_audio</property> <child internal-child="accessible"> <object class="AtkObject" id="image_mute_audio-atkobject"> <property name="AtkObject::accessible-description" translatable="yes">Mute audio</property> @@ -450,7 +450,7 @@ </object> <object class="GtkImage" id="image_mute_video"> <property name="visible">True</property> - <property name="resource">/cx/jami/JamiGnome/mute_video</property> + <property name="resource">/net/jami/JamiGnome/mute_video</property> <child internal-child="accessible"> <object class="AtkObject" id="image_mute_video-atkobject"> <property name="AtkObject::accessible-description" translatable="yes">Mute video</property> @@ -459,7 +459,7 @@ </object> <object class="GtkImage" id="image_pause"> <property name="visible">True</property> - <property name="resource">/cx/jami/JamiGnome/pause</property> + <property name="resource">/net/jami/JamiGnome/pause</property> <child internal-child="accessible"> <object class="AtkObject" id="image_pause-atkobject"> <property name="AtkObject::accessible-description" translatable="yes">Hold</property> @@ -468,7 +468,7 @@ </object> <object class="GtkImage" id="image_transfer"> <property name="visible">True</property> - <property name="resource">/cx/jami/JamiGnome/transfer</property> + <property name="resource">/net/jami/JamiGnome/transfer</property> <child internal-child="accessible"> <object class="AtkObject" id="image_transfer-atkobject"> <property name="AtkObject::accessible-description" translatable="yes">Transfer</property> @@ -477,7 +477,7 @@ </object> <object class="GtkImage" id="image_end"> <property name="visible">True</property> - <property name="resource">/cx/jami/JamiGnome/call_end</property> + <property name="resource">/net/jami/JamiGnome/call_end</property> <child internal-child="accessible"> <object class="AtkObject" id="image_end-atkobject"> <property name="AtkObject::accessible-description" translatable="yes">End call</property> @@ -486,7 +486,7 @@ </object> <object class="GtkImage" id="image_quality"> <property name="visible">True</property> - <property name="resource">/cx/jami/JamiGnome/quality</property> + <property name="resource">/net/jami/JamiGnome/quality</property> <child internal-child="accessible"> <object class="AtkObject" id="image_quality-atkobject"> <property name="AtkObject::accessible-description" translatable="yes">Video quality</property> @@ -495,7 +495,7 @@ </object> <object class="GtkImage" id="image_record"> <property name="visible">True</property> - <property name="resource">/cx/jami/JamiGnome/record</property> + <property name="resource">/net/jami/JamiGnome/record</property> <child internal-child="accessible"> <object class="AtkObject" id="image_record-atkobject"> <property name="AtkObject::accessible-description" translatable="yes">Record</property> diff --git a/ui/generalsettingsview.ui b/ui/generalsettingsview.ui index 19523926..47078c95 100644 --- a/ui/generalsettingsview.ui +++ b/ui/generalsettingsview.ui @@ -9,7 +9,7 @@ </object> <object class="GtkImage" id="image_clear_history"> <property name="visible">True</property> - <property name="resource">/cx/jami/JamiGnome/clear_history</property> + <property name="resource">/net/jami/JamiGnome/clear_history</property> </object> <object class="GtkAdjustment" id="adjustment_history_duration"> <property name="value">0</property> diff --git a/ui/incomingcallview.ui b/ui/incomingcallview.ui index a56549da..dd7ed18c 100644 --- a/ui/incomingcallview.ui +++ b/ui/incomingcallview.ui @@ -224,14 +224,14 @@ </template> <object class="GtkImage" id="image_accept"> <property name="visible">True</property> - <property name="resource">/cx/jami/JamiGnome/accept</property> + <property name="resource">/net/jami/JamiGnome/accept</property> </object> <object class="GtkImage" id="image_reject"> <property name="visible">True</property> - <property name="resource">/cx/jami/JamiGnome/call_end</property> + <property name="resource">/net/jami/JamiGnome/call_end</property> </object> <object class="GtkImage" id="image_hangup"> <property name="visible">True</property> - <property name="resource">/cx/jami/JamiGnome/call_end</property> + <property name="resource">/net/jami/JamiGnome/call_end</property> </object> </interface> diff --git a/ui/messagingwidget.ui b/ui/messagingwidget.ui index 5e64be15..bcc0cf1c 100644 --- a/ui/messagingwidget.ui +++ b/ui/messagingwidget.ui @@ -23,7 +23,7 @@ <child> <object class="GtkImage"> <property name="visible">True</property> - <property name="resource">/cx/jami/JamiGnome/record</property> + <property name="resource">/net/jami/JamiGnome/record</property> <child internal-child="accessible"> <object class="AtkObject" id="image_record-atkobject"> <property name="AtkObject::accessible-description" translatable="yes">Record</property> @@ -107,18 +107,18 @@ </template> <object class="GtkImage" id="image_record_audio"> <property name="visible">True</property> - <property name="resource">/cx/jami/JamiGnome/record_audio</property> + <property name="resource">/net/jami/JamiGnome/record_audio</property> </object> <object class="GtkImage" id="image_stop"> <property name="visible">True</property> - <property name="resource">/cx/jami/JamiGnome/stop</property> + <property name="resource">/net/jami/JamiGnome/stop</property> </object> <object class="GtkImage" id="image_end_without_message"> <property name="visible">True</property> - <property name="resource">/cx/jami/JamiGnome/quit</property> + <property name="resource">/net/jami/JamiGnome/quit</property> </object> <object class="GtkImage" id="image_send"> <property name="visible">True</property> - <property name="resource">/cx/jami/JamiGnome/send</property> + <property name="resource">/net/jami/JamiGnome/send</property> </object> </interface> diff --git a/ui/ringmainwindow.ui b/ui/ringmainwindow.ui index 96eec26d..436790bf 100644 --- a/ui/ringmainwindow.ui +++ b/ui/ringmainwindow.ui @@ -23,7 +23,7 @@ <object class="GtkImage" id="image_history"> <property name="visible">True</property> <property name="can_focus">False</property> - <property name="resource">/cx/jami/JamiGnome/history_small</property> + <property name="resource">/net/jami/JamiGnome/history_small</property> </object> <object class="GtkImage" id="image_media_settings"> <property name="visible">True</property> @@ -272,7 +272,7 @@ <property name="can_focus">False</property> <property name="tooltip_text" translatable="yes">Conversations</property> <property name="hexpand">True</property> - <property name="resource">/cx/jami/JamiGnome/conversations_list</property> + <property name="resource">/net/jami/JamiGnome/conversations_list</property> </object> </child> </object> @@ -305,7 +305,7 @@ <property name="can_focus">False</property> <property name="tooltip_text" translatable="yes">Contact requests</property> <property name="hexpand">True</property> - <property name="resource">/cx/jami/JamiGnome/contact_requests_list</property> + <property name="resource">/net/jami/JamiGnome/contact_requests_list</property> </object> </child> </object> @@ -350,6 +350,6 @@ <object class="GtkImage" id="image_presence"> <property name="visible">True</property> <property name="can_focus">False</property> - <property name="resource">/cx/jami/JamiGnome/users_small</property> + <property name="resource">/net/jami/JamiGnome/users_small</property> </object> </interface> diff --git a/ui/ui.gresource.xml b/ui/ui.gresource.xml index 69857e06..5a519b84 100644 --- a/ui/ui.gresource.xml +++ b/ui/ui.gresource.xml @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="UTF-8"?> <gresources> - <gresource prefix="/cx/jami/JamiGnome"> + <gresource prefix="/net/jami/JamiGnome"> <file preprocess="xml-stripblanks">ringmainwindow.ui</file> <file preprocess="xml-stripblanks">ringgearsmenu.ui</file> <file preprocess="xml-stripblanks">incomingcallview.ui</file> diff --git a/web/web.gresource.xml b/web/web.gresource.xml index abc2d72c..a67c763d 100644 --- a/web/web.gresource.xml +++ b/web/web.gresource.xml @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="UTF-8"?> <gresources> - <gresource prefix="/cx/jami/JamiGnome"> + <gresource prefix="/net/jami/JamiGnome"> <!-- HTML --> <file>chatview.html</file> -- GitLab