client: accounts: Do not fallback to previous id
This makes valac locked on build
This commit is contained in:
parent
a405a55fb4
commit
51a82881b5
1 changed files with 9 additions and 21 deletions
|
|
@ -856,27 +856,15 @@ public class Accounts.Manager : GLib.Object {
|
|||
// This method was based on the implementation from:
|
||||
// https://gitlab.gnome.org/GNOME/gnome-calendar/blob/master/src/gcal-source-dialog.c,
|
||||
// Courtesy Georges Basile Stavracas Neto <georges.stavracas@gmail.com>
|
||||
try {
|
||||
GLib.DBusProxy settings = yield new GLib.DBusProxy.for_bus(
|
||||
GLib.BusType.SESSION,
|
||||
GLib.DBusProxyFlags.NONE,
|
||||
null,
|
||||
"org.gnome.Settings",
|
||||
"/org/gnome/Settings",
|
||||
"org.gtk.Actions",
|
||||
cancellable
|
||||
);
|
||||
} catch (GLib.Error) {
|
||||
GLib.DBusProxy settings = yield new GLib.DBusProxy.for_bus(
|
||||
GLib.BusType.SESSION,
|
||||
GLib.DBusProxyFlags.NONE,
|
||||
null,
|
||||
"org.gnome.ControlCenter",
|
||||
"/org/gnome/ControlCenter",
|
||||
"org.gtk.Actions",
|
||||
cancellable
|
||||
);
|
||||
}
|
||||
GLib.DBusProxy settings = yield new GLib.DBusProxy.for_bus(
|
||||
GLib.BusType.SESSION,
|
||||
GLib.DBusProxyFlags.NONE,
|
||||
null,
|
||||
"org.gnome.Settings",
|
||||
"/org/gnome/Settings",
|
||||
"org.gtk.Actions",
|
||||
cancellable
|
||||
);
|
||||
|
||||
// @s "launch-panel"
|
||||
// @av [<@(sav) ("online-accounts", [<@s "add">, <@s "google">])>]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue