[Xfce4-commits] <parole:master> Drop XfceTitledHeader (libxfce4util dependency) on Open-File dialog

Simon Steinbeiss noreply at xfce.org
Mon Jul 23 01:24:54 CEST 2012


Updating branch refs/heads/master
         to 10df69bd6f4effb015b8db379e9873407efebf2b (commit)
       from 5be31e323b3b7393c72490f8fadb984688e664a7 (commit)

commit 10df69bd6f4effb015b8db379e9873407efebf2b
Author: Simon Steinbeiss <ochosi at xfce.org>
Date:   Wed Jul 18 09:42:10 2012 +0200

    Drop XfceTitledHeader (libxfce4util dependency) on Open-File dialog

 data/interfaces/mediachooser.ui |   12 ++++++------
 src/parole-mediachooser.c       |    2 +-
 2 files changed, 7 insertions(+), 7 deletions(-)

diff --git a/data/interfaces/mediachooser.ui b/data/interfaces/mediachooser.ui
index d77d01b..2def10d 100644
--- a/data/interfaces/mediachooser.ui
+++ b/data/interfaces/mediachooser.ui
@@ -3,14 +3,14 @@
   <requires lib="gtk+" version="2.24"/>
   <!-- interface-requires libxfce4ui 4.5 -->
   <!-- interface-naming-policy project-wide -->
-  <object class="XfceTitledDialog" id="chooser">
+  <object class="GtkDialog" id="chooser">
     <property name="can_focus">False</property>
-    <property name="title" translatable="yes">Parole Media Chooser</property>
     <property name="default_width">680</property>
     <property name="default_height">480</property>
+<!--    <property name="title" translatable="yes">Parole Media Chooser</property>
     <property name="icon_name">audio-x-generic</property>
     <property name="type_hint">normal</property>
-    <property name="subtitle" translatable="yes">Open media files</property>
+    <property name="subtitle" translatable="yes">Open media files</property>-->
     <signal name="destroy" handler="parole_media_chooser_destroy_cb" swapped="no"/>
     <child internal-child="vbox">
       <object class="GtkVBox" id="dialog-vbox">
@@ -44,7 +44,7 @@
                 <property name="homogeneous">True</property>
                 <child>
                   <object class="GtkButton" id="close">
-                    <property name="label">gtk-close</property>
+                    <property name="label">gtk-cancel</property>
                     <property name="visible">True</property>
                     <property name="can_focus">True</property>
                     <property name="receives_default">True</property>
@@ -60,7 +60,7 @@
                 </child>
                 <child>
                   <object class="GtkButton" id="open">
-                    <property name="label" translatable="yes">Add</property>
+                    <property name="label" translatable="yes">Open</property>
                     <property name="visible">True</property>
                     <property name="can_focus">True</property>
                     <property name="receives_default">True</property>
@@ -171,6 +171,6 @@
   <object class="GtkImage" id="image1">
     <property name="visible">True</property>
     <property name="can_focus">False</property>
-    <property name="stock">gtk-add</property>
+    <property name="stock">gtk-open</property>
   </object>
 </interface>
diff --git a/src/parole-mediachooser.c b/src/parole-mediachooser.c
index 3028af0..148000a 100644
--- a/src/parole-mediachooser.c
+++ b/src/parole-mediachooser.c
@@ -29,7 +29,7 @@
 #include <gtk/gtk.h>
 #include <glib.h>
 
-#include <libxfce4util/libxfce4util.h>
+//#include <libxfce4util/libxfce4util.h>
 
 #include <src/misc/parole-file.h>
 


More information about the Xfce4-commits mailing list