aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui/dialogs
diff options
context:
space:
mode:
authorDamon Chaplin <damon@ximian.com>2001-07-31 05:26:11 +0800
committerDamon Chaplin <damon@src.gnome.org>2001-07-31 05:26:11 +0800
commitf88337e4df2809b9ca122686ed6fd0ce83ef8859 (patch)
tree708837085e86b3610940bb9da2fee20864320798 /calendar/gui/dialogs
parentf0c158955ea0440d0141c1d82e29896db8f89388 (diff)
downloadgsoc2013-evolution-f88337e4df2809b9ca122686ed6fd0ce83ef8859.tar.gz
gsoc2013-evolution-f88337e4df2809b9ca122686ed6fd0ce83ef8859.tar.zst
gsoc2013-evolution-f88337e4df2809b9ca122686ed6fd0ce83ef8859.zip
added Help button. Though of course it doesn't do anything yet.
2001-07-30 Damon Chaplin <damon@ximian.com> * gui/dialogs/cal-prefs-dialog.glade: added Help button. Though of course it doesn't do anything yet. svn path=/trunk/; revision=11489
Diffstat (limited to 'calendar/gui/dialogs')
-rw-r--r--calendar/gui/dialogs/cal-prefs-dialog.c3
-rw-r--r--calendar/gui/dialogs/cal-prefs-dialog.glade8
2 files changed, 11 insertions, 0 deletions
diff --git a/calendar/gui/dialogs/cal-prefs-dialog.c b/calendar/gui/dialogs/cal-prefs-dialog.c
index 7176354a73..c05628797f 100644
--- a/calendar/gui/dialogs/cal-prefs-dialog.c
+++ b/calendar/gui/dialogs/cal-prefs-dialog.c
@@ -331,6 +331,9 @@ cal_prefs_dialog_button_clicked (GtkWidget *dialog,
/* OK & Close buttons close the dialog. */
if (button == 0 || button == 2)
gtk_widget_hide (priv->dialog);
+
+ /* FIXME: Handle button 3 (Help). */
+
}
diff --git a/calendar/gui/dialogs/cal-prefs-dialog.glade b/calendar/gui/dialogs/cal-prefs-dialog.glade
index 038d091a72..b93e15f442 100644
--- a/calendar/gui/dialogs/cal-prefs-dialog.glade
+++ b/calendar/gui/dialogs/cal-prefs-dialog.glade
@@ -77,6 +77,14 @@
<can_focus>True</can_focus>
<stock_button>GNOME_STOCK_BUTTON_CLOSE</stock_button>
</widget>
+
+ <widget>
+ <class>GtkButton</class>
+ <name>button4</name>
+ <can_default>True</can_default>
+ <can_focus>True</can_focus>
+ <stock_button>GNOME_STOCK_BUTTON_HELP</stock_button>
+ </widget>
</widget>
<widget>