Commit 58228881 authored by JodyGoldberg's avatar JodyGoldberg Committed by Jody Goldberg
Browse files

if frozen == unfrozen unfreeze things.


2005-10-14  Jody Goldberg <jody@gnome.org>

	* src/sheet-view.c (sv_freeze_panes) : if frozen == unfrozen unfreeze
	  things.
parent f83dc23f
......@@ -12,7 +12,6 @@ Release Critical
-------------------------
http://bugzilla.gnome.org/show_bug.cgi?id=317662
* Double borders in rtl
* Drag clearing frozen panes
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=286131
- use 2.6 clipboard handling
: gtk_clipboard_set_can_store
......
2005-10-14 Jody Goldberg <jody@gnome.org>
* src/sheet-view.c (sv_freeze_panes) : if frozen == unfrozen unfreeze
things.
2005-10-12 Stepan Kasal <kasal@ucw.cz>
* configure.in (gnumeric_gnome_reqs): Require libgsf-gnome >= 1.13.0,
......
Gnumeric 1.6.1
Jody:
* Unfreeze panes if the drag handles are pulled outwards.
Morten:
* Fix content probing of csv and tsv files. [#318419]
* Import formats from Lotus 1-2-3 files.
......
2005-10-14 Jody Goldberg <jody@gnome.org>
* src/sheet-view.c (sv_freeze_panes) : if frozen == unfrozen unfreeze
things.
2005-10-12 Stepan Kasal <kasal@ucw.cz>
* configure.in (gnumeric_gnome_reqs): Require libgsf-gnome >= 1.13.0,
......
/* -*-mode:c; c-style:k&r; c-basic-offset:8; -*- */
/* vim: set sw=8: -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */
/*
* GNU Oleo input filter for Gnumeric
*
......@@ -326,7 +326,7 @@ oleo_deal_with_format (OleoParseState *state, guint8 *str, int *ccol, int *crow,
break;
case 'R':
gnm_style_set_align_h (mstyle, HALIGN_RIGHT);
}
}
}
if (fmt_string->len)
gnm_style_set_format_text (mstyle, fmt_string->str);
......
......@@ -677,7 +677,8 @@ sv_is_region_empty_or_selected (SheetView const *sv, GnmRange const *r)
* @unfrozen : top left corner of the unfrozen region
*
* By definition the unfrozen region must be below the frozen.
*/
* If @frozen == @unfrozen or @frozen == NULL unfreeze
**/
void
sv_freeze_panes (SheetView *sv,
GnmCellPos const *frozen,
......@@ -692,7 +693,8 @@ sv_freeze_panes (SheetView *sv,
/* Just in case */
if (unfrozen->col != (SHEET_MAX_COLS-1) &&
unfrozen->row != (SHEET_MAX_ROWS-1)) {
unfrozen->row != (SHEET_MAX_ROWS-1) &&
!gnm_cellpos_equal (frozen, unfrozen)) {
sv->frozen_top_left = *frozen;
sv->unfrozen_top_left = *unfrozen;
if (sv->frozen_top_left.col == sv->unfrozen_top_left.col)
......
Supports Markdown
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