Unbreak after the switch from gnome-icon-theme to adwaita-icon-theme

ok ajacoutot@
This commit is contained in:
dcoppa 2014-10-03 10:24:42 +00:00
parent 285a26d8eb
commit 18482a886a
4 changed files with 11 additions and 8 deletions

View File

@ -1,7 +1,8 @@
# $OpenBSD: Makefile,v 1.4 2013/11/26 14:53:33 bcallah Exp $
# $OpenBSD: Makefile,v 1.5 2014/10/03 10:24:42 dcoppa Exp $
COMMENT = graphical music player focused on a clean ui
DISTNAME = musique-1.3
REVISION = 0
CATEGORIES = audio
HOMEPAGE = http://flavio.tordini.org/musique/

View File

@ -1,6 +1,6 @@
$OpenBSD: patch-src_utils_cpp,v 1.2 2013/11/26 14:53:33 bcallah Exp $
$OpenBSD: patch-src_utils_cpp,v 1.3 2014/10/03 10:24:42 dcoppa Exp $
Use the gnome icon theme unconditionally: fixes a problem with
Use the Adwaita icon theme unconditionally: fixes a problem with
musique GUI not having icons when executed outside of a Desktop
Environment.
@ -13,7 +13,7 @@ the same author.
#endif
QIcon Utils::themeIcon(const QString &name) {
+ QIcon::setThemeName("gnome");
+ QIcon::setThemeName("Adwaita");
if (QIcon::hasThemeIcon(name))
return QIcon::fromTheme(name);
else

View File

@ -1,9 +1,11 @@
# $OpenBSD: Makefile,v 1.34 2014/07/22 13:03:27 rpointel Exp $
# $OpenBSD: Makefile,v 1.35 2014/10/03 10:24:42 dcoppa Exp $
COMMENT = standalone YouTube.com video browser/player
DISTNAME = minitube-2.2
REVISION = 0
CATEGORIES = www multimedia
HOMEPAGE = http://flavio.tordini.org/minitube

View File

@ -1,6 +1,6 @@
$OpenBSD: patch-src_utils_cpp,v 1.2 2013/09/30 08:06:10 dcoppa Exp $
$OpenBSD: patch-src_utils_cpp,v 1.3 2014/10/03 10:24:42 dcoppa Exp $
Use the gnome icon theme unconditionally: fixes a problem with
Use the Adwaita icon theme unconditionally: fixes a problem with
minitube GUI not having icons when executed outside of a Desktop
Environment
@ -10,7 +10,7 @@ Environment
#endif
QIcon Utils::themeIcon(const QString &name) {
+ QIcon::setThemeName("gnome");
+ QIcon::setThemeName("Adwaita");
if (QIcon::hasThemeIcon(name))
return QIcon::fromTheme(name);
else