From e9260c1b01f29dd94925446cc5604df82929de8e Mon Sep 17 00:00:00 2001 From: Matthew Barnes Date: Mon, 1 Jul 2013 09:09:00 -0400 Subject: ETableConfig: Use ETableColumnSelector. The other parts of this UI still look ancient, but this is a good first step. Plus we can remove a number of now-unused ETable-related classes. --- e-util/e-table-config.c | 479 ++-------------- e-util/e-table-config.h | 11 - e-util/e-table-config.ui | 1406 ++++++++++++++++++++-------------------------- 3 files changed, 640 insertions(+), 1256 deletions(-) diff --git a/e-util/e-table-config.c b/e-util/e-table-config.c index cf6f9dbf28..5fbb6b0329 100644 --- a/e-util/e-table-config.c +++ b/e-util/e-table-config.c @@ -27,22 +27,12 @@ * Make Clear all work. */ -#ifdef HAVE_CONFIG_H -#include -#endif - #include "e-table-config.h" -#include -#include - -#include +#include #include -#include "e-table-memory-store.h" -#include "e-table-without.h" -#include "e-unicode.h" -#include "e-util-private.h" +#include "e-table-column-selector.h" G_DEFINE_TYPE (ETableConfig, e_table_config, G_TYPE_OBJECT) @@ -454,49 +444,6 @@ config_group_info_update (ETableConfig *config) g_string_free (res, TRUE); } -static void -setup_fields (ETableConfig *config) -{ - GPtrArray *array; - gint i; - - e_table_model_freeze ((ETableModel *) config->available_model); - e_table_model_freeze ((ETableModel *) config->shown_model); - e_table_without_show_all (config->available_model); - e_table_subset_variable_clear (config->shown_model); - - array = e_table_specification_ref_columns (config->source_spec); - - if (config->temp_state) { - for (i = 0; i < config->temp_state->col_count; i++) { - ETableColumnSpecification *target_column; - gint idx = 0; - guint jj; - - target_column = config->temp_state->column_specs[i]; - - for (jj = 0; jj < array->len; jj++) { - ETableColumnSpecification *column; - - column = g_ptr_array_index (array, jj); - if (column == target_column) - break; - - if (!column->disabled) - idx++; - } - - e_table_subset_variable_add (config->shown_model, idx); - e_table_without_hide (config->available_model, GINT_TO_POINTER (idx)); - } - } - - g_ptr_array_unref (array); - - e_table_model_thaw ((ETableModel *) config->available_model); - e_table_model_thaw ((ETableModel *) config->shown_model); -} - static void config_fields_info_update (ETableConfig *config) { @@ -589,135 +536,60 @@ do_sort_and_group_config_dialog (ETableConfig *config, static void do_fields_config_dialog (ETableConfig *config) { - GtkDialog *dialog; - GtkWidget *widget; + GtkWidget *dialog; + GtkWidget *content_area; + GtkWidget *selector; + GtkWidget *label; gint response, running = 1; - dialog = GTK_DIALOG (config->dialog_show_fields); - - gtk_widget_ensure_style (config->dialog_show_fields); - - widget = gtk_dialog_get_content_area (dialog); - gtk_container_set_border_width (GTK_CONTAINER (widget), 0); + dialog = gtk_dialog_new_with_buttons ( + _("Show Fields"), + GTK_WINDOW (config->dialog_toplevel), + 0, /* no flags */ + GTK_STOCK_CANCEL, + GTK_RESPONSE_CANCEL, + GTK_STOCK_OK, + GTK_RESPONSE_OK, + NULL); - widget = gtk_dialog_get_action_area (dialog); - gtk_container_set_border_width (GTK_CONTAINER (widget), 12); + gtk_container_set_border_width (GTK_CONTAINER (dialog), 5); + gtk_window_set_default_size (GTK_WINDOW (dialog), 300, 400); - config->temp_state = e_table_state_duplicate (config->state); + content_area = gtk_dialog_get_content_area (GTK_DIALOG (dialog)); + gtk_box_set_spacing (GTK_BOX (content_area), 6); - setup_fields (config); + label = gtk_label_new ( + _("Choose the order of information " + "to appear in the message list.")); + gtk_box_pack_start (GTK_BOX (content_area), label, FALSE, FALSE, 0); + gtk_widget_show (label); - gtk_window_set_transient_for ( - GTK_WINDOW (config->dialog_show_fields), - GTK_WINDOW (config->dialog_toplevel)); + selector = e_table_column_selector_new (config->state); + gtk_container_set_border_width (GTK_CONTAINER (selector), 5); + gtk_box_pack_start (GTK_BOX (content_area), selector, TRUE, TRUE, 0); + gtk_widget_show (selector); do { - response = gtk_dialog_run (GTK_DIALOG (config->dialog_show_fields)); + response = gtk_dialog_run (GTK_DIALOG (dialog)); switch (response) { case GTK_RESPONSE_OK: - g_object_unref (config->state); - config->state = config->temp_state; - config->temp_state = NULL; + e_table_column_selector_apply ( + E_TABLE_COLUMN_SELECTOR (selector)); running = 0; config_dialog_changed (config); break; case GTK_RESPONSE_DELETE_EVENT: case GTK_RESPONSE_CANCEL: - g_object_unref (config->temp_state); - config->temp_state = NULL; running = 0; break; } } while (running); - gtk_widget_hide (GTK_WIDGET (config->dialog_show_fields)); - config_fields_info_update (config); -} - -static ETableMemoryStoreColumnInfo store_columns[] = { - E_TABLE_MEMORY_STORE_STRING, - E_TABLE_MEMORY_STORE_INTEGER, - E_TABLE_MEMORY_STORE_TERMINATOR -}; + gtk_widget_destroy (dialog); -static ETableModel * -create_store (ETableConfig *config) -{ - ETableModel *store; - GPtrArray *array; - guint ii; - - store = e_table_memory_store_new (store_columns); - - array = e_table_specification_ref_columns (config->source_spec); - - for (ii = 0; ii < array->len; ii++) { - ETableColumnSpecification *column; - gchar *text; - - column = g_ptr_array_index (array, ii); - - if (column->disabled) - continue; - - text = g_strdup (dgettext (config->domain, column->title)); - e_table_memory_store_insert_adopt ( - E_TABLE_MEMORY_STORE (store), -1, NULL, text, ii); - } - - g_ptr_array_unref (array); - - return store; -} - -static const gchar *spec = -"" -"" -" " -"" -"" -""; - -static GtkWidget * -e_table_proxy_etable_shown_new (ETableModel *store) -{ - ETableModel *model = NULL; - GtkWidget *widget; - - model = e_table_subset_variable_new (store); - - widget = e_table_new (model, NULL, spec); - - atk_object_set_name ( - gtk_widget_get_accessible (widget), - _("Show Fields")); - - return widget; -} - -static GtkWidget * -e_table_proxy_etable_available_new (ETableModel *store) -{ - ETableModel *model; - GtkWidget *widget; - - model = e_table_without_new ( - store, NULL, NULL, NULL, NULL, NULL, NULL, NULL); - - e_table_without_show_all (E_TABLE_WITHOUT (model)); - - widget = e_table_new (model, NULL, spec); - - atk_object_set_name ( - gtk_widget_get_accessible (widget), - _("Available Fields")); - - return widget; + config_fields_info_update (config); } static void @@ -809,22 +681,6 @@ connect_button (ETableConfig *config, g_signal_connect (button, "clicked", cback, config); } -static gint -get_source_model_col_index (ETableConfig *config, - gint idx) -{ - gint visible_index; - ETableModel *src_model; - - src_model = e_table_subset_get_source_model ( - E_TABLE_SUBSET (config->available_model)); - - visible_index = e_table_subset_view_to_model_row ( - E_TABLE_SUBSET (config->available_model), idx); - - return GPOINTER_TO_INT (e_table_model_value_at (src_model, 1, visible_index)); -} - static void sort_combo_changed (GtkComboBox *combo_box, ETableConfigSortWidgets *sort) @@ -1095,272 +951,6 @@ configure_group_dialog (ETableConfig *config, } } -static void -add_column (gint model_row, - gpointer closure) -{ - GList **columns = closure; - *columns = g_list_prepend (*columns, GINT_TO_POINTER (model_row)); -} - -static void -config_button_add (GtkWidget *widget, - ETableConfig *config) -{ - GPtrArray *array; - GList *list = NULL; - GList *link; - gint count; - gint i; - - e_table_selected_row_foreach (config->available, add_column, &list); - list = g_list_reverse (list); - - count = g_list_length (list); - - array = e_table_specification_ref_columns (config->source_spec); - - config->temp_state->column_specs = g_renew ( - ETableColumnSpecification *, - config->temp_state->column_specs, - config->temp_state->col_count + count); - config->temp_state->expansions = g_renew ( - gdouble, - config->temp_state->expansions, - config->temp_state->col_count + count); - i = config->temp_state->col_count; - for (link = list; link != NULL; link = g_list_next (link)) { - ETableColumnSpecification *col_spec; - gint index; - - index = get_source_model_col_index ( - config, GPOINTER_TO_INT (link->data)); - col_spec = g_ptr_array_index (array, index); - - config->temp_state->column_specs[i] = g_object_ref (col_spec); - config->temp_state->expansions[i] = col_spec->expansion; - - i++; - } - config->temp_state->col_count += count; - - g_ptr_array_unref (array); - - g_list_free (list); - - setup_fields (config); -} - -static void -config_button_remove (GtkWidget *widget, - ETableConfig *config) -{ - GList *list = NULL; - GList *link; - - e_table_selected_row_foreach (config->shown, add_column, &list); - - for (link = list; link != NULL; link = g_list_next (link)) { - gint row = GPOINTER_TO_INT (link->data); - - memmove ( - config->temp_state->column_specs + row, - config->temp_state->column_specs + row + 1, - sizeof (gpointer) * (config->temp_state->col_count - row - 1)); - memmove ( - config->temp_state->expansions + row, - config->temp_state->expansions + row + 1, - sizeof (gdouble) * (config->temp_state->col_count - row - 1)); - config->temp_state->col_count--; - } - config->temp_state->column_specs = g_renew ( - ETableColumnSpecification *, - config->temp_state->column_specs, - config->temp_state->col_count); - config->temp_state->expansions = g_renew ( - gdouble, - config->temp_state->expansions, - config->temp_state->col_count); - - g_list_free (list); - - setup_fields (config); -} - -static void -config_button_up (GtkWidget *widget, - ETableConfig *config) -{ - GList *columns = NULL; - GList *column; - ETableColumnSpecification **new_column_specs; - gdouble *new_expansions; - ETableColumnSpecification *next_col; - gdouble next_expansion; - gint i; - - e_table_selected_row_foreach (config->shown, add_column, &columns); - - /* if no columns left, just return */ - if (columns == NULL) - return; - - columns = g_list_reverse (columns); - - new_column_specs = g_new ( - ETableColumnSpecification *, config->temp_state->col_count); - new_expansions = g_new (gdouble, config->temp_state->col_count); - - column = columns; - - next_col = config->temp_state->column_specs[0]; - next_expansion = config->temp_state->expansions[0]; - - for (i = 1; i < config->temp_state->col_count; i++) { - if (column && (GPOINTER_TO_INT (column->data) == i)) { - new_expansions[i - 1] = - config->temp_state->expansions[i]; - new_column_specs[i - 1] = - config->temp_state->column_specs[i]; - column = column->next; - } else { - new_column_specs[i - 1] = next_col; - next_col = config->temp_state->column_specs[i]; - - new_expansions[i - 1] = next_expansion; - next_expansion = config->temp_state->expansions[i]; - } - } - - new_column_specs[i - 1] = next_col; - new_expansions[i - 1] = next_expansion; - - g_free (config->temp_state->column_specs); - g_free (config->temp_state->expansions); - - config->temp_state->column_specs = new_column_specs; - config->temp_state->expansions = new_expansions; - - g_list_free (columns); - - setup_fields (config); -} - -static void -config_button_down (GtkWidget *widget, - ETableConfig *config) -{ - GList *columns = NULL; - GList *column; - ETableColumnSpecification **new_column_specs; - gdouble *new_expansions; - ETableColumnSpecification *next_col; - gdouble next_expansion; - gint i; - - e_table_selected_row_foreach (config->shown, add_column, &columns); - - /* if no columns left, just return */ - if (columns == NULL) - return; - - new_column_specs = g_new ( - ETableColumnSpecification *, config->temp_state->col_count); - new_expansions = g_new (gdouble, config->temp_state->col_count); - - column = columns; - - next_col = - config->temp_state->column_specs[config->temp_state->col_count - 1]; - next_expansion = - config->temp_state->expansions[config->temp_state->col_count - 1]; - - for (i = config->temp_state->col_count - 1; i > 0; i--) { - if (column && (GPOINTER_TO_INT (column->data) == i - 1)) { - new_expansions[i] = - config->temp_state->expansions[i - 1]; - new_column_specs[i] = - config->temp_state->column_specs[i - 1]; - column = column->next; - } else { - new_column_specs[i] = next_col; - next_col = config->temp_state->column_specs[i - 1]; - - new_expansions[i] = next_expansion; - next_expansion = config->temp_state->expansions[i - 1]; - } - } - - new_column_specs[0] = next_col; - new_expansions[0] = next_expansion; - - g_free (config->temp_state->column_specs); - g_free (config->temp_state->expansions); - - config->temp_state->column_specs = new_column_specs; - config->temp_state->expansions = new_expansions; - - g_list_free (columns); - - setup_fields (config); -} - -static void -configure_fields_dialog (ETableConfig *config, - GtkBuilder *builder) -{ - GtkWidget *scrolled; - GtkWidget *etable; - ETableModel *store = create_store (config); - - /* "custom-available" widget */ - etable = e_table_proxy_etable_available_new (store); - gtk_widget_show (etable); - scrolled = e_builder_get_widget (builder, "available-scrolled"); - gtk_container_add (GTK_CONTAINER (scrolled), etable); - config->available = E_TABLE (etable); - g_object_get ( - config->available, - "model", &config->available_model, - NULL); - gtk_widget_show_all (etable); - gtk_label_set_mnemonic_widget ( - GTK_LABEL (e_builder_get_widget ( - builder, "label-available")), etable); - - /* "custom-shown" widget */ - etable = e_table_proxy_etable_shown_new (store); - gtk_widget_show (etable); - scrolled = e_builder_get_widget (builder, "shown-scrolled"); - gtk_container_add (GTK_CONTAINER (scrolled), etable); - config->shown = E_TABLE (etable); - g_object_get ( - config->shown, - "model", &config->shown_model, - NULL); - gtk_widget_show_all (etable); - gtk_label_set_mnemonic_widget ( - GTK_LABEL (e_builder_get_widget ( - builder, "label-displayed")), etable); - - connect_button ( - config, builder, "button-add", - G_CALLBACK (config_button_add)); - connect_button ( - config, builder, "button-remove", - G_CALLBACK (config_button_remove)); - connect_button ( - config, builder, "button-up", - G_CALLBACK (config_button_up)); - connect_button ( - config, builder, "button-down", - G_CALLBACK (config_button_down)); - - setup_fields (config); - - g_object_unref (store); -} - static void setup_gui (ETableConfig *config) { @@ -1379,8 +969,6 @@ setup_gui (ETableConfig *config) GTK_WINDOW (config->dialog_toplevel), config->header); - config->dialog_show_fields = e_builder_get_widget ( - builder, "dialog-show-fields"); config->dialog_group_by = e_builder_get_widget ( builder, "dialog-group-by"); config->dialog_sort = e_builder_get_widget ( @@ -1421,7 +1009,6 @@ setup_gui (ETableConfig *config) configure_sort_dialog (config, builder); configure_group_dialog (config, builder); - configure_fields_dialog (config, builder); g_object_weak_ref ( G_OBJECT (config->dialog_toplevel), diff --git a/e-util/e-table-config.h b/e-util/e-table-config.h index ffbab7219e..2270f14c43 100644 --- a/e-util/e-table-config.h +++ b/e-util/e-table-config.h @@ -28,13 +28,7 @@ #ifndef _E_TABLE_CONFIG_H_ #define _E_TABLE_CONFIG_H_ -#include - -#include #include -#include -#include -#include /* Standard GObject macros */ #define E_TYPE_TABLE_CONFIG \ @@ -81,7 +75,6 @@ struct _ETableConfig { * Our various dialog boxes */ GtkWidget *dialog_toplevel; - GtkWidget *dialog_show_fields; GtkWidget *dialog_group_by; GtkWidget *dialog_sort; @@ -98,10 +91,6 @@ struct _ETableConfig { ETableConfigSortWidgets sort[4]; ETableConfigSortWidgets group[4]; - ETable *available; - ETableWithout *available_model; - ETable *shown; - ETableSubsetVariable *shown_model; gchar *domain; /* diff --git a/e-util/e-table-config.ui b/e-util/e-table-config.ui index cfc6cb57fc..79c3a300d9 100644 --- a/e-util/e-table-config.ui +++ b/e-util/e-table-config.ui @@ -1,569 +1,374 @@ - + - - - - Show Fields + + + False + dialog1 + False True + center-on-parent dialog - + True + False vertical - 8 - - + + True - vertical - 6 + False + end - + + gtk-cancel + False True - 5 - 6 - 6 - True - - - True - 0 - A_vailable Fields: - True - - - 2 - GTK_FILL - - - - - True - 0 - _Show these fields in order: - True - - - 3 - 5 - GTK_FILL - - - - - + True + True + False + False + True False + False 0 - - True - 5 - 6 - 6 - True - - - True - vertical - 6 - - - True - True - automatic - automatic - in - - - - - - 0 - - - - - 2 - - - - - True - vertical - 6 - - - True - True - automatic - automatic - in - - - - - - 0 - - - - - True - 6 - True - - - True - True - True - - - True - 0 - 0 - - - True - 2 - - - True - gtk-go-up - - - False - False - 0 - - - - - True - Move _Up - True - - - False - False - 1 - - - - - - - - - False - 0 - - - - - True - True - True - - - True - 0 - 0 - - - True - 2 - - - True - gtk-go-down - - - False - False - 0 - - - - - True - Move _Down - True - - - False - False - 1 - - - - - - - - - False - 1 - - - - - False - 1 - - - - - 3 - 5 - - - - - True - vertical - 6 - - - True - True - False - - - True - 0.69999998807907104 - 0 - 0 - - - True - 2 - - - True - _Add - True - - - False - False - 0 - - - - - True - gtk-go-forward - - - False - False - 1 - - - - - - - - - False - False - 0 - - - - - True - True - False - - - True - 0 - 0 - - - True - 2 - - - True - gtk-go-back - - - False - False - 0 - - - - - True - _Remove - True - - - False - False - 1 - - - - - - - - - False - False - 1 - - - - - - - - 2 - 3 - - - - - 1 - - - - - 2 - - - - - True - end - - - gtk-cancel + + gtk-apply + False True True True False + False True False False - 0 + 1 - + gtk-ok + False True True True False + False True False False - 1 + 2 False + True end 0 - - - - button22 - button20 - - - - Group - True - dialog - - - True - vertical - 8 - + True - vertical + False + 2 + 0 - + True - 6 + False + 2 + 3 + 3 + 4 + 2 - + + _Sort... + False True - 0 - - - True - 6 - - - True - vertical - - - _Show field in View - True - True - False - True - True - - - False - False - 0 - - - - - 0 - - - - - True - vertical - - - Ascending - True - True - False - True - True - - - False - False - 0 - - - - - Descending - True - True - False - True - True - radiobutton-ascending-group-1 - - - False - False - 1 - - - - - False - 1 - - - - - - - True - Group Items By - - + True + True + False + False + True + - 0 + 2 + 3 + GTK_FILL + - + + _Group By... + False + True + True + True + False + False + True + + + + 1 + 2 + GTK_FILL + + + + + + True + False + 0 + True + + + 1 + 2 + 2 + 3 + GTK_FILL + + + + + _Fields Shown... + False + True + True + True + False + False + True + + + + GTK_FILL + + + + + + True + False + 0 + True + + + 1 + 2 + GTK_FILL + + + + True + False + 0 center - False - False - 1 + 2 + 3 + 1 + 2 + GTK_FILL + GTK_FILL - + True + False + 0 center - False - False - 2 + 2 + 3 + 2 + 3 + GTK_FILL + GTK_FILL - + True + False + 0 center - False - False - 3 + 2 + 3 + GTK_FILL + GTK_FILL + + + + + True + False + 0 + True + + + 1 + 2 + 1 + 2 + GTK_FILL + + + + + True + False + Description + + + + + False + True + 2 + + + + + + cancelbutton2 + applybutton2 + okbutton2 + + + + False + Group + True + dialog + + + True + False + vertical + 8 + + + True + False + end + + + Clear _All + False + True + True + True + False + False + True + + False + False 0 - + + gtk-cancel + False + True + True + True + False + False + True + + + False + False + 1 + + + + + gtk-ok + False + True + True + True + False + False + True + + + False + False + 2 + + + + + False + True + end + 0 + + + + + True + False + + True + False 6 - - True - center - - - False - False - 0 - - - - + True + False 0 - + True + False 6 - + True - vertical + False - - Show _field in View + + _Show field in View + False True True False + False True + 0.5 True @@ -574,20 +379,25 @@ + True + True 0 - + True - vertical + False - + Ascending + False True True False + False True + 0.5 True @@ -597,14 +407,17 @@ - + Descending + False True True False + False True + 0.5 True - radiobutton-ascending-group-2 + radiobutton-ascending-group-1 False @@ -615,56 +428,229 @@ False + True 1 - + True - Then By + False + Group Items By - 1 + True + True + 0 - + True + False center False False - 2 + 1 - + True + False center False False - 3 + 2 + + + + + True + False + center + + + False + False + 3 + + + + + True + True + 0 + + + + + True + False + 6 + + + True + False + center + + + False + False + 0 + + + + + True + False + 0 + + + True + False + 6 + + + True + False + + + Show _field in View + False + True + True + False + False + True + 0.5 + True + + + False + False + 0 + + + + + True + True + 0 + + + + + True + False + + + Ascending + False + True + True + False + False + True + 0.5 + True + + + False + False + 0 + + + + + Descending + False + True + True + False + False + True + 0.5 + True + radiobutton-ascending-group-2 + + + False + False + 1 + + + + + False + True + 1 + + + + + + + True + False + Then By + + + + + True + True + 1 + + + + + True + False + center + + + False + False + 2 + + + + + True + False + center + + + False + False + 3 + True + True 1 True + False 6 True + False center @@ -676,6 +662,7 @@ True + False center @@ -687,22 +674,27 @@ True + False 0 True + False 6 True - vertical + False Show field i_n View + False True True False + False True + 0.5 True @@ -713,20 +705,25 @@ + True + True 0 True - vertical + False Ascending + False True True False + False True + 0.5 True @@ -738,10 +735,13 @@ Descending + False True True False + False True + 0.5 True radiobutton-ascending-group-3 @@ -754,6 +754,7 @@ False + True 1 @@ -762,17 +763,21 @@ True + False Then By + True + True 2 True + False center @@ -783,16 +788,20 @@ + True + True 2 True + False 6 True + False center @@ -804,6 +813,7 @@ True + False center @@ -815,6 +825,7 @@ True + False center @@ -826,22 +837,27 @@ True + False 0 True + False 6 True - vertical + False Show field in _View + False True True False + False True + 0.5 True @@ -852,20 +868,25 @@ + True + True 0 True - vertical + False Ascending + False True True False + False True + 0.5 True @@ -877,10 +898,13 @@ Descending + False True True False + False True + 0.5 True radiobutton-ascending-group-4 @@ -893,6 +917,7 @@ False + True 1 @@ -901,35 +926,64 @@ True + False Then By + True + True 3 + True + True 3 + False + True 2 + + + + button39 + button42 + button41 + + + + False + Sort + True + dialog + + + True + False + vertical + 8 - + True + False end - - Clear _All + + Clear All + False True True True False + False True @@ -939,12 +993,14 @@ - + gtk-cancel + False True True True False + False True @@ -954,12 +1010,15 @@ - + gtk-ok + False True True True + True False + False True @@ -971,61 +1030,54 @@ False + True end 0 - - - - button39 - button42 - button41 - - - - Sort - True - dialog - - - True - vertical - 8 True + False 4 6 6 True + False 0 True + False 6 True + False 0 + True + True 0 True - vertical + False Ascending + False True True False + False True + 0.5 True @@ -1037,10 +1089,13 @@ Descending + False True True False + False True + 0.5 True radiobutton-ascending-sort-4 @@ -1053,6 +1108,7 @@ False + True 1 @@ -1061,6 +1117,7 @@ True + False Then By @@ -1074,31 +1131,39 @@ True + False 0 True + False 6 True + False 0 + True + True 0 True - vertical + False Ascending + False True True False + False True + 0.5 True @@ -1110,10 +1175,13 @@ Descending + False True True False + False True + 0.5 True radiobutton-ascending-sort-3 @@ -1126,6 +1194,7 @@ False + True 1 @@ -1134,6 +1203,7 @@ True + False Then By @@ -1147,31 +1217,39 @@ True + False 0 True + False 6 True + False 0 + True + True 0 True - vertical + False Ascending + False True True False + False True + 0.5 True @@ -1183,10 +1261,13 @@ Descending + False True True False + False True + 0.5 True radiobutton-ascending-sort-2 @@ -1199,6 +1280,7 @@ False + True 1 @@ -1207,6 +1289,7 @@ True + False Then By @@ -1220,31 +1303,39 @@ True + False 0 True + False 6 True + False 0 + True + True 0 True - vertical + False Ascending + False True True False + False True + 0.5 True @@ -1256,10 +1347,13 @@ Descending + False True True False + False True + 0.5 True radiobutton-ascending-sort-1 @@ -1272,6 +1366,7 @@ False + True 1 @@ -1280,6 +1375,7 @@ True + False Sort Items By @@ -1289,65 +1385,10 @@ - - 2 - - - - - True - end - - - Clear All - True - True - True - False - True - - - False - False - 0 - - - - - gtk-cancel - True - True - True - False - True - - - False - False - 1 - - - - - gtk-ok - True - True - True - True - False - True - - - False - False - 2 - - - False - end - 0 + True + 2 @@ -1358,237 +1399,4 @@ button44 - - dialog1 - False - True - center-on-parent - dialog - - - True - vertical - - - True - 2 - 0 - - - True - 2 - 3 - 3 - 4 - 2 - - - _Sort... - True - True - True - False - True - - - - 2 - 3 - GTK_FILL - - - - - - _Group By... - True - True - True - False - True - - - - 1 - 2 - GTK_FILL - - - - - - True - 0 - True - - - 1 - 2 - 2 - 3 - GTK_FILL - - - - - _Fields Shown... - True - True - True - False - True - - - - GTK_FILL - - - - - - True - 0 - True - - - 1 - 2 - GTK_FILL - - - - - True - 0 - center - - - 2 - 3 - 1 - 2 - GTK_FILL - GTK_FILL - - - - - True - 0 - center - - - 2 - 3 - 2 - 3 - GTK_FILL - GTK_FILL - - - - - True - 0 - center - - - 2 - 3 - GTK_FILL - GTK_FILL - - - - - True - 0 - True - - - 1 - 2 - 1 - 2 - GTK_FILL - - - - - - - - True - Description - - - - - 2 - - - - - True - end - - - gtk-cancel - True - True - True - False - True - - - False - False - 0 - - - - - gtk-apply - True - True - True - False - True - - - False - False - 1 - - - - - gtk-ok - True - True - True - False - True - - - False - False - 2 - - - - - False - end - 0 - - - - - - cancelbutton2 - applybutton2 - okbutton2 - - -- cgit v1.2.3