~ubuntu-branches/ubuntu/warty/gedit/warty-security

« back to all changes in this revision

Viewing changes to gedit/gedit-plugin.c

  • Committer: Bazaar Package Importer
  • Author(s): Sebastien Bacher
  • Date: 2004-10-10 21:24:57 UTC
  • mfrom: (1.1.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20041010212457-f7q85htgynmslwf4
Tags: 2.8.1-0ubuntu1
* New upstream release:
  - do not try to open non regular files.
  - allow opening file by drag and drop on read only documents.
  - open dropped files in the right target gedit window.
  - do not change active document when closing an unmodified tab.
  - fix crash when trying to open an invalid sftp uri.
* debian/patches/01_relibtoolise.patch:
  - removed.

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-plugin.h
 
4
 * This file is part of gedit
 
5
 *
 
6
 * Copyright (C) 2002 Paolo Maggi 
 
7
 *
 
8
 * This program is free software; you can redistribute it and/or modify
 
9
 * it under the terms of the GNU General Public License as published by
 
10
 * the Free Software Foundation; either version 2 of the License, or
 
11
 * (at your option) any later version.
 
12
 *
 
13
 * This program is distributed in the hope that it will be useful,
 
14
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 
15
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 
16
 * GNU General Public License for more details.
 
17
 *
 
18
 * You should have received a copy of the GNU General Public License
 
19
 * along with this program; if not, write to the Free Software
 
20
 * Foundation, Inc., 59 Temple Place, Suite 330, 
 
21
 * Boston, MA 02111-1307, USA. 
 
22
 */
 
23
 
 
24
/*
 
25
 * Modified by the gedit Team, 2002. See the AUTHORS file for a 
 
26
 * list of people on the gedit Team.  
 
27
 * See the ChangeLog files for a list of changes. 
 
28
 */
 
29
 
 
30
#ifdef HAVE_CONFIG_H
 
31
#include <config.h>
 
32
#endif
 
33
 
 
34
#include "gedit-plugin.h"
 
35
#include "dialogs/gedit-dialogs.h"
 
36
 
 
37
gchar* 
 
38
gedit_plugin_locate_program  (const gchar *program_name, 
 
39
                              const gchar *plugin_name, 
 
40
                              GtkWindow   *parent, 
 
41
                              const gchar *gconf_key,
 
42
                              const gchar *help_id)
 
43
{
 
44
        return gedit_plugin_program_location_dialog (program_name, 
 
45
                                                     plugin_name, 
 
46
                                                     parent, 
 
47
                                                     gconf_key, 
 
48
                                                     help_id);
 
49
}
 
50