Rebranding
This commit is contained in:
		
							parent
							
								
									4c1f2b93d0
								
							
						
					
					
						commit
						348c6ba919
					
				
					 6 changed files with 9 additions and 9 deletions
				
			
		| 
						 | 
				
			
			@ -1350,7 +1350,7 @@ perl_init (void)
 | 
			
		|||
	char *perl_args[] = { "", "-e", "0", "-w" };
 | 
			
		||||
	char *env[] = { "" };
 | 
			
		||||
	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) */
 | 
			
		||||
#include "xchat.pm.h"
 | 
			
		||||
	};
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -537,7 +537,7 @@ Callback_Print(char *word[], void *userdata)
 | 
			
		|||
	/* Cut off the message identifier. */
 | 
			
		||||
	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. */
 | 
			
		||||
	while (word[listsize] && word[listsize][0])
 | 
			
		||||
		listsize++;
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -1609,7 +1609,7 @@ pevent_make_pntevts ()
 | 
			
		|||
			if (pevt_build_string (pntevts_text[i], &(pntevts[i]), &m) != 0)
 | 
			
		||||
			{
 | 
			
		||||
				fprintf (stderr,
 | 
			
		||||
							"XChat CRITICAL *** default event text failed to build!\n");
 | 
			
		||||
							"HexChat CRITICAL *** default event text failed to build!\n");
 | 
			
		||||
				abort ();
 | 
			
		||||
			}
 | 
			
		||||
		}
 | 
			
		||||
| 
						 | 
				
			
			@ -1847,7 +1847,7 @@ format_event (session *sess, int index, char **args, char *o, int sizeofo, unsig
 | 
			
		|||
			if (a > numargs)
 | 
			
		||||
			{
 | 
			
		||||
				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);
 | 
			
		||||
				break;
 | 
			
		||||
			}
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -499,7 +499,7 @@ chanlist_filereq_done (server *serv, char *file)
 | 
			
		|||
	if (fh == -1)
 | 
			
		||||
		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));
 | 
			
		||||
	write (fh, buf, strlen (buf));
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -652,7 +652,7 @@ gtkutil_window_new (char *title, char *role, int width, int height, int flags)
 | 
			
		|||
	win = gtk_window_new (GTK_WINDOW_TOPLEVEL);
 | 
			
		||||
	gtkutil_set_icon (win);
 | 
			
		||||
#ifdef WIN32
 | 
			
		||||
	gtk_window_set_wmclass (GTK_WINDOW (win), "XChat", "xchat");
 | 
			
		||||
	gtk_window_set_wmclass (GTK_WINDOW (win), "HexChat", "hexchat");
 | 
			
		||||
#endif
 | 
			
		||||
	gtk_window_set_title (GTK_WINDOW (win), title);
 | 
			
		||||
	gtk_window_set_default_size (GTK_WINDOW (win), width, height);
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -2996,10 +2996,10 @@ mg_create_topwindow (session *sess)
 | 
			
		|||
	GtkWidget *table;
 | 
			
		||||
 | 
			
		||||
	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);
 | 
			
		||||
	else
 | 
			
		||||
		win = gtkutil_window_new ("XChat", NULL,
 | 
			
		||||
		win = gtkutil_window_new ("HexChat", NULL,
 | 
			
		||||
										  prefs.hex_gui_win_width,
 | 
			
		||||
										  prefs.hex_gui_win_height, 0);
 | 
			
		||||
	sess->gui->window = win;
 | 
			
		||||
| 
						 | 
				
			
			@ -3097,7 +3097,7 @@ mg_create_tabwindow (session *sess)
 | 
			
		|||
	GtkWidget *win;
 | 
			
		||||
	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);
 | 
			
		||||
	sess->gui->window = win;
 | 
			
		||||
	gtk_window_move (GTK_WINDOW (win), prefs.hex_gui_win_left,
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		
		Reference in a new issue