~voldyman/granite/fixed-960531

« back to all changes in this revision

Viewing changes to lib/Widgets/AboutDialog.vala

  • Committer: Voldyman
  • Date: 2012-07-12 15:57:09 UTC
  • Revision ID: voldyman666@gmail.com-20120712155709-2oevosxint57m3cl
this one is for ricotz. fixed spacing and int cast

Show diffs side-by-side

added added

removed removed

Lines of Context:
137
137
            /* bug button */
138
138
            bug_button = new Button.with_label (_("Report a Problem"));
139
139
            bug_button.pressed.connect (() => { 
140
 
                    try {
141
 
                            GLib.Process.spawn_command_line_async ("apport-bug %d".printf ((int) Posix.getpid()));                            
142
 
                        } 
143
 
                        catch (Error e){
144
 
                            warning ("Could Not Launch 'apport-bug'.");
145
 
                            activate_link(bug);
146
 
                            }   
147
 
                        });
 
140
            bug_button.pressed.connect (() => {
 
141
                try {
 
142
                    GLib.Process.spawn_command_line_async ("apport-bug %i".printf (Posix.getpid ()));
 
143
                } catch (Error e) {
 
144
                    warning ("Could Not Launch 'apport-bug'.");
 
145
                    activate_link (bug);
 
146
                }
 
147
            });
148
148
            action_area.pack_start (bug_button, false, false, 0);
149
149
 
150
150
            action_area.reorder_child (bug_button, 0);