Great news! I am glad it is working now. If you don't mind, I would like to continue testing with your system if possible.
Could you perform a few test for me? Below is another command; which when run, will display the color dialog from the applet. If you could perform the following steps and provide me with the output I would greatly appreciate it.
(the command below will display the preference window for the applet, but none of the changes you make here will be saved, none of the options are connected to anything, this is just to test the behavior of the eye-dropper with your particular combination of GTK and friends.)
Run this from a terminal (you should be able to copy-paste):
cd /usr/share/avant-window-navigator/applets/bandwidth-monitor/
With that open, first click on the background color button and select a color using the color-wheel, then press 'OK'. Next, click on the background color button again, and this time use the eye-dropper to select some other color, and press 'OK', now just close the preference window and post back here the output.
Great news! I am glad it is working now. If you don't mind, I would like to continue testing with your system if possible.
Could you perform a few test for me? Below is another command; which when run, will display the color dialog from the applet. If you could perform the following steps and provide me with the output I would greatly appreciate it.
(the command below will display the preference window for the applet, but none of the changes you make here will be saved, none of the options are connected to anything, this is just to test the behavior of the eye-dropper with your particular combination of GTK and friends.)
Run this from a terminal (you should be able to copy-paste):
cd /usr/share/ avant-window- navigator/ applets/ bandwidth- monitor/
python -c """import gtk
win = gtk.Window() title(' Colour Parse Test - bug 534061') add_from_ file('bandwidth -monitor. ui') get_object( 'dialog- notebook' ).reparent( prefs_box) get_object( 'bgColorbutton' ) color_set_ cb(widget) : connect( 'color- set', bgColorbutton_ color_set_ cb) get_object( 'dialog- notebook' ).connect( 'destroy' , close)
win.set_
prefs_box = gtk.VBox()
win.add(prefs_box)
prefs_ui = gtk.Builder()
prefs_ui.
prefs_ui.
bgColorbutton = prefs_ui.
def bgColorbutton_
color = widget.get_color()
alpha = float('%2.1f' % (widget.get_alpha() / 65535.0))
print '---------'
print 'color object:', color
print 'object string:', str(color)
print 'type:', type(color)
print 'alpha:', alpha
print '---------'
return
bgColorbutton.
def close(*args):
print 'Exiting normally'
exit()
prefs_ui.
win.show_all()
gtk.main()
"""
With that open, first click on the background color button and select a color using the color-wheel, then press 'OK'. Next, click on the background color button again, and this time use the eye-dropper to select some other color, and press 'OK', now just close the preference window and post back here the output.
Thanks!
Kyle