gnumeric r17215 - trunk/src/dialogs
- From: guelzow svn gnome org
- To: svn-commits-list gnome org
- Subject: gnumeric r17215 - trunk/src/dialogs
- Date: Mon, 16 Mar 2009 23:16:21 +0000 (UTC)
Author: guelzow
Date: Mon Mar 16 23:16:21 2009
New Revision: 17215
URL: http://svn.gnome.org/viewvc/gnumeric?rev=17215&view=rev
Log:
2008-03-16 Andreas J. Guelzow <aguelzow pyrshep ca>
* dialog-delete-cells.c (dialog_delete_cells): setup destroy handler
if the current sheet is deleted.
* dialog-hyperlink.c (dhl_init): ditto
* dialog-paste-special (dialog_paste_special): ditto
* dialog-merge.c (dialog_merge): ditto
Modified:
trunk/src/dialogs/ChangeLog
trunk/src/dialogs/dialog-delete-cells.c
trunk/src/dialogs/dialog-hyperlink.c
trunk/src/dialogs/dialog-merge.c
trunk/src/dialogs/dialog-paste-special.c
Modified: trunk/src/dialogs/dialog-delete-cells.c
==============================================================================
--- trunk/src/dialogs/dialog-delete-cells.c (original)
+++ trunk/src/dialogs/dialog-delete-cells.c Mon Mar 16 23:16:21 2009
@@ -163,6 +163,10 @@
g_signal_connect (G_OBJECT (w), "clicked",
G_CALLBACK (cb_delete_cell_cancel_clicked), state);
+ gnm_dialog_setup_destroy_handlers (GTK_DIALOG (state->dialog),
+ state->wbcg,
+ GNM_DIALOG_DESTROY_CURRENT_SHEET_REMOVED);
+
gnumeric_init_help_button (
glade_xml_get_widget (state->gui, "helpbutton"),
GNUMERIC_HELP_LINK_DELETE_CELLS);
Modified: trunk/src/dialogs/dialog-hyperlink.c
==============================================================================
--- trunk/src/dialogs/dialog-hyperlink.c (original)
+++ trunk/src/dialogs/dialog-hyperlink.c Mon Mar 16 23:16:21 2009
@@ -494,6 +494,10 @@
G_CALLBACK (dhl_cb_menu_changed),
state);
+ gnm_dialog_setup_destroy_handlers (GTK_DIALOG (state->dialog),
+ state->wbcg,
+ GNM_DIALOG_DESTROY_CURRENT_SHEET_REMOVED);
+
return FALSE;
}
Modified: trunk/src/dialogs/dialog-merge.c
==============================================================================
--- trunk/src/dialogs/dialog-merge.c (original)
+++ trunk/src/dialogs/dialog-merge.c Mon Mar 16 23:16:21 2009
@@ -433,6 +433,10 @@
"clicked",
G_CALLBACK (cb_merge_cancel_clicked), state);
+ gnm_dialog_setup_destroy_handlers (GTK_DIALOG (state->dialog),
+ state->wbcg,
+ GNM_DIALOG_DESTROY_CURRENT_SHEET_REMOVED);
+
gnumeric_init_help_button (
glade_xml_get_widget (state->gui, "help_button"),
GNUMERIC_HELP_LINK_DATA_MERGE);
Modified: trunk/src/dialogs/dialog-paste-special.c
==============================================================================
--- trunk/src/dialogs/dialog-paste-special.c (original)
+++ trunk/src/dialogs/dialog-paste-special.c Mon Mar 16 23:16:21 2009
@@ -239,6 +239,10 @@
gtk_widget_show_all (vbox);
gtk_widget_grab_focus (first_button);
+ gnm_dialog_setup_destroy_handlers (GTK_DIALOG (state->dialog),
+ state->wbcg,
+ GNM_DIALOG_DESTROY_CURRENT_SHEET_REMOVED);
+
/* a candidate for merging into attach guru */
g_signal_connect (G_OBJECT (state->dialog), "response",
G_CALLBACK (cb_paste_special_response), state);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]