Commit 8061c192 authored by Jan-Michael Brummer's avatar Jan-Michael Brummer Committed by Michael Catanzaro
Browse files

Enable co-existing of Epiphany Tech Preview with stable version

Fixes: #20
parent c143681d
Pipeline #68703 passed with stage
in 2 minutes and 16 seconds
...@@ -9,10 +9,8 @@ flatpak: ...@@ -9,10 +9,8 @@ flatpak:
MANIFEST_PATH: 'org.gnome.Epiphany.json' MANIFEST_PATH: 'org.gnome.Epiphany.json'
RUNTIME_REPO: 'https://sdk.gnome.org/gnome-nightly.flatpakrepo' RUNTIME_REPO: 'https://sdk.gnome.org/gnome-nightly.flatpakrepo'
FLATPAK_MODULE: 'epiphany' FLATPAK_MODULE: 'epiphany'
# Make sure to keep this in sync with the Flatpak manifest, all arguments MESON_ARGS: '-Dprofile=Devel -Dunit_tests=enabled --werror'
# are passed except the config-args because we build it ourselves APP_ID: 'org.gnome.Epiphany.Devel'
MESON_ARGS: '-Dunit_tests=enabled --werror'
APP_ID: 'org.gnome.Epiphany'
review: review:
dependencies: dependencies:
......
install_subdir('icons/hicolor', po_dir = join_paths(meson.source_root(), 'po')
install_dir: join_paths(datadir, 'icons')
icondir = join_paths('icons', 'hicolor', 'scalable', 'apps')
install_data(
join_paths(icondir, 'org.gnome.Epiphany.svg'),
install_dir: join_paths(datadir, icondir),
rename: '@0@.svg'.format(application_id)
)
icondir = join_paths('icons', 'hicolor', 'symbolic', 'apps')
install_data(
join_paths(icondir, 'org.gnome.Epiphany-symbolic.svg'),
install_dir: join_paths(datadir, icondir),
rename: '@0@-symbolic.svg'.format(application_id)
) )
desktop_file = i18n.merge_file('desktop-file', desktop_conf = configuration_data()
input: 'org.gnome.Epiphany.desktop.in', desktop_conf.set('icon', application_id)
output: 'org.gnome.Epiphany.desktop', desktop = i18n.merge_file(
'desktop',
input: configure_file(
input: files('org.gnome.Epiphany.desktop.in.in'),
output: 'org.gnome.Epiphany.desktop.in',
configuration: desktop_conf
),
output: '@0@.desktop'.format(application_id),
install: true, install: true,
install_dir: join_paths(datadir, 'applications'), install_dir: desktopdir,
po_dir: '../po', po_dir: po_dir,
type: 'desktop' type: 'desktop'
) )
desktop_file_validate = find_program ('desktop-file-validate', required: false)
if desktop_file_validate.found()
test(
'validate-desktop',
desktop_file_validate,
args: [
desktop_file.full_path()
]
)
endif
appdata_file = i18n.merge_file('appdata-file', appdata_conf = configuration_data()
input: 'org.gnome.Epiphany.appdata.xml.in', appdata_conf.set('appid', application_id)
output: 'org.gnome.Epiphany.appdata.xml', appdata = i18n.merge_file(
'appdata',
input: configure_file(
input: files('org.gnome.Epiphany.appdata.xml.in.in'),
output: 'org.gnome.Epiphany.appdata.xml.in',
configuration: appdata_conf
),
output: '@0@.appdata.xml'.format(application_id),
install: true, install: true,
install_dir: join_paths(datadir, 'metainfo'), install_dir: join_paths(datadir, 'metainfo'),
po_dir: '../po' po_dir: po_dir
) )
appstream_util = find_program('appstream-util', required: false) appstream_util = find_program('appstream-util', required: false)
if appstream_util.found()
test(
'validate-appdata', appstream_util,
args: [
'validate-relax', '--nonet', appdata_file.full_path()
]
)
endif
# We need three custom_target() calls because Meson doesn't have very # We need three custom_target() calls because Meson doesn't have very
# good support for GSettings yet. First, generate our GSettings enums # good support for GSettings yet. First, generate our GSettings enums
...@@ -81,17 +89,24 @@ install_data('org.gnome.epiphany.gschema.xml', ...@@ -81,17 +89,24 @@ install_data('org.gnome.epiphany.gschema.xml',
install_dir: join_paths(datadir, 'glib-2.0', 'schemas') install_dir: join_paths(datadir, 'glib-2.0', 'schemas')
) )
serviceconf = configuration_data() service_conf = configuration_data()
serviceconf.set('libexecdir', libexecdir) service_conf.set('appid', application_id)
service_conf.set('libexecdir', libexecdir)
configure_file( configure_file(
input: 'org.gnome.Epiphany.SearchProvider.service.in', input: 'org.gnome.Epiphany.SearchProvider.service.in',
output: 'org.gnome.Epiphany.SearchProvider.service', output: '@0@.SearchProvider.service'.format(application_id),
configuration: serviceconf, configuration: service_conf,
install: true, install_dir: servicedir
install_dir: join_paths(datadir, 'dbus-1', 'services')
) )
install_data('org.gnome.Epiphany.search-provider.ini',
install_dir: join_paths(datadir, 'gnome-shell', 'search-providers') search_provider_conf = configuration_data()
search_provider_conf.set('appid', application_id)
search_provider_conf.set('profile', profile)
configure_file(
configuration: search_provider_conf,
input: files('org.gnome.Epiphany.SearchProvider.ini.in'),
install_dir: join_paths(datadir, 'gnome-shell', 'search-providers'),
output: '@0@.SearchProvider.ini'.format(application_id)
) )
bookmarksconf = configuration_data() bookmarksconf = configuration_data()
...@@ -105,3 +120,24 @@ configure_file( ...@@ -105,3 +120,24 @@ configure_file(
) )
install_man('epiphany.1') install_man('epiphany.1')
desktop_file_validate = find_program('desktop-file-validate', required: false)
if desktop_file_validate.found()
test(
'validate-desktop',
desktop_file_validate,
args: [
desktop.full_path()
]
)
endif
appstream_util = find_program('appstream-util', required: false)
if appstream_util.found()
test(
'validate-appdata', appstream_util,
args: [
'validate-relax', appdata.full_path()
]
)
endif
[Shell Search Provider]
DesktopId=@appid@.desktop
BusName=@appid@.SearchProvider
ObjectPath=/org/gnome/Epiphany@profile@/SearchProvider
Version=2
[D-BUS Service] [D-BUS Service]
Name=org.gnome.Epiphany.SearchProvider Name=@appid@.SearchProvider
Exec=@libexecdir@/epiphany-search-provider Exec=@libexecdir@/epiphany-search-provider
<?xml version="1.0" encoding="UTF-8"?> <?xml version="1.0" encoding="UTF-8"?>
<!-- Copyright 2013, 2015 Epiphany contributors --> <!-- Copyright 2013, 2015, 2019 Epiphany contributors -->
<component type="desktop"> <component type="desktop">
<id>org.gnome.Epiphany.desktop</id> <id>@appid@.desktop</id>
<metadata_license>CC0-1.0</metadata_license> <metadata_license>CC0-1.0</metadata_license>
<name>GNOME Web</name> <name>GNOME Web</name>
<summary>Web browser for GNOME</summary> <summary>Web browser for GNOME</summary>
......
...@@ -9,7 +9,7 @@ StartupNotify=true ...@@ -9,7 +9,7 @@ StartupNotify=true
Terminal=false Terminal=false
Type=Application Type=Application
# Translators: Do NOT translate or transliterate this text (this is an icon file name)! # Translators: Do NOT translate or transliterate this text (this is an icon file name)!
Icon=org.gnome.Epiphany Icon=@icon@
Categories=Network;GNOME;GTK;WebBrowser; Categories=Network;GNOME;GTK;WebBrowser;
MimeType=text/html;text/xml;application/xhtml+xml;x-scheme-handler/http;x-scheme-handler/https;multipart/related;application/x-mimearchive;message/rfc822; MimeType=text/html;text/xml;application/xhtml+xml;x-scheme-handler/http;x-scheme-handler/https;multipart/related;application/x-mimearchive;message/rfc822;
Actions=new-window;Incognito; Actions=new-window;Incognito;
......
[Shell Search Provider]
DesktopId=org.gnome.Epiphany.desktop
BusName=org.gnome.Epiphany.SearchProvider
ObjectPath=/org/gnome/Epiphany/SearchProvider
Version=2
...@@ -31,7 +31,6 @@ ...@@ -31,7 +31,6 @@
#include "ephy-settings.h" #include "ephy-settings.h"
#include "ephy-smaps.h" #include "ephy-smaps.h"
#include "ephy-snapshot-service.h" #include "ephy-snapshot-service.h"
#include "ephy-vcs-version.h"
#include "ephy-web-app-utils.h" #include "ephy-web-app-utils.h"
#include <gio/gio.h> #include <gio/gio.h>
...@@ -163,10 +162,10 @@ ephy_about_handler_handle_about (EphyAboutHandler *handler, ...@@ -163,10 +162,10 @@ ephy_about_handler_handle_about (EphyAboutHandler *handler,
char *version; char *version;
GtkIconInfo *icon_info; GtkIconInfo *icon_info;
version = g_strdup_printf (_("Version %s"), VCSVERSION); version = g_strdup_printf (_("Version %s"), VERSION);
icon_info = gtk_icon_theme_lookup_icon (gtk_icon_theme_get_default (), icon_info = gtk_icon_theme_lookup_icon (gtk_icon_theme_get_default (),
"org.gnome.Epiphany", APPLICATION_ID,
256, 256,
GTK_ICON_LOOKUP_FORCE_SVG); GTK_ICON_LOOKUP_FORCE_SVG);
...@@ -343,9 +342,10 @@ history_service_query_urls_cb (EphyHistoryService *history, ...@@ -343,9 +342,10 @@ history_service_query_urls_cb (EphyHistoryService *history,
if (g_list_length (urls) == 0 || !success) { if (g_list_length (urls) == 0 || !success) {
GtkIconInfo *icon_info; GtkIconInfo *icon_info;
g_autofree gchar *icon = g_strconcat (APPLICATION_ID, "-symbolic", NULL);
icon_info = gtk_icon_theme_lookup_icon (gtk_icon_theme_get_default (), icon_info = gtk_icon_theme_lookup_icon (gtk_icon_theme_get_default (),
"org.gnome.Epiphany-symbolic", icon,
128, 128,
0); 0);
g_string_append_printf (data_str, g_string_append_printf (data_str,
......
#define VCSVERSION "@VCSVERSION@"
project('epiphany', 'c', project('epiphany', 'c',
license: 'GPL3+', license: 'GPL3+',
version: '3.31.90', version: '3.31.90',
meson_version: '>= 0.42.0', meson_version: '>= 0.46.0',
default_options: ['c_std=gnu11'] default_options: ['c_std=gnu11']
) )
...@@ -17,6 +17,7 @@ endif ...@@ -17,6 +17,7 @@ endif
prefix = get_option('prefix') prefix = get_option('prefix')
datadir = join_paths(prefix, get_option('datadir')) datadir = join_paths(prefix, get_option('datadir'))
desktopdir = join_paths(datadir, 'applications')
libdir = join_paths(prefix, get_option('libdir')) libdir = join_paths(prefix, get_option('libdir'))
libexecdir = join_paths(prefix, get_option('libexecdir')) libexecdir = join_paths(prefix, get_option('libexecdir'))
liblocaledir = join_paths(prefix, libdir, 'locale') liblocaledir = join_paths(prefix, libdir, 'locale')
...@@ -24,13 +25,24 @@ localedir = join_paths(prefix, get_option('localedir')) ...@@ -24,13 +25,24 @@ localedir = join_paths(prefix, get_option('localedir'))
pkgdatadir = join_paths(datadir, 'epiphany') pkgdatadir = join_paths(datadir, 'epiphany')
pkglibdir = join_paths(libdir, 'epiphany') pkglibdir = join_paths(libdir, 'epiphany')
pkglibexecdir = join_paths(libexecdir, 'epiphany') pkglibexecdir = join_paths(libexecdir, 'epiphany')
servicedir = join_paths(datadir, 'dbus-1', 'services')
webextensionsdir = join_paths(pkglibdir, 'web-extensions') webextensionsdir = join_paths(pkglibdir, 'web-extensions')
iso_codes = dependency('iso-codes') iso_codes = dependency('iso-codes')
iso_codes_prefix = iso_codes.get_pkgconfig_variable('prefix') iso_codes_prefix = iso_codes.get_pkgconfig_variable('prefix')
profile = get_option('profile')
application_id = 'org.gnome.Epiphany'
if profile != ''
application_id = 'org.gnome.Epiphany.' + profile
endif
conf = configuration_data() conf = configuration_data()
conf.set_quoted('APPLICATION_ID', application_id)
conf.set_quoted('BUILD_ROOT', meson.build_root()) conf.set_quoted('BUILD_ROOT', meson.build_root())
developer_mode = get_option('developer_mode')
conf.set10('DEVELOPER_MODE', developer_mode)
conf.set_quoted('DISTRIBUTOR_NAME', distributor_name) conf.set_quoted('DISTRIBUTOR_NAME', distributor_name)
conf.set_quoted('EPHY_WEB_EXTENSIONS_DIR', webextensionsdir) conf.set_quoted('EPHY_WEB_EXTENSIONS_DIR', webextensionsdir)
conf.set_quoted('GETTEXT_PACKAGE', meson.project_name()) conf.set_quoted('GETTEXT_PACKAGE', meson.project_name())
...@@ -39,42 +51,29 @@ conf.set_quoted('LIBLOCALEDIR', liblocaledir) ...@@ -39,42 +51,29 @@ conf.set_quoted('LIBLOCALEDIR', liblocaledir)
conf.set_quoted('LOCALEDIR', localedir) conf.set_quoted('LOCALEDIR', localedir)
conf.set_quoted('PKGDATADIR', pkgdatadir) conf.set_quoted('PKGDATADIR', pkgdatadir)
conf.set_quoted('PKGLIBEXECDIR', pkglibexecdir) conf.set_quoted('PKGLIBEXECDIR', pkglibexecdir)
conf.set_quoted('PROFILE', profile)
conf.set_quoted('SOURCE_ROOT', meson.source_root()) conf.set_quoted('SOURCE_ROOT', meson.source_root())
developer_mode = get_option('developer_mode')
conf.set10('DEVELOPER_MODE', developer_mode)
tech_preview = get_option('tech_preview') tech_preview = get_option('tech_preview')
conf.set10('TECH_PREVIEW', tech_preview) conf.set10('TECH_PREVIEW', tech_preview)
conf.set_quoted('VERSION', meson.project_version())
version_array = meson.project_version().split('.') version_array = meson.project_version().split('.')
conf.set('EPHY_MAJOR_VERSION', version_array[0].to_int()) conf.set('EPHY_MAJOR_VERSION', version_array[0].to_int())
conf.set('EPHY_MINOR_VERSION', version_array[1].to_int()) conf.set('EPHY_MINOR_VERSION', version_array[1].to_int())
conf.set('EPHY_MICRO_VERSION', version_array[2].to_int()) conf.set('EPHY_MICRO_VERSION', version_array[2].to_int())
configure_file( conf.set_quoted('VERSION', '@0@-@VCS_TAG@'.format(meson.project_version()))
output: 'config.h',
configuration: conf config_h = declare_dependency(
) sources: vcs_tag(
command: ['git', 'rev-parse', '--short', 'HEAD'],
if tech_preview or developer_mode fallback: get_option('profile') != 'default' ? 'devel' : 'stable',
vcs_tag( input: configure_file(
input: 'ephy-vcs-version.h.in', output: 'config.h.in',
output: 'ephy-vcs-version.h', configuration: conf
replace_string: '@VCSVERSION@' ),
) output: 'config.h'
else
version_conf = configuration_data()
version_conf.set('VCSVERSION', meson.project_version())
configure_file(
input: 'ephy-vcs-version.h.in',
output: 'ephy-vcs-version.h',
configuration: version_conf
) )
endif )
glib_requirement = '>= 2.56.0' glib_requirement = '>= 2.56.0'
gtk_requirement = '>= 3.24.0' gtk_requirement = '>= 3.24.0'
......
...@@ -16,6 +16,12 @@ option('tech_preview', ...@@ -16,6 +16,12 @@ option('tech_preview',
description: 'Enable Epiphany Tech Preview branding' description: 'Enable Epiphany Tech Preview branding'
) )
option('profile',
type: 'string',
value: '',
description: 'Build with appended profile to application ID'
)
option('unit_tests', option('unit_tests',
type: 'feature', type: 'feature',
value: 'enabled', value: 'enabled',
......
{ {
"app-id" : "org.gnome.Epiphany", "app-id" : "org.gnome.Epiphany.Devel",
"runtime" : "org.gnome.Platform", "runtime" : "org.gnome.Platform",
"runtime-version" : "master", "runtime-version" : "master",
"sdk" : "org.gnome.Sdk", "sdk" : "org.gnome.Sdk",
...@@ -68,7 +68,8 @@ ...@@ -68,7 +68,8 @@
{ {
"name" : "epiphany", "name" : "epiphany",
"config-opts" : [ "config-opts" : [
"-Dtech_preview=true" "-Dtech_preview=true",
"-Dprofile=Devel"
], ],
"buildsystem" : "meson", "buildsystem" : "meson",
"builddir" : true, "builddir" : true,
......
...@@ -29,7 +29,6 @@ ...@@ -29,7 +29,6 @@
#include "ephy-settings.h" #include "ephy-settings.h"
#include "ephy-shell.h" #include "ephy-shell.h"
#include "ephy-string.h" #include "ephy-string.h"
#include "ephy-vcs-version.h"
#include "ephy-web-app-utils.h" #include "ephy-web-app-utils.h"
#include <errno.h> #include <errno.h>
...@@ -100,7 +99,7 @@ option_version_cb (const gchar *option_name, ...@@ -100,7 +99,7 @@ option_version_cb (const gchar *option_name,
gpointer data, gpointer data,
GError **error) GError **error)
{ {
g_print ("%s %s\n", _("Web"), VCSVERSION); g_print ("%s %s\n", _("Web"), VERSION);
exit (EXIT_SUCCESS); exit (EXIT_SUCCESS);
return FALSE; return FALSE;
...@@ -404,7 +403,7 @@ main (int argc, ...@@ -404,7 +403,7 @@ main (int argc,
g_set_prgname ("epiphany"); g_set_prgname ("epiphany");
g_set_application_name (_("Web")); g_set_application_name (_("Web"));
gtk_window_set_default_icon_name ("org.gnome.Epiphany"); gtk_window_set_default_icon_name (APPLICATION_ID);
} }
hdy_init (&argc, &argv); hdy_init (&argc, &argv);
......
...@@ -988,12 +988,14 @@ ephy_shell_get_prefs_dialog (EphyShell *shell) ...@@ -988,12 +988,14 @@ ephy_shell_get_prefs_dialog (EphyShell *shell)
void void
_ephy_shell_create_instance (EphyEmbedShellMode mode) _ephy_shell_create_instance (EphyEmbedShellMode mode)
{ {
const char *id; g_autofree gchar *id = NULL;
g_assert (ephy_shell == NULL); g_assert (ephy_shell == NULL);
id = (mode == EPHY_EMBED_SHELL_MODE_APPLICATION ? "org.gnome.Epiphany.WebApp" if (mode == EPHY_EMBED_SHELL_MODE_APPLICATION)
: "org.gnome.Epiphany"); id = g_strconcat (APPLICATION_ID, ".WebApp", NULL);
else
id = g_strdup (APPLICATION_ID);
ephy_shell = EPHY_SHELL (g_object_new (EPHY_TYPE_SHELL, ephy_shell = EPHY_SHELL (g_object_new (EPHY_TYPE_SHELL,
"application-id", id, "application-id", id,
......
...@@ -3573,7 +3573,7 @@ ephy_window_new (void) ...@@ -3573,7 +3573,7 @@ ephy_window_new (void)
"application", GTK_APPLICATION (ephy_shell_get_default ()), "application", GTK_APPLICATION (ephy_shell_get_default ()),
"default-height", 768, "default-height", 768,
"default-width", 1024, "default-width", 1024,
"icon-name", "org.gnome.Epiphany", "icon-name", APPLICATION_ID,
NULL); NULL);
} }
......
...@@ -52,6 +52,7 @@ libephymain_sources = [ ...@@ -52,6 +52,7 @@ libephymain_sources = [
] ]
libephymain_deps = [ libephymain_deps = [
config_h,
ephyembed_dep, ephyembed_dep,
ephymisc_dep, ephymisc_dep,
ephysync_dep, ephysync_dep,
......
...@@ -2401,6 +2401,8 @@ prefs_dialog_init (PrefsDialog *dialog) ...@@ -2401,6 +2401,8 @@ prefs_dialog_init (PrefsDialog *dialog)
gtk_widget_set_visible (dialog->reader_mode_box, gtk_widget_set_visible (dialog->reader_mode_box,
mode != EPHY_EMBED_SHELL_MODE_APPLICATION); mode != EPHY_EMBED_SHELL_MODE_APPLICATION);
gtk_window_set_icon_name (GTK_WINDOW (dialog), APPLICATION_ID);
setup_general_page (dialog); setup_general_page (dialog);
setup_fonts_page (dialog); setup_fonts_page (dialog);
setup_stored_data_page (dialog); setup_stored_data_page (dialog);
......
...@@ -196,7 +196,7 @@ handle_get_result_metas (EphyShellSearchProvider2 *skeleton, ...@@ -196,7 +196,7 @@ handle_get_result_metas (EphyShellSearchProvider2 *skeleton,
"name", g_variant_new_take_string (g_strdup_printf (_("Search the web for “%s”"), "name", g_variant_new_take_string (g_strdup_printf (_("Search the web for “%s”"),
results[i] + strlen ("special:search:")))); results[i] + strlen ("special:search:"))));
g_variant_builder_add (&builder, "{sv}", g_variant_builder_add (&builder, "{sv}",
"gicon", g_variant_new_string ("org.gnome.Epiphany")); "gicon", g_variant_new_string (APPLICATION_ID));
g_variant_builder_close (&builder); g_variant_builder_close (&builder);
} else { } else {
EphySuggestion *suggestion; EphySuggestion *suggestion;
...@@ -421,7 +421,9 @@ ephy_search_provider_class_init (EphySearchProviderClass *klass) ...@@ -421,7 +421,9 @@ ephy_search_provider_class_init (EphySearchProviderClass *klass)
EphySearchProvider * EphySearchProvider *
ephy_search_provider_new (void) ephy_search_provider_new (void)
{ {
g_autofree gchar *app_id = g_strconcat (APPLICATION_ID, ".SearchProvider", NULL);
return g_object_new (EPHY_TYPE_SEARCH_PROVIDER, return g_object_new (EPHY_TYPE_SEARCH_PROVIDER,
"application-id", "org.gnome.Epiphany.SearchProvider", "application-id", app_id,
NULL); NULL);
} }
...@@ -52,7 +52,6 @@ ...@@ -52,7 +52,6 @@
#include "ephy-settings.h" #include "ephy-settings.h"
#include "ephy-shell.h" #include "ephy-shell.h"
#include "ephy-string.h" #include "ephy-string.h"
#include "ephy-vcs-version.h"
#include "ephy-view-source-handler.h" #include "ephy-view-source-handler.h"
#include "ephy-web-app-utils.h" #include "ephy-web-app-utils.h"
#include "ephy-zoom.h" #include "ephy-zoom.h"
...@@ -603,14 +602,14 @@ window_cmd_show_about (GSimpleAction *action, ...@@ -603,14 +602,14 @@ window_cmd_show_about (GSimpleAction *action,
gtk_about_dialog_set_program_name (dialog, _("Epiphany Technology Preview")); gtk_about_dialog_set_program_name (dialog, _("Epiphany Technology Preview"));
#endif #endif
gtk_about_dialog_set_version (dialog, VCSVERSION); gtk_about_dialog_set_version (dialog, VERSION);
gtk_about_dialog_set_copyright (dialog, "Copyright © 2002–2004 Marco Pesenti Gritti\n" gtk_about_dialog_set_copyright (dialog, "Copyright © 2002–2004 Marco Pesenti Gritti\n"
"Copyright © 2003–2019 The GNOME Web Developers"); "Copyright © 2003–2019 The GNOME Web Developers");
gtk_about_dialog_set_comments (dialog, comments); gtk_about_dialog_set_comments (dialog, comments);
gtk_about_dialog_set_license_type (dialog, GTK_LICENSE_GPL_3_0); gtk_about_dialog_set_license_type (dialog, GTK_LICENSE_GPL_3_0);
gtk_about_dialog_set_website (dialog, "https://wiki.gnome.org/Apps/Web"); gtk_about_dialog_set_website (dialog, "https://wiki.gnome.org/Apps/Web");
gtk_about_dialog_set_website_label (dialog, _("Website")); gtk_about_dialog_set_website_label (dialog, _("Website"));
gtk_about_dialog_set_logo_icon_name (dialog, "org.gnome.Epiphany"); gtk_about_dialog_set_logo_icon_name (dialog, APPLICATION_ID);
/* We have to use add_credit_section() for documenters and artists to /* We have to use add_credit_section() for documenters and artists to
* ensure maintainers get sorted first. */ * ensure maintainers get sorted first. */
......
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