WIP advanced install

pull/102/head
parent 6325315233
commit 0275a402e0
No known key found for this signature in database
GPG Key ID: FF1D842BF4DDE92B

@ -1,5 +1,8 @@
#include "ubinstall-gtk.h" #include "ubinstall-gtk.h"
#define toggled_icon_name "com.ublinux.libublsettingsui-gtk3.toggled-symbolic"
#define untoggled_icon_name "com.ublinux.libublsettingsui-gtk3.untoggled-symbolic"
advanced_section *yon_advanced_section_new(); advanced_section *yon_advanced_section_new();
void yon_advanced_section_remove(); void yon_advanced_section_remove();
@ -83,7 +86,19 @@ void yon_advanced_update(main_window *widgets){
for (int i=0;i<sections_size;i++){ for (int i=0;i<sections_size;i++){
advanced_partition *part = yon_advanced_partition_new(); advanced_partition *part = yon_advanced_partition_new();
g_signal_connect(G_OBJECT(part->RemoveButton),"clicked",G_CALLBACK(on_advanced_part_remove),widgets); g_signal_connect(G_OBJECT(part->RemoveButton),"clicked",G_CALLBACK(on_advanced_part_remove),widgets);
g_signal_connect(G_OBJECT(part->SystemSectionToggle),"clicked",G_CALLBACK(on_advanced_section_toggled),widgets);
g_signal_connect(G_OBJECT(part->UserDataSectionToggle),"clicked",G_CALLBACK(on_advanced_section_toggled),widgets);
if (i==0){
gtk_widget_set_sensitive(part->SystemSectionToggle,0);
gtk_widget_set_sensitive(part->UserDataSectionToggle,0);
GtkWidget *SystemImage = gtk_button_get_image(GTK_BUTTON(part->SystemSectionToggle));
GtkWidget *UserImage = gtk_button_get_image(GTK_BUTTON(part->UserDataSectionToggle));
gtk_image_set_from_icon_name(GTK_IMAGE(SystemImage),toggled_icon_name,GTK_ICON_SIZE_BUTTON);
gtk_image_set_from_icon_name(GTK_IMAGE(UserImage),toggled_icon_name,GTK_ICON_SIZE_BUTTON);
gtk_toggle_button_set_active(GTK_TOGGLE_BUTTON(part->SystemSectionToggle),1);
gtk_toggle_button_set_active(GTK_TOGGLE_BUTTON(part->UserDataSectionToggle),1);
}
yon_advanced_partition_set_from_section(part,sections[i]); yon_advanced_partition_set_from_section(part,sections[i]);
gtk_box_pack_start(GTK_BOX(widgets->AdvancedPartitionAddBox),part->MainBox,0,0,0); gtk_box_pack_start(GTK_BOX(widgets->AdvancedPartitionAddBox),part->MainBox,0,0,0);
@ -98,19 +113,39 @@ void yon_advanced_update(main_window *widgets){
} }
void on_advanced_partition_create(GtkWidget *, main_window *widgets){ void on_advanced_partition_create(GtkWidget *, main_window *widgets){
GtkTreeIter iter, *last_found; GtkTreeIter iter, *last_unvalid = NULL;
int found = 0;
for_iter(GTK_TREE_MODEL(widgets->DevicesList),&iter){ for_iter(GTK_TREE_MODEL(widgets->DevicesList),&iter){
char *target; char *target;
int active; int active;
gtk_tree_model_get(GTK_TREE_MODEL(widgets->DevicesList),&iter,0,&target,5,&active,-1); gtk_tree_model_get(GTK_TREE_MODEL(widgets->DevicesList),&iter,0,&target,5,&active,-1);
if (active){ if (active){
if (sections_size==2) break; if (!yon_advanced_section_get(target)){
advanced_section *section = yon_advanced_section_new(); last_unvalid = gtk_tree_iter_copy(&iter);
section->partition = target; } else {
sections[sections_size]=section; found=1;
sections_size++; if (sections_size==2) break;
advanced_section *section = yon_advanced_section_new();
section->part_source = PART_SOURCE_DEVICE;
section->partition = target;
sections[sections_size]=section;
sections_size++;
break;
}
} }
} }
if (!found&&last_unvalid){
char *target;
int active;
gtk_tree_model_get(GTK_TREE_MODEL(widgets->DevicesList),last_unvalid,0,&target,5,&active,-1);
if (sections_size==2) return;
advanced_section *section = yon_advanced_section_new();
section->part_source = PART_SOURCE_DEVICE;
section->partition = target;
sections[sections_size]=section;
sections_size++;
}
yon_advanced_update(widgets); yon_advanced_update(widgets);
} }
@ -124,6 +159,7 @@ void on_advanced_partition_add(GtkWidget *, char *path, main_window *widgets){
if (!status){ if (!status){
if (sections_size==2) return; if (sections_size==2) return;
advanced_section *section = yon_advanced_section_new(); advanced_section *section = yon_advanced_section_new();
section->part_source = PART_SOURCE_PART;
sections[sections_size]=section; sections[sections_size]=section;
sections_size++; sections_size++;
} else { } else {
@ -135,6 +171,7 @@ void on_advanced_partition_add(GtkWidget *, char *path, main_window *widgets){
} }
void yon_install_advanced_init(main_window *){ void yon_install_advanced_init(main_window *){
} }
void on_install_advanced_partition_chosen(GtkCellRenderer*, gchar *path, main_window *widgets){ void on_install_advanced_partition_chosen(GtkCellRenderer*, gchar *path, main_window *widgets){
@ -153,8 +190,8 @@ void on_install_advanced_partition_chosen(GtkCellRenderer*, gchar *path, main_wi
if (chosen<2){ if (chosen<2){
gtk_list_store_set(widgets->PartitionsList,&iter,7,!status,-1); gtk_list_store_set(widgets->PartitionsList,&iter,7,!status,-1);
chosen++; chosen++;
advanced_section *section = yon_advanced_section_new(); advanced_section *section = yon_advanced_section_new();
section->part_source = PART_SOURCE_PART;
section->partition = target_part; section->partition = target_part;
sections[sections_size]=section; sections[sections_size]=section;
sections_size++; sections_size++;
@ -279,6 +316,28 @@ int yon_advanced_get_part_size(main_window *widgets){
return size; return size;
} }
void on_advanced_section_toggled(GtkWidget *self, main_window *widgets){
advanced_partition *part = g_object_get_data(G_OBJECT(self),"advanced_partition");
gtk_widget_set_sensitive(self,0);
gtk_toggle_button_set_active(GTK_TOGGLE_BUTTON(self),1);
GtkWidget *image = gtk_button_get_image(GTK_BUTTON(self));
gtk_image_set_from_icon_name(GTK_IMAGE(image),toggled_icon_name,GTK_ICON_SIZE_BUTTON);
GList *list = gtk_container_get_children(GTK_CONTAINER(widgets->AdvancedPartitionAddBox));
GList *iter;
for (iter=list;iter;iter=iter->next){
advanced_partition *compare_part = g_object_get_data(G_OBJECT(iter->data),"advanced_partition");
if (part != compare_part) {
GtkWidget *cur_toggle = self == part->SystemSectionToggle?compare_part->SystemSectionToggle:compare_part->UserDataSectionToggle;
g_signal_handlers_block_by_func(G_OBJECT(cur_toggle),G_CALLBACK(on_advanced_section_toggled),widgets);
gtk_widget_set_sensitive(cur_toggle,1);
gtk_toggle_button_set_active(GTK_TOGGLE_BUTTON(cur_toggle),0);
g_signal_handlers_unblock_by_func(G_OBJECT(cur_toggle),G_CALLBACK(on_advanced_section_toggled),widgets);
GtkWidget *compare_image = gtk_button_get_image(GTK_BUTTON(cur_toggle));
gtk_image_set_from_icon_name(GTK_IMAGE(compare_image),untoggled_icon_name,GTK_ICON_SIZE_BUTTON);
}
}
}
advanced_partition *yon_advanced_partition_new(){ advanced_partition *yon_advanced_partition_new(){
advanced_partition *part = new(advanced_partition); advanced_partition *part = new(advanced_partition);
GtkBuilder *builder = gtk_builder_new_from_resource(glade_path_advanced_part); GtkBuilder *builder = gtk_builder_new_from_resource(glade_path_advanced_part);
@ -302,11 +361,13 @@ advanced_partition *yon_advanced_partition_new(){
yon_gtk_revealer_set_from_switch(GTK_REVEALER(part->FormatRevealer),GTK_SWITCH(part->FormatSwitch)); yon_gtk_revealer_set_from_switch(GTK_REVEALER(part->FormatRevealer),GTK_SWITCH(part->FormatSwitch));
g_signal_connect(G_OBJECT(part->EncryptionButton),"clicked",G_CALLBACK(on_advanced_password_clicked),part); g_signal_connect(G_OBJECT(part->EncryptionButton),"clicked",G_CALLBACK(on_advanced_password_clicked),part);
// g_signal_connect(G_OBJECT(part->SystemSectionToggle),"clicked",G_CALLBACK(on_advanced_system_toggled),part);
// g_signal_connect(G_OBJECT(part->UserDataSectionToggle),"clicked",G_CALLBACK(on_advanced_user_toggled),part); yon_fs_type_setup(GTK_COMBO_BOX_TEXT(part->FileSystemTypeCombo));
g_object_set_data(G_OBJECT(part->MainBox),"advanced_partition",part); g_object_set_data(G_OBJECT(part->MainBox),"advanced_partition",part);
g_object_set_data(G_OBJECT(part->RemoveButton),"advanced_partition",part); g_object_set_data(G_OBJECT(part->RemoveButton),"advanced_partition",part);
g_object_set_data(G_OBJECT(part->SystemSectionToggle),"advanced_partition",part);
g_object_set_data(G_OBJECT(part->UserDataSectionToggle),"advanced_partition",part);
return part; return part;
} }

@ -305,6 +305,9 @@ void on_partition_changed(GtkWidget *self, main_window *widgets){
if (self==widgets->NextInstallationSysSectionTree||self == widgets->NextInstallationSizeTypeSpin){ if (self==widgets->NextInstallationSysSectionTree||self == widgets->NextInstallationSizeTypeSpin){
yon_set_max_size_from_partition(GTK_TREE_VIEW(widgets->NextInstallationSysSectionTree),GTK_SPIN_BUTTON(widgets->NextInstallationSizeSpin),GTK_COMBO_BOX(widgets->NextInstallationSizeTypeSpin)); yon_set_max_size_from_partition(GTK_TREE_VIEW(widgets->NextInstallationSysSectionTree),GTK_SPIN_BUTTON(widgets->NextInstallationSizeSpin),GTK_COMBO_BOX(widgets->NextInstallationSizeTypeSpin));
} }
if (self==widgets->AdvancedPartitionTree){
}
} }

@ -3,6 +3,37 @@
config main_config; config main_config;
// //functions // //functions
// void yon_encryption_type_setup(GtkComboBoxText *target){
// int size;
// config_str enc_types = yon_resource_open_file(encryptions_path,&size);
// for (int i=0;i<size;i++){
// yon_char_remove_last_symbol(enc_types[i],'\n');
// int parsed_size;
// config_str parsed = yon_char_parse(enc_types[i],&parsed_size,";");
// if (parsed_size){
// gtk_combo_box_text_append(GTK_COMBO_BOX_TEXT(target),parsed[0],parsed[0]);
// yon_char_parsed_free(parsed,parsed_size);
// }
// }
// }
void yon_fs_type_setup(GtkComboBoxText *target){
int size;
config_str enc_types = yon_resource_open_file(fs_types_path,&size);
for (int i=0;i<size;i++){
yon_char_remove_last_symbol(enc_types[i],'\n');
int parsed_size;
config_str parsed = yon_char_parse(enc_types[i],&parsed_size,";");
if (parsed_size){
if (parsed[0][0]=='1'){
gtk_combo_box_text_append(GTK_COMBO_BOX_TEXT(target),parsed[1],parsed[1]);
}
yon_char_parsed_free(parsed,parsed_size);
}
}
}
void on_vnc_toggled(GtkWidget *self, main_window *){ void on_vnc_toggled(GtkWidget *self, main_window *){
if (gtk_check_menu_item_get_active(GTK_CHECK_MENU_ITEM(self))){ if (gtk_check_menu_item_get_active(GTK_CHECK_MENU_ITEM(self))){
yon_launch(enable_vnc_command); yon_launch(enable_vnc_command);

@ -930,6 +930,11 @@ typedef struct {
} source_element; } source_element;
enum PART_SOURCE {
PART_SOURCE_DEVICE,
PART_SOURCE_PART
};
typedef struct { typedef struct {
char *partition; char *partition;
char *device_source; char *device_source;
@ -941,6 +946,7 @@ typedef struct {
char *fs_label; char *fs_label;
char *encryption; char *encryption;
char *encryption_password; char *encryption_password;
enum PART_SOURCE part_source;
} advanced_section; } advanced_section;
@ -1157,3 +1163,5 @@ void on_advanced_partition_create(GtkWidget *, main_window *widgets);
void yon_advanced_parts_update(main_window *widgets); void yon_advanced_parts_update(main_window *widgets);
void on_advanced_partition_add(GtkWidget *, char *path, main_window *widgets); void on_advanced_partition_add(GtkWidget *, char *path, main_window *widgets);
void yon_advanced_section_remove_all(); void yon_advanced_section_remove_all();
void on_advanced_section_toggled(GtkWidget *self, main_window *widgets);
void yon_fs_type_setup(GtkComboBoxText *target);

@ -3,6 +3,11 @@
<interface domain="ubinstall-gtk"> <interface domain="ubinstall-gtk">
<requires lib="gtk+" version="3.24"/> <requires lib="gtk+" version="3.24"/>
<!-- interface-css-provider-path ubinstall-gtk.css --> <!-- interface-css-provider-path ubinstall-gtk.css -->
<object class="GtkAdjustment" id="adjustment1">
<property name="upper">100</property>
<property name="step-increment">1</property>
<property name="page-increment">10</property>
</object>
<object class="GtkImage" id="image1"> <object class="GtkImage" id="image1">
<property name="visible">True</property> <property name="visible">True</property>
<property name="can-focus">False</property> <property name="can-focus">False</property>
@ -11,12 +16,12 @@
<object class="GtkImage" id="image2"> <object class="GtkImage" id="image2">
<property name="visible">True</property> <property name="visible">True</property>
<property name="can-focus">False</property> <property name="can-focus">False</property>
<property name="stock">gtk-missing-image</property> <property name="icon-name">com.ublinux.libublsettingsui-gtk3.untoggled-symbolic</property>
</object> </object>
<object class="GtkImage" id="image3"> <object class="GtkImage" id="image3">
<property name="visible">True</property> <property name="visible">True</property>
<property name="can-focus">False</property> <property name="can-focus">False</property>
<property name="stock">gtk-missing-image</property> <property name="icon-name">com.ublinux.libublsettingsui-gtk3.untoggled-symbolic</property>
</object> </object>
<object class="GtkImage" id="image4"> <object class="GtkImage" id="image4">
<property name="visible">True</property> <property name="visible">True</property>
@ -90,6 +95,9 @@
<property name="can-focus">True</property> <property name="can-focus">True</property>
<property name="receives-default">True</property> <property name="receives-default">True</property>
<property name="image">image2</property> <property name="image">image2</property>
<style>
<class name="unsensitiveblock"/>
</style>
</object> </object>
<packing> <packing>
<property name="expand">False</property> <property name="expand">False</property>
@ -105,6 +113,9 @@
<property name="can-focus">True</property> <property name="can-focus">True</property>
<property name="receives-default">True</property> <property name="receives-default">True</property>
<property name="image">image3</property> <property name="image">image3</property>
<style>
<class name="unsensitiveblock"/>
</style>
</object> </object>
<packing> <packing>
<property name="expand">False</property> <property name="expand">False</property>
@ -198,6 +209,7 @@
<object class="GtkSpinButton" id="SizeSpin"> <object class="GtkSpinButton" id="SizeSpin">
<property name="visible">True</property> <property name="visible">True</property>
<property name="can-focus">True</property> <property name="can-focus">True</property>
<property name="adjustment">adjustment1</property>
</object> </object>
<packing> <packing>
<property name="expand">False</property> <property name="expand">False</property>
@ -209,6 +221,7 @@
<object class="GtkComboBoxText" id="SizeCombo"> <object class="GtkComboBoxText" id="SizeCombo">
<property name="visible">True</property> <property name="visible">True</property>
<property name="can-focus">False</property> <property name="can-focus">False</property>
<property name="active">0</property>
<items> <items>
<item id="M" translatable="yes">Mb</item> <item id="M" translatable="yes">Mb</item>
<item id="G" translatable="yes">Gb</item> <item id="G" translatable="yes">Gb</item>
@ -261,6 +274,7 @@
<object class="GtkComboBoxText" id="FileSystemTypeCombo"> <object class="GtkComboBoxText" id="FileSystemTypeCombo">
<property name="visible">True</property> <property name="visible">True</property>
<property name="can-focus">False</property> <property name="can-focus">False</property>
<property name="active">0</property>
<items> <items>
<item translatable="yes">Default</item> <item translatable="yes">Default</item>
</items> </items>
@ -324,6 +338,7 @@
<object class="GtkComboBoxText" id="EncryptionCombo"> <object class="GtkComboBoxText" id="EncryptionCombo">
<property name="visible">True</property> <property name="visible">True</property>
<property name="can-focus">False</property> <property name="can-focus">False</property>
<property name="active">0</property>
<items> <items>
<item translatable="yes">Off</item> <item translatable="yes">Off</item>
</items> </items>

@ -324,3 +324,8 @@ button {
min-width: 26px; min-width: 26px;
min-height: 24px; min-height: 24px;
} }
.unsensitiveblock:disabled {
opacity:1;
background:@theme_selected_bg_color;
}

@ -6884,90 +6884,95 @@ separately into the selected partition.</property>
</packing> </packing>
</child> </child>
<child> <child>
<object class="GtkScrolledWindow"> <object class="GtkFrame">
<property name="visible">True</property> <property name="visible">True</property>
<property name="can-focus">True</property> <property name="can-focus">False</property>
<property name="label-xalign">0</property>
<property name="shadow-type">in</property> <property name="shadow-type">in</property>
<property name="min-content-height">105</property>
<child> <child>
<object class="GtkTreeView" id="AdvancedDeviceTree"> <object class="GtkAlignment">
<property name="visible">True</property> <property name="visible">True</property>
<property name="can-focus">True</property> <property name="can-focus">False</property>
<property name="model">DevicesList</property>
<property name="search-column">0</property>
<child internal-child="selection">
<object class="GtkTreeSelection">
<property name="mode">none</property>
</object>
</child>
<child> <child>
<object class="GtkTreeViewColumn"> <object class="GtkTreeView" id="AdvancedDeviceTree">
<property name="height-request">125</property>
<property name="visible">True</property>
<property name="can-focus">True</property>
<property name="model">DevicesList</property>
<property name="search-column">0</property>
<child> <child>
<object class="GtkCellRendererToggle" id="AdvancedDeviceChosenCell"/> <object class="GtkTreeViewColumn">
<attributes> <child>
<attribute name="sensitive">6</attribute> <object class="GtkCellRendererToggle" id="AdvancedDeviceChosenCell"/>
<attribute name="active">5</attribute> <attributes>
</attributes> <attribute name="sensitive">6</attribute>
<attribute name="active">5</attribute>
</attributes>
</child>
</object>
</child> </child>
</object>
</child>
<child>
<object class="GtkTreeViewColumn">
<property name="title" translatable="yes">Device</property>
<child> <child>
<object class="GtkCellRendererText"/> <object class="GtkTreeViewColumn">
<attributes> <property name="title" translatable="yes">Device</property>
<attribute name="text">0</attribute> <child>
</attributes> <object class="GtkCellRendererText"/>
<attributes>
<attribute name="text">0</attribute>
</attributes>
</child>
</object>
</child> </child>
</object>
</child>
<child>
<object class="GtkTreeViewColumn">
<property name="title" translatable="yes">Description</property>
<child> <child>
<object class="GtkCellRendererText"/> <object class="GtkTreeViewColumn">
<attributes> <property name="title" translatable="yes">Description</property>
<attribute name="text">1</attribute> <child>
</attributes> <object class="GtkCellRendererText"/>
<attributes>
<attribute name="text">1</attribute>
</attributes>
</child>
</object>
</child> </child>
</object>
</child>
<child>
<object class="GtkTreeViewColumn">
<property name="title" translatable="yes">Label</property>
<child> <child>
<object class="GtkCellRendererText"/> <object class="GtkTreeViewColumn">
<attributes> <property name="title" translatable="yes">Label</property>
<attribute name="text">2</attribute> <child>
</attributes> <object class="GtkCellRendererText"/>
<attributes>
<attribute name="text">2</attribute>
</attributes>
</child>
</object>
</child> </child>
</object>
</child>
<child>
<object class="GtkTreeViewColumn">
<property name="title" translatable="yes">Size</property>
<child> <child>
<object class="GtkCellRendererText"/> <object class="GtkTreeViewColumn">
<attributes> <property name="title" translatable="yes">Size</property>
<attribute name="text">3</attribute> <child>
</attributes> <object class="GtkCellRendererText"/>
<attributes>
<attribute name="text">3</attribute>
</attributes>
</child>
</object>
</child> </child>
</object>
</child>
<child>
<object class="GtkTreeViewColumn">
<property name="title" translatable="yes">Serial</property>
<child> <child>
<object class="GtkCellRendererText"/> <object class="GtkTreeViewColumn">
<attributes> <property name="title" translatable="yes">Serial</property>
<attribute name="text">4</attribute> <child>
</attributes> <object class="GtkCellRendererText"/>
<attributes>
<attribute name="text">4</attribute>
</attributes>
</child>
</object>
</child> </child>
</object> </object>
</child> </child>
</object> </object>
</child> </child>
<child type="label_item">
<placeholder/>
</child>
</object> </object>
<packing> <packing>
<property name="expand">False</property> <property name="expand">False</property>
@ -7050,90 +7055,95 @@ separately into the selected partition.</property>
</packing> </packing>
</child> </child>
<child> <child>
<object class="GtkScrolledWindow"> <object class="GtkFrame">
<property name="visible">True</property> <property name="visible">True</property>
<property name="can-focus">True</property> <property name="can-focus">False</property>
<property name="label-xalign">0</property>
<property name="shadow-type">in</property> <property name="shadow-type">in</property>
<property name="min-content-height">140</property>
<child> <child>
<object class="GtkTreeView" id="AdvancedPartitionTree"> <object class="GtkAlignment">
<property name="visible">True</property> <property name="visible">True</property>
<property name="can-focus">True</property> <property name="can-focus">False</property>
<property name="model">PartitionsList</property>
<property name="search-column">0</property>
<child internal-child="selection">
<object class="GtkTreeSelection">
<property name="mode">none</property>
</object>
</child>
<child> <child>
<object class="GtkTreeViewColumn"> <object class="GtkTreeView" id="AdvancedPartitionTree">
<property name="height-request">125</property>
<property name="visible">True</property>
<property name="can-focus">True</property>
<property name="model">PartitionsList</property>
<property name="search-column">0</property>
<child> <child>
<object class="GtkCellRendererToggle" id="AdvancedPartChosenCell"/> <object class="GtkTreeViewColumn">
<attributes> <child>
<attribute name="sensitive">8</attribute> <object class="GtkCellRendererToggle" id="AdvancedPartChosenCell"/>
<attribute name="active">7</attribute> <attributes>
</attributes> <attribute name="sensitive">8</attribute>
<attribute name="active">7</attribute>
</attributes>
</child>
</object>
</child> </child>
</object>
</child>
<child>
<object class="GtkTreeViewColumn">
<property name="title" translatable="yes">Section</property>
<child> <child>
<object class="GtkCellRendererText"/> <object class="GtkTreeViewColumn">
<attributes> <property name="title" translatable="yes">Section</property>
<attribute name="text">0</attribute> <child>
</attributes> <object class="GtkCellRendererText"/>
<attributes>
<attribute name="text">0</attribute>
</attributes>
</child>
</object>
</child> </child>
</object>
</child>
<child>
<object class="GtkTreeViewColumn">
<property name="title" translatable="yes">Capacity</property>
<child> <child>
<object class="GtkCellRendererText"/> <object class="GtkTreeViewColumn">
<attributes> <property name="title" translatable="yes">Capacity</property>
<attribute name="text">1</attribute> <child>
</attributes> <object class="GtkCellRendererText"/>
<attributes>
<attribute name="text">1</attribute>
</attributes>
</child>
</object>
</child> </child>
</object>
</child>
<child>
<object class="GtkTreeViewColumn">
<property name="title" translatable="yes">Free space</property>
<child> <child>
<object class="GtkCellRendererText"/> <object class="GtkTreeViewColumn">
<attributes> <property name="title" translatable="yes">Free space</property>
<attribute name="text">2</attribute> <child>
</attributes> <object class="GtkCellRendererText"/>
<attributes>
<attribute name="text">2</attribute>
</attributes>
</child>
</object>
</child> </child>
</object>
</child>
<child>
<object class="GtkTreeViewColumn">
<property name="title" translatable="yes">File system</property>
<child> <child>
<object class="GtkCellRendererText"/> <object class="GtkTreeViewColumn">
<attributes> <property name="title" translatable="yes">File system</property>
<attribute name="text">3</attribute> <child>
</attributes> <object class="GtkCellRendererText"/>
<attributes>
<attribute name="text">3</attribute>
</attributes>
</child>
</object>
</child> </child>
</object>
</child>
<child>
<object class="GtkTreeViewColumn">
<property name="title" translatable="yes">Label</property>
<child> <child>
<object class="GtkCellRendererText"/> <object class="GtkTreeViewColumn">
<attributes> <property name="title" translatable="yes">Label</property>
<attribute name="text">4</attribute> <child>
</attributes> <object class="GtkCellRendererText"/>
<attributes>
<attribute name="text">4</attribute>
</attributes>
</child>
</object>
</child> </child>
</object> </object>
</child> </child>
</object> </object>
</child> </child>
<child type="label_item">
<placeholder/>
</child>
</object> </object>
<packing> <packing>
<property name="expand">False</property> <property name="expand">False</property>
@ -9836,9 +9846,6 @@ separately into the selected partition.</property>
<property name="can-focus">True</property> <property name="can-focus">True</property>
<property name="model">DevicesList</property> <property name="model">DevicesList</property>
<property name="search-column">0</property> <property name="search-column">0</property>
<child internal-child="selection">
<object class="GtkTreeSelection"/>
</child>
<child> <child>
<object class="GtkTreeViewColumn"> <object class="GtkTreeViewColumn">
<property name="title" translatable="yes">Device</property> <property name="title" translatable="yes">Device</property>
@ -9940,9 +9947,6 @@ separately into the selected partition.</property>
<property name="can-focus">True</property> <property name="can-focus">True</property>
<property name="model">PartitionsList</property> <property name="model">PartitionsList</property>
<property name="search-column">0</property> <property name="search-column">0</property>
<child internal-child="selection">
<object class="GtkTreeSelection"/>
</child>
<child> <child>
<object class="GtkTreeViewColumn"> <object class="GtkTreeViewColumn">
<property name="title" translatable="yes">Section</property> <property name="title" translatable="yes">Section</property>

Loading…
Cancel
Save