Exemplo n.º 1
0
static gboolean
tray_menu_try_restore ()
{
	tray_cleanup();
	tray_init();
	return TRUE;
}
Exemplo n.º 2
0
int
tray_plugin_deinit (hexchat_plugin *plugin_handle)
{
#ifdef WIN32
	tray_cleanup ();
#elif defined(USE_LIBNOTIFY)
	notify_uninit ();
#endif
	return 1;
}
Exemplo n.º 3
0
int
tray_plugin_deinit (xchat_plugin *plugin_handle)
{
#ifdef WIN32
	tray_cleanup ();
#elif defined(LIBNOTIFY)
	libnotify_cleanup ();
#endif
	return 1;
}
Exemplo n.º 4
0
void
tray_apply_setup (void)
{
	if (sticon)
	{
		if (!prefs.hex_gui_tray)
			tray_cleanup ();
	}
	else
	{
		if (prefs.hex_gui_tray && !unity_mode ())
			tray_init ();
	}
}
Exemplo n.º 5
0
void
tray_apply_setup (void)
{
	if (sticon)
	{
		if (!prefs.gui_tray)
			tray_cleanup ();
	}
	else
	{
		if (prefs.gui_tray)
			tray_init ();
	}
}