## Process this file with automake to produce Makefile.in
icons = \
- hb-icon.svg
+ hb-icon.svg fr.handbrake.ghb.svg
icons_dep = \
icons/24x24/apps/hb-remove.png \
icons/scalable/apps/hb-edit.svg \
icons/scalable/apps/hb-icon.svg
-if GHB_FLATPAK
-icons += fr.handbrake.ghb.svg
hb_menu = fr.handbrake.ghb.desktop
-else
-hb_menu = ghb.desktop
-endif
@INTLTOOL_XML_RULE@
appdatadir = $(datarootdir)/metainfo
<?xml version="1.0" encoding="UTF-8"?>
<gresources>
- <gresource prefix="/org/handbrake/ghb/data">
+ <gresource prefix="/fr/handbrake/ghb/data">
<file>internal_defaults.json</file>
<file>widget.deps</file>
<file>widget_reverse.deps</file>
+++ /dev/null
-[Desktop Entry]
-Name=HandBrake
-GenericName=Media Transcoder
-GenericName[fr]=Transcodeur de média
-Comment=Transcodes DVD, Blu-ray, and other media
-Comment[ru]=Перекодировка DVD, Blu-ray и других мультимедиа файлов
-Comment[fr]=Transcode les DVD, Bluray, et autres médias
-Exec=ghb %f
-Icon=hb-icon
-Terminal=false
-Type=Application
-Categories=GTK;AudioVideo;Video;
-MimeType=application/ogg;application/x-extension-mp4;application/x-flac;application/x-matroska;application/x-ogg;audio/ac3;audio/mp4;audio/mpeg;audio/ogg;audio/x-flac;audio/x-matroska;audio/x-mp3;audio/x-mpeg;audio/x-vorbis;video/mp4;video/mp4v-es;video/mpeg;video/msvideo;video/quicktime;video/vnd.divx;video/x-avi;video/x-m4v;video/x-matroska;video/x-mpeg;video/ogg;video/x-ogm+ogg;video/x-theora+ogg;x-content/video-dvd;x-content/video-vcd;x-content/video-svcd;
<?xml version="1.0" encoding="UTF-8"?>
<gresources>
- <gresource prefix="/org/handbrake/ghb">
+ <gresource prefix="/fr/handbrake/ghb">
<file>icons/24x24/apps/hb-remove.png</file>
<file>icons/32x32/apps/hb-source.png</file>
<file>icons/32x32/apps/hb-picture.png</file>
#if GTK_CHECK_VERSION(3, 14, 0)
ghb_icons_register_resource();
gtk_icon_theme_add_resource_path(gtk_icon_theme_get_default(),
- "/org/handbrake/ghb/icons");
+ "/fr/handbrake/ghb/icons");
#else
ghb_icons_register_resource();
GResource *icon_res = ghb_icons_get_resource();
char ** children = g_resource_enumerate_children(icon_res,
- "/org/handbrake/ghb/icons/scalable/apps", 0, NULL);
+ "/fr/handbrake/ghb/icons/scalable/apps", 0, NULL);
if (children == NULL)
{
{
char * path;
- path = g_strdup_printf("/org/handbrake/ghb/icons/scalable/apps/%s",
+ path = g_strdup_printf("/fr/handbrake/ghb/icons/scalable/apps/%s",
children[ii]);
GBytes *gbytes = g_resource_lookup_data(icon_res, path, 0, NULL);
gsize data_size;
GResource *ui_res = ghb_ui_get_resource();
GBytes *gbytes = g_resource_lookup_data(ui_res,
- "/org/handbrake/ghb/ui/ghb.ui",
+ "/fr/handbrake/ghb/ui/ghb.ui",
0, NULL);
ghb_ui = g_bytes_get_data(gbytes, &data_size);
ghb_ui_register_resource();
ud = g_malloc0(sizeof(signal_user_data_t));
- ud->app = gtk_application_new("org.handbrake.ghb",
+ ud->app = gtk_application_new("fr.handbrake.ghb",
G_APPLICATION_NON_UNIQUE |
G_APPLICATION_HANDLES_OPEN);
// Connect application signals
GResource *data_res = ghb_data_get_resource();
gbytes = g_resource_lookup_data(data_res,
- "/org/handbrake/ghb/data/internal_defaults.json", 0, NULL);
+ "/fr/handbrake/ghb/data/internal_defaults.json", 0, NULL);
data = g_bytes_get_data(gbytes, &data_size);
val = ghb_json_parse(data);
g_bytes_unref(gbytes);
ghb_dict_set(resources, "internal-defaults", val);
gbytes = g_resource_lookup_data(data_res,
- "/org/handbrake/ghb/data/widget.deps", 0, NULL);
+ "/fr/handbrake/ghb/data/widget.deps", 0, NULL);
data = g_bytes_get_data(gbytes, &data_size);
val = ghb_json_parse(data);
g_bytes_unref(gbytes);
ghb_dict_set(resources, "widget-deps", val);
gbytes = g_resource_lookup_data(data_res,
- "/org/handbrake/ghb/data/widget_reverse.deps", 0, NULL);
+ "/fr/handbrake/ghb/data/widget_reverse.deps", 0, NULL);
data = g_bytes_get_data(gbytes, &data_size);
val = ghb_json_parse(data);
g_bytes_unref(gbytes);
<?xml version="1.0" encoding="UTF-8"?>
<gresources>
- <gresource prefix="/org/handbrake/ghb/ui">
+ <gresource prefix="/fr/handbrake/ghb/ui">
<file>ghb.ui</file>
</gresource>
</gresources>