[gnome-builder/wip/chergert/debugger: 1/2] sysprof: adjust perspective parameters



commit 44e9ff9215e4a349225650d8476758f710bb7840
Author: Christian Hergert <chergert redhat com>
Date:   Sun Aug 28 19:51:49 2016 -0700

    sysprof: adjust perspective parameters
    
    Use the more complete name "Run with Profiler" as well as changing to
    <Alt>3 for the accelerator so that we can use <Alt>2 for Debugger later
    on once that lands.

 plugins/sysprof/gbp-sysprof-perspective.c     |    2 +-
 plugins/sysprof/gbp-sysprof-workbench-addin.c |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/plugins/sysprof/gbp-sysprof-perspective.c b/plugins/sysprof/gbp-sysprof-perspective.c
index 0e6cd08..f596003 100644
--- a/plugins/sysprof/gbp-sysprof-perspective.c
+++ b/plugins/sysprof/gbp-sysprof-perspective.c
@@ -80,7 +80,7 @@ gbp_sysprof_perspective_get_priority (IdePerspective *perspective)
 static gchar *
 gbp_sysprof_perspective_get_accelerator (IdePerspective *perspective)
 {
-  return g_strdup ("<Alt>2");
+  return g_strdup ("<Alt>3");
 }
 
 static void
diff --git a/plugins/sysprof/gbp-sysprof-workbench-addin.c b/plugins/sysprof/gbp-sysprof-workbench-addin.c
index 85c3365..b3a2f2d 100644
--- a/plugins/sysprof/gbp-sysprof-workbench-addin.c
+++ b/plugins/sysprof/gbp-sysprof-workbench-addin.c
@@ -349,7 +349,7 @@ gbp_sysprof_workbench_addin_load (IdeWorkbenchAddin *addin,
   run_manager = ide_context_get_run_manager (context);
   ide_run_manager_add_handler (run_manager,
                                "profiler",
-                               _("Profile"),
+                               _("Run with Profiler"),
                                "utilities-system-monitor-symbolic",
                                "<Control>F8",
                                profiler_run_handler,


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