aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--widgets/table/e-table-field-chooser.c2
-rw-r--r--widgets/table/e-table-header-item.c2
-rw-r--r--widgets/table/e-table.c2
3 files changed, 3 insertions, 3 deletions
diff --git a/widgets/table/e-table-field-chooser.c b/widgets/table/e-table-field-chooser.c
index 7020e22262..108b7f0ba1 100644
--- a/widgets/table/e-table-field-chooser.c
+++ b/widgets/table/e-table-field-chooser.c
@@ -179,7 +179,7 @@ e_table_field_chooser_init (ETableFieldChooser *etfc)
etfc);
gtk_widget_pop_colormap ();
- gtk_widget_show(widget);
+ gtk_widget_show_all(widget);
}
static void
diff --git a/widgets/table/e-table-header-item.c b/widgets/table/e-table-header-item.c
index d3a95b1802..be1b231381 100644
--- a/widgets/table/e-table-header-item.c
+++ b/widgets/table/e-table-header-item.c
@@ -1506,6 +1506,8 @@ ethi_header_context_menu (ETableHeaderItem *ethi, GdkEventButton *event)
((e_table_header_count (ethi->eth) > 1) ? 0 : 8),
((e_table_sort_info_get_can_group (ethi->sort_info)) ? 0 : 16) +
128, info, E_I18N_DOMAIN);
+ g_object_ref (popup);
+ gtk_object_sink (GTK_OBJECT (popup));
g_signal_connect (popup, "selection-done",
G_CALLBACK (free_popup_info), info);
e_popup_menu (popup, (GdkEvent *) event);
diff --git a/widgets/table/e-table.c b/widgets/table/e-table.c
index 76c66ed074..f0a9f5eb35 100644
--- a/widgets/table/e-table.c
+++ b/widgets/table/e-table.c
@@ -1444,8 +1444,6 @@ et_real_construct (ETable *e_table, ETableModel *etm, ETableExtras *ete,
e_table->domain = g_strdup (specification->domain);
- e_table->domain = g_strdup (specification->domain);
-
e_table->use_click_to_add = specification->click_to_add;
e_table->use_click_to_add_end = specification->click_to_add_end;
e_table->click_to_add_message = e_utf8_from_locale_string (dgettext (e_table->domain, specification->click_to_add_message));