From 0a6b738a44d5fbd0b7f40a0f1cc55a6262edbee3 Mon Sep 17 00:00:00 2001 From: Ivan Yarcev Date: Tue, 24 Dec 2024 15:23:10 +0600 Subject: [PATCH] Design minor fixes --- source/ubl-settings-update.c | 8 ++++---- ubl-settings-update-repo-add.glade | 8 ++++++-- 2 files changed, 10 insertions(+), 6 deletions(-) diff --git a/source/ubl-settings-update.c b/source/ubl-settings-update.c index eee3248..83266cd 100644 --- a/source/ubl-settings-update.c +++ b/source/ubl-settings-update.c @@ -804,7 +804,7 @@ void on_repo_edit(GtkWidget *,main_window *widgets){ yon_dictionary_add_or_create_if_exists_with_data(window->sections,(char*)target,section); gtk_entry_set_text(GTK_ENTRY(section->PathEntry),repos[i]); - gtk_box_pack_start(GTK_BOX(window->SourceBox),section->PathRemovalBox,0,0,2); + gtk_box_pack_start(GTK_BOX(window->SourceBox),section->PathRemovalBox,0,0,0); g_signal_connect(gtk_builder_get_object(builder,"PathEditButton"),"clicked",G_CALLBACK(on_mirror_path_edit),window); g_signal_connect(gtk_builder_get_object(builder,"PathRemoveButton"),"clicked",G_CALLBACK(on_mirror_path_removed),window); } @@ -960,7 +960,7 @@ void on_mirror_edit(GtkWidget *,main_window *widgets){ yon_dictionary_add_or_create_if_exists_with_data(window->sections,(char*)target,section); gtk_entry_set_text(GTK_ENTRY(section->PathEntry),parsed[i]); - gtk_box_pack_start(GTK_BOX(window->PathBox),section->PathRemovalBox,0,0,2); + gtk_box_pack_start(GTK_BOX(window->PathBox),section->PathRemovalBox,0,0,0); g_signal_connect(gtk_builder_get_object(builder,"PathEditButton"),"clicked",G_CALLBACK(on_mirror_path_edit),window); g_signal_connect(gtk_builder_get_object(builder,"PathRemoveButton"),"clicked",G_CALLBACK(on_mirror_path_removed),window); @@ -1398,7 +1398,7 @@ void on_mirror_path_add(GtkWidget *, mirror_add_window *window){ gtk_entry_set_text(GTK_ENTRY(section->PathEntry),target); gtk_entry_set_text(GTK_ENTRY(window->TypeEntry),""); - gtk_box_pack_start(GTK_BOX(window->PathBox),section->PathRemovalBox,0,0,2); + gtk_box_pack_start(GTK_BOX(window->PathBox),section->PathRemovalBox,0,0,0); g_signal_connect(gtk_builder_get_object(builder,"PathEditButton"),"clicked",G_CALLBACK(on_mirror_path_edit),window); g_signal_connect(gtk_builder_get_object(builder,"PathRemoveButton"),"clicked",G_CALLBACK(on_mirror_path_removed),window); @@ -1432,7 +1432,7 @@ void on_repo_source_add(GtkWidget *, repo_add_window *window){ gtk_entry_set_text(GTK_ENTRY(section->PathEntry),target); gtk_entry_set_text(GTK_ENTRY(window->RepoSourceEntry),""); - gtk_box_pack_start(GTK_BOX(window->SourceBox),section->PathRemovalBox,0,0,2); + gtk_box_pack_start(GTK_BOX(window->SourceBox),section->PathRemovalBox,0,0,0); g_signal_connect(gtk_builder_get_object(builder,"PathEditButton"),"clicked",G_CALLBACK(on_mirror_path_edit),window); g_signal_connect(gtk_builder_get_object(builder,"PathRemoveButton"),"clicked",G_CALLBACK(on_mirror_path_removed),window); } diff --git a/ubl-settings-update-repo-add.glade b/ubl-settings-update-repo-add.glade index 3de80b9..dd79f1a 100644 --- a/ubl-settings-update-repo-add.glade +++ b/ubl-settings-update-repo-add.glade @@ -208,8 +208,6 @@ True False - 5 - 5 3 5 @@ -705,4 +703,10 @@ Configuration - configuration path + + + + + +