~ubuntu-branches/ubuntu/maverick/gnome-terminal/maverick-proposed

« back to all changes in this revision

Viewing changes to src/terminal-util.h

  • Committer: Bazaar Package Importer
  • Author(s): Michael Vogt
  • Date: 2008-06-18 10:33:45 UTC
  • mfrom: (1.3.20 upstream)
  • Revision ID: james.westby@ubuntu.com-20080618103345-ife89bdnaa2ttfyk
Tags: 2.23.4.2-0ubuntu1
* new upstream version
* changed debian/patches/01_lpi.patch to work with GtkUIManager
* dropped debian/patches/03_ubuntu_lpi_fix_crash.diff because the
  UIManager makes it obsolete
* updated and renamed debian/patches/02_autoconf.patch to
  debian/patches/99_autoreconf.patch
* debian/control.in:
  - add Vcs-Bzr header
* debian/watch:
  - look for uneven version numbers too to make bzr-buildpackage
    auto download the right tarball
* debian/gnome-terminal-data.install:
  - drop /usr/share/pixmaps, its no longer used

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/*
 
2
 * Copyright © 2001 Havoc Pennington
 
3
 * Copyright © 2008 Christian Persch
 
4
 *
 
5
 * This library is free software; you can redistribute it and/or
 
6
 * modify it under the terms of the GNU Library General Public
 
7
 * License as published by the Free Software Foundation; either
 
8
 * version 2 of the License, or (at your option) any later version.
 
9
 *
 
10
 * This library is distributed in the hope that it will be useful,
 
11
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 
12
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
 
13
 * Library General Public License for more details.
 
14
 *
 
15
 * You should have received a copy of the GNU Library General Public
 
16
 * License along with this library; if not, write to the
 
17
 * Free Software Foundation, Inc., 59 Temple Place - Suite 330,
 
18
 * Boston, MA 02111-1307, USA.
 
19
 */
 
20
 
 
21
#ifndef TERMINAL_UTIL_H
 
22
#define TERMINAL_UTIL_H
 
23
 
 
24
#include <gtk/gtk.h>
 
25
#include <gconf/gconf-client.h>
 
26
 
 
27
#include "terminal-screen.h"
 
28
 
 
29
void terminal_util_set_unique_role (GtkWindow *window, const char *prefix);
 
30
 
 
31
void terminal_util_show_error_dialog (GtkWindow *transient_parent, 
 
32
                                      GtkWidget **weap_ptr, 
 
33
                                      const char *message_format, ...) G_GNUC_PRINTF(3, 4);
 
34
 
 
35
void terminal_util_show_help (const char *topic, GtkWindow  *transient_parent);
 
36
 
 
37
void terminal_util_set_labelled_by          (GtkWidget  *widget,
 
38
                                             GtkLabel   *label);
 
39
void terminal_util_set_atk_name_description (GtkWidget  *widget,
 
40
                                             const char *name,
 
41
                                             const char *desc);
 
42
 
 
43
void terminal_util_open_url (GtkWidget *parent,
 
44
                             const char *orig_url,
 
45
                             TerminalURLFlavour flavor,
 
46
                             guint32 user_time);
 
47
 
 
48
 
 
49
void terminal_util_transform_uris_to_quoted_fuse_paths (char **uris);
 
50
 
 
51
gboolean terminal_util_load_builder_file (const char *filename,
 
52
                                          const char *object_name,
 
53
                                          ...);
 
54
 
 
55
gboolean terminal_util_dialog_response_on_delete (GtkWindow *widget);
 
56
 
 
57
typedef enum {
 
58
  FLAG_INVERT_BOOL  = 1 << 0,
 
59
} PropertyChangeFlags;
 
60
 
 
61
void terminal_util_bind_object_property_to_widget (GObject *object,
 
62
                                                   const char *object_prop,
 
63
                                                   GtkWidget *widget,
 
64
                                                   PropertyChangeFlags flags);
 
65
 
 
66
#endif /* TERMINAL_UTIL_H */