summaryrefslogtreecommitdiff
path: root/thunar/thunar-chooser-model.c
diff options
context:
space:
mode:
authorBenedikt Meurer <benny@xfce.org>2006-03-02 10:50:38 +0000
committerBenedikt Meurer <benny@xfce.org>2006-03-02 10:50:38 +0000
commitbc487e12d04f255d2203c75ebc7aa0872a24643c (patch)
tree3b8690d3e7f144ddfa3605d1b0f6a9bfe8b39bc9 /thunar/thunar-chooser-model.c
parentf838d0e4d8462e341405deb5271e5e432e3c6a9a (diff)
downloadthunar-bc487e12d04f255d2203c75ebc7aa0872a24643c.tar.gz
2006-03-02 Benedikt Meurer <benny@xfce.org>
* 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 <timystery@arcor.de>. (Old svn revision: 20151)
Diffstat (limited to 'thunar/thunar-chooser-model.c')
-rw-r--r--thunar/thunar-chooser-model.c8
1 files changed, 6 insertions, 2 deletions
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);