goffice r2302 - in trunk: . goffice/graph
- From: emmanuel svn gnome org
- To: svn-commits-list gnome org
- Subject: goffice r2302 - in trunk: . goffice/graph
- Date: Tue, 6 Jan 2009 14:34:54 +0000 (UTC)
Author: emmanuel
Date: Tue Jan 6 14:34:54 2009
New Revision: 2302
URL: http://svn.gnome.org/viewvc/goffice?rev=2302&view=rev
Log:
2008-01-06 Emmanuel Pacaud <emmanuel pacaud lapp in2p3 fr>
* goffice/graph/gog-equation.c (gog_equation_populate_editor):
remember last active preference page.
Modified:
trunk/ChangeLog
trunk/goffice/graph/gog-equation.c
Modified: trunk/goffice/graph/gog-equation.c
==============================================================================
--- trunk/goffice/graph/gog-equation.c (original)
+++ trunk/goffice/graph/gog-equation.c Tue Jan 6 14:34:54 2009
@@ -2,7 +2,7 @@
/*
* gog-equation.c
*
- * Copyright (C) 2008 Emmanuel Pacaud <emmanuel gnome org>
+ * Copyright (C) 2008-2009 Emmanuel Pacaud <emmanuel gnome org>
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of version 2 of the GNU General Public
@@ -87,6 +87,7 @@
GladeXML *gui;
GtkWidget *widget;
GtkTextBuffer *buffer;
+ static guint equation_pref_page = 0;
gui = go_libglade_new ("gog-equation-prefs.glade", "gog_equation_prefs", GETTEXT_PACKAGE, cc);
g_return_if_fail (gui != NULL);
@@ -106,6 +107,8 @@
gog_editor_add_page (editor, widget, _("Equation"));
(GOG_OBJECT_CLASS(equation_parent_klass)->populate_editor) (obj, editor, dalloc, cc);
+
+ gog_editor_set_store_page (editor, &equation_pref_page);
}
#endif
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]