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; this.builder = builder;
builder.Autoconnect(this); builder.Autoconnect(this);
// hide the (currently non-functional) help button
((ToolButton) builder.GetObject("HelpButton")).Visible = false;
var menuButtonFilter = (MenuButton) builder.GetObject("MenuButtonFilter"); var menuButtonFilter = (MenuButton) builder.GetObject("MenuButtonFilter");
var menuButtonSort = (MenuButton) builder.GetObject("MenuButtonSort"); var menuButtonSort = (MenuButton) builder.GetObject("MenuButtonSort");
menuButtonFilter.Child = (Image) builder.GetObject("ImageFilter"); menuButtonFilter.Child = (Image) builder.GetObject("ImageFilter");

View file

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