Commit 85ca3e0a authored by Miguel de Icaza's avatar Miguel de Icaza Committed by Arturo Espinosa

Do not use gnome_dialog_run_modal.

1998-11-28  Miguel de Icaza  <miguel@nuclecu.unam.mx>

	* src/gnumeric-util.c (gnumeric_notice): Do not use
	gnome_dialog_run_modal.

	* src/dialog-goto-cell.c (dialog_goto_cell): Do not use
	gnome_dialog_run_modal
parent 8156f3fa
1998-11-28 Miguel de Icaza <miguel@nuclecu.unam.mx>
* src/gnumeric-util.c (gnumeric_notice): Do not use
gnome_dialog_run_modal.
* src/dialog-goto-cell.c (dialog_goto_cell): Do not use
gnome_dialog_run_modal
* src/sheet.c (sheet_mark_clean): New routine to mark a sheet as
not modified.
......
1998-11-28 Miguel de Icaza <miguel@nuclecu.unam.mx>
* src/gnumeric-util.c (gnumeric_notice): Do not use
gnome_dialog_run_modal.
* src/dialog-goto-cell.c (dialog_goto_cell): Do not use
gnome_dialog_run_modal
* src/sheet.c (sheet_mark_clean): New routine to mark a sheet as
not modified.
......
1998-11-28 Miguel de Icaza <miguel@nuclecu.unam.mx>
* src/gnumeric-util.c (gnumeric_notice): Do not use
gnome_dialog_run_modal.
* src/dialog-goto-cell.c (dialog_goto_cell): Do not use
gnome_dialog_run_modal
* src/sheet.c (sheet_mark_clean): New routine to mark a sheet as
not modified.
......
1998-11-28 Miguel de Icaza <miguel@nuclecu.unam.mx>
* src/gnumeric-util.c (gnumeric_notice): Do not use
gnome_dialog_run_modal.
* src/dialog-goto-cell.c (dialog_goto_cell): Do not use
gnome_dialog_run_modal
* src/sheet.c (sheet_mark_clean): New routine to mark a sheet as
not modified.
......
......@@ -78,7 +78,7 @@ dialog_goto_cell (Workbook *wb)
gtk_widget_grab_focus (entry);
/* Run the dialog */
gnome_dialog_run_modal (GNOME_DIALOG (dialog));
gnome_dialog_run (GNOME_DIALOG (dialog));
text = gtk_entry_get_text (GTK_ENTRY (entry));
......
......@@ -78,7 +78,7 @@ dialog_goto_cell (Workbook *wb)
gtk_widget_grab_focus (entry);
/* Run the dialog */
gnome_dialog_run_modal (GNOME_DIALOG (dialog));
gnome_dialog_run (GNOME_DIALOG (dialog));
text = gtk_entry_get_text (GTK_ENTRY (entry));
......
......@@ -22,7 +22,7 @@ gnumeric_notice (char *str)
dialog = gnome_dialog_new (_("Notice"), GNOME_STOCK_BUTTON_OK, NULL);
gtk_box_pack_start (GTK_BOX (GNOME_DIALOG (dialog)->vbox), label, TRUE, TRUE, 0);
gtk_widget_show (label);
gnome_dialog_run_modal (GNOME_DIALOG (dialog));
gnome_dialog_run (GNOME_DIALOG (dialog));
gtk_object_destroy (GTK_OBJECT (dialog));
}
......
......@@ -22,7 +22,7 @@ gnumeric_notice (char *str)
dialog = gnome_dialog_new (_("Notice"), GNOME_STOCK_BUTTON_OK, NULL);
gtk_box_pack_start (GTK_BOX (GNOME_DIALOG (dialog)->vbox), label, TRUE, TRUE, 0);
gtk_widget_show (label);
gnome_dialog_run_modal (GNOME_DIALOG (dialog));
gnome_dialog_run (GNOME_DIALOG (dialog));
gtk_object_destroy (GTK_OBJECT (dialog));
}
......
......@@ -331,7 +331,7 @@ cb_sheet_check_dirty (gpointer key, gpointer value, gpointer user_data)
/* NO */
case 1:
workbook_mark_unmodified (sheet->workbook);
workbook_mark_clean (sheet->workbook);
break;
/* CANCEL */
......
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