Package: gkrellm Version: 2.3.6~rc1-1 Severity: wishlist Tags: upstream patch
Dear Maintainer, would it be possible to modify the hard-coded keys for theme change (PgUp/PgDown) to something more complicated to avoid accidental theme-changes when one has (unnoticed) focus on the GKrellM window ? A simple patch to change it to shift+PgUp/PgDown is attached. Thanks, Pavel -- System Information: Debian Release: stretch/sid APT prefers testing-proposed-updates APT policy: (840, 'testing-proposed-updates'), (840, 'testing'), (740, 'unstable'), (738, 'experimental'), (540, 'proposed-updates'), (540, 'stable') Architecture: amd64 (x86_64) Foreign Architectures: i386 Kernel: Linux 4.3.0-1-amd64 (SMP w/4 CPU cores) Locale: LANG=en_US.UTF-8, LC_CTYPE=cs_CZ.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Init: systemd (via /run/systemd/system) Versions of packages gkrellm depends on: ii libatk1.0-0 2.18.0-1 ii libc6 2.21-6 ii libcairo2 1.14.6-1 ii libfontconfig1 2.11.0-6.3 ii libfreetype6 2.6.1-0.1 ii libgdk-pixbuf2.0-0 2.32.3-1 ii libglib2.0-0 2.46.2-3 ii libgnutls-deb0-28 3.3.20-1 ii libgnutls-openssl27 3.3.20-1 ii libgtk2.0-0 2.24.29-1 ii libice6 2:1.0.9-1+b1 ii libntlm0 1.4-7 ii libpango-1.0-0 1.38.1-1 ii libpangocairo-1.0-0 1.38.1-1 ii libpangoft2-1.0-0 1.38.1-1 ii libsensors4 1:3.4.0-2 ii libsm6 2:1.2.2-1+b1 ii libx11-6 2:1.6.3-1 gkrellm recommends no packages. gkrellm suggests no packages. -- no debconf information
--- old/src/gui.c 2016-01-04 16:59:38.032068448 +0100 +++ new/src/gui.c 2016-01-04 17:01:33.033355211 +0100 @@ -2483,9 +2483,9 @@ { "ThemeMenuAction", NULL, N_("Theme"), NULL, NULL, NULL }, { "ThemeAltNextAction", NULL, N_("Next"), - "Page_Up", NULL, G_CALLBACK(cb_load_theme) }, + "<shift>Page_Up", NULL, G_CALLBACK(cb_load_theme) }, { "ThemeAltPrevAction", NULL, N_("Prev"), - "Page_Down", NULL, G_CALLBACK(cb_load_theme) }, + "<shift>Page_Down", NULL, G_CALLBACK(cb_load_theme) }, { "ThemeNextAction", NULL, N_("Theme next"), "<control>Page_Up", NULL, G_CALLBACK(cb_load_theme) }, { "ThemePrevAction", NULL, N_("Theme prev"),