Hello community, here is the log from the commit of package mate-panel for openSUSE:Factory checked in at 2016-01-28 17:23:17 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/mate-panel (Old) and /work/SRC/openSUSE:Factory/.mate-panel.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "mate-panel" Changes: -------- --- /work/SRC/openSUSE:Factory/mate-panel/mate-panel.changes 2016-01-12 16:12:32.000000000 +0100 +++ /work/SRC/openSUSE:Factory/.mate-panel.new/mate-panel.changes 2016-01-28 17:24:04.000000000 +0100 @@ -1,0 +2,10 @@ +Mon Jan 25 15:46:12 UTC 2016 - sor.ale...@meowr.ru + +- Update to 1.12.2: + * Drawer applet: Fix occasional stretching of drawer's panel over + the entire screen. + * Drawer applet: Fix occasional crash on applet removing. + * GTK+3: Fix infinite loop with some themes. + * Some more fixes. + +------------------------------------------------------------------- Old: ---- mate-panel-1.12.1.tar.xz New: ---- mate-panel-1.12.2.tar.xz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ mate-panel.spec ++++++ --- /var/tmp/diff_new_pack.R9hfXW/_old 2016-01-28 17:24:05.000000000 +0100 +++ /var/tmp/diff_new_pack.R9hfXW/_new 2016-01-28 17:24:05.000000000 +0100 @@ -21,7 +21,7 @@ %define typelib typelib-1_0-MatePanelApplet-4_0 %define _version 1.12 Name: mate-panel -Version: 1.12.1 +Version: 1.12.2 Release: 0 Summary: MATE Desktop Panel License: GPL-2.0+ ++++++ mate-panel-1.12.1.tar.xz -> mate-panel-1.12.2.tar.xz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/mate-panel-1.12.1/NEWS new/mate-panel-1.12.2/NEWS --- old/mate-panel-1.12.1/NEWS 2015-11-30 08:39:30.000000000 +0100 +++ new/mate-panel-1.12.2/NEWS 2016-01-25 09:29:41.000000000 +0100 @@ -1,3 +1,10 @@ +1.12.2 + * Drawer applet: fix occasional stretching of drawer's panel + over the entire screen + * Drawer applet: fix occasional crash on applet removing + * GTK+3: fix infinite loop with some themes + * Some more fixes + 1.12.1 * GTK+3: fix background in some themes * Some more fixes diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/mate-panel-1.12.1/aclocal.m4 new/mate-panel-1.12.2/aclocal.m4 --- old/mate-panel-1.12.1/aclocal.m4 2015-11-30 08:39:57.000000000 +0100 +++ new/mate-panel-1.12.2/aclocal.m4 2016-01-25 12:36:01.000000000 +0100 @@ -693,7 +693,7 @@ DISABLE_DEPRECATED="" if test $USE_MAINTAINER_MODE = yes; then - DOMAINS="G ATK PANGO GDK GDK_PIXBUF GTK MATECONF MATECOMPONENT MATECOMPONENT_UI MATE LIBGLADE VTE MATE_VFS WNCK LIBSOUP" + DOMAINS="G ATK PANGO GDK GDK_PIXBUF GTK MATE LIBGLADE VTE WNCK LIBSOUP" for DOMAIN in $DOMAINS; do DISABLE_DEPRECATED="$DISABLE_DEPRECATED -D${DOMAIN}_DISABLE_DEPRECATED -D${DOMAIN}_DISABLE_SINGLE_INCLUDES" done diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/mate-panel-1.12.1/applets/wncklet/workspace-switcher.c new/mate-panel-1.12.2/applets/wncklet/workspace-switcher.c --- old/mate-panel-1.12.1/applets/wncklet/workspace-switcher.c 2015-11-11 09:39:07.000000000 +0100 +++ new/mate-panel-1.12.2/applets/wncklet/workspace-switcher.c 2015-12-17 11:57:39.000000000 +0100 @@ -489,6 +489,9 @@ GtkActionGroup* action_group; gchar* ui_path; gboolean display_names; +#if GTK_CHECK_VERSION (3, 0, 0) + GtkCssProvider *provider; +#endif pager = g_new0(PagerData, 1); @@ -543,6 +546,17 @@ pager->wm = PAGER_WM_UNKNOWN; wnck_pager_set_shadow_type(WNCK_PAGER(pager->pager), GTK_SHADOW_IN); +#if GTK_CHECK_VERSION (3, 0, 0) + provider = gtk_css_provider_new (); + gtk_css_provider_load_from_data (provider, + "WnckPager:selected {\n" + "background-color: #4A90D9; }", + -1, NULL); + gtk_style_context_add_provider (gtk_widget_get_style_context (pager->pager), + GTK_STYLE_PROVIDER (provider), + GTK_STYLE_PROVIDER_PRIORITY_FALLBACK); + g_object_unref (provider); +#endif g_signal_connect(G_OBJECT(pager->pager), "destroy", G_CALLBACK(destroy_pager), pager); gtk_container_add(GTK_CONTAINER(pager->applet), pager->pager); diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/mate-panel-1.12.1/configure new/mate-panel-1.12.2/configure --- old/mate-panel-1.12.1/configure 2015-11-30 08:39:58.000000000 +0100 +++ new/mate-panel-1.12.2/configure 2016-01-25 12:36:02.000000000 +0100 @@ -1,6 +1,6 @@ #! /bin/sh # Guess values for system-dependent variables and create Makefiles. -# Generated by GNU Autoconf 2.69 for mate-panel 1.12.1. +# Generated by GNU Autoconf 2.69 for mate-panel 1.12.2. # # Report bugs to <https://github.com/mate-desktop/mate-panel/issues>. # @@ -590,8 +590,8 @@ # Identity of this package. PACKAGE_NAME='mate-panel' PACKAGE_TARNAME='mate-panel' -PACKAGE_VERSION='1.12.1' -PACKAGE_STRING='mate-panel 1.12.1' +PACKAGE_VERSION='1.12.2' +PACKAGE_STRING='mate-panel 1.12.2' PACKAGE_BUGREPORT='https://github.com/mate-desktop/mate-panel/issues' PACKAGE_URL='http://www.mate-desktop.org' @@ -1508,7 +1508,7 @@ # Omit some internal or obsolete options to make the list less imposing. # This message is too long to be a string in the A/UX 3.1 sh. cat <<_ACEOF -\`configure' configures mate-panel 1.12.1 to adapt to many kinds of systems. +\`configure' configures mate-panel 1.12.2 to adapt to many kinds of systems. Usage: $0 [OPTION]... [VAR=VALUE]... @@ -1582,7 +1582,7 @@ if test -n "$ac_init_help"; then case $ac_init_help in - short | recursive ) echo "Configuration of mate-panel 1.12.1:";; + short | recursive ) echo "Configuration of mate-panel 1.12.2:";; esac cat <<\_ACEOF @@ -1765,7 +1765,7 @@ test -n "$ac_init_help" && exit $ac_status if $ac_init_version; then cat <<\_ACEOF -mate-panel configure 1.12.1 +mate-panel configure 1.12.2 generated by GNU Autoconf 2.69 Copyright (C) 2012 Free Software Foundation, Inc. @@ -2134,7 +2134,7 @@ This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. -It was created by mate-panel $as_me 1.12.1, which was +It was created by mate-panel $as_me 1.12.2, which was generated by GNU Autoconf 2.69. Invocation command line was $ $0 $@ @@ -2999,7 +2999,7 @@ # Define the identity of the package. PACKAGE='mate-panel' - VERSION='1.12.1' + VERSION='1.12.2' cat >>confdefs.h <<_ACEOF @@ -3299,7 +3299,7 @@ DISABLE_DEPRECATED="" if test $USE_MAINTAINER_MODE = yes; then - DOMAINS="G ATK PANGO GDK GDK_PIXBUF GTK MATECONF MATECOMPONENT MATECOMPONENT_UI MATE LIBGLADE VTE MATE_VFS WNCK LIBSOUP" + DOMAINS="G ATK PANGO GDK GDK_PIXBUF GTK MATE LIBGLADE VTE WNCK LIBSOUP" for DOMAIN in $DOMAINS; do DISABLE_DEPRECATED="$DISABLE_DEPRECATED -D${DOMAIN}_DISABLE_DEPRECATED -D${DOMAIN}_DISABLE_SINGLE_INCLUDES" done @@ -19226,7 +19226,7 @@ # report actual input values of CONFIG_FILES etc. instead of their # values after options handling. ac_log=" -This file was extended by mate-panel $as_me 1.12.1, which was +This file was extended by mate-panel $as_me 1.12.2, which was generated by GNU Autoconf 2.69. Invocation command line was CONFIG_FILES = $CONFIG_FILES @@ -19293,7 +19293,7 @@ cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" ac_cs_version="\\ -mate-panel config.status 1.12.1 +mate-panel config.status 1.12.2 configured by $0, generated by GNU Autoconf 2.69, with options \\"\$ac_cs_config\\" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/mate-panel-1.12.1/configure.ac new/mate-panel-1.12.2/configure.ac --- old/mate-panel-1.12.1/configure.ac 2015-11-30 08:38:13.000000000 +0100 +++ new/mate-panel-1.12.2/configure.ac 2016-01-25 09:27:41.000000000 +0100 @@ -1,4 +1,4 @@ -AC_INIT([mate-panel], [1.12.1], [https://github.com/mate-desktop/mate-panel/issues], +AC_INIT([mate-panel], [1.12.2], [https://github.com/mate-desktop/mate-panel/issues], [mate-panel], [http://www.mate-desktop.org]) AC_CONFIG_HEADERS(config.h) AM_INIT_AUTOMAKE([1.9 no-dist-gzip dist-xz tar-ustar -Wno-portability check-news]) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/mate-panel-1.12.1/libmate-panel-applet/mate-panel-applet.c new/mate-panel-1.12.2/libmate-panel-applet/mate-panel-applet.c --- old/mate-panel-1.12.1/libmate-panel-applet/mate-panel-applet.c 2015-11-30 08:37:55.000000000 +0100 +++ new/mate-panel-1.12.2/libmate-panel-applet/mate-panel-applet.c 2016-01-25 09:27:33.000000000 +0100 @@ -1981,7 +1981,6 @@ GtkStyleContext* context; context = gtk_widget_get_style_context (widget); - gtk_widget_reset_style (widget); switch (type) { case PANEL_NO_BACKGROUND: diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/mate-panel-1.12.1/mate-panel/drawer.c new/mate-panel-1.12.2/mate-panel/drawer.c --- old/mate-panel-1.12.1/mate-panel/drawer.c 2015-10-26 12:31:36.000000000 +0100 +++ new/mate-panel-1.12.2/mate-panel/drawer.c 2016-01-11 13:20:35.000000000 +0100 @@ -47,20 +47,26 @@ Drawer *drawer) { drawer->toplevel = NULL; - gtk_widget_destroy (drawer->button); + + if (drawer->button) { + gtk_widget_destroy (drawer->button); + drawer->button = NULL; + } } static void destroy_drawer (GtkWidget *widget, Drawer *drawer) { - if (drawer->toplevel) + if (drawer->toplevel) { gtk_widget_destroy (GTK_WIDGET (drawer->toplevel)); - drawer->toplevel = NULL; + drawer->toplevel = NULL; + } - if (drawer->close_timeout_id) + if (drawer->close_timeout_id) { g_source_remove (drawer->close_timeout_id); - drawer->close_timeout_id = 0; + drawer->close_timeout_id = 0; + } } static void @@ -302,13 +308,11 @@ { g_return_if_fail (drawer != NULL); g_return_if_fail (drawer->toplevel != NULL); - g_return_if_fail (tooltip != NULL); - - if (tooltip && !tooltip [0]) - tooltip = NULL; - panel_toplevel_set_name (drawer->toplevel, tooltip); - panel_util_set_tooltip_text (drawer->button, tooltip); + if (tooltip != NULL && tooltip [0] != '\0') { + panel_toplevel_set_name (drawer->toplevel, tooltip); + panel_util_set_tooltip_text (drawer->button, tooltip); + } } static Drawer * @@ -413,37 +417,20 @@ } static void -panel_drawer_use_custom_icon_changed (GSettings *settings, +panel_drawer_custom_icon_changed (GSettings *settings, gchar *key, Drawer *drawer) { - gboolean use_custom_icon; - char *custom_icon = NULL; - - use_custom_icon = g_settings_get_boolean (settings, key); - - if (use_custom_icon) { - custom_icon = g_settings_get_string (settings, PANEL_OBJECT_CUSTOM_ICON_KEY); - } - - button_widget_set_icon_name (BUTTON_WIDGET (drawer->button), custom_icon); - - g_free (custom_icon); -} + g_return_if_fail (drawer != NULL); + g_return_if_fail (drawer->button != NULL); -static void -panel_drawer_custom_icon_changed (GSettings *settings, - gchar *key, - Drawer *drawer) -{ - char *custom_icon; - custom_icon = g_settings_get_string (settings, key); + gboolean use_custom_icon = g_settings_get_boolean (settings, PANEL_OBJECT_USE_CUSTOM_ICON_KEY); + char *custom_icon = g_settings_get_string (settings, PANEL_OBJECT_CUSTOM_ICON_KEY); - if (custom_icon && custom_icon [0]) { - gboolean use_custom_icon; - use_custom_icon = g_settings_get_boolean (settings, PANEL_OBJECT_USE_CUSTOM_ICON_KEY); - if (use_custom_icon) - button_widget_set_icon_name (BUTTON_WIDGET (drawer->button), custom_icon); + if (use_custom_icon && custom_icon != NULL && custom_icon [0] != '\0') { + button_widget_set_icon_name (BUTTON_WIDGET (drawer->button), custom_icon); + } else { + button_widget_set_icon_name (BUTTON_WIDGET (drawer->button), PANEL_ICON_DRAWER); } g_free (custom_icon); @@ -464,7 +451,7 @@ { g_signal_connect (drawer->info->settings, "changed::" PANEL_OBJECT_USE_CUSTOM_ICON_KEY, - G_CALLBACK (panel_drawer_use_custom_icon_changed), + G_CALLBACK (panel_drawer_custom_icon_changed), drawer); g_signal_connect (drawer->info->settings, "changed::" PANEL_OBJECT_CUSTOM_ICON_KEY, diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/mate-panel-1.12.1/mate-panel/mate-panel.desktop.in new/mate-panel-1.12.2/mate-panel/mate-panel.desktop.in --- old/mate-panel-1.12.1/mate-panel/mate-panel.desktop.in 2015-11-30 08:40:05.000000000 +0100 +++ new/mate-panel-1.12.2/mate-panel/mate-panel.desktop.in 2016-01-25 12:36:09.000000000 +0100 @@ -9,7 +9,7 @@ X-MATE-Bugzilla-Bugzilla=MATE X-MATE-Bugzilla-Product=mate-panel X-MATE-Bugzilla-Component=general -X-MATE-Bugzilla-Version=1.12.1 +X-MATE-Bugzilla-Version=1.12.2 Categories=GTK;System;Core; OnlyShowIn=MATE; NoDisplay=true diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/mate-panel-1.12.1/mate-panel/panel-background.c new/mate-panel-1.12.2/mate-panel/panel-background.c --- old/mate-panel-1.12.1/mate-panel/panel-background.c 2015-11-30 08:37:55.000000000 +0100 +++ new/mate-panel-1.12.2/mate-panel/panel-background.c 2016-01-25 09:27:33.000000000 +0100 @@ -104,7 +104,6 @@ context = gtk_widget_get_style_context (widget); effective_type = panel_background_effective_type (background); - gtk_widget_reset_style (widget); switch (effective_type) { case PANEL_BACK_NONE: diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/mate-panel-1.12.1/mate-panel/panel-toplevel.c new/mate-panel-1.12.2/mate-panel/panel-toplevel.c --- old/mate-panel-1.12.1/mate-panel/panel-toplevel.c 2015-10-26 12:31:36.000000000 +0100 +++ new/mate-panel-1.12.2/mate-panel/panel-toplevel.c 2016-01-25 09:27:33.000000000 +0100 @@ -5078,6 +5078,11 @@ { g_return_if_fail (PANEL_IS_TOPLEVEL (toplevel)); + if (toplevel->priv->attached && expand) { + g_warning ("attempt to expand attached toplevel; ignoring"); + return; + } + expand = expand != FALSE; if (toplevel->priv->expand == expand)