mirror of
https://github.com/ZoiteChat/zoitechat.git
synced 2026-03-11 08:20:17 +00:00
Rename X-Tray to HexTray
This commit is contained in:
@@ -1287,7 +1287,7 @@ mg_open_quit_dialog (gboolean minimize_button)
|
||||
gtk_button_box_set_layout (GTK_BUTTON_BOX (dialog_action_area1),
|
||||
GTK_BUTTONBOX_END);
|
||||
|
||||
if (minimize_button && !xtray_mode ())
|
||||
if (minimize_button && !hextray_mode ())
|
||||
{
|
||||
button = gtk_button_new_with_mnemonic (_("_Minimize to Tray"));
|
||||
gtk_widget_show (button);
|
||||
@@ -1586,7 +1586,7 @@ mg_create_alertmenu (session *sess, GtkWidget *menu)
|
||||
|
||||
mg_perchan_menu_item (_("Beep on _Message"), submenu, &sess->alert_beep, prefs.input_beep_chans);
|
||||
|
||||
if (!xtray_mode ()) /*disable this context menu item when xtray is loaded */
|
||||
if (!hextray_mode ()) /*disable this context menu item when HexTray is loaded */
|
||||
{
|
||||
mg_perchan_menu_item (_("Blink Tray _Icon"), submenu, &sess->alert_tray, prefs.input_tray_chans);
|
||||
}
|
||||
|
||||
@@ -732,7 +732,7 @@ tray_apply_setup (void)
|
||||
}
|
||||
else
|
||||
{
|
||||
if (prefs.gui_tray && !xtray_mode ())
|
||||
if (prefs.gui_tray && !hextray_mode ())
|
||||
tray_init ();
|
||||
}
|
||||
}
|
||||
@@ -764,7 +764,7 @@ tray_plugin_init (xchat_plugin *plugin_handle, char **plugin_name,
|
||||
|
||||
xchat_hook_print (ph, "Focus Window", -1, tray_focus_cb, NULL);
|
||||
|
||||
if (prefs.gui_tray && !xtray_mode ())
|
||||
if (prefs.gui_tray && !hextray_mode ())
|
||||
tray_init ();
|
||||
|
||||
return 1; /* return 1 for success */
|
||||
|
||||
@@ -376,7 +376,7 @@ static const setting alert_settings[] =
|
||||
{ST_END, 0, 0, 0, 0, 0}
|
||||
};
|
||||
|
||||
static const setting alert_settings_xtray[] =
|
||||
static const setting alert_settings_hextray[] =
|
||||
{
|
||||
{ST_HEADER, N_("Alerts"),0,0,0},
|
||||
|
||||
@@ -1802,9 +1802,9 @@ setup_create_pages (GtkWidget *box)
|
||||
setup_add_page (cata[4], book, setup_create_page (tabs_settings));
|
||||
setup_add_page (cata[5], book, setup_create_color_page ());
|
||||
|
||||
if (xtray_mode ())
|
||||
if (hextray_mode ())
|
||||
{
|
||||
setup_add_page (cata[8], book, setup_create_page (alert_settings_xtray));
|
||||
setup_add_page (cata[8], book, setup_create_page (alert_settings_hextray));
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user