From 825a3fe8219641123b0920b61971e9b6339cf9eb Mon Sep 17 00:00:00 2001 From: Marco Pesenti Gritti Date: Sat, 04 Jun 2005 16:56:51 +0000 Subject: 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. --- diff --git a/ChangeLog b/ChangeLog index 92ca4ac..edd0d3a 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,16 @@ 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: * backend/ev-document-fonts.c: (ev_document_fonts_get_type), (ev_document_fonts_get_fonts_model): diff --git a/data/evince-properties.glade b/data/evince-properties.glade index 874aff4..a672716 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 a8c5a1e..9e0af66 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); -- cgit v0.9.1