From: Jim Evins Date: Tue, 20 Sep 2005 03:24:53 +0000 (+0000) Subject: 2005-09-19 Jim Evins X-Git-Tag: glabels-2_3_0~404 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=39d8141f74f981643811f13b1fb09b5f6339b57f;p=glabels 2005-09-19 Jim Evins * data/glade/property-bar.glade: Remove items from font_family_combo. This prevents the double entry after adding text model and list of fonts. * src/ui-property-bar.c: (reset_to_default_properties): Free font_family_list. git-svn-id: https://glabels.svn.sourceforge.net/svnroot/glabels/trunk@551 f5e0f49d-192f-0410-a22d-a8d8700d0965 --- diff --git a/glabels2/ChangeLog b/glabels2/ChangeLog index b7876691..ace3b3df 100644 --- a/glabels2/ChangeLog +++ b/glabels2/ChangeLog @@ -1,3 +1,11 @@ +2005-09-19 Jim Evins + + * data/glade/property-bar.glade: + Remove items from font_family_combo. This prevents the + double entry after adding text model and list of fonts. + * src/ui-property-bar.c: (reset_to_default_properties): + Free font_family_list. + 2005-07-01 Jim Evins * po/it.po: diff --git a/glabels2/data/glade/property-bar.glade b/glabels2/data/glade/property-bar.glade index 53db5b71..6ba9b341 100644 --- a/glabels2/data/glade/property-bar.glade +++ b/glabels2/data/glade/property-bar.glade @@ -43,7 +43,6 @@ True - Font family False False diff --git a/glabels2/src/ui-property-bar.c b/glabels2/src/ui-property-bar.c index 2a5a50b4..a0205563 100644 --- a/glabels2/src/ui-property-bar.c +++ b/glabels2/src/ui-property-bar.c @@ -420,6 +420,7 @@ reset_to_default_properties (glView *view, gl_util_combo_box_set_active_text (GTK_COMBO_BOX (property_bar->priv->font_family_combo), good_font_family); g_free (good_font_family); + gnome_font_family_list_free (family_names); gtk_spin_button_set_value (GTK_SPIN_BUTTON(property_bar->priv->font_size_spin), view->default_font_size);