From bc487e12d04f255d2203c75ebc7aa0872a24643c Mon Sep 17 00:00:00 2001 From: Benedikt Meurer Date: Thu, 2 Mar 2006 10:50:38 +0000 Subject: 2006-03-02 Benedikt Meurer * thunar-uca/thunar-uca-chooser.c(thunar_uca_chooser_init): Fix the vertical icon alignment. * thunar-uca/thunar-uca-editor.c(thunar_uca_editor_command_clicked): Verify that an absolute filename is given. Else GtkFileChooser will complain. * thunar-uca/thunar-uca-editor.c(thunar_uca_editor_icon_clicked): Same story. * thunar/thunar-dialogs.c, thunar/thunar-dialogs.c, thunar-uca/thunar-uca-chooser.c, thunar-uca/thunar-uca-provider.c: "%s." is really not something that must be translated. * thunar/thunar-chooser-dialog.c, thunar/thunar-chooser-model.{c,h}: Use bold font for the titles. * po/Thunar.pot, po/*.po: Update po files. * po/de.po: Updated the german translations. Thanks to Fabian Nowak . (Old svn revision: 20151) --- thunar/thunar-chooser-model.c | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'thunar/thunar-chooser-model.c') diff --git a/thunar/thunar-chooser-model.c b/thunar/thunar-chooser-model.c index a13ed487..d4a28134 100644 --- a/thunar/thunar-chooser-model.c +++ b/thunar/thunar-chooser-model.c @@ -174,6 +174,8 @@ thunar_chooser_model_init (ThunarChooserModel *model) THUNAR_VFS_TYPE_MIME_APPLICATION, PANGO_TYPE_STYLE, G_TYPE_BOOLEAN, + PANGO_TYPE_WEIGHT, + G_TYPE_BOOLEAN, }; /* register the column types */ @@ -298,6 +300,8 @@ thunar_chooser_model_append (ThunarChooserModel *model, gtk_tree_store_set (GTK_TREE_STORE (model), &parent_iter, THUNAR_CHOOSER_MODEL_COLUMN_NAME, title, THUNAR_CHOOSER_MODEL_COLUMN_ICON, icon, + THUNAR_CHOOSER_MODEL_COLUMN_WEIGHT, PANGO_WEIGHT_SEMIBOLD, + THUNAR_CHOOSER_MODEL_COLUMN_WEIGHT_SET, TRUE, -1); if (G_LIKELY (icon != NULL)) g_object_unref (G_OBJECT (icon)); @@ -376,10 +380,10 @@ thunar_chooser_model_import (ThunarChooserModel *model, } /* append the "Recommended Applications:" category */ - thunar_chooser_model_append (model, _("Recommended Applications:"), "gnome-settings-default-applications", recommended); + thunar_chooser_model_append (model, _("Recommended Applications"), "gnome-settings-default-applications", recommended); /* append the "Other Applications:" category */ - thunar_chooser_model_append (model, _("Other Applications:"), "gnome-applications", other); + thunar_chooser_model_append (model, _("Other Applications"), "gnome-applications", other); /* cleanup */ g_list_foreach (recommended, (GFunc) g_object_unref, NULL); -- cgit v1.2.1