[nautilus-actions] Some rather cosmetic changes



commit 5f534b2c70749aac6269eb6ab857e77256f75061
Author: Pierre Wieser <pwieser trychlos org>
Date:   Sun Dec 20 12:14:25 2009 +0100

    Some rather cosmetic changes

 ChangeLog                                          |   11 +++++++++++
 nautilus-actions/nact/nact-iactions-list.c         |    4 ++--
 nautilus-actions/nact/nact-main-menubar.c          |    2 +-
 .../nact/nautilus-actions-config-tool.ui           |   20 +++++++-------------
 4 files changed, 21 insertions(+), 16 deletions(-)
---
diff --git a/ChangeLog b/ChangeLog
index 88a08b2..f273d41 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,16 @@
 2009-12-20 Pierre Wieser <pwieser trychlos org>
 
+	Some cosmetic changes.
+
+	* nautilus-actions/nact/nact-iactions-list.c (nact_iactions_list_fill):
+	Report selection of first row at the very end of the function.
+
+	* nautilus-actions/nact/nact-main-menubar.c
+	(on_iactions_list_selection_changed): Improve debug messages.
+
+	* nautilus-actions/nact/nautilus-actions-config-tool.ui:
+	Remove size request for ActionLockedFrame.
+
 	Add a tooltip to the writability status image.
 
 	* nautilus-actions/nact/nact-main-statusbar.c:
diff --git a/nautilus-actions/nact/nact-iactions-list.c b/nautilus-actions/nact/nact-iactions-list.c
index d459e6b..586cb4a 100644
--- a/nautilus-actions/nact/nact-iactions-list.c
+++ b/nautilus-actions/nact/nact-iactions-list.c
@@ -674,8 +674,6 @@ nact_iactions_list_fill( NactIActionsList *instance, GList *items )
 		ialid->modified_items = NULL;
 		ialid->selection_changed_send_allowed = TRUE;
 
-		nact_iactions_list_bis_select_first_row( instance );
-
 		g_signal_emit_by_name(
 				instance,
 				MAIN_WINDOW_SIGNAL_LEVEL_ZERO_ORDER_CHANGED,
@@ -689,6 +687,8 @@ nact_iactions_list_fill( NactIActionsList *instance, GList *items )
 			na_object_item_count_items( items, &ialid->menus, &ialid->actions, &ialid->profiles, TRUE );
 			nact_iactions_list_priv_send_list_count_updated_signal( instance, ialid );
 		}
+
+		nact_iactions_list_bis_select_first_row( instance );
 	}
 }
 
diff --git a/nautilus-actions/nact/nact-main-menubar.c b/nautilus-actions/nact/nact-main-menubar.c
index fff90d5..1bdae1d 100644
--- a/nautilus-actions/nact/nact-main-menubar.c
+++ b/nautilus-actions/nact/nact-main-menubar.c
@@ -524,7 +524,7 @@ on_iactions_list_selection_changed( NactMainWindow *window, GList *selected )
 {
 	MenubarIndicatorsStruct *mis;
 
-	g_debug( "nact_main_menubar_on_iactions_list_selection_changed: selected=%p (%d)",
+	g_debug( "nact_main_menubar_on_iactions_list_selection_changed: selected=%p (count=%d)",
 			( void * ) selected, g_list_length( selected ));
 	g_return_if_fail( NACT_IS_MAIN_WINDOW( window ));
 
diff --git a/nautilus-actions/nact/nautilus-actions-config-tool.ui b/nautilus-actions/nact/nautilus-actions-config-tool.ui
index 521e7dc..7f76d09 100644
--- a/nautilus-actions/nact/nautilus-actions-config-tool.ui
+++ b/nautilus-actions/nact/nautilus-actions-config-tool.ui
@@ -1294,12 +1294,8 @@ Defining several profiles lets you have several commands, each applying with a d
             <property name="spacing">2</property>
             <child>
               <object class="GtkAspectFrame" id="ActionLockedFrame">
-                <property name="width_request">24</property>
-                <property name="height_request">24</property>
                 <property name="visible">True</property>
                 <property name="label_xalign">0</property>
-                <property name="shadow_type">none</property>
-                <property name="obey_child">False</property>
                 <child>
                   <object class="GtkImage" id="ActionLockedImage">
                     <property name="visible">True</property>
@@ -1310,9 +1306,7 @@ Defining several profiles lets you have several commands, each applying with a d
               </object>
               <packing>
                 <property name="expand">False</property>
-                <property name="fill">False</property>
                 <property name="padding">4</property>
-                <property name="pack_type">end</property>
                 <property name="position">2</property>
               </packing>
             </child>
@@ -2934,24 +2928,24 @@ Be warned: this mode may be dangerous. You will not be prompted another time.</p
   </object>
   <object class="GtkSizeGroup" id="CommandLabelSizeGroup">
     <widgets>
-      <widget name="CommandParametersLabel"/>
-      <widget name="CommandPathLabel"/>
       <widget name="ProfileLabelLabel"/>
+      <widget name="CommandPathLabel"/>
+      <widget name="CommandParametersLabel"/>
     </widgets>
   </object>
   <object class="GtkSizeGroup" id="CommandButtonSizeGroup">
     <widgets>
-      <widget name="CommandLegendButton"/>
       <widget name="CommandPathButton"/>
+      <widget name="CommandLegendButton"/>
     </widgets>
   </object>
   <object class="GtkSizeGroup" id="ActionLabelSizeGroup">
     <widgets>
-      <widget name="ActionIconLabel"/>
-      <widget name="ActionTooltipLabel"/>
-      <widget name="ActionIdLabel"/>
-      <widget name="ActionMenuLabelLabel"/>
       <widget name="ActionIconLabelLabel"/>
+      <widget name="ActionMenuLabelLabel"/>
+      <widget name="ActionIdLabel"/>
+      <widget name="ActionTooltipLabel"/>
+      <widget name="ActionIconLabel"/>
     </widgets>
   </object>
 </interface>



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