hide the (currently non-functional) help button

This commit is contained in:
Lynne Megido 2021-06-15 12:04:31 +10:00
parent be99d1dcef
commit ecdc57fed6
Signed by: lynnesbian
GPG Key ID: F0A184B5213D9F90
2 changed files with 4 additions and 1 deletions

View File

@ -139,6 +139,9 @@ namespace Buypeeb {
this.builder = builder;
builder.Autoconnect(this);
// hide the (currently non-functional) help button
((ToolButton) builder.GetObject("HelpButton")).Visible = false;
var menuButtonFilter = (MenuButton) builder.GetObject("MenuButtonFilter");
var menuButtonSort = (MenuButton) builder.GetObject("MenuButtonSort");
menuButtonFilter.Child = (Image) builder.GetObject("ImageFilter");

View File

@ -429,7 +429,7 @@
</packing>
</child>
<child>
<object class="GtkToolButton">
<object class="GtkToolButton" id="HelpButton">
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="tooltip_text" translatable="yes">Help</property>