[Xfce4-commits] <parole:master> At 16px, a cdrom is a dvdrom, etc

Sean Davis noreply at xfce.org
Fri Oct 11 11:51:07 CEST 2013


Updating branch refs/heads/master
         to a6ecf8ff302af24cd2380f7d316b82be28364f40 (commit)
       from 55ce061751ca71aa412f5c4c7402d6390ec7e344 (commit)

commit a6ecf8ff302af24cd2380f7d316b82be28364f40
Author: Sean Davis <smd.seandavis at gmail.com>
Date:   Sun Aug 25 08:16:53 2013 -0400

    At 16px, a cdrom is a dvdrom, etc

 src/parole-disc.c |    7 +------
 1 file changed, 1 insertion(+), 6 deletions(-)

diff --git a/src/parole-disc.c b/src/parole-disc.c
index e85104d..fa80986 100644
--- a/src/parole-disc.c
+++ b/src/parole-disc.c
@@ -140,27 +140,22 @@ parole_disc_get_enabled(ParoleDisc *disc)
 static void
 parole_disc_set_kind(ParoleDisc *disc, ParoleDiscKind kind)
 {
-    GtkWidget *img;
     gboolean enabled = TRUE;
     
     switch (kind)
 	{
 		case PAROLE_DISC_CDDA:
-			img = gtk_image_new_from_icon_name("media-cdrom-audio", GTK_ICON_SIZE_MENU);
 			break;
 		case PAROLE_DISC_SVCD:
 		case PAROLE_DISC_VCD:
 		case PAROLE_DISC_DVD:
-			img = gtk_image_new_from_stock("gtk-cdrom", GTK_ICON_SIZE_MENU);
 			break;
 		default:
-		    img = gtk_image_new_from_stock("gtk-cdrom", GTK_ICON_SIZE_MENU);
 		    parole_disc_set_label(disc, _("Insert Disc") );
 		    enabled = FALSE;
 		    break;
 	}
-	
-	gtk_image_menu_item_set_image( GTK_IMAGE_MENU_ITEM (disc->priv->disc_menu_item), img);
+
 	parole_disc_set_enabled(disc, enabled);
 }
 


More information about the Xfce4-commits mailing list