added copyright notices

This commit is contained in:
Paul Sheer 1998-10-27 19:53:38 +00:00
parent c5dca5a751
commit ad6432cdd1
7 changed files with 116 additions and 24 deletions

View File

@ -1,3 +1,23 @@
/* edit.h - main include file
Copyright (C) 1996, 1997 the Free Software Foundation
Authors: 1996, 1997 Paul Sheer
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */
#ifndef __EDIT_H
#define __EDIT_H

View File

@ -1476,7 +1476,7 @@ void edit_search_dialog (WEdit * edit, char **search_text)
{
char *s;
s = gtk_dialog_cauldron (
"Search", GTK_CAULDRON_TOPLEVEL,
"Search", GTK_CAULDRON_TOPLEVEL | GTK_CAULDRON_GRAB,
" ( (Enter search text)d | %Eogxf )xf / ( ( %Cd // %Cd // %Cd ) || ( %Cd // %Cd )xf )xf / ( %Bxfgrq || %Bxfgq )f",
search_text, "search",
"&Whole word", &replace_whole,
@ -1496,7 +1496,7 @@ void edit_replace_dialog (WEdit * edit, char **search_text, char **replace_text,
{
char *s;
s = gtk_dialog_cauldron (
"Search", GTK_CAULDRON_TOPLEVEL,
"Search", GTK_CAULDRON_TOPLEVEL | GTK_CAULDRON_GRAB,
" ( (Enter search text)d | %Eogxf )xf / ( (Enter replace text)d | %Egxf )xf / ( (Enter argument order)d | %Egxf )xf / ( ( %Cd // %Cd // %Cd // %Cd ) || ( %Cd // %Cd // %Cd )xf )xf / ( %Bxfgrq || %Bxfgq )f",
search_text, "search",
replace_text, "replace",
@ -1525,7 +1525,7 @@ int edit_replace_prompt (WEdit * edit, char *replace_text, int xpos, int ypos)
if (replace_prompt) {
char *s;
s = gtk_dialog_cauldron (
"Replace", GTK_CAULDRON_TOPLEVEL,
"Replace", GTK_CAULDRON_TOPLEVEL | GTK_CAULDRON_GRAB,
" ( (Replace with:)d %Ld )xf / ( %Bxfrq || %Bxfq || %Bxfq || %Bxfgq )f",
replace_text,
"Replace", "Skip", "Replace All",
@ -2217,7 +2217,7 @@ void edit_quit_cmd (WEdit * edit)
if (edit->modified) {
#ifdef GTK
char *r;
r = gtk_dialog_cauldron (_ (" Quit "), GTK_CAULDRON_TOPLEVEL, " [ ( %Lxf )xf ]xf / ( %Bgxfq || %Bgxfq || %Bgxfq ) ",
r = gtk_dialog_cauldron (_ (" Quit "), GTK_CAULDRON_TOPLEVEL | GTK_CAULDRON_GRAB, " [ ( %Lxf )xf ]xf / ( %Bgxfq || %Bgxfq || %Bgxfq ) ",
_ (" Current text was modified without a file save. \n Save with exit? "), GNOME_STOCK_BUTTON_CANCEL, GNOME_STOCK_BUTTON_YES, GNOME_STOCK_BUTTON_NO);
if (!strcmp (r, GNOME_STOCK_BUTTON_YES)) {
edit_push_markers (edit);

View File

@ -1,3 +1,22 @@
/* gtkedit.c - front end for gtk/gnome version
Copyright (C) 1996, 1997 the Free Software Foundation
Authors: 1996, 1997 Paul Sheer
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */
#define _GTK_EDIT_C

View File

@ -1,3 +1,22 @@
/* gtkeditkey.c - key defs for gtk
Copyright (C) 1996, 1997 the Free Software Foundation
Authors: 1996, 1997 Paul Sheer
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */
#include <config.h>
#include "edit.h"

View File

@ -1,3 +1,23 @@
/* mousemark.c - mouse stuff marking dragging
Copyright (C) 1996, 1997 the Free Software Foundation
Authors: 1996, 1997 Paul Sheer
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */
#include <config.h>
#ifndef GTK
#include "coolwidget.h"

View File

@ -1,3 +1,21 @@
/* Copyright (C) 1996, 1997 the Free Software Foundation
Authors: 1996, 1997 Paul Sheer
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */
#ifndef _MOUSE_MARK
#define _MOUSE_MARK

View File

@ -1,23 +1,19 @@
/* xdnd.c, xdnd.h - C program library for handling the Xdnd protocol
* Copyright (C) 1998 Paul Sheer
* Permission is hereby granted to study, compile, copy, modify, publish,
* distribute and sell (the "Activities") the files xdnd.c and xdnd.h
* (the "Code") subject to the following conditions:
* 1. Modification of the Code is not done against the impetus of
* development of the Xdnd protocol via community involvement.
* 1.1 This means that all modifications to the Code must be
* revealed to the copyright holder, along with a clear
* explanation of the modifications.
* 1.2 All authors that use the Code in their application
* programs, must report such use to the copyright holder.
* 2. The Code must remain intact with this copyright notice.
* 3. The Code is provided without warranty.
* 4. In as far as there is positive intension on the part of
* the author/s and copyright holder, no liability will be held
* against them out of damages incidental or consequential to
* the Activities.
* Permission is limited to the Activities only.
* The copyright holder may be reached by email at <psheer@obsidian.co.za>
/* xdnd.c, xdnd.h - C program library for handling the Xdnd protocol
Copyright (C) 1998 Paul Sheer
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
#ifndef _X_DND_H