[gtk+/font-chooser: 5/92] GtkFontChooser: Added main treeview
- From: Alberto Ruiz <aruiz src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+/font-chooser: 5/92] GtkFontChooser: Added main treeview
- Date: Mon, 25 Jul 2011 14:14:45 +0000 (UTC)
commit 5f53dc8b83224c47beb45e0d6e747907da737ca7
Author: Alberto Ruiz <aruiz gnome org>
Date: Fri Apr 15 22:02:42 2011 +0100
GtkFontChooser: Added main treeview
gtk/gtkfontchooser.c | 11 +++++------
1 files changed, 5 insertions(+), 6 deletions(-)
---
diff --git a/gtk/gtkfontchooser.c b/gtk/gtkfontchooser.c
index aba2cd9..7f79789 100644
--- a/gtk/gtkfontchooser.c
+++ b/gtk/gtkfontchooser.c
@@ -285,12 +285,6 @@ gtk_font_selection_init (GtkFontSelection *fontsel)
{
GtkFontSelectionPrivate *priv;
GtkWidget *scrolled_win;
- GtkWidget *text_box;
- GtkWidget *table, *label;
- GtkWidget *font_label, *style_label;
- GtkWidget *vbox;
- GtkListStore *model;
- GtkTreeViewColumn *column;
GList *focus_chain = NULL;
AtkObject *atk_obj;
@@ -312,7 +306,12 @@ gtk_font_selection_init (GtkFontSelection *fontsel)
sizeof (guint16)) - 1],
1);
+ scrolled_win = gtk_scrolled_window_new (NULL, NULL);
+ gtk_container_add (GTK_CONTAINER (scrolled_win), priv->family_face_list);
+
gtk_box_pack_start (GTK_BOX (fontsel), priv->search_entry, FALSE, TRUE, 0);
+ gtk_box_pack_start (GTK_BOX (fontsel), scrolled_win, TRUE, TRUE, 0);
+
priv->size = 12 * PANGO_SCALE;
priv->face = NULL;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]