[nemiver/profiler: 5/8] Set real description to dbg persective command line



commit bfbd101ebeb0e26f589f160ba504bdb6b882e065
Author: Fabien Parent <parent f gmail com>
Date:   Sat Jun 2 16:32:17 2012 +0200

    Set real description to dbg persective command line

 src/persp/dbgperspective/nmv-dbg-perspective.cc |    8 +++++---
 1 files changed, 5 insertions(+), 3 deletions(-)
---
diff --git a/src/persp/dbgperspective/nmv-dbg-perspective.cc b/src/persp/dbgperspective/nmv-dbg-perspective.cc
index a5670b8..554f511 100644
--- a/src/persp/dbgperspective/nmv-dbg-perspective.cc
+++ b/src/persp/dbgperspective/nmv-dbg-perspective.cc
@@ -1122,8 +1122,8 @@ struct DBGPerspective::Priv {
         var_popup_tip_x (0),
         var_popup_tip_y (0)
     {
-        option_group =
-            g_option_group_new ("debugger", _("Debugger"), "Blabla", 0, 0);
+        option_group = g_option_group_new
+            ("debugger", _("Debugger"), _("Show debugger options"), 0, 0);
         g_option_group_add_entries (option_group, entries);
     }
 
@@ -3106,6 +3106,8 @@ DBGPerspective::add_stock_icon (const UString &a_stock_id,
 void
 DBGPerspective::add_perspective_menu_entries ()
 {
+    THROW_IF_FAIL (m_priv);
+
     string relative_path = Glib::build_filename ("menus",
                                                  "menus.xml");
     string absolute_path;
@@ -5440,7 +5442,7 @@ DBGPerspective::option_group () const
 const UString&
 DBGPerspective::name () const
 {
-    static const UString s_name ("Debugger");
+    static const UString s_name (_("Debugger"));
     return s_name;
 }
 



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