Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package gnome-shell-extensions for 
openSUSE:Factory checked in at 2021-04-14 10:09:31
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/gnome-shell-extensions (Old)
 and      /work/SRC/openSUSE:Factory/.gnome-shell-extensions.new.2401 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "gnome-shell-extensions"

Wed Apr 14 10:09:31 2021 rev:107 rq:884650 version:40.0

Changes:
--------
--- 
/work/SRC/openSUSE:Factory/gnome-shell-extensions/gnome-shell-extensions.changes
    2021-04-12 12:38:15.685431825 +0200
+++ 
/work/SRC/openSUSE:Factory/.gnome-shell-extensions.new.2401/gnome-shell-extensions.changes
  2021-04-14 10:09:34.733351833 +0200
@@ -1,0 +2,7 @@
+Tue Apr  6 02:20:47 UTC 2021 - Xiaoguang Wang <xiaoguang.w...@suse.com>
+
+- Adapt sle-classic to version 40.0
+  + Update gse-sle-classic-ext.patch
+  + Update sle-clas...@suse.com.tar.gz
+
+-------------------------------------------------------------------

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ gse-sle-classic-ext.patch ++++++
--- /var/tmp/diff_new_pack.Plouxo/_old  2021-04-14 10:09:35.329352840 +0200
+++ /var/tmp/diff_new_pack.Plouxo/_new  2021-04-14 10:09:35.329352840 +0200
@@ -1,7 +1,7 @@
-Index: gnome-shell-extensions-3.35.92/extensions/window-list/extension.js
+Index: gnome-shell-extensions-40.0/extensions/window-list/extension.js
 ===================================================================
---- gnome-shell-extensions-3.35.92.orig/extensions/window-list/extension.js
-+++ gnome-shell-extensions-3.35.92/extensions/window-list/extension.js
+--- gnome-shell-extensions-40.0.orig/extensions/window-list/extension.js
++++ gnome-shell-extensions-40.0/extensions/window-list/extension.js
 @@ -23,6 +23,9 @@ const GroupingMode = {
      ALWAYS: 2,
  };
@@ -30,7 +30,7 @@
  
          let layout = new Clutter.BoxLayout({ homogeneous: true });
          this._windowList = new St.Widget({
-@@ -833,7 +838,8 @@ class WindowList extends St.Widget {
+@@ -832,7 +837,8 @@ class WindowList extends St.Widget {
          let workspacesOnMonitor = this._monitor === 
Main.layoutManager.primaryMonitor ||
                                    
!this._mutterSettings.get_boolean('workspaces-only-on-primary');
  
@@ -40,7 +40,7 @@
      }
  
      _updateWindowListVisibility() {
-@@ -869,6 +875,9 @@ class WindowList extends St.Widget {
+@@ -868,6 +874,9 @@ class WindowList extends St.Widget {
      }
  
      _getMaxWindowListWidth() {
@@ -50,7 +50,7 @@
          let indicatorsBox = this._workspaceIndicator.get_parent();
          return this.width - indicatorsBox.get_preferred_width(-1)[1];
      }
-@@ -1078,7 +1087,8 @@ class WindowList extends St.Widget {
+@@ -1068,7 +1077,8 @@ class WindowList extends St.Widget {
          
this._mutterSettings.disconnect(this._workspacesOnlyOnPrimaryChangedId);
          this._mutterSettings.disconnect(this._dynamicWorkspacesChangedId);
  
@@ -60,7 +60,7 @@
  
          Main.ctrlAltTabManager.removeGroup(this);
  
-@@ -1118,6 +1128,7 @@ class Extension {
+@@ -1107,6 +1117,7 @@ class Extension {
      constructor() {
          this._windowLists = null;
          this._hideOverviewOrig = Main.overview.hide;
@@ -68,7 +68,7 @@
      }
  
      enable() {
-@@ -1137,19 +1148,47 @@ class Extension {
+@@ -1126,19 +1137,47 @@ class Extension {
              this._hideOverviewOrig.call(Main.overview);
          };
  
@@ -120,7 +120,7 @@
      }
  
      disable() {
-@@ -1163,6 +1202,11 @@ class Extension {
+@@ -1152,6 +1191,11 @@ class Extension {
          this._monitorsChangedId = 0;
  
          this._windowLists.forEach(windowList => {
@@ -132,7 +132,7 @@
              windowList.hide();
              windowList.destroy();
          });
-@@ -1171,6 +1215,11 @@ class Extension {
+@@ -1160,6 +1204,11 @@ class Extension {
          Main.windowPicker.destroy();
          delete Main.windowPicker;
  
@@ -144,10 +144,10 @@
          Main.overview.hide = this._hideOverviewOrig;
      }
  
-Index: gnome-shell-extensions-3.35.92/extensions/window-list/sle-classic.css
+Index: gnome-shell-extensions-40.0/extensions/window-list/sle-classic.css
 ===================================================================
 --- /dev/null
-+++ gnome-shell-extensions-3.35.92/extensions/window-list/sle-classic.css
++++ gnome-shell-extensions-40.0/extensions/window-list/sle-classic.css
 @@ -0,0 +1,46 @@
 +@import url("stylesheet.css");
 +
@@ -195,11 +195,11 @@
 +    color: #888;
 +    box-shadow: inset -1px -1px 1px rgba(0,0,0,0.5);
 +  }
-Index: gnome-shell-extensions-3.35.92/extensions/places-menu/extension.js
+Index: gnome-shell-extensions-40.0/extensions/places-menu/extension.js
 ===================================================================
---- gnome-shell-extensions-3.35.92.orig/extensions/places-menu/extension.js
-+++ gnome-shell-extensions-3.35.92/extensions/places-menu/extension.js
-@@ -133,13 +133,21 @@ function init() {
+--- gnome-shell-extensions-40.0.orig/extensions/places-menu/extension.js
++++ gnome-shell-extensions-40.0/extensions/places-menu/extension.js
+@@ -139,13 +139,21 @@ function init() {
  
  let _indicator;
  
@@ -222,10 +222,10 @@
  }
  
  function disable() {
-Index: gnome-shell-extensions-3.35.92/extensions/apps-menu/extension.js
+Index: gnome-shell-extensions-40.0/extensions/apps-menu/extension.js
 ===================================================================
---- gnome-shell-extensions-3.35.92.orig/extensions/apps-menu/extension.js
-+++ gnome-shell-extensions-3.35.92/extensions/apps-menu/extension.js
+--- gnome-shell-extensions-40.0.orig/extensions/apps-menu/extension.js
++++ gnome-shell-extensions-40.0/extensions/apps-menu/extension.js
 @@ -27,6 +27,10 @@ const NAVIGATION_REGION_OVERSHOOT = 50;
  Gio._promisify(Gio._LocalFilePrototype, 'query_info_async', 
'query_info_finish');
  Gio._promisify(Gio._LocalFilePrototype, 'set_attributes_async', 
'set_attributes_finish');
@@ -237,7 +237,7 @@
  var ApplicationMenuItem = GObject.registerClass(
  class ApplicationMenuItem extends PopupMenu.PopupBaseMenuItem {
      _init(button, app) {
-@@ -710,8 +714,6 @@ class ApplicationsButton extends PanelMe
+@@ -707,8 +711,6 @@ class ApplicationsButton extends PanelMe
          this.applicationsByCategory = {};
          this._tree.load_sync();
          let root = this._tree.get_root_directory();
@@ -246,7 +246,7 @@
          let iter = root.iter();
          let nextType;
          while ((nextType = iter.next()) !== GMenu.TreeItemType.INVALID) {
-@@ -726,11 +728,15 @@ class ApplicationsButton extends PanelMe
+@@ -723,11 +725,15 @@ class ApplicationsButton extends PanelMe
              this.applicationsByCategory[categoryId] = [];
              this._loadCategory(categoryId, dir);
              if (this.applicationsByCategory[categoryId].length > 0) {
@@ -264,7 +264,7 @@
          // Load applications
          this._displayButtons(this._listApplications(null));
  
-@@ -793,7 +799,10 @@ let appsMenuButton;
+@@ -790,7 +796,10 @@ let appsMenuButton;
  function enable() {
      appsMenuButton = new ApplicationsButton();
      let index = Main.sessionMode.panel.left.indexOf('activities') + 1;
@@ -276,26 +276,53 @@
  }
  
  function disable() {
-Index: gnome-shell-extensions-3.35.92/data/gnome-classic.scss
+Index: gnome-shell-extensions-40.0/data/gnome-classic.css
 ===================================================================
---- gnome-shell-extensions-3.35.92.orig/data/gnome-classic.scss
-+++ gnome-shell-extensions-3.35.92/data/gnome-classic.scss
-@@ -63,9 +63,9 @@ $variant: 'light';
-   &.lock-screen,
-   &.unlock-screen, 
-   &.login-screen { 
--    background-color: transparentize($bg_color, 0.5);
--    background-gradient-start: transparentize($bg_color, 0.5);
--    background-gradient-end: transparentize($bg_color, 0.5);
+--- gnome-shell-extensions-40.0.orig/data/gnome-classic.css
++++ gnome-shell-extensions-40.0/data/gnome-classic.css
+@@ -2257,9 +2257,9 @@ StScrollBar {
+   #panel.solid .panel-corner:focus {
+     -panel-corner-radius: 0; }
+   #panel.lock-screen, #panel.unlock-screen, #panel.login-screen, 
#panel.solid.lock-screen, #panel.solid.unlock-screen, #panel.solid.login-screen 
{
+-    background-color: rgba(246, 245, 244, 0.5);
+-    background-gradient-start: rgba(246, 245, 244, 0.5);
+-    background-gradient-end: rgba(246, 245, 244, 0.5);
 +    background-color: transparent;
 +    background-gradient-direction: none;
 +    background-gradient-end: none;
-     border-bottom: none;
-     .panel-button { color: $osd_fg_color; }
-   }
-@@ -94,3 +94,5 @@ $variant: 'light';
-   background-image: url("calendar-today.svg");
- }
+     border-bottom: none; }
+     #panel.lock-screen .panel-button, #panel.unlock-screen .panel-button, 
#panel.login-screen .panel-button, #panel.solid.lock-screen .panel-button, 
#panel.solid.unlock-screen .panel-button, #panel.solid.login-screen 
.panel-button {
+       color: #eeeeec; }
+@@ -2286,3 +2286,6 @@ StScrollBar {
  
+ .calendar-day-with-events {
+   background-image: url("calendar-today.svg"); }
++
 +.popup-menu.panel-menu {
 +    margin-bottom: 0em; }
+Index: gnome-shell-extensions-40.0/extensions/workspace-indicator/extension.js
+===================================================================
+--- 
gnome-shell-extensions-40.0.orig/extensions/workspace-indicator/extension.js
++++ gnome-shell-extensions-40.0/extensions/workspace-indicator/extension.js
+@@ -322,7 +322,8 @@ class WorkspaceIndicator extends PanelMe
+     _updateThumbnailVisibility() {
+         const { workspaceManager } = global;
+         const vertical = workspaceManager.layout_rows === -1;
+-        const useMenu =
++        let isSLEClassicMode = Main.sessionMode.currentMode == "sle-classic" 
? true : false;
++        const useMenu = isSLEClassicMode ? true :
+             vertical || workspaceManager.n_workspaces > MAX_THUMBNAILS;
+         this.reactive = useMenu;
+ 
+Index: 
gnome-shell-extensions-40.0/extensions/workspace-indicator/stylesheet.css
+===================================================================
+--- 
gnome-shell-extensions-40.0.orig/extensions/workspace-indicator/stylesheet.css
++++ gnome-shell-extensions-40.0/extensions/workspace-indicator/stylesheet.css
+@@ -1,5 +1,7 @@
+ .panel-workspace-indicator {
+   padding: 0 8px;
++  background-color: rgba(200, 200, 200, .5);
++  border: 1px solid #cccccc;
+ }
+ 
+ .panel-workspace-indicator-box {

++++++ sle-clas...@suse.com.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/sle-clas...@suse.com/extension.js 
new/sle-clas...@suse.com/extension.js
--- old/sle-clas...@suse.com/extension.js       2020-03-04 05:49:53.005680038 
+0100
+++ new/sle-clas...@suse.com/extension.js       2021-03-31 11:04:20.578939001 
+0200
@@ -88,29 +88,29 @@
         if ( ! isTextDirRTL ) {
             maskBox.x1 = 0;
             maskBox.x2 = maskBox.x1 + leftWidth;
-            this._leftBox.allocate(maskBox, flags);
+            this._leftBox.allocate(maskBox);
 
             maskBox.x1 = maskBox.x2;
             maskBox.x2 = maskBox.x1 + centerWidth;
-            this._centerBox.allocate(maskBox, flags);
+            this._centerBox.allocate(maskBox);
 
             maskBox.x1 = maskBox.x2;
             maskBox.x2 = maskBox.x1 + rightWidth;
-            this._rightBox.allocate(maskBox, flags);
+            this._rightBox.allocate(maskBox);
         }
         // Right to Left: essentially right box left box are swapped
         else {
             maskBox.x2 = allocWidth;
             maskBox.x1 = maskBox.x2 - leftWidth;
-            this._leftBox.allocate(maskBox, flags);
+            this._leftBox.allocate(maskBox);
 
             maskBox.x2 = maskBox.x1;
             maskBox.x1 = maskBox.x2 - centerWidth;
-            this._centerBox.allocate(maskBox, flags);
+            this._centerBox.allocate(maskBox);
 
             maskBox.x2 = maskBox.x1;
             maskBox.x1 = maskBox.x2 - rightWidth;
-            this._rightBox.allocate(maskBox, flags);
+            this._rightBox.allocate(maskBox);
         }
     }
 
@@ -129,7 +129,7 @@
     childBox.x2 = cornerWidth;
     childBox.y1 = allocHeight;
     childBox.y2 = allocHeight + cornerHeight;
-    this._leftCorner.allocate(childBox, flags);
+    this._leftCorner.allocate(childBox);
 
     [cornerMinWidth, cornerWidth] = this._rightCorner.get_preferred_width(-1);
     [cornerMinHeight, cornerHeight] = 
this._rightCorner.get_preferred_height(-1);
@@ -137,7 +137,7 @@
     childBox.x2 = allocWidth;
     childBox.y1 = allocHeight;
     childBox.y2 = allocHeight + cornerHeight;
-    this._rightCorner.allocate(childBox, flags);
+    this._rightCorner.allocate(childBox);
 }
 
 // layout.js: Replace the origin "box.set_position" call
@@ -163,27 +163,11 @@
 }
 
 //bsc#1064378
-function _updateWorkspacesGeometryNew() {
-    let [x, y] = this.get_transformed_position();
-    let [width, height] = this.get_transformed_size();
-    let geometry = { x: x, y: y, width: width, height: height };
-
-    let spacing = this.get_theme_node().get_length('spacing');
-    let dashWidth = this._dashSlider.getVisibleWidth() + spacing;
-    let thumbnailsWidth = this._thumbnailsSlider.getNonExpandedWidth() + 
spacing;
-
-    geometry.width -= dashWidth;
-    geometry.width -= thumbnailsWidth;
-
-    //decrease bottom panel height
-    geometry.height -= Main.layoutManager.panelBox.height;
-
-    if (this.get_text_direction() == Clutter.TextDirection.LTR)
-        geometry.x += dashWidth;
-    else
-        geometry.x += thumbnailsWidth;
-
-    this.viewSelector.setWorkspacesFullGeometry(geometry);
+function _vfunc_allocateNew(container, box) {
+    const childBox = new Clutter.ActorBox();
+    const [width, height] = box.get_size();
+    childBox.set_size(width, height - Main.layoutManager.panelBox.height);
+    Main.overview._overview._controls.layout_manager.vfunc_allocate(container, 
childBox);
 }
 
 //bsc#1064378
@@ -291,7 +275,7 @@
 let _updateBoxesOrigin;
 let computeScaleAndSpaceOrigin;
 let computeWindowSlotsOrigin;
-let layoutAllocationChangedId;
+let layoutVfuncAllocate;
 let heightChangeId;
 let _origVfuncAllocate;
 
@@ -319,8 +303,8 @@
     Main.layoutManager._updateBoxes = _updateBoxesNew;
 
     //bsc#1064378
-    let layout = Main.overview._overview._controls.layout_manager;
-    layoutAllocationChangedId = layout.connect('allocation-changed', 
_updateWorkspacesGeometryNew.bind(Main.overview._overview._controls));
+    layoutVfuncAllocate = 
Main.overview._overview._controls.layout_manager.__proto__.vfunc_allocate;
+    
Main.overview._overview._controls.layout_manager.__proto__[Gi.hook_up_vfunc_symbol]('allocate',
 _vfunc_allocateNew);
 
     //bsc#1064378
     Workspace.LayoutStrategy.prototype.computeScaleAndSpace = 
computeScaleAndSpaceNew;
@@ -348,9 +332,7 @@
     Main.layoutManager._updateBoxes = _updateBoxesOrigin;
 
     //bsc#1064378
-    let layout = Main.overview._overview._controls.layout_manager;
-    if (layoutAllocationChangedId)
-        layout.disconnect(layoutAllocationChangedId);
+    
Main.overview._overview._controls.layout_manager.__proto__[Gi.hook_up_vfunc_symbol]('allocate',
 layoutVfuncAllocate);
 
     //bsc#1064378
     Workspace.LayoutStrategy.prototype.computeScaleAndSpace = 
computeScaleAndSpaceOrigin;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/sle-clas...@suse.com/metadata.json 
new/sle-clas...@suse.com/metadata.json
--- old/sle-clas...@suse.com/metadata.json      2020-03-04 05:49:53.005680038 
+0100
+++ new/sle-clas...@suse.com/metadata.json      2021-03-31 11:04:31.422983394 
+0200
@@ -4,7 +4,7 @@
     "gettext-domain": "gnome-shell-extensions",
     "name": "SLE Classic",
     "description": "SLE Classic theme",
-    "shell-version": [ "3.26" ],
+    "shell-version": [ "40" ],
     "original-authors": [ "xw...@suse.com" ],
     "url": ""
 }

Reply via email to