Accepting request 479363 from home:mgorse:branches:GNOME:Factory

- Add gsm-bsc1020294-add-resources-scrollbar.patch: add a
  scrollbar to the resources tab (bsc#1020294 bgo#778697).

OBS-URL: https://build.opensuse.org/request/show/479363
OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/gnome-system-monitor?expand=0&rev=155
This commit is contained in:
Dominique Leuenberger 2017-03-14 21:23:21 +00:00 committed by Git OBS Bridge
parent 5fcad87ae1
commit a7a5244363
3 changed files with 35 additions and 0 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Tue Mar 14 18:57:08 UTC 2017 - mgorse@suse.com
- Add gsm-bsc1020294-add-resources-scrollbar.patch: add a
scrollbar to the resources tab (bsc#1020294 bgo#778697).
-------------------------------------------------------------------
Tue Mar 14 08:46:11 UTC 2017 - zaitor@opensuse.org

View File

@ -24,6 +24,8 @@ Summary: A Simple Process Monitor
License: GPL-2.0+
Group: System/GUI/GNOME
Source0: http://download.gnome.org/sources/gnome-system-monitor/3.23/%{name}-%{version}.tar.xz
# PATCH-FEATURE-UPSTREAM gsm-bsc1020294-add-resources-scrollbar.patch bsc#1020294 bgo#778697 mgorse@suse.com -- add a scrollbar to the resources tab.
Patch0: gsm-bsc1020294-add-resources-scrollbar.patch
BuildRequires: fdupes
BuildRequires: gcc-c++
BuildRequires: intltool
@ -53,6 +55,7 @@ GNOME Desktop.
%lang_package
%prep
%setup -q
%patch0 -p1
translation-update-upstream
%build

View File

@ -0,0 +1,26 @@
diff -urp gnome-system-monitor-3.20.1.orig/data/interface.ui gnome-system-monitor-3.20.1/data/interface.ui
--- gnome-system-monitor-3.20.1.orig/data/interface.ui 2016-02-03 11:11:26.000000000 -0600
+++ gnome-system-monitor-3.20.1/data/interface.ui 2017-02-13 10:57:00.815968998 -0600
@@ -167,6 +167,13 @@
</packing>
</child>
<child>
+ <object class="GtkScrolledWindow" id="res_scrolled">
+ <property name="visible">True</property>
+ <property name="can_focus">True</property>
+ <property name="hexpand">True</property>
+ <property name="vexpand">True</property>
+ <property name="shadow_type">none</property>
+ <child>
<object class="GtkBox" id="res_box">
<property name="visible">True</property>
<property name="can_focus">False</property>
@@ -466,6 +473,8 @@
</packing>
</child>
</object>
+ </child>
+ </object>
<packing>
<property name="name">resources</property>
<property name="title" translatable="yes">Resources</property>