diff options
author | Rodrigo Moya <rodrigo@gnome-db.org> | 2011-06-07 13:44:27 +0200 |
---|---|---|
committer | Rodrigo Moya <rodrigo@gnome-db.org> | 2011-06-07 13:44:27 +0200 |
commit | 14b83fce265ff622bdc30e2240eb923127d46c8e (patch) | |
tree | f553651ea94ebf62a4d47e362cee8338347971f3 | |
parent | 78ef46e3d2b348700f160e902694b5700ce710bc (diff) | |
download | gnome-control-center-startup-apps.tar.gz |
info: Don't show hidden autostartable appsstartup-apps
-rw-r--r-- | panels/info/cc-info-panel.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/panels/info/cc-info-panel.c b/panels/info/cc-info-panel.c index 96c169415..9ebaf6c79 100644 --- a/panels/info/cc-info-panel.c +++ b/panels/info/cc-info-panel.c @@ -1283,7 +1283,8 @@ populate_startup_model (GtkListStore *model) /* If it's hidden, don't show it up */ is_hidden = g_key_file_get_boolean (key_file, "Desktop Entry", G_KEY_FILE_DESKTOP_KEY_HIDDEN, NULL); - /* FIXME */ + //if (is_hidden) + // continue; /* Retrieve the icon for this entry */ icon_path = g_key_file_get_locale_string (key_file, "Desktop Entry", G_KEY_FILE_DESKTOP_KEY_ICON, NULL, NULL); @@ -1302,6 +1303,7 @@ populate_startup_model (GtkListStore *model) description = g_strdup_printf ("<b>%s</b>\n%s", g_key_file_get_locale_string (key_file, "Desktop Entry", G_KEY_FILE_DESKTOP_KEY_NAME, NULL, NULL), g_key_file_get_locale_string (key_file, "Desktop Entry", G_KEY_FILE_DESKTOP_KEY_COMMENT, NULL, NULL)); + /* Add row to the model */ gtk_list_store_append (model, &new_row); gtk_list_store_set (model, &new_row, |