Project

General

Profile

Actions

Bug #1219

closed

GTK+ 2.0 incompatibility, OK button focus grabbing

Added by Robert Terzi about 11 years ago. Updated almost 11 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
-
Target version:
Start date:
11/05/2013
Due date:
% Done:

100%

Estimated time:
Chirp Version:
daily
Model affected:
(All models)
Platform:
Linux
Debug Log:
I read the instructions above:

Description

The (new) download/upload instruction dialogs code to put focus on the OK button
is incompatible with older versions of GTK+ 2.0 (I'm using 2.18.9) on an older Linux system.

A pending patch by Tom Hayward, "GTK+ 2.0 can't grab OK button focus, handle gracefully"
resolves this issue.

Alternatively, temporary work around is enable the "No Confirm" feature, to eliminate
the instruction dialogs, which needs to be done by manually editing your ~/.chirp/chirp.config
file to add the following lines.

 [noconfirm]
 clone_instructions = True

The error message is:

Here's the error message:

Traceback (most recent call last):
File "/home/rct/tmp/chirp.hg/chirpui/mainapp.py", line 1338, in mh
self.do_download(*args)
File "/home/rct/tmp/chirp.hg/chirpui/mainapp.py", line 615, in do_download
self._show_instructions(rclass, rclass.get_prompts().pre_download)
File "/home/rct/tmp/chirp.hg/chirpui/mainapp.py", line 595, in _show_instructions
ok_button=h_button_box.get_children()[0]
AttributeError: 'gtk.HSeparator' object has no attribute 'get_children'

Actions #1

Updated by Tom Hayward almost 11 years ago

  • Status changed from New to Closed
  • Target version set to 0.4.0
  • % Done changed from 0 to 100
Actions

Also available in: Atom PDF