all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Carlos Pita <carlosjosepita@gmail.com>
To: 31884@debbugs.gnu.org
Subject: bug#31884: 26.1.50; Wrong icon in gtk tooltips
Date: Mon, 18 Jun 2018 16:08:17 -0300	[thread overview]
Message-ID: <CAELgYhe7oV1NHqPdjEoOFZSy-Ynk1i+EEi+CPck98=Su6MZFUQ@mail.gmail.com> (raw)
In-Reply-To: <87a7rsneb2.fsf@gmail.com>

Searching through the icon browser I would say that the icon in the
screenshot has stock name action-unavailable or
action-unavailable-symbolic. I grepped emacs code for these names and
couldn't find them, so I assume they're set by gtk on response to a
requested "unavailable action" (go figure). Now, the gtk code that
creates the tooltip seems to be replacing the original icon+label box
with just a custom label:

  0       g_object_set (G_OBJECT (widget), "has-tooltip", FALSE, NULL);
  1       x->ttip_widget = tooltip;
  2       g_object_ref (G_OBJECT (tooltip));
  3       x->ttip_lbl = gtk_label_new ("");
  4       g_object_ref (G_OBJECT (x->ttip_lbl));
  5       gtk_tooltip_set_custom (tooltip, x->ttip_lbl);
  6       x->ttip_window = GTK_WINDOW (gtk_widget_get_toplevel (x->ttip_lbl));

I'm unable to see here how an icon is being set at all.





  reply	other threads:[~2018-06-18 19:08 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-06-18 18:24 bug#31884: 26.1.50; Wrong icon in gtk tooltips Carlos Pita
2018-06-18 19:08 ` Carlos Pita [this message]
2018-06-19  1:03   ` Carlos Pita
2018-06-20  0:09     ` Noam Postavsky
2018-06-20  0:12       ` Carlos Pita
2018-06-20 23:47         ` Noam Postavsky
2018-06-21  0:18           ` Carlos Pita
2018-06-22  0:18             ` Noam Postavsky
2018-06-19  1:15 ` bug#31884: Carlos Pita
2018-06-19  1:17 ` bug#31884: (no subject) Carlos Pita

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAELgYhe7oV1NHqPdjEoOFZSy-Ynk1i+EEi+CPck98=Su6MZFUQ@mail.gmail.com' \
    --to=carlosjosepita@gmail.com \
    --cc=31884@debbugs.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.