~ubuntu-branches/ubuntu/natty/xfce4-panel/natty

« back to all changes in this revision

Viewing changes to common/panel-utils.h

  • Committer: Bazaar Package Importer
  • Author(s): Lionel Le Folgoc
  • Date: 2010-12-04 15:45:53 UTC
  • mfrom: (1.1.25 upstream)
  • Revision ID: james.westby@ubuntu.com-20101204154553-c1k0n2p2j83chld0
Tags: 4.7.5-0ubuntu1
Upload to natty (pkg-xfce svn r4611).

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/*
 
2
 * Copyright (C) 2009 Nick Schermer <nick@xfce.org>
 
3
 *
 
4
 * This library is free software; you can redistribute it and/or
 
5
 * modify it under the terms of the GNU Lesser General Public
 
6
 * License as published by the Free Software Foundation; either
 
7
 * version 2.1 of the License, or (at your option) any later version.
 
8
 *
 
9
 * This library is distributed in the hope that it will be useful,
 
10
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 
11
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
 
12
 * Lesser General Public License for more details.
 
13
 *
 
14
 * You should have received a copy of the GNU Lesser General Public
 
15
 * License along with this library; if not, write to the Free Software
 
16
 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
 
17
 */
 
18
 
 
19
#ifndef __PANEL_BUILDER_H__
 
20
#define __PANEL_BUILDER_H__
 
21
 
 
22
#include <gtk/gtk.h>
 
23
#include <libxfce4panel/libxfce4panel.h>
 
24
 
 
25
/* Hook to make sure GtkBuilder knows are the XfceTitledDialog object */
 
26
#define PANEL_UTILS_LINK_4UI \
 
27
  if (xfce_titled_dialog_get_type () == 0) \
 
28
    return;
 
29
 
 
30
GtkBuilder *panel_utils_builder_new    (XfcePanelPlugin  *panel_plugin,
 
31
                                        const gchar      *buffer,
 
32
                                        gsize             length,
 
33
                                        GObject         **dialog_return) G_GNUC_MALLOC G_GNUC_WARN_UNUSED_RESULT;
 
34
 
 
35
void        panel_utils_show_help      (GtkWindow        *parent,
 
36
                                        const gchar      *page,
 
37
                                        const gchar      *offset);
 
38
 
 
39
gboolean    panel_utils_grab_available (void);
 
40
 
 
41
#endif /* !__PANEL_BUILDER_H__ */