*** empty log message ***

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@4300 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
James LewisMoss 2001-05-26 20:26:48 +00:00
parent f48560dc14
commit 2ac06c3069
3 changed files with 52 additions and 7 deletions

View File

@ -1,3 +1,27 @@
2001-05-26 James LewisMoss <jimdres@mindspring.com>
* src/gnome/new-user-funs.c (gnc_new_user_dialog_is_new_user): new
func to test is new user.
(gnc_ui_show_new_user_window): add arg for new user or not.
(gnc_ui_show_new_user_choice_window): call
gnc_ui_show_new_user_window with one argument saying it is a new
user call.
* src/gnome/new-user-callbacks.c (cancel_everything_out): new func
extracting out shared functionality.
(on_accountChooseDruidPage_cancel): add check to only pop up
cancel dialog for new user stuff.
* src/FileDialog.c (gncFileNew): call gnc_ui_show_new_user_window
with one argument saying it isn't new user call.
* src/gnome/new-user-callbacks.c
(on_newAccountTypesList_select_row): deal with change in the text
setting to a label rather than a gtktext.
(on_newAccountTypesList_unselect_row): same.
* Makefile.am (TAGS): ignore debian dir.
2001-05-26 Dave Peticolas <dave@krondo.com>
* src/gnome/window-acct-tree.c: fix label alignment

View File

@ -47,6 +47,7 @@ create_newUserDialog (void)
GtkWidget *hbox1;
GtkWidget *frame1;
GtkWidget *scrolledwindow2;
GtkWidget *viewport2;
GtkWidget *newAccountTypesDescription;
GtkWidget *frame2;
GtkWidget *scrolledwindow3;
@ -232,14 +233,23 @@ create_newUserDialog (void)
gtk_container_add (GTK_CONTAINER (frame1), scrolledwindow2);
gtk_scrolled_window_set_policy (GTK_SCROLLED_WINDOW (scrolledwindow2), GTK_POLICY_NEVER, GTK_POLICY_ALWAYS);
newAccountTypesDescription = gtk_text_new (NULL, NULL);
viewport2 = gtk_viewport_new (NULL, NULL);
gtk_widget_set_name (viewport2, "viewport2");
gtk_widget_ref (viewport2);
gtk_object_set_data_full (GTK_OBJECT (newUserDialog), "viewport2", viewport2,
(GtkDestroyNotify) gtk_widget_unref);
gtk_widget_show (viewport2);
gtk_container_add (GTK_CONTAINER (scrolledwindow2), viewport2);
newAccountTypesDescription = gtk_label_new ("");
gtk_widget_set_name (newAccountTypesDescription, "newAccountTypesDescription");
gtk_widget_ref (newAccountTypesDescription);
gtk_object_set_data_full (GTK_OBJECT (newUserDialog), "newAccountTypesDescription", newAccountTypesDescription,
(GtkDestroyNotify) gtk_widget_unref);
gtk_widget_show (newAccountTypesDescription);
gtk_container_add (GTK_CONTAINER (scrolledwindow2), newAccountTypesDescription);
GTK_WIDGET_UNSET_FLAGS (newAccountTypesDescription, GTK_CAN_FOCUS);
gtk_container_add (GTK_CONTAINER (viewport2), newAccountTypesDescription);
gtk_label_set_justify (GTK_LABEL (newAccountTypesDescription), GTK_JUSTIFY_LEFT);
gtk_label_set_line_wrap (GTK_LABEL (newAccountTypesDescription), TRUE);
frame2 = gtk_frame_new (_("Accounts"));
gtk_widget_set_name (frame2, "frame2");

View File

@ -272,10 +272,21 @@ will appear If you choose New File in the File menu unless you have set the
<vupdate_policy>GTK_UPDATE_CONTINUOUS</vupdate_policy>
<widget>
<class>GtkText</class>
<name>newAccountTypesDescription</name>
<editable>False</editable>
<text></text>
<class>GtkViewport</class>
<name>viewport2</name>
<shadow_type>GTK_SHADOW_IN</shadow_type>
<widget>
<class>GtkLabel</class>
<name>newAccountTypesDescription</name>
<label></label>
<justify>GTK_JUSTIFY_LEFT</justify>
<wrap>True</wrap>
<xalign>0.5</xalign>
<yalign>0.5</yalign>
<xpad>0</xpad>
<ypad>0</ypad>
</widget>
</widget>
</widget>
</widget>