[gnumeric] fix the window title for the paste-names dialog
- From: Andreas J. Guelzow <guelzow src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnumeric] fix the window title for the paste-names dialog
- Date: Tue, 20 Jul 2010 20:29:54 +0000 (UTC)
commit bb73f682d3fa1f86fd741f114eb1b3bce1fbcf73
Author: Andreas J Guelzow <aguelzow pyrshep ca>
Date: Tue Jul 20 14:30:48 2010 -0600
fix the window title for the paste-names dialog
2010-07-20 Andreas J. Guelzow <aguelzow pyrshep ca>
* dialog-define-names.c (name_guru_init): set the window title for the
paste dialog.
src/dialogs/ChangeLog | 6 +++++-
src/dialogs/dialog-define-names.c | 6 ++++--
2 files changed, 9 insertions(+), 3 deletions(-)
---
diff --git a/src/dialogs/ChangeLog b/src/dialogs/ChangeLog
index 67e3634..2c62fb4 100644
--- a/src/dialogs/ChangeLog
+++ b/src/dialogs/ChangeLog
@@ -1,5 +1,10 @@
2010-07-20 Andreas J. Guelzow <aguelzow pyrshep ca>
+ * dialog-define-names.c (name_guru_init): set the window title for the
+ paste dialog.
+
+2010-07-20 Andreas J. Guelzow <aguelzow pyrshep ca>
+
* dialog-function-select.c (cb_dialog_function_row_activated):
consider the current mode
(dialog_function_select_init): connect cb_dialog_function_row_activated
@@ -15,7 +20,6 @@
(dialog_function_select_paste): new
* function-select.glade: add paste button
-
2010-07-17 Andreas J. Guelzow <aguelzow pyrshep ca>
* dialog-function-select.c (cb_dialog_function_row_activated): new
diff --git a/src/dialogs/dialog-define-names.c b/src/dialogs/dialog-define-names.c
index 95e19f5..15d9b7c 100644
--- a/src/dialogs/dialog-define-names.c
+++ b/src/dialogs/dialog-define-names.c
@@ -1267,9 +1267,11 @@ name_guru_init (NameGuruState *state, WBCGtk *wbcg, gboolean is_paste_dialog)
g_object_set_data_full (G_OBJECT (state->dialog),
"state", state, (GDestroyNotify)cb_name_guru_destroy);
- if (is_paste_dialog)
+ if (is_paste_dialog) {
+ gtk_window_set_title (GTK_WINDOW (state->dialog),
+ _("Paste Defined Names"));
gtk_widget_show_all (GTK_WIDGET (state->dialog));
- else {
+ } else {
wbc_gtk_attach_guru (state->wbcg, state->dialog);
gtk_widget_show (GTK_WIDGET (state->dialog));
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]