[Xfce4-commits] <parole:master> Minor fixes, menu mnemonics

Sean Davis noreply at xfce.org
Fri Oct 11 11:50:49 CEST 2013


Updating branch refs/heads/master
         to 6f8ae26e95a4dfd81f5a65700b54ed4d8aebe171 (commit)
       from 428a3218bb322d09cc1e06796a0956a9b4c454b8 (commit)

commit 6f8ae26e95a4dfd81f5a65700b54ed4d8aebe171
Author: Sean Davis <smd.seandavis at gmail.com>
Date:   Thu Aug 22 06:03:12 2013 -0400

    Minor fixes, menu mnemonics

 data/interfaces/parole.ui |   70 ++++++++++++++++++++++++---------------------
 src/parole-player.c       |    2 +-
 2 files changed, 38 insertions(+), 34 deletions(-)

diff --git a/data/interfaces/parole.ui b/data/interfaces/parole.ui
index 250f17f..3ed9cd9 100644
--- a/data/interfaces/parole.ui
+++ b/data/interfaces/parole.ui
@@ -1,17 +1,35 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <interface>
   <!-- interface-requires gtk+ 3.0 -->
-  <object class="GtkImage" id="image_media_fullscreen">
+  <object class="GtkImage" id="image6">
     <property name="visible">True</property>
     <property name="can_focus">False</property>
-    <property name="pixel_size">24</property>
+    <property name="pixel_size">16</property>
     <property name="icon_name">view-fullscreen-symbolic</property>
   </object>
-  <object class="GtkImage" id="image_quit">
+  <object class="GtkImage" id="image7">
     <property name="visible">True</property>
     <property name="can_focus">False</property>
     <property name="pixel_size">16</property>
-    <property name="icon_name">system-shutdown-symbolic</property>
+    <property name="icon_name">document-open-symbolic</property>
+  </object>
+  <object class="GtkImage" id="image8">
+    <property name="visible">True</property>
+    <property name="can_focus">False</property>
+    <property name="pixel_size">16</property>
+    <property name="icon_name">parole-extension</property>
+  </object>
+  <object class="GtkImage" id="image9">
+    <property name="visible">True</property>
+    <property name="can_focus">False</property>
+    <property name="pixel_size">16</property>
+    <property name="icon_name">document-properties-symbolic</property>
+  </object>
+  <object class="GtkImage" id="image_media_fullscreen">
+    <property name="visible">True</property>
+    <property name="can_focus">False</property>
+    <property name="pixel_size">24</property>
+    <property name="icon_name">view-fullscreen-symbolic</property>
   </object>
   <object class="GtkImage" id="image_media_next">
     <property name="visible">True</property>
@@ -68,29 +86,11 @@
     <property name="pixel_size">16</property>
     <property name="icon_name">audio-volume-muted-symbolic</property>
   </object>
-  <object class="GtkImage" id="image6">
-    <property name="visible">True</property>
-    <property name="can_focus">False</property>
-    <property name="pixel_size">16</property>
-    <property name="icon_name">view-fullscreen-symbolic</property>
-  </object>
-  <object class="GtkImage" id="image7">
-    <property name="visible">True</property>
-    <property name="can_focus">False</property>
-    <property name="pixel_size">16</property>
-    <property name="icon_name">document-open-symbolic</property>
-  </object>
-  <object class="GtkImage" id="image8">
-    <property name="visible">True</property>
-    <property name="can_focus">False</property>
-    <property name="pixel_size">16</property>
-    <property name="icon_name">parole-extension</property>
-  </object>
-  <object class="GtkImage" id="image9">
+  <object class="GtkImage" id="image_quit">
     <property name="visible">True</property>
     <property name="can_focus">False</property>
     <property name="pixel_size">16</property>
-    <property name="icon_name">document-properties-symbolic</property>
+    <property name="icon_name">system-shutdown-symbolic</property>
   </object>
   <object class="GtkWindow" id="main-window">
     <property name="can_focus">False</property>
@@ -148,7 +148,7 @@
                       <object class="GtkMenuItem" id="recent_menu">
                         <property name="visible">True</property>
                         <property name="can_focus">False</property>
-                        <property name="label" translatable="yes">Open Recent</property>
+                        <property name="label" translatable="yes">Open _Recent</property>
                         <property name="use_underline">True</property>
                       </object>
                     </child>
@@ -162,6 +162,7 @@
                       <object class="GtkImageMenuItem" id="menu-open-disc">
                         <property name="label">Insert Disk</property>
                         <property name="visible">True</property>
+                        <property name="sensitive">False</property>
                         <property name="can_focus">False</property>
                         <property name="image">image1</property>
                         <property name="use_stock">False</property>
@@ -175,11 +176,12 @@
                     </child>
                     <child>
                       <object class="GtkImageMenuItem" id="menu-exit">
-                        <property name="label">gtk-quit</property>
+                        <property name="label">_Quit</property>
                         <property name="visible">True</property>
                         <property name="can_focus">False</property>
-                        <property name="use_stock">False</property>
+                        <property name="use_underline">True</property>
                         <property name="image">image_quit</property>
+                        <property name="use_stock">False</property>
                         <accelerator key="q" signal="activate" modifiers="GDK_CONTROL_MASK"/>
                         <signal name="activate" handler="parole_player_menu_exit_cb" swapped="no"/>
                       </object>
@@ -224,18 +226,20 @@
                     </child>
                     <child>
                       <object class="GtkImageMenuItem" id="plugins-menu-item">
-                        <property name="label" translatable="yes">Plugins</property>
+                        <property name="label" translatable="yes">P_lugins</property>
                         <property name="visible">True</property>
                         <property name="can_focus">False</property>
+                        <property name="use_underline">True</property>
                         <property name="image">image8</property>
                         <property name="use_stock">False</property>
                       </object>
                     </child>
                     <child>
                       <object class="GtkImageMenuItem" id="preferences">
-                        <property name="label">Preferences</property>
+                        <property name="label">_Preferences</property>
                         <property name="visible">True</property>
                         <property name="can_focus">False</property>
+                        <property name="use_underline">True</property>
                         <property name="image">image9</property>
                         <property name="use_stock">False</property>
                         <signal name="activate" handler="parole_player_open_preferences_cb" swapped="no"/>
@@ -362,7 +366,7 @@
                       <object class="GtkMenuItem" id="menuitem2">
                         <property name="visible">True</property>
                         <property name="can_focus">False</property>
-                        <property name="label" translatable="yes">Subtitles</property>
+                        <property name="label" translatable="yes">_Subtitles</property>
                         <property name="use_underline">True</property>
                         <child type="submenu">
                           <object class="GtkMenu" id="subtitles-menu">
@@ -425,7 +429,7 @@
               <object class="GtkMenuItem" id="sound">
                 <property name="visible">True</property>
                 <property name="can_focus">False</property>
-                <property name="label" translatable="yes">Audio</property>
+                <property name="label" translatable="yes">_Audio</property>
                 <property name="use_underline">True</property>
                 <child type="submenu">
                   <object class="GtkMenu" id="menu5">
@@ -435,7 +439,7 @@
                       <object class="GtkMenuItem" id="menuitem3">
                         <property name="visible">True</property>
                         <property name="can_focus">False</property>
-                        <property name="label" translatable="yes">Languages</property>
+                        <property name="label" translatable="yes">_Languages</property>
                         <property name="use_underline">True</property>
                         <child type="submenu">
                           <object class="GtkMenu" id="languages-menu">
@@ -468,8 +472,8 @@
                         <property name="use_underline">True</property>
                         <property name="image">image3</property>
                         <property name="use_stock">False</property>
-                        <accelerator key="plus" signal="activate"/>
                         <accelerator key="equal" signal="activate"/>
+                        <accelerator key="plus" signal="activate"/>
                         <signal name="activate" handler="parole_player_volume_up" swapped="no"/>
                       </object>
                     </child>
diff --git a/src/parole-player.c b/src/parole-player.c
index e0a759a..98b8a85 100644
--- a/src/parole-player.c
+++ b/src/parole-player.c
@@ -1783,7 +1783,7 @@ parole_player_media_tag_cb (ParoleGst *gst, const ParoleStream *stream, ParolePl
 	    g_object_unref(image);
     }
 	else
-	gtk_image_set_from_icon_name(GTK_IMAGE(player->priv->audiobox_cover), "audio-x-generic", GTK_ICON_SIZE_ARTWORK_FALLBACK);
+	gtk_image_set_from_icon_name(GTK_IMAGE(player->priv->audiobox_cover), "audio-x-generic-symbolic", GTK_ICON_SIZE_ARTWORK_FALLBACK);
     }
 }
 


More information about the Xfce4-commits mailing list