[nautilus-actions] Cleanup code



commit 06f1ea310b403d000a5bb8ed5a70aac089d21f80
Author: Pierre Wieser <pwieser trychlos org>
Date:   Tue Aug 11 22:57:41 2009 +0200

    Cleanup code

 ChangeLog                                |    6 ++++++
 src/nact/nact-icommand-tab.c             |    5 -----
 src/nact/nautilus-actions-config-tool.ui |   15 +++++++--------
 3 files changed, 13 insertions(+), 13 deletions(-)
---
diff --git a/ChangeLog b/ChangeLog
index b9f9b4d..74db88f 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2009-08-11 Pierre Wieser <pwieser trychlos org>
+
+	* src/nact/nact-icommand-tab.c:
+	* src/nact/nautilus-actions-config-tool.ui:
+	Cleanup code.
+
 2009-08-10 Pierre Wieser <pwieser trychlos org>
 
 	* data/nautilus-actions.schemas.in:
diff --git a/src/nact/nact-icommand-tab.c b/src/nact/nact-icommand-tab.c
index bfc589e..2e25666 100644
--- a/src/nact/nact-icommand-tab.c
+++ b/src/nact/nact-icommand-tab.c
@@ -175,11 +175,6 @@ nact_icommand_tab_initial_load( NactWindow *dialog )
 		guint context = gtk_statusbar_get_context_id( GTK_STATUSBAR( status_bar ), "nact-iaction-tab" );
 		set_status_context( dialog, context );
 	}
-
-	/* doesn't work under f10 */
-	GtkWidget *tab = base_window_get_widget( BASE_WINDOW( dialog ), "ActionTabLabel" );
-	GtkWidget *widget = get_path_entry( dialog );
-	gtk_label_set_mnemonic_widget( GTK_LABEL( tab ), widget );
 }
 
 void
diff --git a/src/nact/nautilus-actions-config-tool.ui b/src/nact/nautilus-actions-config-tool.ui
index 5cf7637..f7ecc62 100644
--- a/src/nact/nautilus-actions-config-tool.ui
+++ b/src/nact/nautilus-actions-config-tool.ui
@@ -251,7 +251,6 @@
                         <child>
                           <object class="GtkVBox" id="vbox15">
                             <property name="visible">True</property>
-                            <property name="orientation">vertical</property>
                             <property name="spacing">10</property>
                             <child>
                               <object class="GtkLabel" id="label3">
@@ -568,7 +567,7 @@ Defining several profiles lets you have several commands, each applying with a d
                         <property name="use_underline">True</property>
                       </object>
                       <packing>
-                        <property name="position">3</property>
+                        <property name="position">1</property>
                         <property name="tab_fill">False</property>
                       </packing>
                     </child>
@@ -987,8 +986,8 @@ Defining several profiles lets you have several commands, each applying with a d
         <property name="visible">True</property>
         <property name="preview_widget_active">False</property>
         <property name="select_multiple">True</property>
-        <property name="local_only">False</property>
         <property name="use_preview_label">False</property>
+        <property name="local_only">False</property>
       </object>
     </child>
     <child>
@@ -1093,8 +1092,8 @@ to extend a selection.</property>
             <property name="visible">True</property>
             <property name="preview_widget_active">False</property>
             <property name="action">select-folder</property>
-            <property name="local_only">False</property>
             <property name="use_preview_label">False</property>
+            <property name="local_only">False</property>
           </object>
           <packing>
             <property name="position">0</property>
@@ -1699,16 +1698,16 @@ The exported file may later be imported via :
   </object>
   <object class="GtkSizeGroup" id="CommandLabelSizeGroup">
     <widgets>
-      <widget name="CommandExamplePreLabel"/>
-      <widget name="CommandParametersLabel"/>
-      <widget name="CommandPathLabel"/>
       <widget name="ProfileLabelLabel"/>
+      <widget name="CommandPathLabel"/>
+      <widget name="CommandParametersLabel"/>
+      <widget name="CommandExamplePreLabel"/>
     </widgets>
   </object>
   <object class="GtkSizeGroup" id="CommandButtonSizeGroup">
     <widgets>
-      <widget name="CommandLegendButton"/>
       <widget name="CommandPathButton"/>
+      <widget name="CommandLegendButton"/>
     </widgets>
   </object>
 </interface>



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]