[gnome-control-center/startup-apps] info: Don't show hidden autostartable apps
- From: Rodrigo Moya <rodrigo src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-control-center/startup-apps] info: Don't show hidden autostartable apps
- Date: Tue, 7 Jun 2011 11:44:47 +0000 (UTC)
commit 14b83fce265ff622bdc30e2240eb923127d46c8e
Author: Rodrigo Moya <rodrigo gnome-db org>
Date: Tue Jun 7 13:44:27 2011 +0200
info: Don't show hidden autostartable apps
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 96c1694..9ebaf6c 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,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]