"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "src/e-util/e-table-header-item.c" between
evolution-3.32.4.tar.xz and evolution-3.34.0.tar.xz

About: Evolution is a personal information management application that provides integrated mail, calendaring and address book functionality (GNOME desktop).

e-table-header-item.c  (evolution-3.32.4.tar.xz):e-table-header-item.c  (evolution-3.34.0.tar.xz)
skipping to change at line 1254 skipping to change at line 1254
{ {
GtkWidget *widget; GtkWidget *widget;
GtkTargetList *list; GtkTargetList *list;
GdkDragContext *context; GdkDragContext *context;
ETableCol *ecol; ETableCol *ecol;
gint col_width; gint col_width;
cairo_surface_t *s; cairo_surface_t *s;
cairo_t *cr; cairo_t *cr;
gint group_indent = 0; gint group_indent = 0;
GHashTable *arrows = g_hash_table_new (NULL, NULL); GHashTable *arrows;
GtkTargetEntry ethi_drag_types[] = { GtkTargetEntry ethi_drag_types[] = {
{ (gchar *) TARGET_ETABLE_COL_TYPE, 0, TARGET_ETABLE_COL_HEADER } , { (gchar *) TARGET_ETABLE_COL_TYPE, 0, TARGET_ETABLE_COL_HEADER } ,
}; };
widget = GTK_WIDGET (GNOME_CANVAS_ITEM (ethi)->canvas); widget = GTK_WIDGET (GNOME_CANVAS_ITEM (ethi)->canvas);
ethi->drag_col = ethi_find_col_by_x (ethi, event->motion.x); ethi->drag_col = ethi_find_col_by_x (ethi, event->motion.x);
if (ethi->drag_col == -1) if (ethi->drag_col == -1)
return; return;
arrows = g_hash_table_new (NULL, NULL);
if (ethi->sort_info) { if (ethi->sort_info) {
gint length = e_table_sort_info_grouping_get_count (ethi->sort_in fo); gint length = e_table_sort_info_grouping_get_count (ethi->sort_in fo);
gint i; gint i;
for (i = 0; i < length; i++) { for (i = 0; i < length; i++) {
ETableColumnSpecification *spec; ETableColumnSpecification *spec;
GtkSortType sort_type; GtkSortType sort_type;
group_indent++; group_indent++;
spec = e_table_sort_info_grouping_get_nth ( spec = e_table_sort_info_grouping_get_nth (
skipping to change at line 1649 skipping to change at line 1651
N_("Group By This _Field"), N_("Group By This _Field"),
G_CALLBACK (ethi_popup_group_field), 16), G_CALLBACK (ethi_popup_group_field), 16),
E_POPUP_ITEM ( E_POPUP_ITEM (
N_("Group By _Box"), N_("Group By _Box"),
G_CALLBACK (ethi_popup_group_box), 128), G_CALLBACK (ethi_popup_group_box), 128),
E_POPUP_SEPARATOR, E_POPUP_SEPARATOR,
E_POPUP_ITEM ( E_POPUP_ITEM (
N_("Remove This _Column"), N_("Remove This _Column"),
G_CALLBACK (ethi_popup_remove_column), 8), G_CALLBACK (ethi_popup_remove_column), 8),
E_POPUP_ITEM ( E_POPUP_ITEM (
N_("Add a C_olumn..."), N_("Add a C_olumn"),
G_CALLBACK (ethi_popup_field_chooser), 0), G_CALLBACK (ethi_popup_field_chooser), 0),
E_POPUP_SEPARATOR, E_POPUP_SEPARATOR,
E_POPUP_ITEM ( E_POPUP_ITEM (
N_("A_lignment"), N_("A_lignment"),
G_CALLBACK (ethi_popup_alignment), 128), G_CALLBACK (ethi_popup_alignment), 128),
E_POPUP_ITEM ( E_POPUP_ITEM (
N_("B_est Fit"), N_("B_est Fit"),
G_CALLBACK (ethi_popup_best_fit), 2), G_CALLBACK (ethi_popup_best_fit), 2),
E_POPUP_ITEM ( E_POPUP_ITEM (
N_("Format Column_s..."), N_("Format Column_s"),
G_CALLBACK (ethi_popup_format_columns), 128), G_CALLBACK (ethi_popup_format_columns), 128),
E_POPUP_SEPARATOR, E_POPUP_SEPARATOR,
E_POPUP_ITEM ( E_POPUP_ITEM (
N_("Custo_mize Current View..."), N_("Custo_mize Current View"),
G_CALLBACK (ethi_popup_customize_view), 4), G_CALLBACK (ethi_popup_customize_view), 4),
E_POPUP_TERMINATOR E_POPUP_TERMINATOR
}; };
static void static void
sort_by_id (GtkWidget *menu_item, sort_by_id (GtkWidget *menu_item,
ETableHeaderItem *ethi) ETableHeaderItem *ethi)
{ {
ETableCol *ecol; ETableCol *ecol;
gboolean clearfirst; gboolean clearfirst;
 End of changes. 5 change blocks. 
4 lines changed or deleted 6 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)