diff options
author | William Jon McCann <jmccann@redhat.com> | 2011-01-19 20:00:37 -0500 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2011-01-20 09:36:43 -0500 |
commit | deeac8caf3226e480d239a0fa2416f0e03036c95 (patch) | |
tree | 33c4b79367268cfd4596f1e6ade3d8b610325571 /gtk/gtkappchooserbutton.c | |
parent | 7ad7c616785fa5ed974ab4cbc8bd49812f8d5c45 (diff) | |
download | gtk+-deeac8caf3226e480d239a0fa2416f0e03036c95.tar.gz |
Don't use an icon for Other Applications...
We only show icons in "menus" for nouns or dynamic objects.
Diffstat (limited to 'gtk/gtkappchooserbutton.c')
-rw-r--r-- | gtk/gtkappchooserbutton.c | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/gtk/gtkappchooserbutton.c b/gtk/gtkappchooserbutton.c index df00ae820d..458deb3659 100644 --- a/gtk/gtkappchooserbutton.c +++ b/gtk/gtkappchooserbutton.c @@ -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 |