2
* Copyright © 2001 Havoc Pennington
3
* Copyright © 2008 Christian Persch
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.
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.
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.
21
#ifndef TERMINAL_UTIL_H
22
#define TERMINAL_UTIL_H
25
#include <gconf/gconf-client.h>
27
#include "terminal-screen.h"
29
void terminal_util_set_unique_role (GtkWindow *window, const char *prefix);
31
void terminal_util_show_error_dialog (GtkWindow *transient_parent,
33
const char *message_format, ...) G_GNUC_PRINTF(3, 4);
35
void terminal_util_show_help (const char *topic, GtkWindow *transient_parent);
37
void terminal_util_set_labelled_by (GtkWidget *widget,
39
void terminal_util_set_atk_name_description (GtkWidget *widget,
43
void terminal_util_open_url (GtkWidget *parent,
45
TerminalURLFlavour flavor,
49
void terminal_util_transform_uris_to_quoted_fuse_paths (char **uris);
51
gboolean terminal_util_load_builder_file (const char *filename,
52
const char *object_name,
55
gboolean terminal_util_dialog_response_on_delete (GtkWindow *widget);
58
FLAG_INVERT_BOOL = 1 << 0,
59
} PropertyChangeFlags;
61
void terminal_util_bind_object_property_to_widget (GObject *object,
62
const char *object_prop,
64
PropertyChangeFlags flags);
66
#endif /* TERMINAL_UTIL_H */