elementaryart team mailing list archive
-
elementaryart team
-
Mailing list archive
-
Message #02197
[Merge] lp:~voldyman666/granite/fixed-960531 into lp:granite
Akshay Shekher has proposed merging lp:~voldyman666/granite/fixed-960531 into lp:granite.
Requested reviews:
elementary Pantheon team (elementary-pantheon)
Related bugs:
Bug #960531 in Granite: "Make "Report a problem" use apport instead of simply directing to a URL"
https://bugs.launchpad.net/granite/+bug/960531
For more details, see:
https://code.launchpad.net/~voldyman666/granite/fixed-960531/+merge/114634
in the about dialog box. when the user clicks "Report A Problem"
"ubuntu-bug `pidOfCurrentProcess`"
--
https://code.launchpad.net/~voldyman666/granite/fixed-960531/+merge/114634
Your team elementaryart (old) is subscribed to branch lp:granite.
=== modified file 'lib/Widgets/AboutDialog.vala'
--- lib/Widgets/AboutDialog.vala 2012-05-30 03:31:18 +0000
+++ lib/Widgets/AboutDialog.vala 2012-07-12 13:10:27 +0000
@@ -136,7 +136,14 @@
/* bug button */
bug_button = new Button.with_label (_("Report a Problem"));
- bug_button.pressed.connect (() => { activate_link(bug); });
+ bug_button.pressed.connect (() => { //activate_link(bug);
+ try {
+ GLib.Process.spawn_command_line_async ("ubuntu-bug %d".printf ((int) Posix.getpid()));
+ }
+ catch (Error e){
+ warning ("Could Not Launch 'ubuntu-bug'.");
+ }
+ });
action_area.pack_start (bug_button, false, false, 0);
action_area.reorder_child (bug_button, 0);
Follow ups