[Gnucash-changes] r13686 - gnucash/trunk/src/gnome-utils - Add a
label to the budget selection combobox. Bug#334501
Chris Shoemaker
chris at cvs.gnucash.org
Thu Mar 23 00:41:30 EST 2006
Author: chris
Date: 2006-03-23 00:41:29 -0500 (Thu, 23 Mar 2006)
New Revision: 13686
Trac: http://svn.gnucash.org/trac/changeset/13686
Modified:
gnucash/trunk/src/gnome-utils/dialog-options.c
Log:
Add a label to the budget selection combobox. Bug#334501
Modified: gnucash/trunk/src/gnome-utils/dialog-options.c
===================================================================
--- gnucash/trunk/src/gnome-utils/dialog-options.c 2006-03-23 00:42:45 UTC (rev 13685)
+++ gnucash/trunk/src/gnome-utils/dialog-options.c 2006-03-23 05:41:29 UTC (rev 13686)
@@ -1706,7 +1706,7 @@
gchar *colon_name;
colon_name = g_strconcat(name, ":", NULL);
- label= gtk_label_new(colon_name);
+ label = gtk_label_new(colon_name);
gtk_misc_set_alignment(GTK_MISC(label), 1.0, 0.5);
g_free(colon_name);
@@ -1735,7 +1735,7 @@
GtkWidget *eventbox;
colon_name = g_strconcat(name, ":", NULL);
- label= gtk_label_new(colon_name);
+ label = gtk_label_new(colon_name);
gtk_misc_set_alignment(GTK_MISC(label), 1.0, 0.5);
g_free(colon_name);
@@ -2126,7 +2126,14 @@
GtkWidget **enclosing, gboolean *packed)
{
GtkWidget *value;
+ GtkWidget *label;
+ gchar *colon_name;
+ colon_name = g_strconcat(name, ":", NULL);
+ label = gtk_label_new(colon_name);
+ gtk_misc_set_alignment(GTK_MISC(label), 1.0, 0.5);
+ g_free(colon_name);
+
*enclosing = gtk_hbox_new(FALSE, 5);
value = gnc_option_create_budget_widget(option);
@@ -2138,6 +2145,7 @@
g_signal_connect(G_OBJECT(value), "changed",
G_CALLBACK(gnc_option_changed_widget_cb), option);
+ gtk_box_pack_start(GTK_BOX(*enclosing), label, FALSE, FALSE, 0);
gtk_box_pack_start(GTK_BOX(*enclosing), value, FALSE, FALSE, 0);
gtk_widget_show_all(*enclosing);
return value;
More information about the gnucash-changes
mailing list