Re: How to re-enable icons in menus?

2014-02-04 Thread Michael Lipp
Hi Matthias,

Thank you very much, this works perfectly. Except, as you said, where no
icons are available. But if people decide to remove icons from their
applications, I suppose nobody can do anything about that, though I
don't understand why. Anyway, the context menu in nautilus has enough
eye catchers again now to be better usable (though the cut and paste
icons would be helpful, the menu is still a bit spacey at the top). (I
think i read somewhere that nautilus can be extended using python, maybe
I'll give it a try when I have time.)

Actually, having the solution, I could google the answer, though this
doesn't help much. It shows that the net (or google at least) will not
be helpful if people don't add version numbers, the search results are
dominated by the old answer -- but how could anyone have known that
the previously correct answer would only last until gnome-3.9...

Anyway, being a bit curious about these settings now, is there any kind
of reference where those helpful secrets are documented (besides
reading the code)?

 - Michael



Am 04.02.2014 01:42, schrieb Matthias Clasen:
 Hey,

 you didn't say which environment this struggle is happening in, so I'm
 just going to assume it is GNOME, and gnome-settings-daemon is
 running. In that case,

 gsettings set org.gnome.settings-daemon.plugins.xsettings overrides
 {'Gtk/MenuImages':1}

 will do what you are asking for. However, you might find that many
 menuitems just don't contain icons anymore - in that case, no setting
 will bring it back.


 Matthias

___
gtk-devel-list mailing list
gtk-devel-list@gnome.org
https://mail.gnome.org/mailman/listinfo/gtk-devel-list


Re: gobject-introspection: Cryptic error in g-ir-scanner

2014-02-04 Thread Bastien Nocera
On Tue, 2014-02-04 at 15:20 +0530, Ankit Vani wrote:
 Hi
 
 I have set up gobject-introspection in Pidgin -- and it works well for
 libpurple, pidgin and finch. However, g-ir-scanner dies with a very
 cryptic error when g-ir-scanner scans libgnt.
 
 
 The error looks like:
   GISCAN   Gnt-2.8.gir
 
 (process:13172): GLib-CRITICAL **: g_key_file_has_group: assertion
 'key_file != NULL' failed

Try getting a backtrace of the crash. It's likely a bug in the library
itself.


___
gtk-devel-list mailing list
gtk-devel-list@gnome.org
https://mail.gnome.org/mailman/listinfo/gtk-devel-list


Re: gobject-introspection: Cryptic error in g-ir-scanner

2014-02-04 Thread Ankit Vani
On Tue, Feb 4, 2014 at 3:27 PM, Bastien Nocera had...@hadess.net wrote:
 Try getting a backtrace of the crash. It's likely a bug in the library
 itself.

Can you tell me how exactly to go about getting a backtrace?

I've tried using gdb on python (to run g-ir-scanner) without any special
setting, but I'm unable to break on g_log.
___
gtk-devel-list mailing list
gtk-devel-list@gnome.org
https://mail.gnome.org/mailman/listinfo/gtk-devel-list


Re: gobject-introspection: Cryptic error in g-ir-scanner

2014-02-04 Thread Bastien Nocera
On Tue, 2014-02-04 at 15:34 +0530, Ankit Vani wrote:
 On Tue, Feb 4, 2014 at 3:27 PM, Bastien Nocera had...@hadess.net wrote:
  Try getting a backtrace of the crash. It's likely a bug in the library
  itself.
 
 Can you tell me how exactly to go about getting a backtrace?
 
 I've tried using gdb on python (to run g-ir-scanner) without any special
 setting, but I'm unable to break on g_log.

ulimit -c unlimited
G_DEBUG=fatal_criticals make

And examine the coredump with gdb.

___
gtk-devel-list mailing list
gtk-devel-list@gnome.org
https://mail.gnome.org/mailman/listinfo/gtk-devel-list


Re: How to re-enable icons in menus?

2014-02-04 Thread Chris Vine
On Tue, 04 Feb 2014 09:39:26 +0100
Michael Lipp m...@mnl.de wrote:
 Am 04.02.2014 01:42, schrieb Matthias Clasen:
  Hey,
 
  you didn't say which environment this struggle is happening in, so
  I'm just going to assume it is GNOME, and gnome-settings-daemon is
  running. In that case,
 
  gsettings set org.gnome.settings-daemon.plugins.xsettings overrides
  {'Gtk/MenuImages':1}
 
  will do what you are asking for. However, you might find that many
  menuitems just don't contain icons anymore - in that case, no
  setting will bring it back.
 
 
  Matthias

[snip] 
 Anyway, being a bit curious about these settings now, is there any
 kind of reference where those helpful secrets are documented
 (besides reading the code)?

[top posting rearranged to be readable]
[follow-ups not set, but should go to another list]

The freedesktop.org Xsettings registry entries are here:

http://www.freedesktop.org/wiki/Specifications/XSettingsRegistry/

Chris
___
gtk-devel-list mailing list
gtk-devel-list@gnome.org
https://mail.gnome.org/mailman/listinfo/gtk-devel-list


Re: How to re-enable icons in menus?

2014-02-04 Thread Jasper St. Pierre
We add XSettings at will now, as it's really our only way to get platform
settings hooked into GTK+.

You can see all of the ones that GTK+ pays attention to here:

https://git.gnome.org/browse/gtk+/tree/gdk/x11/gdksettings.c#n25


On Tue, Feb 4, 2014 at 7:16 AM, Chris Vine ch...@cvine.freeserve.co.ukwrote:

 On Tue, 04 Feb 2014 09:39:26 +0100
 Michael Lipp m...@mnl.de wrote:
  Am 04.02.2014 01:42, schrieb Matthias Clasen:
   Hey,
  
   you didn't say which environment this struggle is happening in, so
   I'm just going to assume it is GNOME, and gnome-settings-daemon is
   running. In that case,
  
   gsettings set org.gnome.settings-daemon.plugins.xsettings overrides
   {'Gtk/MenuImages':1}
  
   will do what you are asking for. However, you might find that many
   menuitems just don't contain icons anymore - in that case, no
   setting will bring it back.
  
  
   Matthias
 
 [snip]
  Anyway, being a bit curious about these settings now, is there any
  kind of reference where those helpful secrets are documented
  (besides reading the code)?

 [top posting rearranged to be readable]
 [follow-ups not set, but should go to another list]

 The freedesktop.org Xsettings registry entries are here:

 http://www.freedesktop.org/wiki/Specifications/XSettingsRegistry/

 Chris
 ___
 gtk-devel-list mailing list
 gtk-devel-list@gnome.org
 https://mail.gnome.org/mailman/listinfo/gtk-devel-list




-- 
  Jasper
___
gtk-devel-list mailing list
gtk-devel-list@gnome.org
https://mail.gnome.org/mailman/listinfo/gtk-devel-list