Accepting request 682580 from X11:MATE:Factory
- Update to version 1.22.0. OBS-URL: https://build.opensuse.org/request/show/682580 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/mate-system-monitor?expand=0&rev=18
This commit is contained in:
commit
9af283cde6
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:1627755fcba3f8707ffea124049d0aaec706d87a67a006b6afacfeae8680da38
|
|
||||||
size 2190260
|
|
3
mate-system-monitor-1.22.0.tar.xz
Normal file
3
mate-system-monitor-1.22.0.tar.xz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:3d9964dba1411ff80f57e5903078dce96b2165b8acfa715d2923eeba63b14067
|
||||||
|
size 2190688
|
@ -14,3 +14,30 @@
|
|||||||
GTKMM_REQUIRED=3.8.1
|
GTKMM_REQUIRED=3.8.1
|
||||||
LIBWNCK_REQUIRED=3.0.0
|
LIBWNCK_REQUIRED=3.0.0
|
||||||
LIBXML_REQUIRED=2.0
|
LIBXML_REQUIRED=2.0
|
||||||
|
--- a/src/interface.cpp
|
||||||
|
+++ b/src/interface.cpp
|
||||||
|
@@ -758,7 +758,24 @@ create_main_window (ProcData *procdata)
|
||||||
|
void
|
||||||
|
do_popup_menu (ProcData *procdata, GdkEventButton *event)
|
||||||
|
{
|
||||||
|
+#if GTK_CHECK_VERSION (3, 22, 0)
|
||||||
|
gtk_menu_popup_at_pointer (GTK_MENU (procdata->popup_menu), NULL);
|
||||||
|
+#else
|
||||||
|
+ guint button;
|
||||||
|
+ guint32 event_time;
|
||||||
|
+
|
||||||
|
+ if (event != NULL) {
|
||||||
|
+ button = event->button;
|
||||||
|
+ event_time = event->time;
|
||||||
|
+ } else {
|
||||||
|
+ button = 0;
|
||||||
|
+ event_time = GDK_CURRENT_TIME;
|
||||||
|
+ }
|
||||||
|
+
|
||||||
|
+ gtk_menu_popup (GTK_MENU (procdata->popup_menu),
|
||||||
|
+ NULL, NULL, NULL, NULL,
|
||||||
|
+ button, event_time);
|
||||||
|
+#endif
|
||||||
|
}
|
||||||
|
|
||||||
|
void
|
||||||
|
@ -1,3 +1,18 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Mar 5 15:19:33 UTC 2019 - sor.alexei@meowr.ru
|
||||||
|
|
||||||
|
- Update to version 1.22.0:
|
||||||
|
* interface: Avoid deprecated gtk_menu_popup.
|
||||||
|
* Avoid compile warning for g_type_class_add_private.
|
||||||
|
* Avoid deprecated GtkStock.
|
||||||
|
* Ensure proper translation of the about dialogue title.
|
||||||
|
* Licence text in the About dialogue.
|
||||||
|
* Make translatable the copyright in the about dialogue.
|
||||||
|
* Help - Priority preset values, including custom value.
|
||||||
|
* procman: Avoid deprecated g_settings_list_keys.
|
||||||
|
* Update translations.
|
||||||
|
- Rebase mate-system-monitor-gtk-3.20.patch.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Mon Dec 24 15:02:12 UTC 2018 - sor.alexei@meowr.ru
|
Mon Dec 24 15:02:12 UTC 2018 - sor.alexei@meowr.ru
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package mate-system-monitor
|
# spec file for package mate-system-monitor
|
||||||
#
|
#
|
||||||
# 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
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@ -16,14 +16,14 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
%define _version 1.20
|
%define _version 1.22
|
||||||
Name: mate-system-monitor
|
Name: mate-system-monitor
|
||||||
Version: 1.20.2
|
Version: 1.22.0
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: MATE Desktop system monitor
|
Summary: MATE Desktop system monitor
|
||||||
License: GPL-2.0-or-later
|
License: GPL-2.0-or-later
|
||||||
Group: System/GUI/Other
|
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
|
Source: https://pub.mate-desktop.org/releases/%{_version}/%{name}-%{version}.tar.xz
|
||||||
# PATCH-FIX-OPENSUSE mate-system-monitor-xdgsu.patch sor.alexei@meowr.ru -- Use xdg-su instead of gksu.
|
# PATCH-FIX-OPENSUSE mate-system-monitor-xdgsu.patch sor.alexei@meowr.ru -- Use xdg-su instead of gksu.
|
||||||
Patch0: mate-system-monitor-xdgsu.patch
|
Patch0: mate-system-monitor-xdgsu.patch
|
||||||
|
Loading…
Reference in New Issue
Block a user