All of lore.kernel.org
 help / color / mirror / Atom feed
From: Slavomir Kaslev <slavomir.kaslev@gmail.com>
To: Yordan Karadzhov <ykaradzhov@vmware.com>
Cc: Steven Rostedt <rostedt@goodmis.org>, linux-trace-devel@vger.kernel.org
Subject: Re: [PATCH v2 3/4] kernel-shark: Rename the manu action for managing registered plugins
Date: Fri, 15 Mar 2019 11:49:48 +0200	[thread overview]
Message-ID: <CAE0o1NviJAsP8Nk8YhPXPfYkCKGrZ=rYntv8fX7WchC-LH4JcQ@mail.gmail.com> (raw)
In-Reply-To: <20190313150717.21345-4-ykaradzhov@vmware.com>

On Wed, Mar 13, 2019 at 5:08 PM Yordan Karadzhov <ykaradzhov@vmware.com> wrote:
>
> The menu action in Tools that is used to manage all registered
> plugins is renamed in order to avoid confusion with the "Add plugins"
> menu action, implemented in the previous patch.
>
> Signed-off-by: Yordan Karadzhov <ykaradzhov@vmware.com>
> ---
>  kernel-shark/src/KsMainWindow.cpp | 10 +++++-----
>  kernel-shark/src/KsMainWindow.hpp |  2 +-
>  2 files changed, 6 insertions(+), 6 deletions(-)
>
> diff --git a/kernel-shark/src/KsMainWindow.cpp b/kernel-shark/src/KsMainWindow.cpp
> index 6428d4d..f165797 100644
> --- a/kernel-shark/src/KsMainWindow.cpp
> +++ b/kernel-shark/src/KsMainWindow.cpp
> @@ -58,7 +58,7 @@ KsMainWindow::KsMainWindow(QWidget *parent)
>    _clearAllFilters("Clear all filters", this),
>    _cpuSelectAction("CPUs", this),
>    _taskSelectAction("Tasks", this),
> -  _pluginsAction("Plugins", this),
> +  _managePluginsAction("Manage plugins", this),
>    _addPluginsAction("Add plugins", this),
>    _captureAction("Record", this),
>    _colorAction(this),
> @@ -228,10 +228,10 @@ void KsMainWindow::_createActions()
>                 this,                   &KsMainWindow::_taskSelect);
>
>         /* Tools menu */
> -       _pluginsAction.setShortcut(tr("Ctrl+P"));
> -       _pluginsAction.setStatusTip("Manage plugins");
> +       _managePluginsAction.setShortcut(tr("Ctrl+P"));
> +       _managePluginsAction.setStatusTip("Manage plugins");
>
> -       connect(&_pluginsAction,        &QAction::triggered,
> +       connect(&_managePluginsAction,  &QAction::triggered,
>                 this,                   &KsMainWindow::_pluginSelect);
>
>         _addPluginsAction.setStatusTip("Add plugins");
> @@ -341,7 +341,7 @@ void KsMainWindow::_createMenus()
>
>         /* Tools menu */
>         tools = menuBar()->addMenu("Tools");
> -       tools->addAction(&_pluginsAction);
> +       tools->addAction(&_managePluginsAction);
>         tools->addAction(&_addPluginsAction);
>         tools->addAction(&_captureAction);
>         tools->addSeparator();
> diff --git a/kernel-shark/src/KsMainWindow.hpp b/kernel-shark/src/KsMainWindow.hpp
> index 1e6d619..a93382a 100644
> --- a/kernel-shark/src/KsMainWindow.hpp
> +++ b/kernel-shark/src/KsMainWindow.hpp
> @@ -130,7 +130,7 @@ private:
>         QAction         _taskSelectAction;
>
>         // Tools menu.
> -       QAction         _pluginsAction;
> +       QAction         _managePluginsAction;
>
>         QAction         _addPluginsAction;
>
> --
> 2.19.1
>

All 4 patches look good modulo a typo in this patch commit message
(:s/manu/menu/g)

Reviewed-by: Slavomir Kaslev <kaslevs@vmware.com>

Thanks!

-- 
Slavomir Kaslev

  reply	other threads:[~2019-03-15  9:50 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-03-13 15:07 [PATCH v2 0/4] Add dialog for loading user-defined plugins Yordan Karadzhov
2019-03-13 15:07 ` [PATCH v2 1/4] kernel-shark: Define addPlugins method for KsPluginManager Yordan Karadzhov
2019-03-13 15:07 ` [PATCH v2 2/4] kernel-shark: Add dialog for user-defined plugins to the Tools menu Yordan Karadzhov
2019-03-13 15:07 ` [PATCH v2 3/4] kernel-shark: Rename the manu action for managing registered plugins Yordan Karadzhov
2019-03-15  9:49   ` Slavomir Kaslev [this message]
2019-03-13 15:07 ` [PATCH v2 4/4] kernel-shark: Add icons for "Add plugins" and "Manage plugins" Yordan Karadzhov

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAE0o1NviJAsP8Nk8YhPXPfYkCKGrZ=rYntv8fX7WchC-LH4JcQ@mail.gmail.com' \
    --to=slavomir.kaslev@gmail.com \
    --cc=linux-trace-devel@vger.kernel.org \
    --cc=rostedt@goodmis.org \
    --cc=ykaradzhov@vmware.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.