Application.Client: Explicitly set a GApplication resource base path
Set the resource base path to be the expected path so that when running devel or beta builds (ones that have different app ids), the keyboard shortcut UI file is still found. Fixes #930
This commit is contained in:
parent
389baf1c36
commit
519c8633e6
1 changed files with 2 additions and 0 deletions
|
|
@ -28,6 +28,7 @@ public class Application.Client : Gtk.Application {
|
|||
|
||||
public const string NAME = "Geary" + _NAME_SUFFIX;
|
||||
public const string APP_ID = _APP_ID;
|
||||
public const string RESOURCE_BASE_PATH = "/org/gnome/Geary";
|
||||
public const string SCHEMA_ID = "org.gnome.Geary";
|
||||
public const string DESCRIPTION = _("Send and receive email");
|
||||
public const string COPYRIGHT_1 = _("Copyright 2016 Software Freedom Conservancy Inc.");
|
||||
|
|
@ -337,6 +338,7 @@ public class Application.Client : Gtk.Application {
|
|||
public Client() {
|
||||
Object(
|
||||
application_id: APP_ID,
|
||||
resource_base_path: RESOURCE_BASE_PATH,
|
||||
flags: (
|
||||
GLib.ApplicationFlags.HANDLES_OPEN |
|
||||
GLib.ApplicationFlags.HANDLES_COMMAND_LINE
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue