From 825a3fe8219641123b0920b61971e9b6339cf9eb Mon Sep 17 00:00:00 2001 From: Marco Pesenti Gritti Date: Sat, 4 Jun 2005 16:56:51 +0000 Subject: [PATCH] Set the column title. Show the dialog only once everything is setup. 2005-06-04 Marco Pesenti Gritti * data/evince-properties.glade: * pdf/ev-poppler.cc: * shell/ev-properties.c: (setup_fonts_view): Set the column title. Show the dialog only once everything is setup. Getting font info can be very slow... will prolly need to make this threaded too. --- ChangeLog | 11 +++++++++++ data/evince-properties.glade | 1 - shell/ev-properties.c | 1 + 3 files changed, 12 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 92ca4ac0..edd0d3a4 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,14 @@ +2005-06-04 Marco Pesenti Gritti + + * data/evince-properties.glade: + * pdf/ev-poppler.cc: + * shell/ev-properties.c: (setup_fonts_view): + + Set the column title. Show the dialog only + once everything is setup. + Getting font info can be very slow... will + prolly need to make this threaded too. + 2005-06-04 Marco Pesenti Gritti * backend/Makefile.am: diff --git a/data/evince-properties.glade b/data/evince-properties.glade index 874aff42..a6727163 100644 --- a/data/evince-properties.glade +++ b/data/evince-properties.glade @@ -5,7 +5,6 @@ 5 - True Properties GTK_WINDOW_TOPLEVEL GTK_WIN_POS_CENTER_ON_PARENT diff --git a/shell/ev-properties.c b/shell/ev-properties.c index a8c5a1ec..9e0af660 100644 --- a/shell/ev-properties.c +++ b/shell/ev-properties.c @@ -113,6 +113,7 @@ setup_fonts_view (GladeXML *xml, GtkTreeModel *fonts) renderer = gtk_cell_renderer_text_new (); gtk_tree_view_column_pack_start (GTK_TREE_VIEW_COLUMN (column), renderer, FALSE); + gtk_tree_view_column_set_title (GTK_TREE_VIEW_COLUMN (column), _("Name")); gtk_tree_view_column_set_attributes (GTK_TREE_VIEW_COLUMN (column), renderer, "text", EV_DOCUMENT_FONTS_COLUMN_NAME, NULL); -- 2.43.5