mirror of
https://github.com/MidnightCommander/mc
synced 2025-01-08 20:41:59 +03:00
added copyright notices
This commit is contained in:
parent
c5dca5a751
commit
ad6432cdd1
@ -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
|
#ifndef __EDIT_H
|
||||||
#define __EDIT_H
|
#define __EDIT_H
|
||||||
|
|
||||||
|
@ -1476,7 +1476,7 @@ void edit_search_dialog (WEdit * edit, char **search_text)
|
|||||||
{
|
{
|
||||||
char *s;
|
char *s;
|
||||||
s = gtk_dialog_cauldron (
|
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",
|
" ( (Enter search text)d | %Eogxf )xf / ( ( %Cd // %Cd // %Cd ) || ( %Cd // %Cd )xf )xf / ( %Bxfgrq || %Bxfgq )f",
|
||||||
search_text, "search",
|
search_text, "search",
|
||||||
"&Whole word", &replace_whole,
|
"&Whole word", &replace_whole,
|
||||||
@ -1496,7 +1496,7 @@ void edit_replace_dialog (WEdit * edit, char **search_text, char **replace_text,
|
|||||||
{
|
{
|
||||||
char *s;
|
char *s;
|
||||||
s = gtk_dialog_cauldron (
|
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",
|
" ( (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",
|
search_text, "search",
|
||||||
replace_text, "replace",
|
replace_text, "replace",
|
||||||
@ -1525,7 +1525,7 @@ int edit_replace_prompt (WEdit * edit, char *replace_text, int xpos, int ypos)
|
|||||||
if (replace_prompt) {
|
if (replace_prompt) {
|
||||||
char *s;
|
char *s;
|
||||||
s = gtk_dialog_cauldron (
|
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 with:)d %Ld )xf / ( %Bxfrq || %Bxfq || %Bxfq || %Bxfgq )f",
|
||||||
replace_text,
|
replace_text,
|
||||||
"Replace", "Skip", "Replace All",
|
"Replace", "Skip", "Replace All",
|
||||||
@ -2217,7 +2217,7 @@ void edit_quit_cmd (WEdit * edit)
|
|||||||
if (edit->modified) {
|
if (edit->modified) {
|
||||||
#ifdef GTK
|
#ifdef GTK
|
||||||
char *r;
|
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);
|
_ (" 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)) {
|
if (!strcmp (r, GNOME_STOCK_BUTTON_YES)) {
|
||||||
edit_push_markers (edit);
|
edit_push_markers (edit);
|
||||||
|
@ -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
|
#define _GTK_EDIT_C
|
||||||
|
|
||||||
|
@ -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 <config.h>
|
||||||
#include "edit.h"
|
#include "edit.h"
|
||||||
|
@ -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>
|
#include <config.h>
|
||||||
#ifndef GTK
|
#ifndef GTK
|
||||||
#include "coolwidget.h"
|
#include "coolwidget.h"
|
||||||
|
@ -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
|
#ifndef _MOUSE_MARK
|
||||||
#define _MOUSE_MARK
|
#define _MOUSE_MARK
|
||||||
|
|
||||||
|
@ -1,23 +1,19 @@
|
|||||||
/* xdnd.c, xdnd.h - C program library for handling the Xdnd protocol
|
/* xdnd.c, xdnd.h - C program library for handling the Xdnd protocol
|
||||||
* Copyright (C) 1998 Paul Sheer
|
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
|
This program is free software; you can redistribute it and/or modify
|
||||||
* (the "Code") subject to the following conditions:
|
it under the terms of the GNU General Public License as published by
|
||||||
* 1. Modification of the Code is not done against the impetus of
|
the Free Software Foundation; either version 2 of the License, or
|
||||||
* development of the Xdnd protocol via community involvement.
|
(at your option) any later version.
|
||||||
* 1.1 This means that all modifications to the Code must be
|
|
||||||
* revealed to the copyright holder, along with a clear
|
This program is distributed in the hope that it will be useful,
|
||||||
* explanation of the modifications.
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
* 1.2 All authors that use the Code in their application
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
* programs, must report such use to the copyright holder.
|
GNU General Public License for more details.
|
||||||
* 2. The Code must remain intact with this copyright notice.
|
|
||||||
* 3. The Code is provided without warranty.
|
You should have received a copy of the GNU General Public License
|
||||||
* 4. In as far as there is positive intension on the part of
|
along with this program; if not, write to the Free Software
|
||||||
* the author/s and copyright holder, no liability will be held
|
Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
|
||||||
* 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>
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef _X_DND_H
|
#ifndef _X_DND_H
|
||||||
|
Loading…
Reference in New Issue
Block a user