[gimp] app: use GimpHighlightableButton for GimpEditor buttons
- From: N/A <ell src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp] app: use GimpHighlightableButton for GimpEditor buttons
- Date: Wed, 7 Mar 2018 11:19:03 +0000 (UTC)
commit 1253964c80bdfdf459866f07d70287399cd19ab1
Author: Ell <ell_se yahoo com>
Date: Wed Mar 7 05:39:35 2018 -0500
app: use GimpHighlightableButton for GimpEditor buttons
... instead of plain GimpButton.
app/widgets/gimpeditor.c | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
---
diff --git a/app/widgets/gimpeditor.c b/app/widgets/gimpeditor.c
index fe40a1d..8bec13f 100644
--- a/app/widgets/gimpeditor.c
+++ b/app/widgets/gimpeditor.c
@@ -34,6 +34,7 @@
#include "gimpdocked.h"
#include "gimpeditor.h"
#include "gimpdnd.h"
+#include "gimphighlightablebutton.h"
#include "gimpmenufactory.h"
#include "gimpuimanager.h"
#include "gimpwidgets-utils.h"
@@ -506,7 +507,7 @@ gimp_editor_add_button (GimpEditor *editor,
button_icon_size = gimp_editor_ensure_button_box (editor, &button_relief);
- button = gimp_button_new ();
+ button = gimp_highlightable_button_new ();
gtk_button_set_relief (GTK_BUTTON (button), button_relief);
gtk_box_pack_start (GTK_BOX (editor->priv->button_box), button, TRUE, TRUE, 0);
gtk_widget_show (button);
@@ -657,7 +658,7 @@ gimp_editor_add_action_button (GimpEditor *editor,
if (GTK_IS_TOGGLE_ACTION (action))
button = gtk_toggle_button_new ();
else
- button = gimp_button_new ();
+ button = gimp_highlightable_button_new ();
gtk_button_set_relief (GTK_BUTTON (button), button_relief);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]