Пример #1
0
static gboolean
tray_menu_try_restore ()
{
	tray_cleanup();
	tray_init();
	return TRUE;
}
Пример #2
0
int
tray_plugin_deinit (hexchat_plugin *plugin_handle)
{
#ifdef WIN32
	tray_cleanup ();
#elif defined(USE_LIBNOTIFY)
	notify_uninit ();
#endif
	return 1;
}
Пример #3
0
int
tray_plugin_deinit (xchat_plugin *plugin_handle)
{
#ifdef WIN32
	tray_cleanup ();
#elif defined(LIBNOTIFY)
	libnotify_cleanup ();
#endif
	return 1;
}
Пример #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 ();
	}
}
Пример #5
0
void
tray_apply_setup (void)
{
	if (sticon)
	{
		if (!prefs.gui_tray)
			tray_cleanup ();
	}
	else
	{
		if (prefs.gui_tray)
			tray_init ();
	}
}