aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui/tasks-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/tasks-component.c
parent1ccb35bb4551c24728ac77b49b540571363ba67f (diff)
downloadgsoc2013-evolution-fb8be1c3e2d094b9e3f5739af3252cb3de38726f.tar.gz
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/tasks-component.c')
-rw-r--r--calendar/gui/tasks-component.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/calendar/gui/tasks-component.c b/calendar/gui/tasks-component.c
index 619f753906..2b57dc5411 100644
--- a/calendar/gui/tasks-component.c
+++ b/calendar/gui/tasks-component.c
@@ -347,6 +347,7 @@ delete_task_list_cb (GtkWidget *widget, TasksComponent *comp)
GTK_BUTTONS_YES_NO,
_("Task List '%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))
@@ -386,6 +387,7 @@ rename_task_list_cb (GtkWidget *widget, TasksComponent *comp)
GTK_MESSAGE_QUESTION,
GTK_BUTTONS_OK_CANCEL,
_("Rename this task list 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);
@@ -659,6 +661,7 @@ setup_create_ecal (TasksComponent *component)
GTK_MESSAGE_WARNING, GTK_BUTTONS_OK,
_("Unable to open the task list '%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);
@@ -670,6 +673,7 @@ setup_create_ecal (TasksComponent *component)
dialog = gtk_message_dialog_new (NULL, GTK_DIALOG_MODAL,
GTK_MESSAGE_WARNING, GTK_BUTTONS_OK,
_("There is no calendar available for creating tasks"));
+ gtk_dialog_set_has_separator (GTK_DIALOG (dialog), FALSE);
gtk_dialog_run (GTK_DIALOG (dialog));
gtk_widget_destroy (dialog);