mirror of
https://github.com/ZoiteChat/zoitechat.git
synced 2026-03-12 16:50:19 +00:00
HEXCHAT -> ZOITECHAT
This commit is contained in:
@@ -17,8 +17,8 @@
|
||||
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
|
||||
*/
|
||||
|
||||
#ifndef HEXCHAT_ASCII_H
|
||||
#define HEXCHAT_ASCII_H
|
||||
#ifndef ZOITECHAT_ASCII_H
|
||||
#define ZOITECHAT_ASCII_H
|
||||
|
||||
void ascii_open (void);
|
||||
|
||||
|
||||
@@ -17,8 +17,8 @@
|
||||
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
|
||||
*/
|
||||
|
||||
#ifndef HEXCHAT_BANLIST_H
|
||||
#define HEXCHAT_BANLIST_H
|
||||
#ifndef ZOITECHAT_BANLIST_H
|
||||
#define ZOITECHAT_BANLIST_H
|
||||
|
||||
#include "../common/zoitechat.h"
|
||||
void banlist_opengui (session *sess);
|
||||
@@ -72,4 +72,4 @@ typedef struct mode_info_s {
|
||||
void (*tester)(banlist_info *, int); /* Function returns true to set bit into checkable */
|
||||
} mode_info;
|
||||
|
||||
#endif /* HEXCHAT_BANLIST_H */
|
||||
#endif /* ZOITECHAT_BANLIST_H */
|
||||
|
||||
@@ -17,8 +17,8 @@
|
||||
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
|
||||
*/
|
||||
|
||||
#ifndef HEXCHAT_CHANLIST_H
|
||||
#define HEXCHAT_CHANLIST_H
|
||||
#ifndef ZOITECHAT_CHANLIST_H
|
||||
#define ZOITECHAT_CHANLIST_H
|
||||
|
||||
void chanlist_opengui (server *serv, int do_refresh);
|
||||
|
||||
|
||||
@@ -98,11 +98,11 @@ cv_tree_init (chanview *cv)
|
||||
int wid1, wid2;
|
||||
static const GtkTargetEntry dnd_src_target[] =
|
||||
{
|
||||
{"HEXCHAT_CHANVIEW", GTK_TARGET_SAME_APP, 75 }
|
||||
{"ZOITECHAT_CHANVIEW", GTK_TARGET_SAME_APP, 75 }
|
||||
};
|
||||
static const GtkTargetEntry dnd_dest_target[] =
|
||||
{
|
||||
{"HEXCHAT_USERLIST", GTK_TARGET_SAME_APP, 75 }
|
||||
{"ZOITECHAT_USERLIST", GTK_TARGET_SAME_APP, 75 }
|
||||
};
|
||||
|
||||
win = gtk_scrolled_window_new (0, 0);
|
||||
|
||||
@@ -17,8 +17,8 @@
|
||||
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
|
||||
*/
|
||||
|
||||
#ifndef HEXCHAT_CHANVIEW_H
|
||||
#define HEXCHAT_CHANVIEW_H
|
||||
#ifndef ZOITECHAT_CHANVIEW_H
|
||||
#define ZOITECHAT_CHANVIEW_H
|
||||
|
||||
typedef struct _chanview chanview;
|
||||
typedef struct _chan chan;
|
||||
|
||||
@@ -17,8 +17,8 @@
|
||||
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
|
||||
*/
|
||||
|
||||
#ifndef HEXCHAT_CUSTOM_LIST_H
|
||||
#define HEXCHAT_CUSTOM_LIST_H
|
||||
#ifndef ZOITECHAT_CUSTOM_LIST_H
|
||||
#define ZOITECHAT_CUSTOM_LIST_H
|
||||
|
||||
#include <gtk/gtk.h>
|
||||
|
||||
@@ -103,4 +103,4 @@ void custom_list_append (CustomList *, chanlistrow *);
|
||||
void custom_list_resort (CustomList *);
|
||||
void custom_list_clear (CustomList *);
|
||||
|
||||
#endif /* HEXCHAT_CUSTOM_LIST_H */
|
||||
#endif /* ZOITECHAT_CUSTOM_LIST_H */
|
||||
|
||||
@@ -17,8 +17,8 @@
|
||||
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
|
||||
*/
|
||||
|
||||
#ifndef HEXCHAT_EDITLIST_H
|
||||
#define HEXCHAT_EDITLIST_H
|
||||
#ifndef ZOITECHAT_EDITLIST_H
|
||||
#define ZOITECHAT_EDITLIST_H
|
||||
|
||||
void editlist_gui_open (char *title1, char *title2, GSList * list, char *title, char *wmclass, char *file, char *help);
|
||||
|
||||
|
||||
@@ -530,7 +530,7 @@ log_handler (const gchar *log_domain,
|
||||
{
|
||||
session *sess;
|
||||
|
||||
/* if (getenv ("HEXCHAT_WARNING_IGNORE")) this gets ignored sometimes, so simply just disable all warnings */
|
||||
/* if (getenv ("ZOITECHAT_WARNING_IGNORE")) this gets ignored sometimes, so simply just disable all warnings */
|
||||
return;
|
||||
|
||||
sess = find_dialog (serv_list->data, "(warnings)");
|
||||
@@ -538,7 +538,7 @@ log_handler (const gchar *log_domain,
|
||||
sess = new_ircwindow (serv_list->data, "(warnings)", SESS_DIALOG, 0);
|
||||
|
||||
PrintTextf (sess, "%s\t%s\n", log_domain, message);
|
||||
if (getenv ("HEXCHAT_WARNING_ABORT"))
|
||||
if (getenv ("ZOITECHAT_WARNING_ABORT"))
|
||||
abort ();
|
||||
}
|
||||
|
||||
|
||||
@@ -17,8 +17,8 @@
|
||||
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
|
||||
*/
|
||||
|
||||
#ifndef HEXCHAT_FE_GTK_H
|
||||
#define HEXCHAT_FE_GTK_H
|
||||
#ifndef ZOITECHAT_FE_GTK_H
|
||||
#define ZOITECHAT_FE_GTK_H
|
||||
|
||||
#include "config.h"
|
||||
|
||||
|
||||
@@ -17,8 +17,8 @@
|
||||
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
|
||||
*/
|
||||
|
||||
#ifndef HEXCHAT_FKEYS_H
|
||||
#define HEXCHAT_FKEYS_H
|
||||
#ifndef ZOITECHAT_FKEYS_H
|
||||
#define ZOITECHAT_FKEYS_H
|
||||
|
||||
/* These are cp'ed from history.c --AGL */
|
||||
#define STATE_SHIFT GDK_SHIFT_MASK
|
||||
|
||||
@@ -17,8 +17,8 @@
|
||||
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
|
||||
*/
|
||||
|
||||
#ifndef HEXCHAT_GTKUTIL_H
|
||||
#define HEXCHAT_GTKUTIL_H
|
||||
#ifndef ZOITECHAT_GTKUTIL_H
|
||||
#define ZOITECHAT_GTKUTIL_H
|
||||
|
||||
#include <gtk/gtk.h>
|
||||
#include "../common/fe.h"
|
||||
|
||||
@@ -17,8 +17,8 @@
|
||||
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
|
||||
*/
|
||||
|
||||
#ifndef HEXCHAT_JOIND_H
|
||||
#define HEXCHAT_JOIND_H
|
||||
#ifndef ZOITECHAT_JOIND_H
|
||||
#define ZOITECHAT_JOIND_H
|
||||
|
||||
void joind_open (server *serv);
|
||||
void joind_close (server *serv);
|
||||
|
||||
@@ -2489,8 +2489,8 @@ mg_create_textarea (session *sess, GtkWidget *box)
|
||||
};
|
||||
static const GtkTargetEntry dnd_dest_targets[] =
|
||||
{
|
||||
{"HEXCHAT_CHANVIEW", GTK_TARGET_SAME_APP, 75 },
|
||||
{"HEXCHAT_USERLIST", GTK_TARGET_SAME_APP, 75 }
|
||||
{"ZOITECHAT_CHANVIEW", GTK_TARGET_SAME_APP, 75 },
|
||||
{"ZOITECHAT_USERLIST", GTK_TARGET_SAME_APP, 75 }
|
||||
};
|
||||
|
||||
vbox = gtk_vbox_new (FALSE, 0);
|
||||
@@ -4183,7 +4183,7 @@ mg_is_gui_target (GdkDragContext *context)
|
||||
target_name = gdk_atom_name (gdk_drag_context_list_targets (context)->data);
|
||||
if (target_name)
|
||||
{
|
||||
/* if it's not HEXCHAT_CHANVIEW or HEXCHAT_USERLIST */
|
||||
/* if it's not ZOITECHAT_CHANVIEW or ZOITECHAT_USERLIST */
|
||||
/* we should ignore it. */
|
||||
if (target_name[0] != 'H')
|
||||
{
|
||||
|
||||
@@ -17,8 +17,8 @@
|
||||
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
|
||||
*/
|
||||
|
||||
#ifndef HEXCHAT_MAINGUI_H
|
||||
#define HEXCHAT_MAINGUI_H
|
||||
#ifndef ZOITECHAT_MAINGUI_H
|
||||
#define ZOITECHAT_MAINGUI_H
|
||||
|
||||
extern GtkStyle *input_style;
|
||||
extern GtkWidget *parent_window;
|
||||
|
||||
@@ -1772,7 +1772,7 @@ menu_about (GtkWidget *wid, gpointer sess)
|
||||
}
|
||||
|
||||
static struct mymenu mymenu[] = {
|
||||
{N_("_ZoiteChat"), 0, 0, M_NEWMENU, MENU_ID_HEXCHAT, 0, 1},
|
||||
{N_("_ZoiteChat"), 0, 0, M_NEWMENU, MENU_ID_ZOITECHAT, 0, 1},
|
||||
{N_("Network Li_st"), menu_open_server_list, (char *)&pix_book, M_MENUPIX, 0, 0, 1, GDK_KEY_s},
|
||||
{0, 0, 0, M_SEP, 0, 0, 0},
|
||||
|
||||
@@ -2396,7 +2396,7 @@ menu_create_main (void *accel_group, int bar, int away, int toplevel,
|
||||
/* record the English name for /menu */
|
||||
g_object_set_data (G_OBJECT (menu_item), "name", mymenu[i].text);
|
||||
#ifdef HAVE_GTK_MAC /* Added to app menu, see below */
|
||||
if (!bar || mymenu[i].id != MENU_ID_HEXCHAT)
|
||||
if (!bar || mymenu[i].id != MENU_ID_ZOITECHAT)
|
||||
#endif
|
||||
gtk_menu_shell_append (GTK_MENU_SHELL (menu_bar), menu_item);
|
||||
gtk_widget_show (menu_item);
|
||||
@@ -2502,7 +2502,7 @@ togitem:
|
||||
|
||||
#ifdef HAVE_GTK_MAC
|
||||
/* We want ZoiteChat to be the app menu, not including Quit or ZoiteChat itself */
|
||||
if (bar && item && i <= CLOSE_OFFSET + 1 && mymenu[i].id != MENU_ID_HEXCHAT)
|
||||
if (bar && item && i <= CLOSE_OFFSET + 1 && mymenu[i].id != MENU_ID_ZOITECHAT)
|
||||
{
|
||||
if (!submenu || mymenu[i].type == M_MENUSUB)
|
||||
gtkosx_application_insert_app_menu_item (osx_app, item, appmenu_offset++);
|
||||
|
||||
@@ -17,8 +17,8 @@
|
||||
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
|
||||
*/
|
||||
|
||||
#ifndef HEXCHAT_MENU_H
|
||||
#define HEXCHAT_MENU_H
|
||||
#ifndef ZOITECHAT_MENU_H
|
||||
#define ZOITECHAT_MENU_H
|
||||
|
||||
GtkWidget *menu_create_main (void *accel_group, int bar, int away, int toplevel, GtkWidget **menu_widgets);
|
||||
void menu_urlmenu (GdkEventButton * event, char *url);
|
||||
@@ -62,9 +62,9 @@ void menu_set_fullscreen (session_gui *gui, int fullscreen);
|
||||
#define MENU_ID_JOIN 11
|
||||
#define MENU_ID_USERMENU 12
|
||||
#define MENU_ID_FULLSCREEN 13
|
||||
#define MENU_ID_HEXCHAT 14
|
||||
#define MENU_ID_ZOITECHAT 14
|
||||
|
||||
#if (MENU_ID_NUM < MENU_ID_HEXCHAT)
|
||||
#if (MENU_ID_NUM < MENU_ID_ZOITECHAT)
|
||||
#error MENU_ID_NUM is set wrong
|
||||
#endif
|
||||
|
||||
|
||||
@@ -16,8 +16,8 @@
|
||||
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
|
||||
*/
|
||||
|
||||
#ifndef HEXCHAT_PLUGIN_NOTIFICATION_BACKEND_H
|
||||
#define HEXCHAT_PLUGIN_NOTIFICATION_BACKEND_H
|
||||
#ifndef ZOITECHAT_PLUGIN_NOTIFICATION_BACKEND_H
|
||||
#define ZOITECHAT_PLUGIN_NOTIFICATION_BACKEND_H
|
||||
|
||||
int notification_backend_supported (void);
|
||||
void notification_backend_show (const char *title, const char *text);
|
||||
|
||||
@@ -47,7 +47,7 @@ notification_backend_init (const char **error)
|
||||
/* Temporarily suppress the "DLL could not be loaded" dialog box before trying to load hcnotifications-winrt.dll */
|
||||
original_error_mode = GetErrorMode ();
|
||||
SetErrorMode(SEM_FAILCRITICALERRORS);
|
||||
module = module_load (HEXCHATLIBDIR "\\hcnotifications-winrt.dll");
|
||||
module = module_load (ZOITECHATLIBDIR "\\hcnotifications-winrt.dll");
|
||||
SetErrorMode (original_error_mode);
|
||||
|
||||
if (module == NULL)
|
||||
|
||||
@@ -17,8 +17,8 @@
|
||||
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
|
||||
*/
|
||||
|
||||
#ifndef HEXCHAT_NOTIFYGUI_H
|
||||
#define HEXCHAT_NOTIFYGUI_H
|
||||
#ifndef ZOITECHAT_NOTIFYGUI_H
|
||||
#define ZOITECHAT_NOTIFYGUI_H
|
||||
|
||||
void notify_gui_update (void);
|
||||
void notify_opengui (void);
|
||||
|
||||
@@ -17,8 +17,8 @@
|
||||
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
|
||||
*/
|
||||
|
||||
#ifndef HEXCHAT_PALETTE_H
|
||||
#define HEXCHAT_PALETTE_H
|
||||
#ifndef ZOITECHAT_PALETTE_H
|
||||
#define ZOITECHAT_PALETTE_H
|
||||
|
||||
#include <stddef.h>
|
||||
|
||||
|
||||
@@ -17,8 +17,8 @@
|
||||
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
|
||||
*/
|
||||
|
||||
#ifndef HEXCHAT_PIXMAPS_H
|
||||
#define HEXCHAT_PIXMAPS_H
|
||||
#ifndef ZOITECHAT_PIXMAPS_H
|
||||
#define ZOITECHAT_PIXMAPS_H
|
||||
|
||||
#include <cairo.h>
|
||||
|
||||
|
||||
@@ -113,7 +113,7 @@ incoming_hilight_cb (char *word[], gpointer userdata)
|
||||
{
|
||||
show_notificationf (word[2], _("Highlighted message from: %s (%s)"), word[1], zoitechat_get_info (ph, "channel"));
|
||||
}
|
||||
return HEXCHAT_EAT_NONE;
|
||||
return ZOITECHAT_EAT_NONE;
|
||||
}
|
||||
|
||||
static int
|
||||
@@ -139,7 +139,7 @@ incoming_message_cb (char *word[], gpointer userdata)
|
||||
if (alert) {
|
||||
show_notificationf(word[2], _("Channel message from: %s (%s)"), word[1], zoitechat_get_info(ph, "channel"));
|
||||
}
|
||||
return HEXCHAT_EAT_NONE;
|
||||
return ZOITECHAT_EAT_NONE;
|
||||
}
|
||||
|
||||
static int
|
||||
@@ -189,7 +189,7 @@ incoming_priv_cb (char *word[], gpointer userdata)
|
||||
else
|
||||
show_notificationf (word[2], _("Private message from: %s (%s)"), word[1], network);
|
||||
}
|
||||
return HEXCHAT_EAT_NONE;
|
||||
return ZOITECHAT_EAT_NONE;
|
||||
}
|
||||
|
||||
static int
|
||||
@@ -199,10 +199,10 @@ tray_cmd_cb (char *word[], char *word_eol[], gpointer userdata)
|
||||
{
|
||||
if (should_alert ())
|
||||
show_notification (word[3], word_eol[4]);
|
||||
return HEXCHAT_EAT_ALL;
|
||||
return ZOITECHAT_EAT_ALL;
|
||||
}
|
||||
|
||||
return HEXCHAT_EAT_NONE;
|
||||
return ZOITECHAT_EAT_NONE;
|
||||
}
|
||||
|
||||
int
|
||||
@@ -222,24 +222,24 @@ notification_plugin_init (zoitechat_plugin *plugin_handle, char **plugin_name, c
|
||||
return 0;
|
||||
}
|
||||
|
||||
zoitechat_hook_print (ph, "Channel Msg Hilight", HEXCHAT_PRI_LOWEST, incoming_hilight_cb, NULL);
|
||||
zoitechat_hook_print (ph, "Channel Action Hilight", HEXCHAT_PRI_LOWEST, incoming_hilight_cb, NULL);
|
||||
zoitechat_hook_print (ph, "Channel Msg Hilight", ZOITECHAT_PRI_LOWEST, incoming_hilight_cb, NULL);
|
||||
zoitechat_hook_print (ph, "Channel Action Hilight", ZOITECHAT_PRI_LOWEST, incoming_hilight_cb, NULL);
|
||||
|
||||
zoitechat_hook_print (ph, "Channel Message", HEXCHAT_PRI_LOWEST, incoming_message_cb, NULL);
|
||||
zoitechat_hook_print (ph, "Channel Action", HEXCHAT_PRI_LOWEST, incoming_message_cb, NULL);
|
||||
zoitechat_hook_print (ph, "Channel Notice", HEXCHAT_PRI_LOWEST, incoming_message_cb, NULL);
|
||||
zoitechat_hook_print (ph, "Channel Message", ZOITECHAT_PRI_LOWEST, incoming_message_cb, NULL);
|
||||
zoitechat_hook_print (ph, "Channel Action", ZOITECHAT_PRI_LOWEST, incoming_message_cb, NULL);
|
||||
zoitechat_hook_print (ph, "Channel Notice", ZOITECHAT_PRI_LOWEST, incoming_message_cb, NULL);
|
||||
|
||||
zoitechat_hook_print (ph, "Private Message", HEXCHAT_PRI_LOWEST, incoming_priv_cb, NULL);
|
||||
zoitechat_hook_print (ph, "Private Message to Dialog", HEXCHAT_PRI_LOWEST, incoming_priv_cb, NULL);
|
||||
zoitechat_hook_print (ph, "Private Action", HEXCHAT_PRI_LOWEST, incoming_priv_cb, NULL);
|
||||
zoitechat_hook_print (ph, "Private Action to Dialog", HEXCHAT_PRI_LOWEST, incoming_priv_cb, NULL);
|
||||
zoitechat_hook_print (ph, "Private Message", ZOITECHAT_PRI_LOWEST, incoming_priv_cb, NULL);
|
||||
zoitechat_hook_print (ph, "Private Message to Dialog", ZOITECHAT_PRI_LOWEST, incoming_priv_cb, NULL);
|
||||
zoitechat_hook_print (ph, "Private Action", ZOITECHAT_PRI_LOWEST, incoming_priv_cb, NULL);
|
||||
zoitechat_hook_print (ph, "Private Action to Dialog", ZOITECHAT_PRI_LOWEST, incoming_priv_cb, NULL);
|
||||
|
||||
/* Special events treated as priv */
|
||||
zoitechat_hook_print (ph, "Notice", HEXCHAT_PRI_LOWEST, incoming_priv_cb, GINT_TO_POINTER (1));
|
||||
zoitechat_hook_print (ph, "Invited", HEXCHAT_PRI_LOWEST, incoming_priv_cb, GINT_TO_POINTER (2));
|
||||
zoitechat_hook_print (ph, "DCC Offer", HEXCHAT_PRI_LOWEST, incoming_priv_cb, GINT_TO_POINTER (3));
|
||||
zoitechat_hook_print (ph, "Notice", ZOITECHAT_PRI_LOWEST, incoming_priv_cb, GINT_TO_POINTER (1));
|
||||
zoitechat_hook_print (ph, "Invited", ZOITECHAT_PRI_LOWEST, incoming_priv_cb, GINT_TO_POINTER (2));
|
||||
zoitechat_hook_print (ph, "DCC Offer", ZOITECHAT_PRI_LOWEST, incoming_priv_cb, GINT_TO_POINTER (3));
|
||||
|
||||
zoitechat_hook_command (ph, "TRAY", HEXCHAT_PRI_HIGH, tray_cmd_cb, NULL, NULL);
|
||||
zoitechat_hook_command (ph, "TRAY", ZOITECHAT_PRI_HIGH, tray_cmd_cb, NULL, NULL);
|
||||
|
||||
return 1;
|
||||
}
|
||||
|
||||
@@ -16,8 +16,8 @@
|
||||
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
|
||||
*/
|
||||
|
||||
#ifndef HEXCHAT_PLUGIN_NOTIFICATION_H
|
||||
#define HEXCHAT_PLUGIN_NOTIFICATION_H
|
||||
#ifndef ZOITECHAT_PLUGIN_NOTIFICATION_H
|
||||
#define ZOITECHAT_PLUGIN_NOTIFICATION_H
|
||||
|
||||
int notification_plugin_init (void *, char **, char **, char **, char *);
|
||||
int notification_plugin_deinit (void *);
|
||||
|
||||
@@ -622,7 +622,7 @@ static int
|
||||
tray_hilight_cb (char *word[], void *userdata)
|
||||
{
|
||||
/*if (tray_status == TS_HIGHLIGHT)
|
||||
return HEXCHAT_EAT_NONE;*/
|
||||
return ZOITECHAT_EAT_NONE;*/
|
||||
|
||||
if (prefs.hex_input_tray_hilight)
|
||||
{
|
||||
@@ -639,14 +639,14 @@ tray_hilight_cb (char *word[], void *userdata)
|
||||
_(DISPLAY_NAME));
|
||||
}
|
||||
|
||||
return HEXCHAT_EAT_NONE;
|
||||
return ZOITECHAT_EAT_NONE;
|
||||
}
|
||||
|
||||
static int
|
||||
tray_message_cb (char *word[], void *userdata)
|
||||
{
|
||||
if (/*tray_status == TS_MESSAGE ||*/ tray_status == TS_HIGHLIGHT)
|
||||
return HEXCHAT_EAT_NONE;
|
||||
return ZOITECHAT_EAT_NONE;
|
||||
|
||||
if (prefs.hex_input_tray_chans)
|
||||
{
|
||||
@@ -660,7 +660,7 @@ tray_message_cb (char *word[], void *userdata)
|
||||
tray_set_tipf (_("%u channel messages. - %s"), tray_pub_count, _(DISPLAY_NAME));
|
||||
}
|
||||
|
||||
return HEXCHAT_EAT_NONE;
|
||||
return ZOITECHAT_EAT_NONE;
|
||||
}
|
||||
|
||||
static void
|
||||
@@ -694,7 +694,7 @@ tray_priv_cb (char *word[], void *userdata)
|
||||
{
|
||||
tray_priv (word[1], word[2]);
|
||||
|
||||
return HEXCHAT_EAT_NONE;
|
||||
return ZOITECHAT_EAT_NONE;
|
||||
}
|
||||
|
||||
static int
|
||||
@@ -703,7 +703,7 @@ tray_invited_cb (char *word[], void *userdata)
|
||||
if (!prefs.hex_away_omit_alerts || tray_find_away_status () != 1)
|
||||
tray_priv (word[2], "Invited");
|
||||
|
||||
return HEXCHAT_EAT_NONE;
|
||||
return ZOITECHAT_EAT_NONE;
|
||||
}
|
||||
|
||||
static int
|
||||
@@ -712,7 +712,7 @@ tray_dcc_cb (char *word[], void *userdata)
|
||||
const char *network;
|
||||
|
||||
/* if (tray_status == TS_FILEOFFER)
|
||||
return HEXCHAT_EAT_NONE;*/
|
||||
return ZOITECHAT_EAT_NONE;*/
|
||||
|
||||
network = zoitechat_get_info (ph, "network");
|
||||
if (!network)
|
||||
@@ -731,7 +731,7 @@ tray_dcc_cb (char *word[], void *userdata)
|
||||
tray_file_count, word[1], network, _(DISPLAY_NAME));
|
||||
}
|
||||
|
||||
return HEXCHAT_EAT_NONE;
|
||||
return ZOITECHAT_EAT_NONE;
|
||||
}
|
||||
|
||||
static int
|
||||
@@ -739,7 +739,7 @@ tray_focus_cb (char *word[], void *userdata)
|
||||
{
|
||||
tray_stop_flash ();
|
||||
tray_reset_counts ();
|
||||
return HEXCHAT_EAT_NONE;
|
||||
return ZOITECHAT_EAT_NONE;
|
||||
}
|
||||
|
||||
static void
|
||||
|
||||
@@ -17,8 +17,8 @@
|
||||
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
|
||||
*/
|
||||
|
||||
#ifndef HEXCHAT_PLUGIN_TRAY_H
|
||||
#define HEXCHAT_PLUGIN_TRAY_H
|
||||
#ifndef ZOITECHAT_PLUGIN_TRAY_H
|
||||
#define ZOITECHAT_PLUGIN_TRAY_H
|
||||
|
||||
int tray_plugin_init (void *, char **, char **, char **, char *);
|
||||
int tray_plugin_deinit (void *);
|
||||
|
||||
@@ -17,8 +17,8 @@
|
||||
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
|
||||
*/
|
||||
|
||||
#ifndef HEXCHAT_PLUGINGUI_H
|
||||
#define HEXCHAT_PLUGINGUI_H
|
||||
#ifndef ZOITECHAT_PLUGINGUI_H
|
||||
#define ZOITECHAT_PLUGINGUI_H
|
||||
|
||||
void plugingui_open (void);
|
||||
void plugingui_load (void);
|
||||
|
||||
@@ -17,8 +17,8 @@
|
||||
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
|
||||
*/
|
||||
|
||||
#ifndef HEXCHAT_RAWLOG_H
|
||||
#define HEXCHAT_RAWLOG_H
|
||||
#ifndef ZOITECHAT_RAWLOG_H
|
||||
#define ZOITECHAT_RAWLOG_H
|
||||
|
||||
void open_rawlog (server *serv);
|
||||
|
||||
|
||||
@@ -17,8 +17,8 @@
|
||||
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
|
||||
*/
|
||||
|
||||
#ifndef HEXCHAT_SERVLISTGUI_H
|
||||
#define HEXCHAT_SERVLISTGUI_H
|
||||
#ifndef ZOITECHAT_SERVLISTGUI_H
|
||||
#define ZOITECHAT_SERVLISTGUI_H
|
||||
|
||||
void servlist_autojoinedit (ircnet *net, char *channel, gboolean add);
|
||||
|
||||
|
||||
@@ -2061,7 +2061,7 @@ setup_snd_filereq_cb (GtkWidget *entry, char *file)
|
||||
/* Use just the filename if the given sound file is in the default <config>/sounds directory.
|
||||
* We're comparing absolute paths so this won't work in portable mode which uses a relative path.
|
||||
*/
|
||||
if (!strcmp (g_path_get_dirname (file), g_build_filename (get_xdir (), HEXCHAT_SOUND_DIR, NULL)))
|
||||
if (!strcmp (g_path_get_dirname (file), g_build_filename (get_xdir (), ZOITECHAT_SOUND_DIR, NULL)))
|
||||
{
|
||||
gtk_entry_set_text (GTK_ENTRY (entry), g_path_get_basename (file));
|
||||
}
|
||||
@@ -2076,7 +2076,7 @@ setup_snd_filereq_cb (GtkWidget *entry, char *file)
|
||||
static void
|
||||
setup_snd_browse_cb (GtkWidget *button, GtkEntry *entry)
|
||||
{
|
||||
char *sounds_dir = g_build_filename (get_xdir (), HEXCHAT_SOUND_DIR, NULL);
|
||||
char *sounds_dir = g_build_filename (get_xdir (), ZOITECHAT_SOUND_DIR, NULL);
|
||||
char *filter = NULL;
|
||||
int filter_type;
|
||||
#ifdef WIN32 /* win32 only supports wav, others could support anything */
|
||||
|
||||
@@ -17,8 +17,8 @@
|
||||
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
|
||||
*/
|
||||
|
||||
#ifndef HEXCHAT_SETUP_H
|
||||
#define HEXCHAT_SETUP_H
|
||||
#ifndef ZOITECHAT_SETUP_H
|
||||
#define ZOITECHAT_SETUP_H
|
||||
|
||||
void setup_apply_real (int new_pix, int do_ulist, int do_layout, int do_identd);
|
||||
|
||||
|
||||
@@ -17,8 +17,8 @@
|
||||
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
|
||||
*/
|
||||
|
||||
#ifndef HEXCHAT_TEXTGUI_H
|
||||
#define HEXCHAT_TEXTGUI_H
|
||||
#ifndef ZOITECHAT_TEXTGUI_H
|
||||
#define ZOITECHAT_TEXTGUI_H
|
||||
|
||||
void PrintTextRaw (void *xtbuf, unsigned char *text, int indent, time_t stamp);
|
||||
void pevent_dialog_show (void);
|
||||
|
||||
@@ -17,8 +17,8 @@
|
||||
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
|
||||
*/
|
||||
|
||||
#ifndef HEXCHAT_URLGRAB_H
|
||||
#define HEXCHAT_URLGRAB_H
|
||||
#ifndef ZOITECHAT_URLGRAB_H
|
||||
#define ZOITECHAT_URLGRAB_H
|
||||
|
||||
void url_opengui (void);
|
||||
|
||||
|
||||
@@ -645,11 +645,11 @@ userlist_create (GtkWidget *box)
|
||||
static const GtkTargetEntry dnd_dest_targets[] =
|
||||
{
|
||||
{"text/uri-list", 0, 1},
|
||||
{"HEXCHAT_CHANVIEW", GTK_TARGET_SAME_APP, 75 }
|
||||
{"ZOITECHAT_CHANVIEW", GTK_TARGET_SAME_APP, 75 }
|
||||
};
|
||||
static const GtkTargetEntry dnd_src_target[] =
|
||||
{
|
||||
{"HEXCHAT_USERLIST", GTK_TARGET_SAME_APP, 75 }
|
||||
{"ZOITECHAT_USERLIST", GTK_TARGET_SAME_APP, 75 }
|
||||
};
|
||||
|
||||
sw = gtk_scrolled_window_new (NULL, NULL);
|
||||
|
||||
@@ -17,8 +17,8 @@
|
||||
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
|
||||
*/
|
||||
|
||||
#ifndef HEXCHAT_USERLISTGUI_H
|
||||
#define HEXCHAT_USERLISTGUI_H
|
||||
#ifndef ZOITECHAT_USERLISTGUI_H
|
||||
#define ZOITECHAT_USERLISTGUI_H
|
||||
|
||||
void userlist_set_value (GtkWidget *treeview, gfloat val);
|
||||
gfloat userlist_get_value (GtkWidget *treeview);
|
||||
|
||||
@@ -6,8 +6,8 @@
|
||||
* (at your option) any later version.
|
||||
*/
|
||||
|
||||
#ifndef HEXCHAT_XTEXT_COLOR_H
|
||||
#define HEXCHAT_XTEXT_COLOR_H
|
||||
#ifndef ZOITECHAT_XTEXT_COLOR_H
|
||||
#define ZOITECHAT_XTEXT_COLOR_H
|
||||
|
||||
typedef struct
|
||||
{
|
||||
|
||||
@@ -17,8 +17,8 @@
|
||||
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
|
||||
*/
|
||||
|
||||
#ifndef HEXCHAT_XTEXT_H
|
||||
#define HEXCHAT_XTEXT_H
|
||||
#ifndef ZOITECHAT_XTEXT_H
|
||||
#define ZOITECHAT_XTEXT_H
|
||||
|
||||
#include <gtk/gtk.h>
|
||||
#include <cairo.h>
|
||||
|
||||
Reference in New Issue
Block a user