Merge pull request #73781 from worldofpeace/pantheon-5.1-more

Pantheon 5.1 (second set of updates etc.)
This commit is contained in:
worldofpeace 2019-11-22 10:36:45 +00:00 committed by GitHub
commit f6c9fb0df3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
21 changed files with 145 additions and 152 deletions

View File

@ -18,7 +18,7 @@
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "elementary-calculator"; pname = "elementary-calculator";
version = "1.5.2"; version = "1.5.3";
repoName = "calculator"; repoName = "calculator";
@ -26,7 +26,7 @@ stdenv.mkDerivation rec {
owner = "elementary"; owner = "elementary";
repo = repoName; repo = repoName;
rev = version; rev = version;
sha256 = "1vdgl89hdf9q1ya6as7310hlr0xls3w7js2gzsd9z8arb6037ccl"; sha256 = "0ibnj3zm93p8ghiy8gbbm0vlig9mnqjsvvp1cpw62dnap0qixdcg";
}; };
passthru = { passthru = {

View File

@ -33,7 +33,7 @@
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "elementary-photos"; pname = "elementary-photos";
version = "2.6.4"; version = "2.6.5";
repoName = "photos"; repoName = "photos";
@ -41,7 +41,7 @@ stdenv.mkDerivation rec {
owner = "elementary"; owner = "elementary";
repo = repoName; repo = repoName;
rev = version; rev = version;
sha256 = "17r9658s0pqy6s45ysi3915sm8hpvmsp7cw2jahqvjc61r4qpdc1"; sha256 = "0r6d9y936nw4bn0jvixi1p62dy8qsgl2bx8g3889fndnhfnhbjv0";
}; };
passthru = { passthru = {

View File

@ -17,7 +17,7 @@
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "elementary-screenshot-tool"; # This will be renamed to "screenshot" soon. See -> https://github.com/elementary/screenshot/pull/93 pname = "elementary-screenshot-tool"; # This will be renamed to "screenshot" soon. See -> https://github.com/elementary/screenshot/pull/93
version = "1.6.2"; version = "1.7.0";
repoName = "screenshot"; repoName = "screenshot";
@ -25,7 +25,7 @@ stdenv.mkDerivation rec {
owner = "elementary"; owner = "elementary";
repo = repoName; repo = repoName;
rev = version; rev = version;
sha256 = "1z61j96jk9zjr3bn5hgsp25m4v8h1rqwxm0kg8c34bvl06f13v8q"; sha256 = "09jcyy4drzpfxb1blln7hyjg5b7r8w5j5v7va2qhq31y7vzczh62";
}; };
passthru = { passthru = {

View File

@ -20,7 +20,7 @@
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "elementary-terminal"; pname = "elementary-terminal";
version = "5.3.6"; version = "5.4.0";
repoName = "terminal"; repoName = "terminal";
@ -28,7 +28,7 @@ stdenv.mkDerivation rec {
owner = "elementary"; owner = "elementary";
repo = repoName; repo = repoName;
rev = version; rev = version;
sha256 = "0jp21sy8k3jq3ycvng9yy2hbhcvfgiknxxa8vcg3c06vqhadmnc3"; sha256 = "1rj4hrg5qljsv11apgdp0x4dazlfmjq3s0lk0dvwjvh9nqkr6jbw";
}; };
passthru = { passthru = {

View File

@ -16,13 +16,13 @@
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "switchboard-plug-about"; pname = "switchboard-plug-about";
version = "2.6.0"; version = "2.6.1";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "elementary"; owner = "elementary";
repo = pname; repo = pname;
rev = version; rev = version;
sha256 = "12ysymk5y2k49yh3rzmra7jmimxrd54gz2f4ssc9i8w06xj5djp7"; sha256 = "1z58d21xrjghvjx0ng53pcxwdk2f5d00dvngcyjja0kf7sixba71";
}; };
passthru = { passthru = {

View File

@ -13,13 +13,13 @@
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "switchboard-plug-applications"; pname = "switchboard-plug-applications";
version = "2.1.5"; version = "2.1.6";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "elementary"; owner = "elementary";
repo = pname; repo = pname;
rev = version; rev = version;
sha256 = "1c4agff456625kycacpsww7c9jsnsg1rqps96r7cvn9zq371b5ir"; sha256 = "19l979sdn9jzibvn98ag3ys28ka7zqlsbs0gj2gs9jcxhzngrxvg";
}; };
passthru = { passthru = {
@ -42,8 +42,6 @@ stdenv.mkDerivation rec {
switchboard switchboard
]; ];
PKG_CONFIG_SWITCHBOARD_2_0_PLUGSDIR = "${placeholder "out"}/lib/switchboard";
meta = with stdenv.lib; { meta = with stdenv.lib; {
description = "Switchboard Applications Plug"; description = "Switchboard Applications Plug";
homepage = https://github.com/elementary/switchboard-plug-applications; homepage = https://github.com/elementary/switchboard-plug-applications;

View File

@ -13,13 +13,13 @@
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "switchboard-plug-display"; pname = "switchboard-plug-display";
version = "2.1.9"; version = "2.2.0";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "elementary"; owner = "elementary";
repo = pname; repo = pname;
rev = version; rev = version;
sha256 = "0g9apywxgkan82h933rjjdm9fhd8vak8mziwsbqlprdz310b2jb2"; sha256 = "0mr89kyq034wffzixqlq6lmhyc4jry3dcgxrk306dhks2myindqh";
}; };
passthru = { passthru = {

View File

@ -15,13 +15,13 @@
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "switchboard-plug-mouse-touchpad"; pname = "switchboard-plug-mouse-touchpad";
version = "2.2.0"; version = "2.3.0";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "elementary"; owner = "elementary";
repo = pname; repo = pname;
rev = version; rev = version;
sha256 = "0mr25p7j5hl8zmvz5i3g30s4xbdhk6d22lw2akch3si40il9q5fv"; sha256 = "1cg69nbdf4mcr16mi71aw9j8877lyj8yxjfk9bd3sml8f4fh7mmr";
}; };
patches = [ patches = [
@ -29,7 +29,7 @@ stdenv.mkDerivation rec {
]; ];
postPatch = '' postPatch = ''
substituteInPlace src/Views/General.vala \ substituteInPlace src/Views/Clicking.vala \
--subst-var-by GSD_GSETTINGS ${glib.getSchemaPath elementary-settings-daemon} --subst-var-by GSD_GSETTINGS ${glib.getSchemaPath elementary-settings-daemon}
''; '';
@ -54,8 +54,6 @@ stdenv.mkDerivation rec {
switchboard switchboard
]; ];
PKG_CONFIG_SWITCHBOARD_2_0_PLUGSDIR = "${placeholder "out"}/lib/switchboard";
meta = with stdenv.lib; { meta = with stdenv.lib; {
description = "Switchboard Mouse & Touchpad Plug"; description = "Switchboard Mouse & Touchpad Plug";
homepage = https://github.com/elementary/switchboard-plug-mouse-touchpad; homepage = https://github.com/elementary/switchboard-plug-mouse-touchpad;

View File

@ -1,63 +1,76 @@
diff --git a/src/Views/General.vala b/src/Views/General.vala diff --git a/src/Views/Clicking.vala b/src/Views/Clicking.vala
index 4b19b73..dfa3d4d 100644 index cc4431b..d12ddfe 100644
--- a/src/Views/General.vala --- a/src/Views/Clicking.vala
+++ b/src/Views/General.vala +++ b/src/Views/Clicking.vala
@@ -138,32 +138,34 @@ public class MouseTouchpad.GeneralView : Gtk.Grid { @@ -123,42 +123,39 @@ public class MouseTouchpad.ClickingView : Granite.SimpleSettingsPage {
attach (pointer_speed_scale, 3, 8); content_area.attach (hold_scale, 3, 3);
attach (pointer_speed_help, 1, 9, 3); content_area. attach (hold_help, 1, 4, 3);
- var xsettings_schema = SettingsSchemaSource.get_default ().lookup ("org.gnome.settings-daemon.plugins.xsettings", false); - var xsettings_schema = SettingsSchemaSource.get_default ().lookup (
- "org.gnome.settings-daemon.plugins.xsettings",
- true
- );
-
- if (xsettings_schema != null) { - if (xsettings_schema != null) {
- var primary_paste_switch = new Gtk.Switch (); - var primary_paste_switch = new Gtk.Switch ();
- primary_paste_switch.halign = Gtk.Align.START; - primary_paste_switch.halign = Gtk.Align.START;
- + SettingsSchemaSource daemon_schema_source = new SettingsSchemaSource.from_directory ("@GSD_GSETTINGS@", null, true);
- var primary_paste_help = new Gtk.Label (_("Middle or three-finger clicking on an input will paste any selected text")); + SettingsSchema xsettings_schema = daemon_schema_source.lookup ("org.gnome.settings-daemon.plugins.xsettings", false);
- var primary_paste_help = new Gtk.Label (
- _("Middle or three-finger clicking on an input will paste any selected text")
- );
- primary_paste_help.margin_bottom = 18; - primary_paste_help.margin_bottom = 18;
- primary_paste_help.wrap = true; - primary_paste_help.wrap = true;
- primary_paste_help.xalign = 0; - primary_paste_help.xalign = 0;
- primary_paste_help.get_style_context ().add_class (Gtk.STYLE_CLASS_DIM_LABEL); - primary_paste_help.get_style_context ().add_class (Gtk.STYLE_CLASS_DIM_LABEL);
- -
- attach (new SettingLabel (_("Middle click paste:")), 0, 4); - content_area.attach (new SettingLabel (_("Middle click paste:")), 0, 5);
- attach (primary_paste_switch, 1, 4); - content_area.attach (primary_paste_switch, 1, 5);
- attach (primary_paste_help, 1, 5, 3); - content_area.attach (primary_paste_help, 1, 6, 3);
- -
- var xsettings = new GLib.Settings ("org.gnome.settings-daemon.plugins.xsettings"); - var xsettings = new GLib.Settings ("org.gnome.settings-daemon.plugins.xsettings");
- primary_paste_switch.notify["active"].connect (() => on_primary_paste_switch_changed (primary_paste_switch, xsettings)); - primary_paste_switch.notify["active"].connect (() => {
- - on_primary_paste_switch_changed (primary_paste_switch, xsettings);
- var current_value = xsettings.get_value ("overrides").lookup_value ("Gtk/EnablePrimaryPaste", VariantType.INT32); - });
+ var primary_paste_switch = new Gtk.Switch ();
+ primary_paste_switch.halign = Gtk.Align.START;
- var current_value = xsettings.get_value ("overrides").lookup_value (
- "Gtk/EnablePrimaryPaste",
- VariantType.INT32
- );
- if (current_value != null) { - if (current_value != null) {
- primary_paste_switch.active = current_value.get_int32 () == 1; - primary_paste_switch.active = current_value.get_int32 () == 1;
- } - }
+ var primary_paste_switch = new Gtk.Switch (); + var primary_paste_help = new Gtk.Label (
+ primary_paste_switch.halign = Gtk.Align.START; + _("Middle or three-finger clicking on an input will paste any selected text")
+ + );
+ var primary_paste_help = new Gtk.Label (_("Middle or three-finger clicking on an input will paste any selected text"));
+ primary_paste_help.margin_bottom = 18; + primary_paste_help.margin_bottom = 18;
+ primary_paste_help.wrap = true; + primary_paste_help.wrap = true;
+ primary_paste_help.xalign = 0; + primary_paste_help.xalign = 0;
+ primary_paste_help.get_style_context ().add_class (Gtk.STYLE_CLASS_DIM_LABEL); + primary_paste_help.get_style_context ().add_class (Gtk.STYLE_CLASS_DIM_LABEL);
+ +
+ attach (new SettingLabel (_("Middle click paste:")), 0, 4); + content_area.attach (new SettingLabel (_("Middle click paste:")), 0, 5);
+ attach (primary_paste_switch, 1, 4); + content_area.attach (primary_paste_switch, 1, 5);
+ attach (primary_paste_help, 1, 5, 3); + content_area.attach (primary_paste_help, 1, 6, 3);
+
+ SettingsSchemaSource daemon_schema_source = new SettingsSchemaSource.from_directory ("@GSD_GSETTINGS@", null, true);
+ SettingsSchema xsettings_schema = daemon_schema_source.lookup ("org.gnome.settings-daemon.plugins.xsettings", false);
+ +
+ var xsettings = new GLib.Settings.full (xsettings_schema, null, null); + var xsettings = new GLib.Settings.full (xsettings_schema, null, null);
+ primary_paste_switch.notify["active"].connect (() => on_primary_paste_switch_changed (primary_paste_switch, xsettings)); + primary_paste_switch.notify["active"].connect (() => {
+ on_primary_paste_switch_changed (primary_paste_switch, xsettings);
+ });
+ +
+ var current_value = xsettings.get_value ("overrides").lookup_value ("Gtk/EnablePrimaryPaste", VariantType.INT32); + var current_value = xsettings.get_value ("overrides").lookup_value (
+ "Gtk/EnablePrimaryPaste",
+ VariantType.INT32
+ );
+ if (current_value != null) { + if (current_value != null) {
+ primary_paste_switch.active = current_value.get_int32 () == 1; + primary_paste_switch.active = current_value.get_int32 () == 1;
} }
- var daemon_settings = new GLib.Settings ("org.gnome.settings-daemon.peripherals.mouse"); - var daemon_settings = new GLib.Settings ("org.gnome.settings-daemon.peripherals.mouse");
- daemon_settings.bind ("locate-pointer", reveal_pointer_switch, "active", GLib.SettingsBindFlags.DEFAULT); + SettingsSchema daemon_schema = daemon_schema_source.lookup ("org.gnome.settings-daemon.peripherals.mouse", false);
+ SettingsSchema daemon_mouse_schema = daemon_schema_source.lookup ("org.gnome.settings-daemon.peripherals.mouse", false); + var daemon_settings = new GLib.Settings.full (daemon_schema, null, null);
+ daemon_settings.bind ("double-click", double_click_speed_adjustment, "value", SettingsBindFlags.DEFAULT);
+ var daemon_mouse_settings = new GLib.Settings.full (daemon_mouse_schema, null, null);
+ daemon_mouse_settings.bind ("locate-pointer", reveal_pointer_switch, "active", GLib.SettingsBindFlags.DEFAULT);
var a11y_mouse_settings = new GLib.Settings ("org.gnome.desktop.a11y.mouse"); var a11y_mouse_settings = new GLib.Settings ("org.gnome.desktop.a11y.mouse");
a11y_mouse_settings.bind ("secondary-click-enabled", hold_switch, "active", GLib.SettingsBindFlags.DEFAULT);

View File

@ -16,13 +16,13 @@
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "switchboard-plug-network"; pname = "switchboard-plug-network";
version = "2.1.4"; version = "2.2.0";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "elementary"; owner = "elementary";
repo = pname; repo = pname;
rev = version; rev = version;
sha256 = "12lvcc15jngzsa40fjhxa6kccs58h5qq4lqrc7lcx5przmfaik8k"; sha256 = "0zg4bxrrw1nmm91yp8ymji7mha2wcjrwljcnpcvxq7lf8f2k0145";
}; };
passthru = { passthru = {
@ -49,14 +49,12 @@ stdenv.mkDerivation rec {
patches = [ patches = [
(substituteAll { (substituteAll {
src = ./nma.patch; src = ./fix-paths.patch;
networkmanagerapplet = networkmanagerapplet; inherit networkmanagerapplet;
}) })
]; ];
PKG_CONFIG_SWITCHBOARD_2_0_PLUGSDIR = "${placeholder "out"}/lib/switchboard";
meta = with stdenv.lib; { meta = with stdenv.lib; {
description = "Switchboard Networking Plug"; description = "Switchboard Networking Plug";
homepage = https://github.com/elementary/switchboard-plug-network; homepage = https://github.com/elementary/switchboard-plug-network;

View File

@ -0,0 +1,35 @@
diff --git a/src/Views/VPNPage.vala b/src/Views/VPNPage.vala
index 82e7826..cf00145 100644
--- a/src/Views/VPNPage.vala
+++ b/src/Views/VPNPage.vala
@@ -265,7 +265,7 @@ public class Network.VPNPage : Network.Widgets.Page {
private void try_connection_editor (string args) {
try {
var appinfo = AppInfo.create_from_commandline (
- "nm-connection-editor %s".printf (args),
+ "@networkmanagerapplet@/bin/nm-connection-editor %s".printf (args),
null,
GLib.AppInfoCreateFlags.NONE
);
diff --git a/src/Widgets/SettingsButton.vala b/src/Widgets/SettingsButton.vala
index ed36b38..bc71c0c 100644
--- a/src/Widgets/SettingsButton.vala
+++ b/src/Widgets/SettingsButton.vala
@@ -24,7 +24,7 @@
clicked.connect (() => {
try {
var appinfo = AppInfo.create_from_commandline (
- "nm-connection-editor",
+ "@networkmanagerapplet@/bin/nm-connection-editor",
null,
AppInfoCreateFlags.NONE
);
@@ -71,7 +71,7 @@
private void edit_connection_uuid (string uuid) {
try {
var appinfo = AppInfo.create_from_commandline (
- "nm-connection-editor --edit=%s".printf (uuid), null, AppInfoCreateFlags.NONE
+ "@networkmanagerapplet@/bin/nm-connection-editor --edit=%s".printf (uuid), null, AppInfoCreateFlags.NONE
);
appinfo.launch (null, null);

View File

@ -1,43 +0,0 @@
diff --git a/src/Widgets/SettingsButton.vala b/src/Widgets/SettingsButton.vala
index 19fd514..bc800d9 100644
--- a/src/Widgets/SettingsButton.vala
+++ b/src/Widgets/SettingsButton.vala
@@ -23,7 +23,7 @@
label = _("Edit Connections…");
clicked.connect (() => {
try {
- var appinfo = AppInfo.create_from_commandline ("nm-connection-editor", null, AppInfoCreateFlags.NONE);
+ var appinfo = AppInfo.create_from_commandline ("@networkmanagerapplet@/bin/nm-connection-editor", null, AppInfoCreateFlags.NONE);
appinfo.launch (null, null);
} catch (Error e) {
warning ("%s", e.message);
@@ -61,13 +61,13 @@
label = title;
clicked.connect (() => {
edit_connection_uuid (connection.get_uuid ());
- });
+ });
}
private void edit_connection_uuid (string uuid) {
try {
var appinfo = AppInfo.create_from_commandline (
- "nm-connection-editor --edit=%s".printf (uuid), null, AppInfoCreateFlags.NONE
+ "@networkmanagerapplet@/bin/nm-connection-editor --edit=%s".printf (uuid), null, AppInfoCreateFlags.NONE
);
appinfo.launch (null, null);
diff --git a/src/Widgets/VPN/VPNPage.vala b/src/Widgets/VPN/VPNPage.vala
index 23c3ae9..c71984c 100644
--- a/src/Widgets/VPN/VPNPage.vala
+++ b/src/Widgets/VPN/VPNPage.vala
@@ -86,8 +86,7 @@ namespace Network {
add_button.tooltip_text = _("Add VPN Connection…");
add_button.clicked.connect (() => {
add_button.sensitive = false;
- var command = new Granite.Services.SimpleCommand ("/usr/bin",
- "nm-connection-editor --create --type=vpn");
+ var command = new Granite.Services.SimpleCommand ("@networkmanagerapplet@", "bin/nm-connection-editor --create --type=vpn");
command.done.connect ((exit) => {
if (exit != 0) {
var dialog = new Gtk.MessageDialog (null, Gtk.DialogFlags.MODAL, Gtk.MessageType.ERROR, Gtk.ButtonsType.CLOSE, "%s", _("Failed to run Connection Editor."));

View File

@ -4,13 +4,13 @@
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "switchboard-plug-pantheon-shell"; pname = "switchboard-plug-pantheon-shell";
version = "2.8.1"; version = "2.8.2";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "elementary"; owner = "elementary";
repo = pname; repo = pname;
rev = version; rev = version;
sha256 = "1vrnzxqzl84k8gbrais4j1jyap10kvil4cr769jpr3q3bkbblwrw"; sha256 = "0l4js2gqvn8lmky5b3jjqw6mzxcv9i2gjqr1vka0z40px6vfzf0z";
}; };
passthru = { passthru = {
@ -43,23 +43,17 @@ stdenv.mkDerivation rec {
patches = [ patches = [
./backgrounds.patch # Having https://github.com/elementary/switchboard-plug-pantheon-shell/issues/166 would make this patch uneeded ./backgrounds.patch # Having https://github.com/elementary/switchboard-plug-pantheon-shell/issues/166 would make this patch uneeded
./hardcode-gsettings.patch ./hardcode-gsettings.patch
# Fixes https://github.com/elementary/switchboard-plug-pantheon-shell/issues/172
(fetchpatch {
url = "https://github.com/elementary/switchboard-plug-pantheon-shell/commit/e4f86df6a6be402db4c979a4b005573618b744d1.patch";
sha256 = "0sa8611k6sqg96mnp2plmxd30w6zq76bfwszl8ankr9kwsgyc66y";
})
]; ];
postPatch = '' postPatch = ''
substituteInPlace src/Views/Appearance.vala \ substituteInPlace src/Views/Appearance.vala \
--subst-var-by GALA_GSETTINGS_PATH ${glib.getSchemaPath gala} --subst-var-by GALA_GSETTINGS_PATH ${glib.getSchemaPath gala}
substituteInPlace src/Views/HotCorners.vala \
--subst-var-by GALA_GSETTINGS_PATH ${glib.getSchemaPath gala}
substituteInPlace src/Views/Appearance.vala \ substituteInPlace src/Views/Appearance.vala \
--subst-var-by WINGPANEL_GSETTINGS_PATH ${glib.getSchemaPath wingpanel} --subst-var-by WINGPANEL_GSETTINGS_PATH ${glib.getSchemaPath wingpanel}
''; '';
PKG_CONFIG_SWITCHBOARD_2_0_PLUGSDIR = "${placeholder "out"}/lib/switchboard";
meta = with stdenv.lib; { meta = with stdenv.lib; {
description = "Switchboard Desktop Plug"; description = "Switchboard Desktop Plug";
homepage = https://github.com/elementary/switchboard-plug-pantheon-shell; homepage = https://github.com/elementary/switchboard-plug-pantheon-shell;

View File

@ -1,5 +1,5 @@
diff --git a/src/Views/Appearance.vala b/src/Views/Appearance.vala diff --git a/src/Views/Appearance.vala b/src/Views/Appearance.vala
index 721d458..17e1c58 100644 index c8300cc..fc48a0e 100644
--- a/src/Views/Appearance.vala --- a/src/Views/Appearance.vala
+++ b/src/Views/Appearance.vala +++ b/src/Views/Appearance.vala
@@ -66,10 +66,16 @@ public class Appearance : Gtk.Grid { @@ -66,10 +66,16 @@ public class Appearance : Gtk.Grid {
@ -17,7 +17,23 @@ index 721d458..17e1c58 100644
+ SettingsSchemaSource panel_schema_source = new SettingsSchemaSource.from_directory ("@WINGPANEL_GSETTINGS_PATH@", SettingsSchemaSource.get_default (), true); + SettingsSchemaSource panel_schema_source = new SettingsSchemaSource.from_directory ("@WINGPANEL_GSETTINGS_PATH@", SettingsSchemaSource.get_default (), true);
+ SettingsSchema panel_schema = panel_schema_source.lookup (PANEL_SCHEMA, false); + SettingsSchema panel_schema = panel_schema_source.lookup (PANEL_SCHEMA, false);
+ +
+ var panel_settings = new Settings.full (panel_schema, null, null); + var panel_settings = new GLib.Settings.full (panel_schema, null, null);
panel_settings.bind (TRANSLUCENCY_KEY, translucency_switch, "active", SettingsBindFlags.DEFAULT); panel_settings.bind (TRANSLUCENCY_KEY, translucency_switch, "active", SettingsBindFlags.DEFAULT);
var interface_settings = new Settings (INTERFACE_SCHEMA); var interface_settings = new Settings (INTERFACE_SCHEMA);
diff --git a/src/Views/HotCorners.vala b/src/Views/HotCorners.vala
index 481e7c5..d102d03 100644
--- a/src/Views/HotCorners.vala
+++ b/src/Views/HotCorners.vala
@@ -30,7 +30,10 @@ public class HotCorners : Gtk.Grid {
row_spacing = 24;
halign = Gtk.Align.CENTER;
- behavior_settings = new GLib.Settings ("org.pantheon.desktop.gala.behavior");
+
+ SettingsSchemaSource gala_schema_source = new SettingsSchemaSource.from_directory ("@GALA_GSETTINGS_PATH@", SettingsSchemaSource.get_default (), true);
+ SettingsSchema behavior_schema = gala_schema_source.lookup ("org.pantheon.desktop.gala.behavior", false);
+ behavior_settings = new GLib.Settings.full (behavior_schema, null, null);
custom_command_revealer = new Gtk.Revealer ();

View File

@ -19,13 +19,13 @@
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "switchboard-plug-power"; pname = "switchboard-plug-power";
version = "2.3.5"; version = "2.4.0";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "elementary"; owner = "elementary";
repo = pname; repo = pname;
rev = version; rev = version;
sha256 = "1wcxz4jxyv8kms9gxpwvrb356h10qvcwmdjzjzl2bvj5yl1rfcs9"; sha256 = "1b25slfh8166v9z2zmb25k64pcj0lh001qh04qhfilzfcbh54krj";
}; };
passthru = { passthru = {

View File

@ -15,13 +15,13 @@
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "switchboard-plug-printers"; pname = "switchboard-plug-printers";
version = "2.1.6"; version = "2.1.7";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "elementary"; owner = "elementary";
repo = pname; repo = pname;
rev = version; rev = version;
sha256 = "05pkf3whh51gd9d0h2h4clgf7r3mvzl4ybas7834vhy19dzcbzmc"; sha256 = "03r67q6my10i4hl8d0q3d6fhqm9abs9kn9j92hk6ykqb4ybxw1z1";
}; };
passthru = { passthru = {
@ -45,16 +45,6 @@ stdenv.mkDerivation rec {
switchboard switchboard
]; ];
patches = [
# Fix build with latest vala.
(fetchpatch {
url = "https://github.com/elementary/switchboard-plug-printers/commit/3175c2ebf106145a95355d2571e0a2aa4834e884.patch";
sha256 = "1b2q48a1284037nz79vjcrz8g2qpsyg7s5rag6bfp03a1ijb7gw3";
})
];
PKG_CONFIG_SWITCHBOARD_2_0_PLUGSDIR = "${placeholder "out"}/lib/switchboard";
meta = with stdenv.lib; { meta = with stdenv.lib; {
description = "Switchboard Printers Plug"; description = "Switchboard Printers Plug";
homepage = https://github.com/elementary/switchboard-plug-printers; homepage = https://github.com/elementary/switchboard-plug-printers;

View File

@ -16,13 +16,13 @@
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "switchboard-plug-sound"; pname = "switchboard-plug-sound";
version = "2.2.1"; version = "2.2.2";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "elementary"; owner = "elementary";
repo = pname; repo = pname;
rev = version; rev = version;
sha256 = "0frml591r82j7hf1zlccgv8pzk3w10x470f9nzvdgdjpz0r776k2"; sha256 = "1aa9wgaz34glrrnilnqis3k0bnx2a2ir38j493y4d0klkjkwyn5k";
}; };
passthru = { passthru = {
@ -48,8 +48,6 @@ stdenv.mkDerivation rec {
switchboard switchboard
]; ];
PKG_CONFIG_SWITCHBOARD_2_0_PLUGSDIR = "${placeholder "out"}/lib/switchboard";
meta = with stdenv.lib; { meta = with stdenv.lib; {
description = "Switchboard Sound Plug"; description = "Switchboard Sound Plug";
homepage = https://github.com/elementary/switchboard-plug-sound; homepage = https://github.com/elementary/switchboard-plug-sound;

View File

@ -14,12 +14,13 @@
, elementary-icon-theme , elementary-icon-theme
, elementary-gtk-theme , elementary-gtk-theme
, gettext , gettext
, libhandy
, wrapGAppsHook , wrapGAppsHook
}: }:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "elementary-onboarding"; pname = "elementary-onboarding";
version = "1.0.1"; version = "1.1.0";
repoName = "onboarding"; repoName = "onboarding";
@ -27,7 +28,7 @@ stdenv.mkDerivation rec {
owner = "elementary"; owner = "elementary";
repo = repoName; repo = repoName;
rev = version; rev = version;
sha256 = "025i9av4waqwp1gn8d6sjp8qdwg2j3jskxhmyf9qxbzwfc5msysg"; sha256 = "17fw95qg7j0mvam90jrvr77hw2ipxb2lkw0xxql1lzwvdx1h0r2k";
}; };
passthru = { passthru = {
@ -48,20 +49,13 @@ stdenv.mkDerivation rec {
]; ];
buildInputs = [ buildInputs = [
elementary-gtk-theme
elementary-icon-theme elementary-icon-theme
glib
granite granite
gtk3 gtk3
elementary-gtk-theme
libgee libgee
glib libhandy
];
patches = [
# Make sure we use our logo from /etc/os-release
(fetchpatch {
url = "https://github.com/elementary/onboarding/commit/03975bacb75741d3dd391a126217e415f43c6059.patch";
sha256 = "1yw7dysav90abxnmkv86bc60dyl8nvi0sgaiz8v39cc2x00rqsg1";
})
]; ];
postPatch = '' postPatch = ''

View File

@ -17,7 +17,7 @@
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "elementary-shortcut-overlay"; pname = "elementary-shortcut-overlay";
version = "1.0.1"; version = "1.1.0";
repoName = "shortcut-overlay"; repoName = "shortcut-overlay";
@ -25,7 +25,7 @@ stdenv.mkDerivation rec {
owner = "elementary"; owner = "elementary";
repo = repoName; repo = repoName;
rev = version; rev = version;
sha256 = "1ph4rx2l5fn0zh4fjfjlgbgskmzc0lvzqgcv7v4kr5m4rij1p4y4"; sha256 = "10s44x5qln3asrdr6v5b3v92prh8rfhv96dbm73zhifm2jjm22g8";
}; };
passthru = { passthru = {

View File

@ -15,13 +15,13 @@
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "pantheon-agent-geoclue2"; pname = "pantheon-agent-geoclue2";
version = "1.0.2"; version = "1.0.3";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "elementary"; owner = "elementary";
repo = pname; repo = pname;
rev = version; rev = version;
sha256 = "1hjnbbzsch09090b200b3i85x8fv95agfqd6nrlc9za3jqjhm2xs"; sha256 = "1fhgdcykn0ykn8fp7inn2akygpglhdwfpdkpnih86kqmqj8siahv";
}; };
passthru = { passthru = {

View File

@ -7,19 +7,20 @@
, vala , vala
, gtk3 , gtk3
, libgee , libgee
, granite
, polkit , polkit
, wrapGAppsHook , wrapGAppsHook
}: }:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "pantheon-agent-polkit"; pname = "pantheon-agent-polkit";
version = "0.1.6"; version = "1.0.0";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "elementary"; owner = "elementary";
repo = pname; repo = pname;
rev = version; rev = version;
sha256 = "1g9l2jzpvv0dbvxh93w98a7ijsfqv3s3382li4s256179gihhd67"; sha256 = "1yybblprcn0cgcf9j76yckqcimm4h8l41cczxjvgp789p1pki3bn";
}; };
passthru = { passthru = {
@ -37,6 +38,7 @@ stdenv.mkDerivation rec {
]; ];
buildInputs = [ buildInputs = [
granite
gtk3 gtk3
libgee libgee
polkit polkit