DaemonForums  

Go Back   DaemonForums > FreeBSD > FreeBSD Ports and Packages

FreeBSD Ports and Packages Installation and upgrading of ports and packages on FreeBSD.

Reply
 
Thread Tools Display Modes
  #1   (View Single Post)  
Old 21st November 2010
Darwimy Darwimy is offline
Port Guard
 
Join Date: Jun 2008
Location: Germany
Posts: 36
Default Firefox 3 forward / back icons gone after gtk+ update

Yesterday I updated my ports from 11/5 to 11/20, which brought in gtk-2.22.

If I now start Firefox (happens with 3.5.15 or 3.6.12) the forward an back icons are gone.

Starting FF from the console I see the following error message:

Code:
(firefox-bin:46024): Gtk-WARNING **: Error loading theme icon 'gtk-go-back-ltr' for stock: Icon 'gtk-go-back-ltr' not present in theme

(firefox-bin:46024): GLib-GObject-CRITICAL **: g_object_unref: assertion `G_IS_OBJECT (object)' failed

(firefox-bin:46024): Gtk-CRITICAL **: gtk_default_render_icon: assertion `base_pixbuf != NULL' failed

(firefox-bin:46024): Gtk-CRITICAL **: IA__gtk_style_render_icon: assertion `pixbuf != NULL' failed

(firefox-bin:46024): GLib-GObject-CRITICAL **: g_object_ref: assertion `G_IS_OBJECT (object)' failed

(firefox-bin:46024): Gtk-WARNING **: Error loading theme icon 'gtk-go-forward-ltr' for stock: Icon 'gtk-go-forward-ltr' not present in theme

(firefox-bin:46024): GLib-GObject-CRITICAL **: g_object_unref: assertion `G_IS_OBJECT (object)' failed

(firefox-bin:46024): Gtk-CRITICAL **: gtk_default_render_icon: assertion `base_pixbuf != NULL' failed

(firefox-bin:46024): Gtk-CRITICAL **: IA__gtk_style_render_icon: assertion `pixbuf != NULL' failed

(firefox-bin:46024): GLib-GObject-CRITICAL **: g_object_ref: assertion `G_IS_OBJECT (object)' failed
So it looks like the default GTK theme misses these icons (or FF is looking for them in the wrong way).

Any idea how to fix this?

Regards
jmdbh
Reply With Quote
  #2   (View Single Post)  
Old 21st November 2010
Darwimy Darwimy is offline
Port Guard
 
Join Date: Jun 2008
Location: Germany
Posts: 36
Default

I managed to quick fix this on my own by patching /usr/local/lib/firefox3/chrome/classic.jar.

Steps (as root):
  1. unzip /usr/local/lib/firefox3/chrome/classic.jar
  2. apply the attached patch
  3. zip the 'skin' directory again as classic.jar

It seems that the icon file names have changed between gtk-2.20 and gtk-2.22. As far as I understood the real file names should not bother applications and I only have this problem with FF.
Attached Files
File Type: diff patch-classic-skin.diff (9.2 KB, 270 views)
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Firefox PROTIP: getting back to a normal Save As Dialogue. caesius Guides 5 15th October 2008 06:24 AM
How do I display icons in Thunar? troberts FreeBSD Ports and Packages 2 18th September 2008 11:05 AM
UPDATE: mozilla-firefox-2.0.0.16 BSDfan666 OpenBSD Packages and Ports 0 17th July 2008 07:45 PM
Mozilla Firefox 2.0.0.14 update.. BSDfan666 OpenBSD Packages and Ports 1 19th May 2008 06:11 PM
How to change folder icons for ROX rex FreeBSD General 0 12th May 2008 12:14 AM


All times are GMT. The time now is 01:41 PM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Content copyright © 2007-2010, the authors
Daemon image copyright ©1988, Marshall Kirk McKusick