mirror of
https://github.com/ISpillMyDrink/OpenSuperClone.git
synced 2026-09-23 02:35:35 +00:00
Remove update button for now.
This commit is contained in:
@@ -2688,13 +2688,13 @@ void display_smart_data_ccc(void)
|
||||
gtk_builder_connect_signals(builder, NULL);
|
||||
GtkWidget *dialog = GTK_WIDGET(gtk_builder_get_object(builder, "smart_results_dialog"));
|
||||
GtkWidget *smart_results_box_label = GTK_WIDGET (gtk_builder_get_object (builder, "smart_results_box_label"));
|
||||
GtkWidget *smart_update_button = GTK_WIDGET (gtk_builder_get_object (builder, "smart_update_button"));
|
||||
// GtkWidget *smart_update_button = GTK_WIDGET (gtk_builder_get_object (builder, "smart_update_button"));
|
||||
|
||||
char smart_data_version_label[256];
|
||||
snprintf(smart_data_version_label, sizeof(smart_data_version_label), _("S.M.A.R.T. Data Structure Version: %d"), smart_data_ccc.smart_version);
|
||||
gtk_label_set_text(GTK_LABEL(smart_results_box_label), smart_data_version_label);
|
||||
|
||||
gtk_button_set_label(GTK_BUTTON(smart_update_button), _("Update"));
|
||||
// gtk_button_set_label(GTK_BUTTON(smart_update_button), _("Update"));
|
||||
|
||||
GtkListStore *store;
|
||||
GtkTreeIter iter;
|
||||
|
||||
@@ -7199,18 +7199,7 @@ no data</property>
|
||||
<property name="can-focus">False</property>
|
||||
<property name="layout-style">end</property>
|
||||
<child>
|
||||
<object class="GtkButton" id="smart_update_button">
|
||||
<property name="label" translatable="yes">update</property>
|
||||
<property name="visible">True</property>
|
||||
<property name="can-focus">True</property>
|
||||
<property name="receives-default">True</property>
|
||||
<signal name="clicked" handler="get_smart_data_ccc" swapped="no"/>
|
||||
</object>
|
||||
<packing>
|
||||
<property name="expand">True</property>
|
||||
<property name="fill">True</property>
|
||||
<property name="position">0</property>
|
||||
</packing>
|
||||
<placeholder/>
|
||||
</child>
|
||||
<child>
|
||||
<object class="GtkButton" id="results_ok_button1">
|
||||
|
||||
Reference in New Issue
Block a user