~ubuntu-branches/ubuntu/trusty/xfce4-panel/trusty-proposed

« back to all changes in this revision

Viewing changes to panel/xfce_support.h

  • Committer: Bazaar Package Importer
  • Author(s): Simon Huggins
  • Date: 2004-06-08 10:44:21 UTC
  • Revision ID: james.westby@ubuntu.com-20040608104421-b0b77kis8o0uoi6q
Tags: upstream-4.0.5
ImportĀ upstreamĀ versionĀ 4.0.5

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/*  xfce_support.h
 
2
 *  
 
3
 *  Copyright (C) 2002 Jasper Huijsmans (huysmans@users.sourceforge.net)
 
4
 *  startup notification added by Olivier fourdan based on gnome-desktop
 
5
 *  developed by Elliot Lee <sopwith@redhat.com> and Sid Vicious
 
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
#ifndef __XFCE_SUPPORT_H__
 
23
#define __XFCE_SUPPORT_H__
 
24
 
 
25
/* files and directories */
 
26
char *get_save_dir (void);
 
27
char *get_save_file (const char *name);
 
28
char **get_read_dirs (void);
 
29
char *get_read_file (const char *name);
 
30
char **get_plugin_dirs (void);
 
31
char **get_theme_dirs (void);
 
32
void write_backup_file (const char *path);
 
33
 
 
34
/* tooltips */
 
35
void add_tooltip (GtkWidget * widget, const char *tip);
 
36
 
 
37
/* x atoms and properties */
 
38
void set_window_type_dock (GtkWidget * win, gboolean set);
 
39
void set_window_layer (GtkWidget * win, int layer);
 
40
gboolean check_net_wm_support (void);
 
41
void set_window_skip (GtkWidget * win);
 
42
 
 
43
/* dnd */
 
44
void dnd_set_drag_dest (GtkWidget * widget);
 
45
 
 
46
typedef void (*DropCallback) (GtkWidget * widget, GList * drop_data,
 
47
                              gpointer data);
 
48
 
 
49
#define DROP_CALLBACK(f) (DropCallback)f
 
50
 
 
51
void dnd_set_callback (GtkWidget * widget, DropCallback function,
 
52
                       gpointer data);
 
53
 
 
54
void gnome_uri_list_free_strings (GList * list);
 
55
GList *gnome_uri_list_extract_uris (const gchar * uri_list);
 
56
GList *gnome_uri_list_extract_filenames (const gchar * uri_list);
 
57
 
 
58
/* file open dialog */
 
59
char *select_file_name (const char *title, const char *path,
 
60
                        GtkWidget * parent);
 
61
char *select_file_with_preview (const char *title, const char *path,
 
62
                                GtkWidget * parent);
 
63
 
 
64
#ifdef HAVE_LIBSTARTUP_NOTIFICATION
 
65
void free_startup_timeout (void);
 
66
#endif
 
67
 
 
68
/* executing programs */
 
69
void exec_cmd (const char *cmd, gboolean in_terminal, gboolean use_sn);
 
70
void exec_cmd_silent (const char *cmd, gboolean in_terminal, gboolean use_sn);
 
71
 
 
72
#endif /* __XFCE_SUPPORT_H__ */