summaryrefslogtreecommitdiffstats
path: root/src/gui-wizard-gtk/wizard.c
diff options
context:
space:
mode:
authorDenys Vlasenko <dvlasenk@redhat.com>2011-03-10 12:05:39 +0100
committerDenys Vlasenko <dvlasenk@redhat.com>2011-03-10 12:05:39 +0100
commitd5c2dbe09ad809411ead6e7dca960596c8255b39 (patch)
treecc33e97e3460633e4f1ce228aa8d9b2d5b0178fd /src/gui-wizard-gtk/wizard.c
parentd1f68d1e7c5c5a6f7ef3903903fc2e9eff3bfbaa (diff)
downloadabrt-d5c2dbe09ad809411ead6e7dca960596c8255b39.tar.gz
abrt-d5c2dbe09ad809411ead6e7dca960596c8255b39.tar.xz
abrt-d5c2dbe09ad809411ead6e7dca960596c8255b39.zip
event_xml_parser: correctly interact with already-loaded data
Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
Diffstat (limited to 'src/gui-wizard-gtk/wizard.c')
-rw-r--r--src/gui-wizard-gtk/wizard.c12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/gui-wizard-gtk/wizard.c b/src/gui-wizard-gtk/wizard.c
index d261d4ce..f3525e21 100644
--- a/src/gui-wizard-gtk/wizard.c
+++ b/src/gui-wizard-gtk/wizard.c
@@ -978,6 +978,18 @@ static void create_details_treeview()
gtk_tree_view_append_column(g_tv_details, column);
renderer = gtk_cell_renderer_text_new();
+ /* Allow user to select the text with mouse.
+ * Has undesirable side-effect of allowing user to "edit" the text,
+ * but changes aren't saved (the old text reappears as soon as user
+ * leaves the field). Need to disable editing somehow.
+ * Also, it interferes with "(click here to view/edit)" values.
+ * Need to find a way to _selectively_ enable editing only
+ * on some cells, not all at once.
+ */
+ //g_object_set(G_OBJECT(renderer),
+ // "editable", TRUE,
+ // // "editable-set", TRUE,
+ // NULL);
column = gtk_tree_view_column_new_with_attributes(_("Value"),
renderer,
"text",