Skip to content

Instantly share code, notes, and snippets.

--- htop-2.0.2/Action.c 2017-10-12 08:21:24.972040580 -0500
+++ htop-2.0.2/Action.c 2017-10-12 08:26:08.740240696 -0500
@@ -382,7 +382,7 @@ static Htop_Reaction actionRedraw() {
}
static struct { const char* key; const char* info; } helpLeft[] = {
- { .key = " Arrows: ", .info = "scroll process list" },
+ { .key = " hjkl: ", .info = "scroll process list" },
{ .key = " Digits: ", .info = "incremental PID search" },
{ .key = " F3 /: ", .info = "incremental name search" },
@ahodesuka
ahodesuka / ahoviewer-9999.ebuild
Last active December 25, 2017 06:42
ahoviewer-9999.ebuild
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=5
inherit autotools eutils gnome2-utils vcs-snapshot xdg-utils
DESCRIPTION="A GTK2 image viewer, manga reader, and booru browser"
HOMEPAGE="https://github.com/ahodesuka/ahoviewer"
diff --git a/gio/glocalfileinfo.c b/gio/glocalfileinfo.c
index f75a0d2..bb4c8a6 100644
--- a/gio/glocalfileinfo.c
+++ b/gio/glocalfileinfo.c
@@ -64,6 +64,12 @@
#endif
#include "thumbnail-verify.h"
+#ifdef HAVE_DBUS1
+#define FREEDESKTOP_THUMBNAILER
diff --git a/gtk/gtkfilechooserdefault.c b/gtk/gtkfilechooserdefault.c
index 2a75365..b466ab2 100644
--- a/gtk/gtkfilechooserdefault.c
+++ b/gtk/gtkfilechooserdefault.c
@@ -81,6 +81,7 @@
#include <sys/stat.h>
#include <sys/types.h>
#include <locale.h>
+#include <math.h>