Re: Accelerator key inconsistencies

CJ van den Berg <[email protected]>
Newsgroups gmane.comp.gnome.gossip.devel
Message-ID <[email protected]>
On Tue, Aug 08, 2006 at 05:02:23PM +0100, Martyn Russell wrote:
> > I just noticed too, that "hide contact list" (or whatever it used to be
> > called) has disappeared from the menu in 0.14.
> 
> I guess it is because of:
> 
> 	if (!gossip_have_tray ()) {
> 		hidden = FALSE;
> 		gtk_widget_hide (GTK_WIDGET (priv->actions_hide_list));
> 
> It was broken, the else statement didn't call gtk_widget_show() so I
> guess it was hidden in the glade file?
> 
> Anyway, thanks, I have committed a fix.

I think it's because gossip usually loads faster that the tray on my
machine, so at the time of the gossip_have_tray() call there is indeed no
tray so the menu item gets hidden. If I re-load gossip later after the panel
has loaded and is running, then the menu item is there. I guess gossip must
have some code to detect the late arrival of the tray because the tray icon
showes up fine when the panel is finally finished loading. Maybe the code
that does that should un-hide the menu item again too?

-- 
CJ van den Berg

mailto:[email protected]
  xmpp:[email protected]

_______________________________________________
Gossip-dev mailing list
[email protected]
http://lists.imendio.com/mailman/listinfo/gossip-dev
signature.asc (application/pgp-signature, 189 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (GNU/Linux)

iD4DBQFE2OTwl3pZXfh0CHIRAkL6AJ9RP/md7XU8x+NlrDkYRmNvK6rvewCYvsCy
UjBercUJU8NQhR/p/ZrOYQ==
=H7eL
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.