Hello community, here is the log from the commit of package mate-panel for openSUSE:Factory checked in at 2018-04-13 12:50:08 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/mate-panel (Old) and /work/SRC/openSUSE:Factory/.mate-panel.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "mate-panel" Fri Apr 13 12:50:08 2018 rev:28 rq:595742 version:1.20.1 Changes: -------- --- /work/SRC/openSUSE:Factory/mate-panel/mate-panel.changes 2018-03-20 21:58:59.468639229 +0100 +++ /work/SRC/openSUSE:Factory/.mate-panel.new/mate-panel.changes 2018-04-13 12:50:31.621907186 +0200 @@ -1,0 +2,22 @@ +Wed Apr 11 10:12:43 UTC 2018 - [email protected] + +- Update to version 1.20.1: + * workspace-switcher: Support Metacity and i3 WMs. + * Fix rendering of out-of-process window list with HiDPI. + * Apply a fix for workspace-switcher. + * hidpi: Fix tray icon spacing with window-scaling > 1. + * Fix out-of-process applet sizes for HiDPI. + * Fix hide buttons make panel bigger. + * run-dialog: Force icon size when loading an application icon. + * run-dialog: Fix expand of content on window resize. + * Fix run dialogue show-program-list enabling fix. + * run-dialog: Use F6 to switch between entry field and + application list. + * Fix strut sizes for HiDPI multi-monitors. + * Do not down-scale monitor geometries for GDK monitors. + * Scale monitor geometries down to device pixels to support + multiple monitors in HiDPI. + * Drawer cleanup and fix arrow behaviour. +- Rebase mate-panel-gtk-3.20.patch. + +------------------------------------------------------------------- Old: ---- mate-panel-1.20.0.tar.xz New: ---- mate-panel-1.20.1.tar.xz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ mate-panel.spec ++++++ --- /var/tmp/diff_new_pack.m2mGVZ/_old 2018-04-13 12:50:32.693868348 +0200 +++ /var/tmp/diff_new_pack.m2mGVZ/_new 2018-04-13 12:50:32.693868348 +0200 @@ -21,7 +21,7 @@ %define typelib typelib-1_0-MatePanelApplet-4_0 %define _version 1.20 Name: mate-panel -Version: 1.20.0 +Version: 1.20.1 Release: 0 Summary: MATE Desktop Panel License: GPL-2.0-or-later ++++++ mate-panel-1.20.0.tar.xz -> mate-panel-1.20.1.tar.xz ++++++ ++++ 2616 lines of diff (skipped) ++++++ mate-panel-gtk-3.20.patch ++++++ --- /var/tmp/diff_new_pack.m2mGVZ/_old 2018-04-13 12:50:33.573836468 +0200 +++ /var/tmp/diff_new_pack.m2mGVZ/_new 2018-04-13 12:50:33.577836323 +0200 @@ -1,6 +1,5 @@ -diff -paur a/applets/clock/clock.c b/applets/clock/clock.c ---- a/applets/clock/clock.c 2018-02-02 15:15:23.000000000 +0300 -+++ b/applets/clock/clock.c 2018-03-10 03:04:57.188309840 +0300 +--- a/applets/clock/clock.c ++++ b/applets/clock/clock.c @@ -874,9 +874,17 @@ position_calendar_popup (ClockData *cd) screen = gtk_window_get_screen (GTK_WINDOW (cd->calendar_popup)); display = gdk_screen_get_display (screen); @@ -19,14 +18,12 @@ if (x >= monitor.x && x <= monitor.x + monitor.width && y >= monitor.y && y <= monitor.y + monitor.height) { found_monitor = TRUE; -diff -paur a/applets/clock/clock-utils.c b/applets/clock/clock-utils.c ---- a/applets/clock/clock-utils.c 2018-02-02 15:15:23.000000000 +0300 -+++ b/applets/clock/clock-utils.c 2018-03-10 03:02:42.447211163 +0300 -@@ -72,9 +72,13 @@ clock_utils_display_help (GtkWidget *wi - uri = g_strdup_printf ("help:%s/%s", doc_id, link_id); +--- a/applets/clock/clock-utils.c ++++ b/applets/clock/clock-utils.c +@@ -73,8 +73,13 @@ clock_utils_display_help (GtkWidget *wi else uri = g_strdup_printf ("help:%s", doc_id); -- + +#if GTK_CHECK_VERSION (3, 22, 0) gtk_show_uri_on_window (NULL, uri, gtk_get_current_event_time (), &error); @@ -37,9 +34,8 @@ g_free (uri); if (error && -diff -paur a/applets/fish/fish.c b/applets/fish/fish.c ---- a/applets/fish/fish.c 2018-02-02 15:15:23.000000000 +0300 -+++ b/applets/fish/fish.c 2018-03-10 03:05:25.188538764 +0300 +--- a/applets/fish/fish.c ++++ b/applets/fish/fish.c @@ -153,8 +153,13 @@ static void show_help(FishApplet* fish, else uri = g_strdup_printf ("help:%s", FISH_HELP_DOC); @@ -54,24 +50,23 @@ g_free (uri); if (error && -diff -paur a/applets/notification_area/main.c b/applets/notification_area/main.c ---- a/applets/notification_area/main.c 2018-02-02 15:15:23.000000000 +0300 -+++ b/applets/notification_area/main.c 2018-03-10 03:02:42.471211358 +0300 -@@ -111,7 +111,11 @@ static void help_cb(GtkAction* action, N +--- a/applets/notification_area/main.c ++++ b/applets/notification_area/main.c +@@ -111,7 +111,12 @@ static void help_cb(GtkAction* action, N #define NA_HELP_DOC "mate-user-guide" uri = g_strdup_printf("help:%s/%s", NA_HELP_DOC, "panels-notification-area"); +#if GTK_CHECK_VERSION (3, 22, 0) gtk_show_uri_on_window (NULL, uri, gtk_get_current_event_time (), &error); +#else -+ gtk_show_uri(gtk_widget_get_screen(GTK_WIDGET(applet)), uri, gtk_get_current_event_time(), &error); ++ gtk_show_uri (gtk_widget_get_screen (GTK_WIDGET (applet)), uri, ++ gtk_get_current_event_time (), &error); +#endif g_free(uri); if (error && g_error_matches (error, G_IO_ERROR, G_IO_ERROR_CANCELLED)) -diff -paur a/applets/notification_area/status-notifier/sn-dbus-menu.c b/applets/notification_area/status-notifier/sn-dbus-menu.c ---- a/applets/notification_area/status-notifier/sn-dbus-menu.c 2018-02-02 15:15:23.000000000 +0300 -+++ b/applets/notification_area/status-notifier/sn-dbus-menu.c 2018-03-10 03:06:02.788819185 +0300 +--- a/applets/notification_area/status-notifier/sn-dbus-menu.c ++++ b/applets/notification_area/status-notifier/sn-dbus-menu.c @@ -188,9 +188,11 @@ get_layout_cb (GObject *source_obje g_hash_table_remove_all (menu->items); layout_parse (menu, layout, GTK_MENU (menu)); @@ -84,9 +79,8 @@ g_variant_unref (layout); } -diff -paur a/applets/notification_area/status-notifier/sn-item.c b/applets/notification_area/status-notifier/sn-item.c ---- a/applets/notification_area/status-notifier/sn-item.c 2018-02-02 15:15:23.000000000 +0300 -+++ b/applets/notification_area/status-notifier/sn-item.c 2018-03-10 03:09:23.382076703 +0300 +--- a/applets/notification_area/status-notifier/sn-item.c ++++ b/applets/notification_area/status-notifier/sn-item.c @@ -182,6 +182,49 @@ sn_item_get_action_coordinates (SnItem * *x += width; } @@ -181,9 +175,8 @@ /*Fix positioning if size changed since last shown*/ gtk_menu_reposition(priv->menu); } -diff -paur a/applets/wncklet/wncklet.c b/applets/wncklet/wncklet.c ---- a/applets/wncklet/wncklet.c 2018-02-02 15:15:23.000000000 +0300 -+++ b/applets/wncklet/wncklet.c 2018-03-10 03:09:49.238248055 +0300 +--- a/applets/wncklet/wncklet.c ++++ b/applets/wncklet/wncklet.c @@ -49,8 +49,12 @@ void wncklet_display_help(GtkWidget* wid uri = g_strdup_printf("help:%s/%s", doc_id, link_id); else @@ -198,9 +191,8 @@ g_free(uri); if (error && g_error_matches(error, G_IO_ERROR, G_IO_ERROR_CANCELLED)) -diff -paur a/configure.ac b/configure.ac ---- a/configure.ac 2018-02-02 16:04:49.000000000 +0300 -+++ b/configure.ac 2018-03-10 03:38:52.503567361 +0300 +--- a/configure.ac ++++ b/configure.ac @@ -56,13 +56,13 @@ LT_LIB_M LIBMATE_DESKTOP_REQUIRED=1.17.0 GDK_PIXBUF_REQUIRED=2.7.1 @@ -217,28 +209,24 @@ LIBWNCK_REQUIRED=3.4.6 WEATHER_REQUIRED=1.17.0 -diff -paur a/mate-panel/libpanel-util/panel-show.c b/mate-panel/libpanel-util/panel-show.c ---- a/mate-panel/libpanel-util/panel-show.c 2018-02-02 15:15:24.000000000 +0300 -+++ b/mate-panel/libpanel-util/panel-show.c 2018-03-10 03:10:13.894413118 +0300 -@@ -177,9 +177,11 @@ gboolean panel_show_uri(GdkScreen* scree - { +--- a/mate-panel/libpanel-util/panel-show.c ++++ b/mate-panel/libpanel-util/panel-show.c +@@ -178,7 +178,11 @@ gboolean panel_show_uri(GdkScreen* scree return panel_show_caja_search_uri(screen, uri, timestamp, error); } -- + +#if GTK_CHECK_VERSION (3, 22, 0) gtk_show_uri_on_window (NULL, uri,timestamp, &local_error); -- +#else + gtk_show_uri (screen, uri, timestamp, &local_error); +#endif + return _panel_show_handle_error(uri, screen, local_error, error); } - -@@ -282,8 +284,11 @@ panel_show_help (GdkScreen *screen, - uri = g_strdup_printf ("help:%s/%s", doc, link); +@@ -283,7 +287,11 @@ panel_show_help (GdkScreen *screen, else uri = g_strdup_printf ("help:%s", doc); -- + +#if GTK_CHECK_VERSION (3, 22, 0) gtk_show_uri_on_window (NULL, uri, gtk_get_current_event_time (), &local_error); +#else @@ -247,10 +235,39 @@ g_free (uri); return _panel_show_help_handle_error (doc, screen, local_error, error); -diff -paur a/mate-panel/panel-multiscreen.c b/mate-panel/panel-multiscreen.c ---- a/mate-panel/panel-multiscreen.c 2018-02-02 15:15:24.000000000 +0300 -+++ b/mate-panel/panel-multiscreen.c 2018-03-10 03:10:38.206577394 +0300 -@@ -208,11 +208,19 @@ panel_multiscreen_get_gdk_monitors_for_s +--- a/mate-panel/panel-multiscreen.c ++++ b/mate-panel/panel-multiscreen.c +@@ -89,7 +89,11 @@ panel_multiscreen_get_randr_monitors_for + { + #ifdef HAVE_RANDR + GdkDisplay *display; ++#if GTK_CHECK_VERSION (3, 22, 0) + GdkMonitor *monitor; ++#else ++ int monitor_num; ++#endif + Display *xdisplay; + Window xroot; + XRRScreenResources *resources; +@@ -142,10 +146,17 @@ panel_multiscreen_get_randr_monitors_for + + primary = XRRGetOutputPrimary (xdisplay, xroot); + display = gdk_screen_get_display (screen); ++#if GTK_CHECK_VERSION (3, 22, 0) + monitor = gdk_display_get_primary_monitor (display); + + /* Use scale factor to bring geometries down to device pixels to support HiDPI displays */ + scale = gdk_monitor_get_scale_factor (monitor); ++#else ++ monitor_num = gdk_screen_get_primary_monitor (screen); ++ ++ /* Use scale factor to bring geometries down to device pixels to support HiDPI displays */ ++ scale = gdk_screen_get_monitor_scale_factor (screen, monitor_num); ++#endif + + geometries = g_array_sized_new (FALSE, FALSE, + sizeof (GdkRectangle), +@@ -216,11 +227,19 @@ panel_multiscreen_get_gdk_monitors_for_s int i; display = gdk_screen_get_display (screen); @@ -270,9 +287,8 @@ *monitors_ret = num_monitors; *geometries_ret = geometries; -diff -paur a/mate-panel/xstuff.c b/mate-panel/xstuff.c ---- a/mate-panel/xstuff.c 2018-02-02 15:15:24.000000000 +0300 -+++ b/mate-panel/xstuff.c 2018-03-10 03:11:33.674957452 +0300 +--- a/mate-panel/xstuff.c ++++ b/mate-panel/xstuff.c @@ -335,7 +335,11 @@ xstuff_zoom_animate (GtkWidget *widget, GdkScreen *gscreen; GdkRectangle rect, dest;
