Commit 617f4795 authored by Vitezslav Humpa's avatar Vitezslav Humpa
Browse files

utils: make the gnome-shell coord workaround valid only on Fedora25

parent e4758e0c
Pipeline #7993645 passed with stages
in 25 minutes and 47 seconds
......@@ -5,7 +5,7 @@
Summary: GUI test tool and automation framework
Name: dogtail
Version: 0.9.9
Release: 7.00763041%{?dist}
Release: 8.1ade5abd%{?dist}
License: GPLv2
URL: http://dogtail.fedorahosted.org/
Source0: http://fedorahosted.org/released/dogtail/%{name}-%{version}.tar.gz
......
......@@ -409,7 +409,7 @@ class GnomeShell(object): # pragma: no cover
# a problem with this version of GS misreporting the positions
from subprocess import check_output
if '3.22' in check_output('gnome-shell --version', shell=True):
if 'Fedora release 25' in check_output('cat /etc/redhat-release', shell=True):
xoffset = -130
from dogtail.rawinput import click
nd = self.getApplicationMenuButton(app_name)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment