Hello community,

here is the log from the commit of package mate-control-center for 
openSUSE:Factory checked in at 2019-05-16 22:03:51
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/mate-control-center (Old)
 and      /work/SRC/openSUSE:Factory/.mate-control-center.new.5148 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "mate-control-center"

Thu May 16 22:03:51 2019 rev:23 rq:682562 version:1.22.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/mate-control-center/mate-control-center.changes  
2019-02-28 21:43:18.213527659 +0100
+++ 
/work/SRC/openSUSE:Factory/.mate-control-center.new.5148/mate-control-center.changes
        2019-05-16 22:03:53.762631079 +0200
@@ -1,0 +2,54 @@
+Tue Mar  5 15:19:33 UTC 2019 - [email protected]
+
+- Update to version 1.22.0:
+  * Depend on mate-desktop 1.21.2+ due to new the gschema key.
+  * Bump required version of mate-menus.
+  * Require mate-settings-daemon 1.21.2+.
+  * Use new mate-menus api.
+  * appearance: Add buttons-have-icons switch.
+  * mouse: Add middle button emulation switch.
+  * Avoid deprecated GtkStock.
+  * Remove useless parameter in mate_theme_install_real.
+  * theme-installer.c: Add tips when reinstall a existed theme.
+  * Mouse: Include a toggle to enable or disable middlemouse paste.
+  * capplets/keybindings: Avoid deprecated gdk_keymap_get_default.
+  * display-capplet.ui: Replace deprecations.
+  * libslab: Code clean up.
+  * wm-common: Replace deprecated gdk_error_trap functions.
+  * libslab: Replace deprecated gtk_menu_popup.
+  * msd-input-helper: Replace deprecated gdk_error_trap functions.
+  * mouse: Replace deprecated gdk_error_trap functions.
+  * keybindings: Add a key binding to toggle the microphone's mute
+    status.
+  * keybindings: Add some key bindings to control volume quietly.
+  * Account for nullptr error when we see G_IO_STATUS_EOF.
+  * typing-break: Replace deprecated gdk_error_trap functions.
+  * mate-keybinding-properties: Avoid deprecated
+    "gtk_widget_ensure_style".
+  * Add search option for mate-font-viewer.
+  * Load avatar-default as default image.
+  * A fix for accounts service support.
+  * keybindings: Add a key binding to launch settings.
+  * Add UI to control
+    org.mate.accessibility-keyboard.stickykeys-latch-to-lock.
+  * Use fixed size to show user icon.
+  * Add new api for EImageChooser.
+  * get/set user face icon use accounts service.
+  * eggcellrendererkeys: Avoid deprecated gtk_widget_modify_bg/fg.
+  * Update MCC help.
+  * default-applications: Use more common icon names for Office
+    documents.
+  * mate-display-properties: Migrate from dbus-glib to GDBus.
+  * Fix the runtime warning about gtk_widget_destroy.
+  * Fixed number of cols error after reload menus.
+  * Fixed crash when install/remove application.
+  * capplets/mouse: .svg files instead .png in doubleclick artwork.
+  * capplets/mouse: New doubleclick artwork with mate logo.
+  * default-applications: Fix assertion failture on
+    g_icon_to_string.
+  * default-applications: Add a widget for a default calculator
+    application.
+  * Update translations.
+- Rebase mate-control-center-gtk-3.20.patch.
+
+-------------------------------------------------------------------

Old:
----
  mate-control-center-1.20.4.tar.xz

New:
----
  mate-control-center-1.22.0.tar.xz

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

Other differences:
------------------
++++++ mate-control-center.spec ++++++
--- /var/tmp/diff_new_pack.9YN8QL/_old  2019-05-16 22:03:54.258630614 +0200
+++ /var/tmp/diff_new_pack.9YN8QL/_new  2019-05-16 22:03:54.262630610 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package mate-control-center
 #
-# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -20,14 +20,14 @@
 %define sover   1
 %define soname_slab libmate-slab
 %define sover_slab 0
-%define _version 1.20
+%define _version 1.22
 Name:           mate-control-center
-Version:        1.20.4
+Version:        1.22.0
 Release:        0
 Summary:        MATE Desktop control center
 License:        GPL-2.0-or-later
 Group:          System/GUI/Other
-Url:            https://mate-desktop.org/
+URL:            https://mate-desktop.org/
 Source:         
https://pub.mate-desktop.org/releases/%{_version}/%{name}-%{version}.tar.xz
 # PATCH-FEATURE-OPENSUSE mate-control-center-gtk-3.20.patch -- Restore GLib 
2.48 and GTK+ 3.20 support.
 Patch0:         mate-control-center-gtk-3.20.patch
@@ -190,7 +190,7 @@
 
 %files
 %license COPYING
-%doc ChangeLog README
+%doc NEWS README
 %{_sbindir}/mate-display-properties-install-systemwide
 %{_bindir}/mate-*
 %{_datadir}/applications/*.desktop

++++++ mate-control-center-1.20.4.tar.xz -> mate-control-center-1.22.0.tar.xz 
++++++
++++ 239919 lines of diff (skipped)

++++++ mate-control-center-gtk-3.20.patch ++++++
--- /var/tmp/diff_new_pack.9YN8QL/_old  2019-05-16 22:03:55.522629430 +0200
+++ /var/tmp/diff_new_pack.9YN8QL/_new  2019-05-16 22:03:55.522629430 +0200
@@ -35,6 +35,17 @@
                capplet_error_dialog (
                        parent,
                        _("There was an error displaying help: %s"),
+--- a/capplets/display/display-capplet.ui
++++ b/capplets/display/display-capplet.ui
+@@ -1,7 +1,7 @@
+ <?xml version="1.0" encoding="UTF-8"?>
+ <!-- Generated with glade 3.22.1 -->
+ <interface>
+-  <requires lib="gtk+" version="3.22"/>
++  <requires lib="gtk+" version="3.20"/>
+   <object class="GtkListStore" id="liststore1">
+     <columns>
+       <!-- column-name item -->
 --- a/configure.ac
 +++ b/configure.ac
 @@ -59,8 +59,8 @@ AC_CHECK_FUNC(XScreenSaverQueryInfo, [
@@ -46,7 +57,7 @@
 +GLIB_REQUIRED=2.48.0
 +GTK_REQUIRED=3.20.0
  MARCO_REQUIRED=1.17.0
- MSD_REQUIRED=1.17.0
+ MSD_REQUIRED=1.21.2
  MATEKBD_REQUIRED=1.17.0
 --- a/libslab/slab-mate-util.c
 +++ b/libslab/slab-mate-util.c
@@ -62,6 +73,78 @@
                {
                        g_warning ("error opening %s [%s]\n", help_uri, 
error->message);
  
+--- a/libslab/tile.c
++++ b/libslab/tile.c
+@@ -396,11 +396,16 @@ tile_button_release (GtkWidget * widget,
+ 
+       case 3:
+               if (GTK_IS_MENU (tile->context_menu))
++#if GTK_CHECK_VERSION (3, 22, 0)
+                   gtk_menu_popup_at_widget (GTK_MENU (tile->context_menu),
+                                             widget,
+                                             GDK_GRAVITY_SOUTH_WEST,
+                                             GDK_GRAVITY_NORTH_WEST,
+                                             (const GdkEvent*) event);
++#else
++                  gtk_menu_popup (GTK_MENU (tile->context_menu), NULL, NULL,
++                                  NULL, NULL, event->button, event->time);
++#endif
+ 
+               break;
+ 
+@@ -430,6 +435,33 @@ tile_key_release (GtkWidget * widget, Gd
+       return FALSE;
+ }
+ 
++#if !GTK_CHECK_VERSION (3, 22, 0)
++static void
++tile_popup_menu_position (GtkMenu * menu, gint * x, gint * y,
++                          gboolean * push_in, gpointer data)
++{
++      Tile *tile = TILE (data);
++      GtkAllocation all;
++      GtkRequisition req;
++      GtkWidget *top;
++
++      if (!gtk_widget_get_realized (GTK_WIDGET (tile)))
++              return;
++
++      gtk_widget_get_preferred_size (GTK_WIDGET (menu), &req, NULL);
++      gtk_widget_get_allocation (GTK_WIDGET (menu), &all);
++
++      top = gtk_widget_get_toplevel (GTK_WIDGET (tile));
++
++      gdk_window_get_origin (gtk_widget_get_window (top), x, y);
++
++      *x += (all.width / 2) - (req.width / 2);
++      *y += (all.height / 2) - (req.height / 2);
++
++      *push_in = FALSE;
++}
++#endif
++
+ static gboolean
+ tile_popup_menu (GtkWidget * widget)
+ {
+@@ -437,12 +469,17 @@ tile_popup_menu (GtkWidget * widget)
+ 
+       if (GTK_IS_MENU (tile->context_menu))
+       {
++#if GTK_CHECK_VERSION (3, 22, 0)
+               gtk_menu_popup_at_widget (GTK_MENU (tile->context_menu),
+                                         widget,
+                                         GDK_GRAVITY_SOUTH_WEST,
+                                         GDK_GRAVITY_NORTH_WEST,
+                                         NULL);
+-
++#else
++              gtk_menu_popup (GTK_MENU (tile->context_menu), NULL, NULL,
++                              tile_popup_menu_position, tile, 0,
++                              GDK_CURRENT_TIME);
++#endif
+               return TRUE;
+       }
+ 
 --- a/typing-break/drw-break-window.c
 +++ b/typing-break/drw-break-window.c
 @@ -152,7 +152,11 @@ drw_break_window_init (DrwBreakWindow *w


Reply via email to