Hello community, here is the log from the commit of package gnome-shell for openSUSE:Factory checked in at 2017-04-29 10:52:04 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/gnome-shell (Old) and /work/SRC/openSUSE:Factory/.gnome-shell.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "gnome-shell" Sat Apr 29 10:52:04 2017 rev:126 rq:491267 version:3.24.1 Changes: -------- --- /work/SRC/openSUSE:Factory/gnome-shell/gnome-shell.changes 2017-03-22 23:10:35.805088433 +0100 +++ /work/SRC/openSUSE:Factory/.gnome-shell.new/gnome-shell.changes 2017-04-29 10:52:07.200130976 +0200 @@ -1,0 +2,29 @@ +Wed Apr 26 02:22:44 UTC 2017 - [email protected] + +- Add gnome-shell-login-fix-session-button-can-be-clicked.patch: + Disable session selection button when it's hidden in user switch + dialog (bsc#1034827, bgo#781482). + +------------------------------------------------------------------- +Tue Apr 25 02:52:28 UTC 2017 - [email protected] + +- rebase gnome-shell-gdm-login-applet.patch. + +------------------------------------------------------------------- +Sat Apr 15 21:50:44 UTC 2017 - [email protected] + +- Update to version 3.24.1: + + Close Wifi selection dialog on lock (bgo#780054). + + Fix DND over window previews in overview (bgo#737166). + + Do not lock the screen when disabled by lockdown settings + (bgo#780212). + + Follow GNOME Weather's location permissions (bgo#780252). + + Fix portals that require a new window to be loaded + (bgo#759044). + + Fix restricting menus to screen height on HiDPI displays + (bgo#753305). + + Misc. bug fixes and cleanups: bgo#780063, bgo#780321, + bgo#780381, bgo#780453, bgo#758873, bgo#780606, bgo#642652. + + Updated translations. + +------------------------------------------------------------------- Old: ---- gnome-shell-3.24.0.tar.xz New: ---- gnome-shell-3.24.1.tar.xz gnome-shell-login-fix-session-button-can-be-clicked.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ gnome-shell.spec ++++++ --- /var/tmp/diff_new_pack.5YeZd2/_old 2017-04-29 10:52:08.203989161 +0200 +++ /var/tmp/diff_new_pack.5YeZd2/_new 2017-04-29 10:52:08.207988596 +0200 @@ -19,7 +19,7 @@ %global __requires_exclude typelib\\(Meta\\) Name: gnome-shell -Version: 3.24.0 +Version: 3.24.1 Release: 0 Summary: GNOME Shell License: GPL-2.0+ @@ -56,6 +56,9 @@ Patch11: gs-fate318433-prevent-same-account-multi-logins.patch # PATCH-FEATURE-SLE gnome-shell-sle-theme.patch [email protected] -- Use sle theme avatar Patch12: gnome-shell-sle-theme.patch +# PATCH-FIX-UPSTREAM gnome-shell-login-fix-session-button-can-be-clicked.patch bsc#1034827 bgo#781482 [email protected] -- Disable session selection button function when it does not display. +Patch13: gnome-shell-login-fix-session-button-can-be-clicked.patch +## NOTE: Keep SLE Classic pathes at bottom. ## NOTE: Keep SLE Classic pathes at bottom. # PATCH-FEATURE-SLE gs-sle-classic-ext.patch bnc#862615 [email protected] -- add SLE Classic support Patch1000: gs-sle-classic-ext.patch @@ -202,6 +205,7 @@ %patch12 -p1 %endif %endif +%patch13 -p1 %if !0%{?is_opensuse} %patch1000 -p1 translation-update-upstream ++++++ gnome-shell-3.24.0.tar.xz -> gnome-shell-3.24.1.tar.xz ++++++ ++++ 24955 lines of diff (skipped) ++++++ gnome-shell-gdm-login-applet.patch ++++++ --- /var/tmp/diff_new_pack.5YeZd2/_old 2017-04-29 10:52:09.199848476 +0200 +++ /var/tmp/diff_new_pack.5YeZd2/_new 2017-04-29 10:52:09.199848476 +0200 @@ -1,14 +1,21 @@ ---- - js/ui/aboutMenu.js | 72 +++++++++++++++++++++++++++++++++++++++++++++++++++ - js/ui/panel.js | 1 - js/ui/sessionMode.js | 2 - - 3 files changed, 74 insertions(+), 1 deletion(-) - -Index: gnome-shell-3.20.4/js/ui/aboutMenu.js -=================================================================== +diff --git a/js/js-resources.gresource.xml b/js/js-resources.gresource.xml +index a1a4196..fa01cee 100644 +--- a/js/js-resources.gresource.xml ++++ b/js/js-resources.gresource.xml +@@ -33,6 +33,7 @@ + + <file>portalHelper/main.js</file> + ++ <file>ui/aboutMenu.js</file> + <file>ui/accessDialog.js</file> + <file>ui/altTab.js</file> + <file>ui/animation.js</file> +diff --git a/js/ui/aboutMenu.js b/js/ui/aboutMenu.js +new file mode 100644 +index 0000000..46c5de1 --- /dev/null -+++ gnome-shell-3.20.4/js/ui/aboutMenu.js -@@ -0,0 +1,115 @@ ++++ b/js/ui/aboutMenu.js +@@ -0,0 +1,150 @@ +// -*- mode: js; js-indent-level: 4; indent-tabs-mode: nil -*- + +const GLib = imports.gi.GLib; @@ -16,6 +23,7 @@ +const Lang = imports.lang; +const Clutter = imports.gi.Clutter; +const St = imports.gi.St; ++const DBus = imports.gi.DBus; + +const PanelMenu = imports.ui.panelMenu; + @@ -89,14 +97,7 @@ + }, + + _updateHostname: function(){ -+ let command = 'hostname'; -+ let hostname_text; -+ try { -+ let [res, stdout, stderr, status] = GLib.spawn_command_line_sync(command); -+ hostname_text = String.fromCharCode.apply(null, stdout); -+ } catch (e) { -+ hostname_text = 'localhost'; -+ } ++ let hostname_text = get_hostname(); + + if ((this._hostname == null) || (this._hostname != hostname_text)) { + this._ticket = 1; @@ -124,11 +125,52 @@ + }, + +}); -Index: gnome-shell-3.20.4/js/ui/panel.js -=================================================================== ---- gnome-shell-3.20.4.orig/js/ui/panel.js -+++ gnome-shell-3.20.4/js/ui/panel.js -@@ -755,6 +755,7 @@ const AggregateMenu = new Lang.Class({ ++ ++function get_hostname() { ++ let hostname; ++ let interface_name = [GLib.Variant.new_string('org.freedesktop.hostname1'), ++ GLib.Variant.new_string('Hostname')]; ++ ++ let call = { ++ bus_name: 'org.freedesktop.hostname1', ++ object_path: '/org/freedesktop/hostname1', ++ interface_name: 'org.freedesktop.DBus.Properties', ++ method_name: 'Get', ++ parameters: GLib.Variant.new_tuple(interface_name, 2), ++ reply_type: null, ++ flags: Gio.DBusCallFlags.NONE, ++ timeout_msec: -1, ++ cancellable: null, ++ }; ++ ++ try { ++ let dbusConnection = Gio.bus_get_sync(DBus.BusType.SYSTEM, null); ++ ++ let message = dbusConnection.call_sync( ++ call.bus_name, ++ call.object_path, ++ call.interface_name, ++ call.method_name, ++ call.parameters, ++ call.reply_type, ++ call.flags, ++ call.timeout_msec, ++ call.cancellable ++ ); ++ ++ hostname = message.get_child_value(0).get_variant().get_string()[0]; ++ ++ } catch(e) { ++ hostname = 'localhost'; ++ } ++ ++ return hostname; ++} +diff --git a/js/ui/panel.js b/js/ui/panel.js +index fe3fc39..8b7c780 100644 +--- a/js/ui/panel.js ++++ b/js/ui/panel.js +@@ -758,6 +758,7 @@ const AggregateMenu = new Lang.Class({ }); const PANEL_ITEM_IMPLEMENTATIONS = { @@ -136,29 +178,16 @@ 'activities': ActivitiesButton, 'aggregateMenu': AggregateMenu, 'appMenu': AppMenuButton, -Index: gnome-shell-3.20.4/js/ui/sessionMode.js -=================================================================== ---- gnome-shell-3.20.4.orig/js/ui/sessionMode.js -+++ gnome-shell-3.20.4/js/ui/sessionMode.js +diff --git a/js/ui/sessionMode.js b/js/ui/sessionMode.js +index ae08d08..99465d4 100644 +--- a/js/ui/sessionMode.js ++++ b/js/ui/sessionMode.js @@ -48,7 +48,7 @@ const _modes = { unlockDialog: imports.gdm.loginDialog.LoginDialog, components: ['polkitAgent'], panel: { - left: [], -+ left: ['aboutMenu'], ++ left: ['aboutMenu'] center: ['dateMenu'], right: ['a11yGreeter', 'keyboard', 'aggregateMenu'], }, -Index: gnome-shell-3.20.4/js/js-resources.gresource.xml -=================================================================== ---- gnome-shell-3.20.4.orig/js/js-resources.gresource.xml -+++ gnome-shell-3.20.4/js/js-resources.gresource.xml -@@ -25,7 +25,7 @@ - <file>misc/params.js</file> - <file>misc/smartcardManager.js</file> - <file>misc/util.js</file> -- -+ <file>ui/aboutMenu.js</file> - <file>perf/core.js</file> - <file>perf/hwtest.js</file> - ++++++ gnome-shell-login-fix-session-button-can-be-clicked.patch ++++++ >From debe4b096445e25cfc098564d6ff22e32dba5324 Mon Sep 17 00:00:00 2001 From: Xiaoguang Wang <[email protected]> Date: Wed, 19 Apr 2017 13:29:59 +0800 Subject: [PATCH] loginDialog: Fix session button can be clicked When session menu button is hidden, button can be clicked and show popup menu. https://bugzilla.gnome.org/show_bug.cgi?id=781482 --- js/gdm/loginDialog.js | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/js/gdm/loginDialog.js b/js/gdm/loginDialog.js index 0b6c0b50a..a43544742 100644 --- a/js/gdm/loginDialog.js +++ b/js/gdm/loginDialog.js @@ -775,10 +775,12 @@ const LoginDialog = new Lang.Class({ }, _onPrompted: function() { - this._sessionMenuButton.updateSensitivity(true); + this._sessionMenuButton.updateSensitivity(false); - if (this._shouldShowSessionMenuButton()) + if (this._shouldShowSessionMenuButton()) { + this._sessionMenuButton.updateSensitivity(true); this._authPrompt.setActorInDefaultButtonWell(this._sessionMenuButton.actor); + } this._showPrompt(); }, @@ -881,6 +883,7 @@ const LoginDialog = new Lang.Class({ })); this._updateCancelButton(); + this._sessionMenuButton.updateSensitivity(false); this._authPrompt.updateSensitivity(true); this._showPrompt(); }, -- 2.12.0
