[gnome-mines/arnaudb/wip/gtk4: 17/39] Adapt to MenuButton API.
- From: Arnaud B. <arnaudb src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-mines/arnaudb/wip/gtk4: 17/39] Adapt to MenuButton API.
- Date: Sat, 26 Sep 2020 10:14:09 +0000 (UTC)
commit 9d28f20b4ec3a3a045dcb7c9ae90615f188120e8
Author: Arnaud Bonatti <arnaud bonatti gmail com>
Date: Mon Apr 13 23:41:31 2020 +0200
Adapt to MenuButton API.
src/gnome-mines.vala | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/src/gnome-mines.vala b/src/gnome-mines.vala
index 0195a35..d1f7c06 100644
--- a/src/gnome-mines.vala
+++ b/src/gnome-mines.vala
@@ -238,7 +238,7 @@ public class Mines : Gtk.Application
section.append (_("_Help"), "app.help");
section.append (_("_About Mines"), "app.about");
menu_button = new MenuButton ();
- menu_button.set_image (new Image.from_icon_name ("open-menu-symbolic", IconSize.BUTTON));
+ menu_button.set_icon_name ("open-menu-symbolic");
menu_button.set_menu_model (menu);
headerbar.pack_end (menu_button);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]