summaryrefslogtreecommitdiff
path: root/gtk/gtkrecentchooserdefault.c
diff options
context:
space:
mode:
authorEmmanuele Bassi <ebassi@gnome.org>2006-08-06 23:44:46 +0000
committerEmmanuele Bassi <ebassi@src.gnome.org>2006-08-06 23:44:46 +0000
commit9dd4f220fe1d168c3eb86407bdbc6b3ecdeeb191 (patch)
tree77cafeccba2456c5efa196fe60792e8731b11202 /gtk/gtkrecentchooserdefault.c
parentc6985e1394f13ec2e7d467a1cd2eeebabaece151 (diff)
downloadgtk+-9dd4f220fe1d168c3eb86407bdbc6b3ecdeeb191.tar.gz
Show non existing resources by default. (recent_meta_data_func): Do not
2006-08-07 Emmanuele Bassi <ebassi@gnome.org> * gtk/gtkrecentchooserdefault.c: (_gtk_recent_chooser_default_init): Show non existing resources by default. (recent_meta_data_func): Do not mark non existing resources as insensitive. * gtk/gtkrecentchoosermenu.c: (gtk_recent_chooser_menu_init): Show non existing resources by default. (gtk_recent_chooser_menu_create_item): Do not mark non existing resources as insensitive.
Diffstat (limited to 'gtk/gtkrecentchooserdefault.c')
-rw-r--r--gtk/gtkrecentchooserdefault.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/gtk/gtkrecentchooserdefault.c b/gtk/gtkrecentchooserdefault.c
index 46df22555a..de89c664d6 100644
--- a/gtk/gtkrecentchooserdefault.c
+++ b/gtk/gtkrecentchooserdefault.c
@@ -341,7 +341,7 @@ _gtk_recent_chooser_default_init (GtkRecentChooserDefault *impl)
impl->show_icons = TRUE;
impl->show_private = FALSE;
- impl->show_not_found = FALSE;
+ impl->show_not_found = TRUE;
impl->show_tips = TRUE;
impl->select_multiple = FALSE;
impl->local_only = TRUE;
@@ -1010,7 +1010,6 @@ recent_meta_data_func (GtkTreeViewColumn *tree_column,
g_object_set (cell,
"markup", data->str,
- "sensitive", gtk_recent_info_exists (info),
NULL);
g_string_free (data, TRUE);
@@ -1341,9 +1340,6 @@ gtk_recent_chooser_default_get_items (GtkRecentChooser *chooser)
clamp = g_list_nth (items, limit - 1);
- if (!clamp)
- return items;
-
l = clamp->next;
clamp->next = NULL;