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



commit 7d7e5d1cdcc5e4819fd5dff2f05f324fa2594c7a
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 002909f..18cf3d1 100644
--- a/src/persp/dbgperspective/nmv-dbg-perspective.cc
+++ b/src/persp/dbgperspective/nmv-dbg-perspective.cc
@@ -1129,8 +1129,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);
     }
 
@@ -3136,6 +3136,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;
@@ -5484,7 +5486,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]