git-fixes.patch 5.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125
  1. diff --git a/data/theme/gnome-shell.css b/data/theme/gnome-shell.css
  2. index 775b687..f4ea781 100644
  3. --- a/data/theme/gnome-shell.css
  4. +++ b/data/theme/gnome-shell.css
  5. @@ -2312,6 +2312,7 @@ StScrollBar StButton#vhandle:active {
  6. font-weight: bold;
  7. color: #666666;
  8. padding-top: 1em;
  9. + padding-left: 2px;
  10. }
  11. .login-dialog-not-listed-button:focus .login-dialog-not-listed-label,
  12. diff --git a/js/gdm/util.js b/js/gdm/util.js
  13. index 6075e66..cae3e1b 100644
  14. --- a/js/gdm/util.js
  15. +++ b/js/gdm/util.js
  16. @@ -164,6 +164,7 @@ const ShellUserVerifier = new Lang.Class({
  17. answerQuery: function(serviceName, answer) {
  18. if (!this._userVerifier.hasPendingMessages) {
  19. + this._clearMessageQueue();
  20. this._userVerifier.call_answer_query(serviceName, answer, this._cancellable, null);
  21. } else {
  22. let signalId = this._userVerifier.connect('no-more-messages',
  23. diff --git a/js/ui/components/telepathyClient.js b/js/ui/components/telepathyClient.js
  24. index b07ea95..72bc010 100644
  25. --- a/js/ui/components/telepathyClient.js
  26. +++ b/js/ui/components/telepathyClient.js
  27. @@ -18,7 +18,7 @@ const Params = imports.misc.params;
  28. const PopupMenu = imports.ui.popupMenu;
  29. // See Notification.appendMessage
  30. -const SCROLLBACK_IMMEDIATE_TIME = 60; // 1 minute
  31. +const SCROLLBACK_IMMEDIATE_TIME = 3 * 60; // 3 minutes
  32. const SCROLLBACK_RECENT_TIME = 15 * 60; // 15 minutes
  33. const SCROLLBACK_RECENT_LENGTH = 20;
  34. const SCROLLBACK_IDLE_LENGTH = 5;
  35. @@ -967,7 +967,8 @@ const ChatNotification = new Lang.Class({
  36. let timeLabel = this._append({ body: this._formatTimestamp(lastMessageDate),
  37. group: 'meta',
  38. styles: ['chat-meta-message'],
  39. - childProps: { expand: true, x_fill: false },
  40. + childProps: { expand: true, x_fill: false,
  41. + x_align: St.Align.END },
  42. noTimestamp: true,
  43. timestamp: lastMessageTime });
  44. diff --git a/js/ui/endSessionDialog.js b/js/ui/endSessionDialog.js
  45. index d322581..ed61bf7 100644
  46. --- a/js/ui/endSessionDialog.js
  47. +++ b/js/ui/endSessionDialog.js
  48. @@ -420,6 +420,7 @@ const EndSessionDialog = new Lang.Class({
  49. _startTimer: function() {
  50. let startTime = GLib.get_monotonic_time();
  51. this._secondsLeft = this._totalSecondsToStayOpen;
  52. + this._updateDescription();
  53. this._timerId = Mainloop.timeout_add_seconds(1, Lang.bind(this,
  54. function() {
  55. diff --git a/js/ui/layout.js b/js/ui/layout.js
  56. index 0bb887e..e25b3bd 100644
  57. --- a/js/ui/layout.js
  58. +++ b/js/ui/layout.js
  59. @@ -728,6 +728,8 @@ const LayoutManager = new Lang.Class({
  60. // and shown otherwise)
  61. addChrome: function(actor, params) {
  62. this.uiGroup.add_actor(actor);
  63. + if (this.uiGroup.contains(global.top_window_group))
  64. + this.uiGroup.set_child_below_sibling(actor, global.top_window_group);
  65. this._trackActor(actor, params);
  66. },
  67. diff --git a/js/ui/osdWindow.js b/js/ui/osdWindow.js
  68. index 7e7b536..7fa052e 100644
  69. --- a/js/ui/osdWindow.js
  70. +++ b/js/ui/osdWindow.js
  71. @@ -167,14 +167,17 @@ const OsdWindow = new Lang.Class({
  72. { opacity: 0,
  73. time: FADE_TIME,
  74. transition: 'easeOutQuad',
  75. - onComplete: Lang.bind(this, this._reset) });
  76. + onComplete: Lang.bind(this, function() {
  77. + this._reset();
  78. + Meta.enable_unredirect_for_screen(global.screen);
  79. + })
  80. + });
  81. },
  82. _reset: function() {
  83. this.actor.hide();
  84. this.setLabel(null);
  85. this.setLevel(null);
  86. - Meta.enable_unredirect_for_screen(global.screen);
  87. },
  88. _monitorsChanged: function() {
  89. diff --git a/js/ui/screenShield.js b/js/ui/screenShield.js
  90. index fe9cd31..4264f01 100644
  91. --- a/js/ui/screenShield.js
  92. +++ b/js/ui/screenShield.js
  93. @@ -709,6 +709,8 @@ const ScreenShield = new Lang.Class({
  94. },
  95. _onDragEnd: function(action, actor, eventX, eventY, modifiers) {
  96. + if (this._lockScreenState != MessageTray.State.HIDING)
  97. + return;
  98. if (this._lockScreenGroup.y < -(ARROW_DRAG_THRESHOLD * global.stage.height)) {
  99. // Complete motion automatically
  100. let [velocity, velocityX, velocityY] = this._dragAction.get_velocity(0);
  101. diff --git a/src/st/st-widget.c b/src/st/st-widget.c
  102. index 42992ec..4875acc 100644
  103. --- a/src/st/st-widget.c
  104. +++ b/src/st/st-widget.c
  105. @@ -608,8 +608,9 @@ st_widget_get_theme_node (StWidget *widget)
  106. if (stage == NULL)
  107. {
  108. - g_error ("st_widget_get_theme_node called on the widget %s which is not in the stage.",
  109. - st_describe_actor (CLUTTER_ACTOR (widget)));
  110. + g_critical ("st_widget_get_theme_node called on the widget %s which is not in the stage.",
  111. + st_describe_actor (CLUTTER_ACTOR (widget)));
  112. + return g_object_new (ST_TYPE_THEME_NODE, NULL);
  113. }
  114. if (parent_node == NULL)