Commit 918e4287 authored by Andreas J. Guelzow 's avatar Andreas J. Guelzow

fix sort dialog popup menu labels

2011-07-27 Andreas J. Guelzow <aguelzow@pyrshep.ca>

	* dialog-cell-sort.c (build_sort_field_base_menu): fix sense of test
parent 29577a78
2011-07-27 Andreas J. Guelzow <aguelzow@pyrshep.ca>
* dialog-cell-sort.c (build_sort_field_base_menu): fix sense of test
2011-07-27 Andreas J. Guelzow <aguelzow@pyrshep.ca> 2011-07-27 Andreas J. Guelzow <aguelzow@pyrshep.ca>
* dialog-printer-setup.c (do_setup_error_display): show all options * dialog-printer-setup.c (do_setup_error_display): show all options
......
...@@ -759,7 +759,7 @@ build_sort_field_base_menu (SortFlowState *state) ...@@ -759,7 +759,7 @@ build_sort_field_base_menu (SortFlowState *state)
if (items == NULL) { if (items == NULL) {
GtkWidget *item; GtkWidget *item;
item = (GtkWidget *) gtk_menu_item_new_with_label(state->is_cols ? item = (GtkWidget *) gtk_menu_item_new_with_label(state->is_cols ?
_("no available row"): _("no available column")); _("no available column"): _("no available row"));
gtk_widget_set_sensitive( GTK_WIDGET (item), FALSE); gtk_widget_set_sensitive( GTK_WIDGET (item), FALSE);
gtk_menu_shell_append (GTK_MENU_SHELL (menu), item); gtk_menu_shell_append (GTK_MENU_SHELL (menu), item);
gtk_widget_show (item); gtk_widget_show (item);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment