From owner-freebsd-hackers@FreeBSD.ORG Mon May 6 05:08:05 2013 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 324FEAA0; Mon, 6 May 2013 05:08:05 +0000 (UTC) (envelope-from guru@unixarea.de) Received: from ms16-1.1blu.de (ms16-1.1blu.de [89.202.0.34]) by mx1.freebsd.org (Postfix) with ESMTP id C6641F31; Mon, 6 May 2013 05:08:04 +0000 (UTC) Received: from [46.244.147.138] (helo=localhost.my.domain) by ms16-1.1blu.de with esmtpsa (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.69) (envelope-from ) id 1UZDeW-0007jZ-Vq; Mon, 06 May 2013 07:07:57 +0200 Received: from localhost.my.domain (localhost [127.0.0.1]) by localhost.my.domain (8.14.4/8.14.3) with ESMTP id r4657tAa002360; Mon, 6 May 2013 07:07:55 +0200 (CEST) (envelope-from guru@unixarea.de) Received: (from guru@localhost) by localhost.my.domain (8.14.4/8.14.3/Submit) id r4657slY002359; Mon, 6 May 2013 07:07:54 +0200 (CEST) (envelope-from guru@unixarea.de) X-Authentication-Warning: localhost.my.domain: guru set sender to guru@unixarea.de using -f Date: Mon, 6 May 2013 07:07:54 +0200 From: Matthias Apitz To: freebsd-hackers@freebsd.org, freebsd-gnome@freebsd.org Subject: Re: GTK+3.0 application does not show some existing icons Message-ID: <20130506050754.GA2291@tinyCurrent> References: <20130504180610.GA1229@tiny.Sisis.de> <5186BBBF.9000703@rainbow-runner.nl> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <5186BBBF.9000703@rainbow-runner.nl> X-Operating-System: FreeBSD 9.0-CURRENT r214444 (i386) User-Agent: Mutt/1.5.21 (2010-09-15) X-Con-Id: 51246 X-Con-U: 0-guru X-Originating-IP: 46.244.147.138 X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: Matthias Apitz List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 06 May 2013 05:08:05 -0000 El día Sunday, May 05, 2013 a las 10:06:23PM +0200, Koop Mast escribió: > On 4-5-2013 20:06, Matthias Apitz wrote: > > Hello, > > > > I have a problem with some GTK+3 application not showing some existing > > icons of the gnome-icon-theme. To nail it down, I went to some GTK tutorial > > pages and hacked together a simple application (attached) which can be > > compiled with just: > > The program got eaten by mailman, could you put it on a webspace somewhere? > > -Koop > > > $ gcc -g image.c `pkg-config --cflags --libs gtk+-3.0` -o image > > > > and shows the first argument as icon name, for example: > > > > $ ./image document-print-preview The C code can be fetched from here http://www.unixarea.de/image.c The problem is solved meanwhile. I got to know that I have to start the $ /usr/local/libexec/gnome-settings-daemon & which is not launched by default for KDE users (like me). I have updated the Wiki page about how to compile and start Ekiga (this was the application I was debugging): http://wiki.ekiga.org/index.php/Compile_your_own_SVN_version_of_Ekiga_on_FreeBSD Would be nice, though, if someone could explain how the icon files are coming from the disk to the GTK application, because they are not visible in the truss log. Thanks matthias -- Matthias Apitz | /"\ ASCII Ribbon Campaign: www.asciiribbon.org E-mail: guru@unixarea.de | \ / - No HTML/RTF in E-mail WWW: http://www.unixarea.de/ | X - No proprietary attachments phone: +49-170-4527211 | / \ - Respect for open standards