~sarahstrong/ubuntu/lucid/gedit/mypatch

« back to all changes in this revision

Viewing changes to src/window.h

  • Committer: Bazaar Package Importer
  • Author(s): Joe Drew
  • Date: 2002-01-13 02:13:27 UTC
  • Revision ID: james.westby@ubuntu.com-20020113021327-dukaa4n50oykvrjg
Tags: upstream-0.9.6
ImportĀ upstreamĀ versionĀ 0.9.6

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */
 
2
/*
 
3
 * gedit
 
4
 *
 
5
 * Copyright (C) 1998, 1999 Alex Roberts and Evan Lawrence
 
6
 *
 
7
 * This program is free software; you can redistribute it and/or modify
 
8
 * it under the terms of the GNU General Public License as published by
 
9
 * the Free Software Foundation; either version 2 of the License, or
 
10
 * (at your option) any later version.
 
11
 *
 
12
 * This program is distributed in the hope that it will be useful,
 
13
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 
14
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 
15
 * GNU General Public License for more details.
 
16
 *
 
17
 * You should have received a copy of the GNU General Public License
 
18
 * along with this program; if not, write to the Free Software
 
19
 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA.
 
20
 */
 
21
 
 
22
#include <document.h>
 
23
 
 
24
#ifndef __WINDOW_H___
 
25
#define __WINDOW_H__
 
26
 
 
27
#define MSGBAR_CLEAR            " "
 
28
#define MSGBAR_FILE_NEW         "New File..."
 
29
#define MSGBAR_FILE_OPENED      "File Opened..."
 
30
#define MSGBAR_FILE_CLOSED      "File Closed..."
 
31
#define MSGBAR_FILE_CLOSED_ALL  "All Files Closed..."
 
32
#define MSGBAR_FILE_PRINTED     "Print Command Executed..."
 
33
#define MSGBAR_FILE_SAVED       "File Saved..."
 
34
#define MSGBAR_CUT              "Selection Cut..."
 
35
#define MSGBAR_COPY             "Selection Copied..."
 
36
#define MSGBAR_PASTE            "Selection Pasted..."
 
37
#define MSGBAR_SELECT_ALL       "All Text Selected..."
 
38
#define MSGBAR_LOADING_FILE     "Loading file..."
 
39
 
 
40
GtkWindow *     gedit_window_active (void);
 
41
GnomeApp *      gedit_window_active_app (void);
 
42
 
 
43
void    gedit_window_new (GnomeMDI *mdi, GnomeApp *app);
 
44
void    gedit_window_set_auto_indent (gint auto_indent);
 
45
void    gedit_window_set_status_bar (GnomeApp *app);
 
46
void    gedit_window_refresh_all (gint mdi_mode_changed, gboolean tab_size_changed);
 
47
void    gedit_window_set_view_menu_sensitivity (GnomeApp *app);
 
48
void    gedit_window_set_toolbar_labels (GnomeApp *app);
 
49
void    gedit_window_set_widgets_sensitivity (gint unsensitive);
 
50
void    gedit_window_set_plugins_menu_sensitivity (gint sensitive);
 
51
void    gedit_window_set_widgets_sensitivity_ro (GnomeApp *app, gint unsensitive);
 
52
 
 
53
#endif /* __WINDOW_H__ */
 
54
 
 
55
/* disabled by Chema.
 
56
   This migth not be such a bad idea ...
 
57
   instead of having the dialogs as public
 
58
   variables. Chema
 
59
 
 
60
typedef struct _Window Window;
 
61
struct _Window
 
62
{
 
63
        GtkWidget *window;
 
64
        GtkWidget *statusbox;
 
65
        GtkWidget *statusbar;
 
66
        GtkWidget *menubar;
 
67
        GtkWidget *toolbar;
 
68
        GtkWidget *notebook;
 
69
        GtkWidget *open_fileselector;
 
70
        GtkWidget *save_fileselector;
 
71
        GtkWidget *line_label, *col_label;
 
72
        GtkWidget *files_list_window;
 
73
        GtkWidget *files_list_window_data;
 
74
        GtkWidget *files_list_window_toolbar;
 
75
 
 
76
        GtkWidget *popup;
 
77
 
 
78
        GtkPositionType tab_pos;
 
79
 
 
80
};
 
81
*/
 
82
/*extern Window *window; */
 
83
/*extern GList *window_list;
 
84
extern GtkWidget *col_label;*/