1
0
Fork 0
Commit graph

26 commits

Author SHA1 Message Date
Jaroslav Škarvada
e047f7ad5e
gui: fixed inconsistent tabs and spaces, introduced by #516
Signed-off-by: Jaroslav Škarvada <jskarvad@redhat.com>
2023-08-17 15:17:15 +02:00
lilinjie
b9dacb07da add error dialog when no active profile set
Signed-off-by: lilinjie <lilinjie@uniontech.com>
2023-03-14 17:10:31 +08:00
Evgeni Golov
c1fad024c7 set the icon in the about dialog
otherwise we just get the "image missing" icon
2023-02-19 14:45:50 +01:00
lilinjie
c503d3ec50 fix 'is_active' does not work
Signed-off-by: lilinjie <lilinjie@uniontech.com>
2023-02-09 10:15:51 +08:00
Jaroslav Škarvada
af1e5142c3
Merge pull request #494 from uniontech-lilinjie/fix-typos
fix typos
2023-02-08 11:15:42 +01:00
lilinjie
bad27518e5 fix typos
Signed-off-by: lilinjie <lilinjie@uniontech.com>
2023-02-08 10:30:01 +08:00
liuzhilin
dcfb97a2c2 fix spell error 2022-11-09 18:32:48 +08:00
Jan Zerdik
063277a05b Removing dependency on python-configobj.
Resolves: rhbz#1936386

Signed-off-by: Jan Zerdik <jzerdik@redhat.com>
2021-08-18 10:28:27 +02:00
Jaroslav Škarvada
16d4acbaca
Project renamed to TuneD
The 'D' is now capital to clarify pronunciation.

DBus service name is kept as '/Tuned' not to break
backward compatibility.

This will also need update of downstream tests
which rely on the specific output strings containing
the name.

Signed-off-by: Jaroslav Škarvada <jskarvad@redhat.com>
2021-05-17 22:09:02 +02:00
Jaroslav Škarvada
476be07b46
Use python3 interpreter by default
This may ease development, because development environment will
be probably already on python3.

Signed-off-by: Jaroslav Škarvada <jskarvad@redhat.com>
2019-11-18 11:21:33 +01:00
Tomas Korbar
0c7ec6e358 Remove unnecessary import from tuned-gui.py
Signed-off-by: Tomas Korbar <tkorbar@redhat.com>
2019-02-04 11:04:52 +01:00
Tomas Korbar
e320c70d3d Move plugin and hint listing functionality into dbus 2018-12-05 12:18:48 +01:00
Tomas Korbar
8cb5f9948e Fix creation of copied system profile 2018-11-22 16:34:40 +01:00
Tomas Korbar
bc9ae26787 Add support for config options hints 2018-11-22 16:34:40 +01:00
Tomas Korbar
a856f76b26 Refactor of tuned gui 2018-11-22 16:34:40 +01:00
Ondřej Lysoněk
d46834808c tuned-gui: Sort plugins based on their name
Previously the sorting was done by comparing the objects themselves,
which is not what we want and it doesn't work in Python 3 - TypeError
is raised, e.g:
TypeError: '<' not supported between instances of 'BootloaderPlugin' and 'MountsPlugin'

Signed-off-by: Ondřej Lysoněk <olysonek@redhat.com>
2018-07-11 01:04:46 +02:00
Ondřej Lysoněk
c37b6220d4 tuned-gui: Fix a traceback
Resolves: rhbz#1536835
Fixes #95

Signed-off-by: Ondřej Lysoněk <olysonek@redhat.com>
2018-06-11 09:59:57 +02:00
Jaroslav Škarvada
f563c7d756
An attempt to port Tuned to python3 and keeping it python2 compatible
Signed-off-by: Jaroslav Škarvada <jskarvad@redhat.com>
2017-12-21 10:20:13 +01:00
Ondřej Lysoněk
93d872191c Raise NotImplementedError instead of NotImplemented
NotImplemented is not an exception type. This patch makes some pylint
errors go away.
2017-02-13 16:28:33 +01:00
Jaroslav Škarvada
325dd17ee5 tuned-gui: fixed pkexec to work from GNOME Shell
GNOME Shell doesn't seem to run applications through the shell or with some
persistent parent, thus pkexec cannot be execed over the original tuned-gui
process, because it wouldn't pass the pkexec getppid check. The check is
there to ensure that the pkexec will not be owned by the init process.

This fix runs the pkexec as a child process. The minor drawback is that
there will be two tuned-gui processes - the original process running under
the user and the pkexeced process running under the root. The original
process will effectively do nothing, it will just wait for the pkexeced
process to exit.

Resolves: rhbz#1377896

Signed-off-by: Jaroslav Škarvada <jskarvad@redhat.com>
2016-09-21 16:43:39 +02:00
Jaroslav Škarvada
83d573727b gui: fixed traceback when attempting to start tuned
Another forgotten DBus paths copy&paste error

Related: rhbz#1356369

Signed-off-by: Jaroslav Škarvada <jskarvad@redhat.com>
2016-08-09 16:03:35 +02:00
Jaroslav Škarvada
e6c6e15733 gui: fixed traceback caused by DBus paths copy&paste error
Related: rhbz#1356369

Signed-off-by: Jaroslav Škarvada <jskarvad@redhat.com>
2016-07-21 11:08:20 +02:00
Yixun Lan
e675ab0b4c pygobject: fix import Gtk without specify version error
Signed-off-by: Yixun Lan <dlan@gentoo.org>
2016-07-15 15:49:25 +02:00
Jaroslav Škarvada
6eb14deba3 tuned-gtk: fixed global name 'GlobalConfig' is not defined
Signed-off-by: Jaroslav Škarvada <jskarvad@redhat.com>
2015-07-09 17:19:18 +02:00
Jaroslav Škarvada
c73bc90ae8 recommend: add global config option to disable 'recommend' functionality
On some platforms the 'recommend' functionality doens't make sense
as there is only one product variant. On such platforms the recommend
functionality can be disabled by adding/changing the following in
the global config (/etc/tuned/tuned-main.conf):

recommend_command = 0

Signed-off-by: Jaroslav Škarvada <jskarvad@redhat.com>
2015-06-10 16:26:36 +02:00
Jaroslav Škarvada
34a9bc42f5 Added tuned-gui
Main implementation was done by Marek Staňa.

Signed-off-by: Jaroslav Škarvada <jskarvad@redhat.com>
2014-10-01 16:16:45 +02:00