summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKarel Klic <kklic@redhat.com>2011-03-03 14:47:37 +0100
committerKarel Klic <kklic@redhat.com>2011-03-03 14:47:37 +0100
commit00c6f8777fd41d9ccd40f1e402d3cafd8523af0e (patch)
tree3a13f98f3b57673b6e4e05d37cbdb8e342b9e11b
parentfd31820e9aaf0ec726dbdad277d996b594f57f90 (diff)
parent4f36e7d48a9bf879685513b216430de40f636686 (diff)
downloadabrt-00c6f8777fd41d9ccd40f1e402d3cafd8523af0e.tar.gz
abrt-00c6f8777fd41d9ccd40f1e402d3cafd8523af0e.tar.xz
abrt-00c6f8777fd41d9ccd40f1e402d3cafd8523af0e.zip
Merge branch 'master' of ssh://git.fedorahosted.org/git/abrt
-rw-r--r--src/gui-wizard-gtk/wizard.c4
-rw-r--r--src/gui-wizard-gtk/wizard.glade34
2 files changed, 37 insertions, 1 deletions
diff --git a/src/gui-wizard-gtk/wizard.c b/src/gui-wizard-gtk/wizard.c
index 2a41f366..285a0678 100644
--- a/src/gui-wizard-gtk/wizard.c
+++ b/src/gui-wizard-gtk/wizard.c
@@ -18,6 +18,7 @@ GtkContainer *g_container_details1;
GtkContainer *g_container_details2;
GtkLabel *g_lbl_cd_reason;
+GtkLabel *g_lbl_dirname;
GtkTextView *g_tv_backtrace;
GtkTextView *g_tv_comment;
GtkTreeView *g_tv_details;
@@ -327,6 +328,8 @@ static void append_item_to_details_ls(gpointer name, gpointer value, gpointer da
void update_gui_state_from_crash_data(void)
{
+ gtk_label_set_text(g_lbl_dirname, g_dump_dir_name);
+
const char *reason = get_crash_item_content_or_NULL(g_cd, FILENAME_REASON);
gtk_label_set_text(g_lbl_cd_reason, reason ? reason : _("(no description)"));
@@ -907,6 +910,7 @@ static void add_pages(void)
}
/* Set pointers to objects we might need to work with */
g_lbl_cd_reason = GTK_LABEL( gtk_builder_get_object(builder, "lbl_cd_reason"));
+ g_lbl_dirname = GTK_LABEL( gtk_builder_get_object(builder, "lbl_dirname"));
g_box_analyzers = GTK_BOX( gtk_builder_get_object(builder, "vb_analyzers"));
g_lbl_analyze_log = GTK_LABEL( gtk_builder_get_object(builder, "lbl_analyze_log"));
g_tv_analyze_log = GTK_TEXT_VIEW( gtk_builder_get_object(builder, "tv_analyze_log"));
diff --git a/src/gui-wizard-gtk/wizard.glade b/src/gui-wizard-gtk/wizard.glade
index e35f5e15..0ef58259 100644
--- a/src/gui-wizard-gtk/wizard.glade
+++ b/src/gui-wizard-gtk/wizard.glade
@@ -40,6 +40,38 @@
</packing>
</child>
<child>
+ <object class="GtkHBox" id="hbox2">
+ <property name="visible">True</property>
+ <child>
+ <object class="GtkLabel" id="label13">
+ <property name="visible">True</property>
+ <property name="ypad">5</property>
+ <property name="label" translatable="yes">Problem data is stored in:</property>
+ </object>
+ <packing>
+ <property name="expand">False</property>
+ <property name="position">0</property>
+ </packing>
+ </child>
+ <child>
+ <object class="GtkLabel" id="lbl_dirname">
+ <property name="visible">True</property>
+ <property name="xalign">0</property>
+ <property name="xpad">5</property>
+ <property name="ypad">5</property>
+ <property name="selectable">True</property>
+ </object>
+ <packing>
+ <property name="position">1</property>
+ </packing>
+ </child>
+ </object>
+ <packing>
+ <property name="expand">False</property>
+ <property name="position">2</property>
+ </packing>
+ </child>
+ <child>
<object class="GtkExpander" id="expander1">
<property name="visible">True</property>
<property name="can_focus">True</property>
@@ -65,7 +97,7 @@
</child>
</object>
<packing>
- <property name="position">2</property>
+ <property name="position">3</property>
</packing>
</child>
</object>