Don't use an icon for Other Applications...

We only show icons in "menus" for nouns or dynamic objects.
This commit is contained in:
William Jon McCann 2011-01-19 20:00:37 -05:00 committed by Matthias Clasen
parent 7ad7c61678
commit deeac8caf3

View File

@ -238,14 +238,11 @@ static void
gtk_app_chooser_button_ensure_dialog_item (GtkAppChooserButton *self,
GtkTreeIter *prev_iter)
{
GIcon *icon;
GtkTreeIter iter, iter2;
if (!self->priv->show_dialog_item)
return;
icon = g_themed_icon_new ("application-x-executable");
if (prev_iter == NULL)
gtk_list_store_append (self->priv->store, &iter);
else
@ -256,10 +253,8 @@ gtk_app_chooser_button_ensure_dialog_item (GtkAppChooserButton *self,
gtk_list_store_insert_after (self->priv->store, &iter, &iter2);
real_insert_custom_item (self, CUSTOM_ITEM_OTHER_APP,
_("Other application..."), icon,
_("Other application..."), NULL,
FALSE, &iter);
g_object_unref (icon);
}
static void