aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJason Woodward2008-11-28 06:50:21 +0000
committerJason Woodward2008-11-28 06:50:21 +0000
commit889642361fb9f21f0ed4a1bf88deb81f9e7bdead (patch)
tree32bda8a102d864182e6ecd71849b9c412eecfb01 /src
parent776df6e7f4acda1a36996d656a1af89e71875954 (diff)
downloadgslapt-889642361fb9f21f0ed4a1bf88deb81f9e7bdead.tar.gz
also update the priority string in the sources list
Diffstat (limited to 'src')
-rw-r--r--src/callbacks.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/callbacks.c b/src/callbacks.c
index f2ef0eb..3de4a85 100644
--- a/src/callbacks.c
+++ b/src/callbacks.c
@@ -3822,10 +3822,10 @@ void source_edit_ok (GtkWidget *w, gpointer user_data)
priority = convert_gslapt_priority_to_slapt_priority(gtk_combo_box_get_active(source_priority));
if ((original_url = g_object_get_data( G_OBJECT(w), "original_url")) != NULL) {
- int i;
+ const char *priority_str = slapt_priority_to_str(priority);
if ( gtk_tree_selection_get_selected(select,&model,&iter))
- gtk_list_store_set(store, &iter, 1, source, 4, priority, -1);
+ gtk_list_store_set(store, &iter, 1, source, 3, priority_str, 4, priority, -1);
} else {
const char *priority_str = slapt_priority_to_str(priority);