Re: Drag & Drop - Follow-up Patch



On Thu, 2002-09-26 at 00:05, Andreas J. Guelzow wrote:
This code does not work properly: I get various

** (gnumeric:2135): CRITICAL **: file dialog-sheet-order.c: line 720
(dialog_sheet_order_update_sheet_order): assertion `n_sheets ==
n_children' failed

I need to rework that. I missed that you can (1) add sheets via the
sheet-manager and (2) add sheets directly by right-clicking on a
tab-label.

I will try to make the sheet manager somehow aware of latter.

The main issue is that the list of sheets in the dialog reflect the
desired list, not the current list of sheets. I would think that that
list should not be adjusted on every drag and drop!

As I previously said, I think if the user hasn't changed the order in
the sheet-manager yet, it would be convenient if the order would be kept
in sync.

Could you fix worksheet.c to properly emit the signal on sheet order
changes? I'll then try to fix the issues with regard to adding sheets...

Lutz
-- 
+----------------------------------------------+
| Lutz Müller                 +49 (7156) 34837 |
|                                              |
| Hans-Sachs-Strasse 5                         |
| 71254 Ditzingen       http://www.topfrose.de |
| Germany           lutz users sourceforge net |
+----------------------------------------------+




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]