[gnome-control-center] media: remove icons from non app items
- From: William Jon McCann <mccann src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-control-center] media: remove icons from non app items
- Date: Thu, 20 Jan 2011 00:59:31 +0000 (UTC)
commit 8f9eccbd44104235aa94a2f42160a02e84a8c291
Author: William Jon McCann <jmccann redhat com>
Date: Wed Jan 19 19:55:53 2011 -0500
media: remove icons from non app items
https://bugzilla.gnome.org/show_bug.cgi?id=640010
panels/media/cc-media-panel.c | 13 +++----------
1 files changed, 3 insertions(+), 10 deletions(-)
---
diff --git a/panels/media/cc-media-panel.c b/panels/media/cc-media-panel.c
index 4009573..8b16ccf 100644
--- a/panels/media/cc-media-panel.c
+++ b/panels/media/cc-media-panel.c
@@ -295,7 +295,6 @@ prepare_combo_box (CcMediaPanel *self,
GtkWidget *combo_box)
{
GtkAppChooserButton *app_chooser = GTK_APP_CHOOSER_BUTTON (combo_box);
- GIcon *icon;
gboolean pref_ask;
gboolean pref_start_app;
gboolean pref_ignore;
@@ -318,23 +317,17 @@ prepare_combo_box (CcMediaPanel *self,
g_object_unref (info);
}
- icon = g_themed_icon_new (GTK_STOCK_DIALOG_QUESTION);
gtk_app_chooser_button_append_custom_item (app_chooser, CUSTOM_ITEM_ASK,
_("Ask what to do"),
- icon);
- g_object_unref (icon);
+ NULL);
- icon = g_themed_icon_new (GTK_STOCK_CLOSE);
gtk_app_chooser_button_append_custom_item (app_chooser, CUSTOM_ITEM_DO_NOTHING,
_("Do Nothing"),
- icon);
- g_object_unref (icon);
+ NULL);
- icon = g_themed_icon_new ("folder-open");
gtk_app_chooser_button_append_custom_item (app_chooser, CUSTOM_ITEM_OPEN_FOLDER,
_("Open Folder"),
- icon);
- g_object_unref (icon);
+ NULL);
gtk_app_chooser_button_set_show_dialog_item (app_chooser, TRUE);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]