aboutsummaryrefslogtreecommitdiffstats
path: root/e-util/e-alert-dialog.c
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2010-09-29 22:47:32 +0800
committerMatthew Barnes <mbarnes@redhat.com>2010-09-29 22:47:32 +0800
commitd3b09614221d075452496a5198a3910d07eb2818 (patch)
treed1ebe21e94248478e77443f01cd9991d2315f5ed /e-util/e-alert-dialog.c
parente41b4083a60c2a8c4879ea3a7fc2e1d29a01720b (diff)
downloadgsoc2013-evolution-d3b09614221d075452496a5198a3910d07eb2818.tar.gz
gsoc2013-evolution-d3b09614221d075452496a5198a3910d07eb2818.tar.zst
gsoc2013-evolution-d3b09614221d075452496a5198a3910d07eb2818.zip
EAlert cleanups.
Clean up the header, drop some unused cruft.
Diffstat (limited to 'e-util/e-alert-dialog.c')
-rw-r--r--e-util/e-alert-dialog.c16
1 files changed, 0 insertions, 16 deletions
diff --git a/e-util/e-alert-dialog.c b/e-util/e-alert-dialog.c
index 021812e590..1aa238cdcc 100644
--- a/e-util/e-alert-dialog.c
+++ b/e-util/e-alert-dialog.c
@@ -102,17 +102,6 @@ e_alert_dialog_dispose (GObject *object)
}
static void
-dialog_response_cb (GtkWidget *w, guint button, gpointer user_data)
-{
- EAlertDialogPrivate *priv = ALERT_DIALOG_PRIVATE (w);
-
- if (button == GTK_RESPONSE_HELP) {
- g_signal_stop_emission_by_name(w, "response");
- e_display_help (GTK_WINDOW (w), e_alert_peek_help_uri (priv->alert));
- }
-}
-
-static void
e_alert_dialog_init (EAlertDialog *self)
{
self->priv = ALERT_DIALOG_PRIVATE (self);
@@ -157,11 +146,6 @@ e_alert_dialog_constructed (GObject *obj)
gtk_window_set_modal ((GtkWindow *)self, TRUE);
gtk_window_set_destroy_with_parent ((GtkWindow *)self, TRUE);
- if (e_alert_peek_help_uri (alert)) {
- gtk_dialog_add_button ((GtkDialog*) self, GTK_STOCK_HELP, GTK_RESPONSE_HELP);
- g_signal_connect(self, "response", G_CALLBACK(dialog_response_cb), NULL);
- }
-
b = e_alert_peek_buttons (alert);
if (b == NULL) {
gtk_dialog_add_button ((GtkDialog*) self, GTK_STOCK_OK, GTK_RESPONSE_OK);