aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui/calendar-component.c
diff options
context:
space:
mode:
authorWilliam Jon McCann <mccann@jhu.edu>2003-12-20 01:49:02 +0800
committerWilliam Jon McCann <mccann@src.gnome.org>2003-12-20 01:49:02 +0800
commitfb8be1c3e2d094b9e3f5739af3252cb3de38726f (patch)
treeae1161e26f0999e0f326e89df2348d390f9ed192 /calendar/gui/calendar-component.c
parent1ccb35bb4551c24728ac77b49b540571363ba67f (diff)
downloadgsoc2013-evolution-fb8be1c3e2d094b9e3f5739af3252cb3de38726f.tar
gsoc2013-evolution-fb8be1c3e2d094b9e3f5739af3252cb3de38726f.tar.gz
gsoc2013-evolution-fb8be1c3e2d094b9e3f5739af3252cb3de38726f.tar.bz2
gsoc2013-evolution-fb8be1c3e2d094b9e3f5739af3252cb3de38726f.tar.lz
gsoc2013-evolution-fb8be1c3e2d094b9e3f5739af3252cb3de38726f.tar.xz
gsoc2013-evolution-fb8be1c3e2d094b9e3f5739af3252cb3de38726f.tar.zst
gsoc2013-evolution-fb8be1c3e2d094b9e3f5739af3252cb3de38726f.zip
Remove separators from dialogs. Use frame style recommended by the HIG.
2003-12-19 William Jon McCann <mccann@jhu.edu> * gui/dialogs/task-page.c (source_changed_cb): * gui/dialogs/send-comp.c (send_component_dialog): * gui/dialogs/save-comp.c (save_component_dialog): * gui/dialogs/recur-comp.c (recur_component_dialog): * gui/dialogs/event-page.c (source_changed_cb): * gui/dialogs/delete-error.c (delete_error_dialog): * gui/dialogs/delete-comp.c (delete_component_dialog): * gui/dialogs/changed-comp.c (changed_component_dialog): * gui/dialogs/cancel-comp.c (cancel_component_dialog): * gui/dialogs/alarm-options.glade: * gui/dialogs/alarm-page.glade: * gui/dialogs/cal-prefs-dialog.glade: * gui/dialogs/e-delegate-dialog.glade: * gui/dialogs/event-page.glade: * gui/dialogs/new-calendar.glade: * gui/dialogs/new-task-list.glade: * gui/dialogs/recurrence-page.glade: * gui/dialogs/task-details-page.glade: * gui/dialogs/task-page.glade: * gui/tasks-control.c (confirm_purge): * gui/tasks-component.c (delete_task_list_cb) (rename_task_list_cb, setup_create_ecal): * gui/goto-dialog.glade: * gui/e-cal-model-tasks.c (show_geo_warning): * gui/comp-editor-factory.c (cal_opened_cb): * gui/calendar-component.c (delete_calendar_cb) (rename_calendar_cb, setup_create_ecal, delete_calendar_cb): * gui/calendar-commands.c (purge_cmd): Remove separators from dialogs. Use frame style recommended by the HIG. svn path=/trunk/; revision=23989
Diffstat (limited to 'calendar/gui/calendar-component.c')
-rw-r--r--calendar/gui/calendar-component.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/calendar/gui/calendar-component.c b/calendar/gui/calendar-component.c
index ee1cd283a9..b978c003a6 100644
--- a/calendar/gui/calendar-component.c
+++ b/calendar/gui/calendar-component.c
@@ -374,6 +374,7 @@ delete_calendar_cb (GtkWidget *widget, CalendarComponent *comp)
GTK_BUTTONS_YES_NO,
_("Calendar '%s' will be removed. Are you sure you want to continue?"),
e_source_peek_name (selected_source));
+ gtk_dialog_set_has_separator (GTK_DIALOG (dialog), FALSE);
if (gtk_dialog_run (GTK_DIALOG (dialog)) == GTK_RESPONSE_YES) {
if (e_source_selector_source_is_selected (E_SOURCE_SELECTOR (priv->source_selector),
selected_source))
@@ -413,6 +414,7 @@ rename_calendar_cb (GtkWidget *widget, CalendarComponent *comp)
GTK_MESSAGE_QUESTION,
GTK_BUTTONS_OK_CANCEL,
_("Rename this calendar to"));
+ gtk_dialog_set_has_separator (GTK_DIALOG (dialog), FALSE);
entry = gtk_entry_new ();
gtk_entry_set_text (GTK_ENTRY (entry), e_source_peek_name (selected_source));
gtk_widget_show (entry);
@@ -708,6 +710,7 @@ setup_create_ecal (CalendarComponent *calendar_component)
GTK_MESSAGE_WARNING, GTK_BUTTONS_OK,
_("Unable to open the calendar '%s' for creating events and meetings"),
e_source_peek_name (source));
+ gtk_dialog_set_has_separator (GTK_DIALOG (dialog), FALSE);
gtk_dialog_run (GTK_DIALOG (dialog));
gtk_widget_destroy (dialog);
@@ -719,6 +722,7 @@ setup_create_ecal (CalendarComponent *calendar_component)
dialog = gtk_message_dialog_new (NULL, GTK_DIALOG_MODAL,
GTK_MESSAGE_WARNING, GTK_BUTTONS_OK,
_("There is no calendar available for creating events and meetings"));
+ gtk_dialog_set_has_separator (GTK_DIALOG (dialog), FALSE);
gtk_dialog_run (GTK_DIALOG (dialog));
gtk_widget_destroy (dialog);