summaryrefslogtreecommitdiffstats
path: root/src/gui-wizard-gtk
Commit message (Collapse)AuthorAgeFilesLines
* removed forgotten files which have been moved to libreportJiri Moskovcak2011-06-095-2830/+0
|
* wizard: hook selection checkboxes to reporters.Denys Vlasenko2011-06-012-15/+191
| | | | | | | | | | | | | | | | | | | | | Checkboxes are controlled by the following elements in .xml: <requires-items> ITEM1,ITEM2 </requires-items> <exclude-items-by-default> ITEM1,ITEM2 </exclude-items-by-default> <exclude-items-always> ITEM1,ITEM2 </exclude-items-always> <exclude-binary-items> yes / no </exclude-binary-items> <include-items-by-default> ITEM1,ITEM2 </include-items-by-default> exclude-items-by-default and exclude-items-always can be "*" meaning "all". include-items-by-default specifies which items are included (checked) is exclude-items-by-default is "*". Else, all are checked by default. the set of iters NOT included is passed in $EXCLUDE_FROM_REPORT variable. bugzilla, kerneloops, mailx, print and rhtsupport are made aware of this variable. Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
* wizard: make checkbox column editable. Has no effect for nowDenys Vlasenko2011-05-241-27/+63
| | | | | | It's work towards fixing bz#694850. Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
* wizard: add checkbox cloumn to details viewDenys Vlasenko2011-05-241-40/+62
| | | | Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
* rename "global_uuid" element to "duphash"Denys Vlasenko2011-05-231-0/+2
| | | | Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
* gui: fil colors in list; wizard: a bit better navigationDenys Vlasenko2011-05-191-33/+63
| | | | Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
* dump_dir: fix loading of Unicode texts. Closes bz#622223Denys Vlasenko2011-05-191-1/+5
| | | | Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
* wizard: Use better added_pages definitionDenys Vlasenko2011-05-191-8/+11
| | | | Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
* wizart: fix my last broken changeDenys Vlasenko2011-05-191-2/+2
| | | | Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
* Merge branch 'master' of ssh://git.fedorahosted.org/git/abrtDenys Vlasenko2011-05-191-0/+3
|\
| * build: gtk_assistant_commit in not in rhel6 gtk2Nikola Pajkovsky2011-05-191-0/+3
| | | | | | | | Signed-off-by: Nikola Pajkovsky <npajkovs@redhat.com>
* | wizard: add empty line after each event log, add header at the start of the ↵Denys Vlasenko2011-05-191-10/+18
|/ | | | | | | | | | | | | | | | | | | | log. closes bz#694369 Now two backtrace generations ran back-to-back look less messed up: --- Running analyze_LocalGDB --- Analyzing coredump 'coredump' Coredump references 14 debuginfo files, 1 of them are not installed Looking for needed packages in repositories ... Backtrace is generated and saved, 8575 bytes --- Running analyze_LocalGDB --- Analyzing coredump 'coredump' Coredump references 14 debuginfo files, 1 of them are not installed ... Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
* move vector of pd's cod to cli, its only userDenys Vlasenko2011-05-191-1/+1
| | | | Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
* wizard: allow user to return to reporting at the endDenys Vlasenko2011-05-192-55/+113
| | | | | | | Also replaces "cancel" button with "close". The name was bad: we do not cancel anything. Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
* smart_event.conf: suppress stray output of "which" commandDenys Vlasenko2011-05-171-2/+2
| | | | | | Also, fix some typos in comments Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
* wizard: fix assertion failure with report-only optionMiroslav Lichvar2011-05-171-0/+4
|
* wizard: fix navigation but when "go to reporting step" leads to empty pageDenys Vlasenko2011-05-111-5/+11
| | | | Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
* wizard: require comment to have at least 10 chars (bz#702262)Miroslav Lichvar2011-05-112-5/+60
| | | | Also show the red label as used to be in older abrt-gui.
* wizard: return control to analyze step if non-executed analyzers existDenys Vlasenko2011-05-101-20/+29
| | | | Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
* Add analyzer which collects ~/.xsession-errors. Closes bz#539532Denys Vlasenko2011-05-101-1/+1
| | | | Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
* Add analyzer which collects /var/log/messages. Closes bz#565725Denys Vlasenko2011-05-101-32/+40
| | | | Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
* Do away with reanalyze eventsDenys Vlasenko2011-05-103-26/+87
| | | | | | | | Now code determines whether analyze event can be skipped by looking at <creates-elements>backtrace</creates-elements> element in .xml file. Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
* wizard: added report-only optionJiri Moskovcak2011-05-094-28/+58
| | | | - for use from 3rd party apps to show just a reporter selector
* wizard: make it impossible to navigate while event is runningDenys Vlasenko2011-05-091-1/+8
| | | | Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
* wizard: use spacing in VBox'es to separate elements, not ypad!=0 in the elementsDenys Vlasenko2011-05-091-34/+22
| | | | | | | ...because labels (a typical element of VBox) with ypad!=0 can't have text properly wrapped by Gtk. Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
* reinstated g_set_prgname("abrt")Denys Vlasenko2011-05-061-0/+6
| | | | Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
* move $ABRT_foo checking and setting into helper routines.Denys Vlasenko2011-05-041-17/+5
| | | | | | | I'm sick of fixing incorrect PROGNAME defines. Now g_progname is a variable and it is set from argv[0]. Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
* fix for spurious "Lock file 'DIR/.lock' is locked by process PID" messageDenys Vlasenko2011-05-021-3/+3
| | | | | | | Message was caused by concurrent access by abrt-gui (refreshing the list) and wizard (running events). Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
* wizard: expand explanatory text on 1st screen. Closes 201Denys Vlasenko2011-04-241-1/+1
| | | | Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
* wizard: make all suitably set up labels autowrappableDenys Vlasenko2011-04-232-5/+7
| | | | Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
* mass replace of crash_data with problem_dataDenys Vlasenko2011-04-234-28/+28
| | | | Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
* Do not allow to submit backtraces with rating 0 (or some other unexpected ↵Karel Klic2011-04-211-2/+1
| | | | rating).
* wizard: warn user if the plugin configuration is wrong trac#156Jiri Moskovcak2011-04-171-0/+2
|
* gui+wizard: fixed the window icon for all child dialogsJiri Moskovcak2011-04-171-1/+4
|
* small improvement for rescanning in abrt-guiDenys Vlasenko2011-04-151-0/+3
| | | | | | | | When, say, reported_to is changed, inotify doesn't see it two dir levels up. abrt-gui needs a bit of help from wizard by sending SIGCHLD, and treating it as "please rescan" request. Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
* wizard: implement long descriptionsDenys Vlasenko2011-04-142-92/+139
| | | | | | | | The change is somewhat big because I can no longer (ab)use tooltip to store event name. So I created a bit more generic method of remembering which events are shown and selected. Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
* wizard: adding shadow_type or GTK_SHADOW_OUT to all scrolled areasDenys Vlasenko2011-04-141-0/+6
| | | | | | | Took it from firewall cfg GUI. One useful effect is that event log and event result msg above it are more clearly separated. Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
* wizard: robustify iteration through event GtkContainers; add utility functionDenys Vlasenko2011-04-141-19/+31
| | | | Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
* Revert last commitDenys Vlasenko2011-04-141-48/+27
| | | | Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
* wizard: move event descriptions into separate labelsDenys Vlasenko2011-04-141-27/+48
| | | | | | | | | This makes descriptions resizable, so long descriptions will no longer make windows insanely wide. (Can't do that with checkboxes. Tried everything) We need longer descriptions for https://fedorahosted.org/abrt/ticket/202 Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
* wizard: remove all width and height requestsDenys Vlasenko2011-04-141-24/+0
| | | | Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
* abrt-cli is one of several places where we hardcode usage of variousDenys Vlasenko2011-04-081-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | elements of dump directory. This patch changes it to generic handling, where abrt-cli doesn't know anything about particular elements (like backtrace). Changes in detail: * crash_item->flags how has CD_FLAG_UNIXTIME bit. * format_crash_item(item) returns malloced formatted string (currently only formatted time for items with CD_FLAG_UNIXTIME) or NULL, if item->content is to be used as-is * crash_item->flags how has CD_FLAG_LIST bit, it is set on a small number of elements which are to be shown by abrt-cli -l. * abrt-cli -l doesn't use fixed names, it looks at CD_FLAG_LIST. * abrt-cli -i doesn't use fixed names, it prints all one-line elements: Directory : /var/spool/abrt/ccpp-1298264192-2705 analyzer : CCpp architecture : x86_64 cmdline : metacity comment : Abrt testing, please disregard component : metacity coredump : /var/spool/abrt/ccpp-1298264192-2705/coredump count : 1 crash_function : pa_atomic_load executable : /usr/bin/metacity global_uuid : 1e8b716d2094fb22dccdb5321ac0cf6f14eb6689 hostname : dhcp-25-227.brq.redhat.com kernel : 2.6.34.7-61.fc13.x86_64 os_release : Fedora release 13 (Goddard) package : metacity-2.30.0-3.fc13 rating : 4 reason : Process /usr/bin/metacity was killed by signal 11 (SIGSEGV) time : Mon 21 Feb 2011 05:56:32 AM CET uid : 500 uuid : 453085d0f703b96ddc3a5172dd7d5a29479f5b3f * abrt-cli -i --backtrace is removed. Instead, abrt-cli -i --full is to be used. It shows all elements, one-line and multi-line ones. * abrt-cli code now has an example how to list crast_data_t in the sorted-by-key order. Further ideas: abrt-cli needs -o elem1,elem2,elem3 option which tells which elements to show, and/or -O elem1,elem2,elem3 option which tells elements to NOT show. Rationale: abrt-cli -i --full output is way too long because of smaps, need a way to suppress unneeded elements display Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
* do not forget settings everytime when you run start_event_run()Nikola Pajkovsky2011-04-082-5/+5
| | | | Signed-off-by: Nikola Pajkovsky <npajkovs@redhat.com>
* wizard: fixed prgname related#trac#180 rhzb#692444 rhbz#692442Jiri Moskovcak2011-03-311-0/+1
|
* all: don't declare variables inside for loopsCosimo Cecchi2011-03-291-5/+10
|
* gui-wizard-gtk: don't allow user to continue if analyzer failsJiri Moskovcak2011-03-271-2/+6
|
* add option -p to abrt-gui and wizard tooDenys Vlasenko2011-03-251-3/+11
| | | | Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
* wizard: add keyboard accelerator for "Configure Events" buttonsDenys Vlasenko2011-03-241-2/+4
| | | | Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
* remove GtkTreeSelection object form wizard.gladeDenys Vlasenko2011-03-181-3/+0
| | | | Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
* gui-wizard-gtk: added accelerator to "I agree with submitting..." button ↵Jiri Moskovcak2011-03-181-28/+103
| | | | trac#155