~kroq-gar78/ubuntu/precise/gnome-control-center/fix-885947

« back to all changes in this revision

Viewing changes to capplets/about-me/eel-alert-dialog.h

  • Committer: Bazaar Package Importer
  • Author(s): Rodrigo Moya
  • Date: 2011-05-17 10:47:27 UTC
  • mfrom: (0.1.11 experimental) (1.1.45 upstream)
  • Revision ID: james.westby@ubuntu.com-20110517104727-lqel6m8vhfw5jby1
Tags: 1:3.0.1.1-1ubuntu1
* Rebase on Debian, remaining Ubuntu changes:
* debian/control:
  - Build-Depend on hardening-wrapper, dpkg-dev and dh-autoreconf
  - Add dependency on ubuntu-system-service
  - Remove dependency on gnome-icon-theme-symbolic
  - Move dependency on apg, gnome-icon-theme-symbolic and accountsservice to
    be a Recommends: until we get them in main
* debian/rules:
  - Use autoreconf
  - Add binary-post-install rule for gnome-control-center-data
  - Run dh-autoreconf
* debian/gnome-control-center.dirs:
* debian/gnome-control-center.links:
  - Add a link to the control center shell for indicators
* debian/patches/00_disable-nm.patch:
  - Temporary patch to disable building with NetworkManager until we get
    the new one in the archive
* debian/patches/01_git_remove_gettext_calls.patch:
  - Remove calls to AM_GNU_GETTEXT, IT_PROG_INTLTOOL should be enough
* debian/patches/01_git_kill_warning.patch:
  - Kill warning
* debian/patches/50_ubuntu_systemwide_prefs.patch:
  - Ubuntu specific proxy preferences
* debian/patches/51_ubuntu_system_keyboard.patch:
  - Implement the global keyboard spec at https://wiki.ubuntu.com/DefaultKeyboardSettings

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
/* -*- Mode: C; indent-tabs-mode: t; c-basic-offset: 8; tab-width: 8 -*- */
2
 
 
3
 
/* eel-alert-dialog.h: An HIG compliant alert dialog.
4
 
 
5
 
   The Gnome Library is free software; you can redistribute it and/or
6
 
   modify it under the terms of the GNU Library General Public License as
7
 
   published by the Free Software Foundation; either version 2 of the
8
 
   License, or (at your option) any later version.
9
 
 
10
 
   The Gnome 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 the Gnome Library; see the file COPYING.LIB.  If not,
17
 
   write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
18
 
   Boston, MA 02111-1307, USA.
19
 
 
20
 
*/
21
 
 
22
 
#ifndef EEL_ALERT_DIALOG_H
23
 
#define EEL_ALERT_DIALOG_H
24
 
 
25
 
#include <gtk/gtk.h>
26
 
 
27
 
#define EEL_TYPE_ALERT_DIALOG        (eel_alert_dialog_get_type ())
28
 
#define EEL_ALERT_DIALOG(obj)        (G_TYPE_CHECK_INSTANCE_CAST ((obj), EEL_TYPE_ALERT_DIALOG, EelAlertDialog))
29
 
 
30
 
typedef struct _EelAlertDialog        EelAlertDialog;
31
 
typedef struct _EelAlertDialogClass   EelAlertDialogClass;
32
 
typedef struct _EelAlertDialogDetails EelAlertDialogDetails;
33
 
 
34
 
struct _EelAlertDialog
35
 
{
36
 
        GtkDialog parent_instance;
37
 
        EelAlertDialogDetails *details;
38
 
};
39
 
 
40
 
struct _EelAlertDialogClass
41
 
{
42
 
        GtkDialogClass parent_class;
43
 
};
44
 
 
45
 
GType      eel_alert_dialog_get_type (void);
46
 
 
47
 
GtkWidget* eel_alert_dialog_new                 (GtkWindow      *parent,
48
 
                                                 GtkDialogFlags  flags,
49
 
                                                 GtkMessageType  type,
50
 
                                                 GtkButtonsType  buttons,
51
 
                                                 const gchar    *primary_message,
52
 
                                                 const gchar    *secondary_message,
53
 
                                                 const gchar    *title);
54
 
void       eel_alert_dialog_set_primary_label   (EelAlertDialog *dialog,
55
 
                                                 const gchar    *message);
56
 
void       eel_alert_dialog_set_secondary_label (EelAlertDialog *dialog,
57
 
                                                 const gchar    *message);
58
 
void       eel_alert_dialog_set_details_label   (EelAlertDialog *dialog,
59
 
                                                 const gchar    *message);
60
 
 
61
 
#endif /* EEL_ALERT_DIALOG_H */