aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui/dialogs
diff options
context:
space:
mode:
authorGary Ekker <gekker@novell.com>2004-04-15 22:44:20 +0800
committerGary Ekker <gekker@src.gnome.org>2004-04-15 22:44:20 +0800
commit1877cabfd1747e10a1aa38bc30f05ed521f86345 (patch)
treefdb8eef1d9c5389fc7fda664e48c43e939d513b9 /calendar/gui/dialogs
parent4369b1128233d445950f1e44351006888262b029 (diff)
downloadgsoc2013-evolution-1877cabfd1747e10a1aa38bc30f05ed521f86345.tar.gz
gsoc2013-evolution-1877cabfd1747e10a1aa38bc30f05ed521f86345.tar.zst
gsoc2013-evolution-1877cabfd1747e10a1aa38bc30f05ed521f86345.zip
move the calendar publishing initialization from createControls to main.c
2004-04-15 Gary Ekker <gekker@novell.com> * gui/calendar-component.h: move the calendar publishing initialization from createControls to main.c * gui/calendar-component.c: (create_controls): Ditto * gui/main.c: (initialize): Ditto * gui/dialogs/cal-prefs-dialog.c: (url_list_changed): remove a gfree that was freeing a before it should have been. Also removed cruft from a previous attempt to fix the crash. svn path=/trunk/; revision=25480
Diffstat (limited to 'calendar/gui/dialogs')
-rw-r--r--calendar/gui/dialogs/cal-prefs-dialog.c13
1 files changed, 0 insertions, 13 deletions
diff --git a/calendar/gui/dialogs/cal-prefs-dialog.c b/calendar/gui/dialogs/cal-prefs-dialog.c
index 0a6d703cd4..631aedeab1 100644
--- a/calendar/gui/dialogs/cal-prefs-dialog.c
+++ b/calendar/gui/dialogs/cal-prefs-dialog.c
@@ -363,8 +363,6 @@ url_list_changed (DialogData *dialog_data)
if ((xml = e_pub_uri_to_xml (url)))
url_list = g_slist_append (url_list, xml);
- g_free (url);
-
valid = gtk_tree_model_iter_next ((GtkTreeModel *) model, &iter);
}
@@ -586,12 +584,6 @@ init_widgets (DialogData *dialog_data)
gtk_tree_selection_set_mode (selection, GTK_SELECTION_SINGLE);
gtk_tree_view_set_headers_visible ((GtkTreeView *) dialog_data->url_list, TRUE);
-
- g_signal_connect (gtk_tree_view_get_selection (dialog_data->url_list),
- "changed",
- G_CALLBACK (cal_prefs_dialog_url_list_change),
- dialog_data);
-
g_signal_connect (dialog_data->url_list, "row-activated",
G_CALLBACK (cal_prefs_dialog_url_list_double_click),
dialog_data);
@@ -641,7 +633,6 @@ cal_prefs_dialog_url_add_clicked (GtkWidget *button, DialogData *dialog_data)
-1);
url_list_changed (dialog_data);
- show_fb_config (dialog_data);
if (!GTK_WIDGET_SENSITIVE ((GtkWidget *) dialog_data->url_remove)) {
selection = gtk_tree_view_get_selection ((GtkTreeView *) dialog_data->url_list);
@@ -687,7 +678,6 @@ cal_prefs_dialog_url_edit_clicked (GtkWidget *button, DialogData *dialog_data)
-1);
url_list_changed (dialog_data);
- show_fb_config (dialog_data);
if (!GTK_WIDGET_SENSITIVE ((GtkWidget *) dialog_data->url_remove)) {
selection = gtk_tree_view_get_selection ((GtkTreeView *) dialog_data->url_list);
@@ -760,7 +750,6 @@ cal_prefs_dialog_url_remove_clicked (GtkWidget *button, DialogData *dialog_data)
}
g_free (url);
url_list_changed (dialog_data);
- show_fb_config (dialog_data);
}
}
@@ -789,7 +778,6 @@ cal_prefs_dialog_url_enable_clicked (GtkWidget *button, DialogData *dialog_data)
url->enabled ? _("Disable") : _("Enable"));
url_list_changed (dialog_data);
- show_fb_config (dialog_data);
}
}
@@ -823,7 +811,6 @@ cal_prefs_dialog_url_list_enable_toggled (GtkCellRendererToggle *renderer,
url->enabled ? _("Disable") : _("Enable"));
url_list_changed (dialog_data);
- show_fb_config (dialog_data);
}
gtk_tree_path_free (path);