Source

vpackager / src / vpackager / bot.py

Diff from to

src/vpackager/bot.py

         filem = gtk.MenuItem("File")
         filem.set_submenu(filemenu)
 
-        exit = gtk.MenuItem("Exit")
+        exit = gtk.ImageMenuItem("Exit")
+        exitimg = gtk.image_new_from_stock(gtk.STOCK_QUIT,
+                                           gtk.ICON_SIZE_MENU)
+        exit.set_image(exitimg)
         exit.connect("activate", self._exit)
         filemenu.append(exit)
 
         editmenu = gtk.Menu()
         editm.set_submenu(editmenu)
         mb.append(editm)
-        editprefs = gtk.MenuItem("Preferences")
+        editprefs = gtk.ImageMenuItem("Preferences")
+        editprefsimg = gtk.image_new_from_stock(gtk.STOCK_PREFERENCES,
+                                                gtk.ICON_SIZE_MENU)
+        editprefs.set_image(editprefsimg)
         editmenu.append(editprefs)
         editprefs.connect('activate', self.ShowPrefsWindow)
 
         helpmenu = gtk.Menu()
         helpm.set_submenu(helpmenu)
 
-        about = gtk.MenuItem("About")
+        about = gtk.ImageMenuItem("About")
+        aboutimg = gtk.image_new_from_stock(gtk.STOCK_ABOUT,
+                                            gtk.ICON_SIZE_MENU)
+        about.set_image(aboutimg)
         about.connect("activate", self._show_about)
         helpmenu.append(about)
         mb.append(helpm)