Rebranding

This commit is contained in:
Berke Viktor 2012-11-11 13:51:50 +01:00
parent 4c1f2b93d0
commit 348c6ba919
6 changed files with 9 additions and 9 deletions

View File

@ -1350,7 +1350,7 @@ perl_init (void)
char *perl_args[] = { "", "-e", "0", "-w" }; char *perl_args[] = { "", "-e", "0", "-w" };
char *env[] = { "" }; char *env[] = { "" };
static const char xchat_definitions[] = { static const char xchat_definitions[] = {
/* Redefine the $SIG{__WARN__} handler to have XChat /* Redefine the $SIG{__WARN__} handler to have HexChat
printing warnings in the main window. (TheHobbit) */ printing warnings in the main window. (TheHobbit) */
#include "xchat.pm.h" #include "xchat.pm.h"
}; };

View File

@ -537,7 +537,7 @@ Callback_Print(char *word[], void *userdata)
/* Cut off the message identifier. */ /* Cut off the message identifier. */
word += 1; word += 1;
/* XChat doesn't provide a word_eol for print events, so we /* HexChat doesn't provide a word_eol for print events, so we
* build our own here. */ * build our own here. */
while (word[listsize] && word[listsize][0]) while (word[listsize] && word[listsize][0])
listsize++; listsize++;

View File

@ -1609,7 +1609,7 @@ pevent_make_pntevts ()
if (pevt_build_string (pntevts_text[i], &(pntevts[i]), &m) != 0) if (pevt_build_string (pntevts_text[i], &(pntevts[i]), &m) != 0)
{ {
fprintf (stderr, fprintf (stderr,
"XChat CRITICAL *** default event text failed to build!\n"); "HexChat CRITICAL *** default event text failed to build!\n");
abort (); abort ();
} }
} }
@ -1847,7 +1847,7 @@ format_event (session *sess, int index, char **args, char *o, int sizeofo, unsig
if (a > numargs) if (a > numargs)
{ {
fprintf (stderr, fprintf (stderr,
"XChat DEBUG: display_event: arg > numargs (%d %d %s)\n", "HexChat DEBUG: display_event: arg > numargs (%d %d %s)\n",
a, numargs, i); a, numargs, i);
break; break;
} }

View File

@ -499,7 +499,7 @@ chanlist_filereq_done (server *serv, char *file)
if (fh == -1) if (fh == -1)
return; return;
snprintf (buf, sizeof buf, "XChat Channel List: %s - %s\n", snprintf (buf, sizeof buf, "HexChat Channel List: %s - %s\n",
serv->servername, ctime (&t)); serv->servername, ctime (&t));
write (fh, buf, strlen (buf)); write (fh, buf, strlen (buf));

View File

@ -652,7 +652,7 @@ gtkutil_window_new (char *title, char *role, int width, int height, int flags)
win = gtk_window_new (GTK_WINDOW_TOPLEVEL); win = gtk_window_new (GTK_WINDOW_TOPLEVEL);
gtkutil_set_icon (win); gtkutil_set_icon (win);
#ifdef WIN32 #ifdef WIN32
gtk_window_set_wmclass (GTK_WINDOW (win), "XChat", "xchat"); gtk_window_set_wmclass (GTK_WINDOW (win), "HexChat", "hexchat");
#endif #endif
gtk_window_set_title (GTK_WINDOW (win), title); gtk_window_set_title (GTK_WINDOW (win), title);
gtk_window_set_default_size (GTK_WINDOW (win), width, height); gtk_window_set_default_size (GTK_WINDOW (win), width, height);

View File

@ -2996,10 +2996,10 @@ mg_create_topwindow (session *sess)
GtkWidget *table; GtkWidget *table;
if (sess->type == SESS_DIALOG) if (sess->type == SESS_DIALOG)
win = gtkutil_window_new ("XChat", NULL, win = gtkutil_window_new ("HexChat", NULL,
prefs.hex_gui_dialog_width, prefs.hex_gui_dialog_height, 0); prefs.hex_gui_dialog_width, prefs.hex_gui_dialog_height, 0);
else else
win = gtkutil_window_new ("XChat", NULL, win = gtkutil_window_new ("HexChat", NULL,
prefs.hex_gui_win_width, prefs.hex_gui_win_width,
prefs.hex_gui_win_height, 0); prefs.hex_gui_win_height, 0);
sess->gui->window = win; sess->gui->window = win;
@ -3097,7 +3097,7 @@ mg_create_tabwindow (session *sess)
GtkWidget *win; GtkWidget *win;
GtkWidget *table; GtkWidget *table;
win = gtkutil_window_new ("XChat", NULL, prefs.hex_gui_win_width, win = gtkutil_window_new ("HexChat", NULL, prefs.hex_gui_win_width,
prefs.hex_gui_win_height, 0); prefs.hex_gui_win_height, 0);
sess->gui->window = win; sess->gui->window = win;
gtk_window_move (GTK_WINDOW (win), prefs.hex_gui_win_left, gtk_window_move (GTK_WINDOW (win), prefs.hex_gui_win_left,