[Kstars-devel] branches/kstars/summer/kstars/kstars

Prakash Mohan prak902000 at gmail.com
Tue Jul 7 11:20:54 CEST 2009


SVN commit 992562 by prakash:

Adding separators to the popup menu so that it looks better.

CCMAIL:kstars-devel at kde.org


 M  +7 -4      obslistpopupmenu.cpp  


--- branches/kstars/summer/kstars/kstars/obslistpopupmenu.cpp #992561:992562
@@ -37,18 +37,21 @@
     clear();
     //Insert item for adding the object to the session view
     if( showAddToSession )
-        addAction( i18n( "Add to session" ), ks->observingList(), SLOT( slotAddToSession() ) );
+        addAction( i18n( "Add to session plan" ), ks->observingList(), SLOT( slotAddToSession() ) );
+    addSeparator();
     //Insert item for centering on object
     if( showCenter )
         addAction( i18n( "Center" ), ks->observingList(), SLOT( slotCenterObject() ) );
+    //Insert item for Slewing to the object
+    if( showScope )
+        addAction( i18nc( "Show the selected object in the telescope", "Scope" ), ks->observingList(), SLOT( slotSlewToObject() ) );
+    addSeparator();
     //Insert item for Showing details dialog
     if( showDetails )
         addAction( i18nc( "Show Detailed Information Dialog", "Details" ), ks->observingList(), SLOT( slotDetails() ) );
-    //Insert item for Slewing to the object
-    if( showScope )
-        addAction( i18nc( "Show the selected object in the telescope", "Scope" ), ks->observingList(), SLOT( slotSlewToObject() ) );
     //Insert item for opening the Altitude vs time dialog
     addAction( i18n("Altitude vs. Time"), ks->observingList(), SLOT( slotAVT() ) );
+    addSeparator();
     //Insert item for Removing the object(s)
     if( showRemove )
         addAction( i18n("Remove from list"), ks->observingList(), SLOT( slotRemoveSelectedObjects() ) );


More information about the Kstars-devel mailing list