Re: OT: icon problem
- From: Peter Bloomfield <PeterBloomfield bellsouth net>
- To: balsa-list gnome org
- Subject: Re: OT: icon problem
- Date: Thu, 25 May 2017 20:15:06 -0400
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi Jack:
On 05/25/2017 06:14:13 PM Thu, Jack wrote:
This is not a Balsa issue, but probably some underlying gtk icon issue. The icons for adjusting the relative
position of panes GtkPaned ?) have the vertical and horizontal icons swapped. For example, I use the default
layout with preview pane. If I try to adjust the relative height of the message list and preview pane, the
icon for grabbing the separator is two vertical bars with arrows to the right and left. If I try to adjust
the relative size of the mailbox list (left) and the message list and preview pane (right) the icon is two
horizontal bars and arrows pointing up and down. I see the same problem in the gentoo file browser
(application by that name, having nothing to do with the Gentoo distro.) I've hunted through every gtk3 them
and icon I can find, and cannot find those icons. Does anyone know where they come from? Are they build
into gtk3? It's not really imporant, but it's starting to drive me crazy that I can't find where they are
coming from.
Thanks for any suggestions.
The relevant code in gtkpaned.c may be:
if (gtk_widget_is_sensitive (widget))
cursor = gdk_cursor_new_from_name (gtk_widget_get_display (widget),
priv->orientation == GTK_ORIENTATION_HORIZONTAL
? "col-resize" : "row-resize");
else
cursor = NULL;
gdk_window_set_cursor (priv->handle, cursor);
The doc[1] shows all the available cursors, and "col-resize" and "row-resize" are what you'd expect. It
states that:
[gdk_cursor_new_from_name] Creates a new cursor by looking up name in the current cursor theme.
so the fault may lie in the "current cursor theme", whatever that is! On my Fedora box,
/usr/share/icons/Adwaita/cursors/col-resize is a symlink to /usr/share/icons/Adwaita/cursors/sb_h_double_arrow, which "file"
declares to be an "X11 cursor", and which is indeed a double-ended horizontal arrow. You could try looking for some file with
col[-_]resize in its name--that's the best I can suggest!
Peter
[1] https://developer.gnome.org/gdk3/stable/gdk3-Cursors.html#gdk-cursor-new-from-name
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2
iEYEARECAAYFAlknc4oACgkQH1/UtbkqdPXX/wCbBwpKj4SgBKxlQ8ic1yonLBw2
WQIAniuzaej/2JEilQABTfGzGtvL5mPb
=3Fjd
-----END PGP SIGNATURE-----
[
Date Prev][
Date Next] [
Thread Prev][Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]