[tuxdroid-svn] r247 - svnlook: warning: cannot set LC_CTYPE locale svnlook: warning: environment va
Status: Beta
Brought to you by:
ks156
From: svnlook:warning@affinitic.be:cannot s. L. l. <c2m...@c2...> - 2007-04-13 10:18:17
|
Author: svnlook: warning: cannot set LC_CTYPE locale Date: svnlook: warning: environment variable LANG is EN New Revision: 247 Modified: software/gtdi/trunk/gtdi.py software/gtdi/trunk/gtdi2.glade Log: remi 2007-04-13 12:18:08 +0200 (Fri, 13 Apr 2007) 75 UPD Modified for the compatibility with de api v0.2.0. Gui has been updated svnlook: warning: cannot set LC_CTYPE locale svnlook: warning: environment variable LANG is EN svnlook: warning: please check that your locale name is correct Modified: software/gtdi/trunk/gtdi.py =================================================================== --- software/gtdi/trunk/gtdi.py 2007-04-13 10:15:35 UTC (rev 246) +++ software/gtdi/trunk/gtdi.py 2007-04-13 10:18:08 UTC (rev 247) @@ -74,22 +74,7 @@ # On new window #-------------------------------------------------------------------------- def new(self): - global toggled_by_event - toggled_by_event=True - if tux.connected: - self.get_widget("togglebutton1").set_active(True) - else: - self.get_widget("togglebutton1").set_active(False) - if tux.tts.connected: - self.get_widget("togglebutton2").set_active(True) - else: - self.get_widget("togglebutton2").set_active(False) - toggled_by_event=False self.get_widget("comboboxentry1").set_active(2) - tux.event.on_connected=self.on_tux_connected - tux.event.on_disconnected=self.on_tux_disconnected - tux.tts.on_connected=self.on_tts_connected - tux.tts.on_disconnected=self.on_tts_disconnected tux.tts.on_sound_on=self.on_sound_on tux.tts.on_sound_off=self.on_sound_off tux.event.on_status=self.on_status @@ -99,10 +84,9 @@ tux.event.on_right_blue_led_off=self.on_left_blue_led_off tux.event.on_mouth_stop=self.on_mouth_stop tux.event.on_eyes_stop=self.on_eyes_stop - self.on_mouth_stop() - self.on_eyes_stop() - tux.cmd.leds_blink(2,1) thread.start_new_thread(self.status_viewer_thread,()) + tux.daemon.auto_connect(True) + tux.tts.auto_connect(True) #-------------------------------------------------------------------------- # On window destroy @@ -110,46 +94,10 @@ def on_window1_destroy(self, widget, *args): global toggled_by_event toggled_by_event=True - tux.disconnect_from_daemon() + tux.destroy() sys.exit(0) - - #-------------------------------------------------------------------------- - # On TTS client connected - #-------------------------------------------------------------------------- - def on_tts_connected(self): - global toggled_by_event - toggled_by_event=True - self.get_widget("togglebutton2").set_active(True) - toggled_by_event=False #-------------------------------------------------------------------------- - # On TTS client disconnected - #-------------------------------------------------------------------------- - def on_tts_disconnected(self): - global toggled_by_event - toggled_by_event=True - self.get_widget("togglebutton2").set_active(False) - toggled_by_event=False - - #-------------------------------------------------------------------------- - # On TUX client connected - #-------------------------------------------------------------------------- - def on_tux_connected(self): - global toggled_by_event - toggled_by_event=True - self.get_widget("togglebutton1").set_active(True) - toggled_by_event=False - - #-------------------------------------------------------------------------- - # On TUX client disconected - #-------------------------------------------------------------------------- - def on_tux_disconnected(self): - global toggled_by_event - toggled_by_event=True - self.get_widget("togglebutton1").set_active(False) - toggled_by_event=False - - #-------------------------------------------------------------------------- # On left blue led status is on #-------------------------------------------------------------------------- def on_left_blue_led_on(self): @@ -227,6 +175,8 @@ def status_viewer_thread(self): global status_list_st global status_list_changed + last_tuxdaemon_connect=False + last_tuxttsdaemon_connect=False while True: if status_list_changed: status_list_changed=False @@ -240,62 +190,31 @@ else: string=status_list_st[len(status_list_st)-1]+"\n" statusview_b.insert(startiter,string) + if tux.daemon.connected!=last_tuxdaemon_connect: + last_tuxdaemon_connect=tux.daemon.connected + if tux.daemon.connected: + self.get_widget("image2").set_from_stock(gtk.STOCK_APPLY\ + ,gtk.ICON_SIZE_BUTTON) + self.on_mouth_stop() + self.on_eyes_stop() + tux.cmd.leds_blink(2,1) + else: + self.get_widget("image2").set_from_stock(gtk.STOCK_CANCEL\ + ,gtk.ICON_SIZE_BUTTON) + if tux.tts.connected!=last_tuxttsdaemon_connect: + last_tuxttsdaemon_connect=tux.tts.connected + if tux.tts.connected: + self.get_widget("image3").set_from_stock(gtk.STOCK_APPLY\ + ,gtk.ICON_SIZE_BUTTON) + else: + self.get_widget("image3").set_from_stock(gtk.STOCK_CANCEL\ + ,gtk.ICON_SIZE_BUTTON) tux.sys.wait(0.2) # ----------------------------------------------------------------------------- # Tab "main" events # ----------------------------------------------------------------------------- - + #-------------------------------------------------------------------------- - # On "tuxdaemon" button clicked - #-------------------------------------------------------------------------- - def connect_disconnect_tux_daemon(self): - # test daemon present but client not connected - if not tux.connected: - tux.connect_to_daemon() - if tux.connected: return - # test daemon not present and client not connected - if not tux.connected: - tux.sys.shell_free('tuxdaemon -d') - for i in range(10): - tux.sys.wait(1) - tux.connect_to_daemon() - if tux.connected: - return - print "TUX daemon not found !" - self.on_tux_disconnected() - else: - tux.sdaemon.kill() - def on_tddaemon_bt_clicked(self, widget, *args): - global toggled_by_event - if toggled_by_event: return - thread.start_new_thread(self.connect_disconnect_tux_daemon,()) - - #-------------------------------------------------------------------------- - # On "tuxttsdaemon" button clicked - #-------------------------------------------------------------------------- - def connect_disconnect_tts_daemon(self): - # test daemon present but client not connected - if not tux.tts.connected: - tux.tts.connect_to_daemon() - if tux.tts.connected: return - # test daemon not present and client not connected - if not tux.tts.connected: - tux.sys.shell_free('tuxttsdaemon -d') - for i in range(10): - tux.sys.wait(1) - tux.tts.connect_to_daemon() - if tux.tts.connected: - return - print "TTS daemon not found !" - self.on_tts_disconnected() - else: - tux.tts.kill_daemon() - def on_ttsdaemon_bt_clicked(self, widget, *args): - global toggled_by_event - if toggled_by_event: return - thread.start_new_thread(self.connect_disconnect_tts_daemon,()) - - #-------------------------------------------------------------------------- # On left led checkbox toggled #-------------------------------------------------------------------------- def on_ledl_toggled(self, widget, *args): @@ -400,7 +319,7 @@ #-------------------------------------------------------------------------- def on_flippers_flap_bt_clicked(self, widget, *args): num_sb=self.get_widget("spinbutton4") - tux.cmd.wings_on_free(int(num_sb.get_value())) + tux.cmd.wings_on_free(int(num_sb.get_value())*2) #-------------------------------------------------------------------------- # On rotation button clicked @@ -426,10 +345,10 @@ tux.sys.shell_free('gnome-terminal -e"tuxsh"') #-------------------------------------------------------------------------- - # On "Check version" button clicked + # On "Get light level" button clicked #-------------------------------------------------------------------------- def on_cversion_bt_clicked(self, widget, *args): - print "" + tux.status.get_light_level() #-------------------------------------------------------------------------- # On "Ping" button clicked @@ -747,8 +666,8 @@ # Main #------------------------------------------------------------------------------ def main(): - gtk.gdk.threads_init() g_tDI = Window1() + gtk.gdk.threads_init() g_tDI.run() if __name__ == "__main__": Modified: software/gtdi/trunk/gtdi2.glade =================================================================== --- software/gtdi/trunk/gtdi2.glade 2007-04-13 10:15:35 UTC (rev 246) +++ software/gtdi/trunk/gtdi2.glade 2007-04-13 10:18:08 UTC (rev 247) @@ -1,1505 +1,2366 @@ -<?xml version="1.0" encoding="UTF-8" standalone="no"?> -<!DOCTYPE glade-interface SYSTEM "glade-2.0.dtd"> -<!--*- mode: xml -*--> +<?xml version="1.0" standalone="no"?> <!--*- mode: xml -*--> +<!DOCTYPE glade-interface SYSTEM "http://glade.gnome.org/glade-2.0.dtd"> + <glade-interface> - <widget class="GtkWindow" id="window1"> - <property name="width_request">621</property> - <property name="height_request">403</property> - <property name="visible">True</property> - <property name="title" translatable="yes">Tux Droid Interface</property> - <property name="resizable">False</property> - <signal name="destroy" handler="on_window1_destroy"/> - <child> - <widget class="GtkNotebook" id="notebook1"> - <property name="visible">True</property> - <property name="can_focus">True</property> - <child> - <widget class="GtkVBox" id="vbox1"> - <property name="visible">True</property> - <child> - <widget class="GtkHBox" id="hbox1"> - <property name="visible">True</property> - <child> - <widget class="GtkFrame" id="frame1"> - <property name="visible">True</property> - <property name="border_width">2</property> - <property name="label_xalign">0</property> - <property name="shadow_type">GTK_SHADOW_OUT</property> - <child> - <widget class="GtkAlignment" id="alignment1"> - <property name="visible">True</property> - <property name="left_padding">12</property> - <child> - <widget class="GtkFixed" id="fixed1"> - <property name="visible">True</property> - <property name="resize_mode">GTK_RESIZE_QUEUE</property> - <child> - <widget class="GtkLabel" id="label9"> - <property name="width_request">136</property> - <property name="height_request">20</property> - <property name="visible">True</property> - <property name="label" translatable="yes">Tux Droid Daemon</property> - <property name="wrap">True</property> - </widget> - <packing> - <property name="y">4</property> - </packing> - </child> - <child> - <widget class="GtkLabel" id="label10"> - <property name="width_request">166</property> - <property name="height_request">20</property> - <property name="visible">True</property> - <property name="label" translatable="yes">Text To Speech Daemon</property> - <property name="wrap">True</property> - </widget> - <packing> - <property name="y">36</property> - </packing> - </child> - <child> - <widget class="GtkToggleButton" id="togglebutton2"> - <property name="width_request">100</property> - <property name="height_request">27</property> - <property name="visible">True</property> - <property name="can_focus">True</property> - <property name="label" translatable="yes">Run</property> - <property name="use_underline">True</property> - <signal name="clicked" handler="on_ttsdaemon_bt_clicked"/> - </widget> - <packing> - <property name="x">190</property> - <property name="y">32</property> - </packing> - </child> - <child> - <widget class="GtkToggleButton" id="togglebutton1"> - <property name="width_request">100</property> - <property name="height_request">27</property> - <property name="visible">True</property> - <property name="can_focus">True</property> - <property name="label" translatable="yes">Run</property> - <property name="use_underline">True</property> - <signal name="clicked" handler="on_tddaemon_bt_clicked"/> - </widget> - <packing> - <property name="x">191</property> - </packing> - </child> - </widget> - </child> - </widget> - </child> - <child> - <widget class="GtkLabel" id="label4"> - <property name="visible">True</property> - <property name="label" translatable="yes"><b>Daemons</b></property> - <property name="use_markup">True</property> - </widget> - <packing> - <property name="type">label_item</property> - </packing> - </child> - </widget> - </child> - <child> - <widget class="GtkFrame" id="frame2"> - <property name="visible">True</property> - <property name="border_width">2</property> - <property name="label_xalign">0</property> - <property name="shadow_type">GTK_SHADOW_OUT</property> - <child> - <widget class="GtkAlignment" id="alignment2"> - <property name="visible">True</property> - <property name="left_padding">12</property> - <child> - <widget class="GtkFixed" id="fixed2"> - <property name="visible">True</property> - <child> - <widget class="GtkSpinButton" id="spinbutton1"> - <property name="width_request">56</property> - <property name="height_request">27</property> - <property name="visible">True</property> - <property name="can_focus">True</property> - <property name="adjustment">20 1 255 1 10 10</property> - <property name="climb_rate">1</property> - </widget> - <packing> - <property name="x">2</property> - <property name="y">29</property> - </packing> - </child> - <child> - <widget class="GtkCheckButton" id="checkbutton1"> - <property name="width_request">46</property> - <property name="height_request">22</property> - <property name="visible">True</property> - <property name="can_focus">True</property> - <property name="label" translatable="yes">Left</property> - <property name="use_underline">True</property> - <property name="draw_indicator">True</property> - <signal name="toggled" handler="on_ledl_toggled"/> - </widget> - </child> - <child> - <widget class="GtkCheckButton" id="checkbutton2"> - <property name="width_request">56</property> - <property name="height_request">22</property> - <property name="visible">True</property> - <property name="can_focus">True</property> - <property name="label" translatable="yes">Right</property> - <property name="use_underline">True</property> - <property name="draw_indicator">True</property> - <signal name="toggled" handler="on_ledr_toggled"/> - </widget> - <packing> - <property name="x">96</property> - </packing> - </child> - <child> - <widget class="GtkButton" id="button3"> - <property name="width_request">72</property> - <property name="height_request">27</property> - <property name="visible">True</property> - <property name="can_focus">True</property> - <property name="label" translatable="yes">Flash</property> - <property name="use_underline">True</property> - <signal name="clicked" handler="on_flash_bt_clicked"/> - </widget> - <packing> - <property name="x">97</property> - <property name="y">30</property> - </packing> - </child> - </widget> - </child> - </widget> - </child> - <child> - <widget class="GtkLabel" id="label5"> - <property name="visible">True</property> - <property name="label" translatable="yes"><b>LED's</b></property> - <property name="use_markup">True</property> - <property name="justify">GTK_JUSTIFY_FILL</property> - </widget> - <packing> - <property name="type">label_item</property> - </packing> - </child> - </widget> - <packing> - <property name="position">1</property> - </packing> - </child> - </widget> - </child> - <child> - <widget class="GtkFrame" id="frame3"> - <property name="visible">True</property> - <property name="border_width">2</property> - <property name="label_xalign">0</property> - <property name="shadow_type">GTK_SHADOW_OUT</property> - <child> - <widget class="GtkAlignment" id="alignment3"> - <property name="visible">True</property> - <property name="left_padding">12</property> - <child> - <widget class="GtkHBox" id="hbox3"> - <property name="visible">True</property> - <child> - <widget class="GtkFixed" id="fixed3"> - <property name="visible">True</property> - <child> - <widget class="GtkSpinButton" id="spinbutton2"> - <property name="width_request">56</property> - <property name="height_request">27</property> - <property name="visible">True</property> - <property name="can_focus">True</property> - <property name="adjustment">1 0 255 1 10 10</property> - <property name="climb_rate">1</property> - </widget> - <packing> - <property name="y">56</property> - </packing> - </child> - <child> - <widget class="GtkVSeparator" id="vseparator1"> - <property name="width_request">16</property> - <property name="height_request">88</property> - <property name="visible">True</property> - </widget> - <packing> - <property name="x">136</property> - </packing> - </child> - <child> - <widget class="GtkSpinButton" id="spinbutton3"> - <property name="width_request">56</property> - <property name="height_request">27</property> - <property name="visible">True</property> - <property name="can_focus">True</property> - <property name="adjustment">1 0 255 1 10 10</property> - <property name="climb_rate">1</property> - </widget> - <packing> - <property name="x">152</property> - <property name="y">56</property> - </packing> - </child> - <child> - <widget class="GtkVSeparator" id="vseparator2"> - <property name="width_request">16</property> - <property name="height_request">88</property> - <property name="visible">True</property> - </widget> - <packing> - <property name="x">288</property> - </packing> - </child> - <child> - <widget class="GtkSpinButton" id="spinbutton4"> - <property name="width_request">56</property> - <property name="height_request">27</property> - <property name="visible">True</property> - <property name="can_focus">True</property> - <property name="adjustment">1 0 255 1 10 10</property> - <property name="climb_rate">1</property> - </widget> - <packing> - <property name="x">304</property> - <property name="y">56</property> - </packing> - </child> - <child> - <widget class="GtkVSeparator" id="vseparator3"> - <property name="width_request">16</property> - <property name="height_request">88</property> - <property name="visible">True</property> - </widget> - <packing> - <property name="x">440</property> - </packing> - </child> - <child> - <widget class="GtkLabel" id="label13"> - <property name="width_request">136</property> - <property name="height_request">17</property> - <property name="visible">True</property> - <property name="label" translatable="yes">Flippers</property> - </widget> - <packing> - <property name="x">304</property> - </packing> - </child> - <child> - <widget class="GtkLabel" id="label12"> - <property name="width_request">136</property> - <property name="height_request">17</property> - <property name="visible">True</property> - <property name="label" translatable="yes">Beak</property> - </widget> - <packing> - <property name="x">152</property> - </packing> - </child> - <child> - <widget class="GtkLabel" id="label11"> - <property name="width_request">136</property> - <property name="height_request">16</property> - <property name="visible">True</property> - <property name="label" translatable="yes">Eyes</property> - </widget> - </child> - <child> - <widget class="GtkLabel" id="label14"> - <property name="width_request">136</property> - <property name="height_request">17</property> - <property name="visible">True</property> - <property name="label" translatable="yes">Rotation</property> - </widget> - <packing> - <property name="x">456</property> - </packing> - </child> - <child> - <widget class="GtkSpinButton" id="spinbutton5"> - <property name="width_request">56</property> - <property name="height_request">27</property> - <property name="visible">True</property> - <property name="can_focus">True</property> - <property name="adjustment">1 0 100 1 10 10</property> - <property name="climb_rate">1</property> - </widget> - <packing> - <property name="x">456</property> - <property name="y">56</property> - </packing> - </child> - <child> - <widget class="GtkRadioButton" id="radiobutton1"> - <property name="width_request">56</property> - <property name="height_request">24</property> - <property name="visible">True</property> - <property name="can_focus">True</property> - <property name="label" translatable="yes">Open</property> - <property name="use_underline">True</property> - <property name="draw_indicator">True</property> - <signal name="toggled" handler="on_eyes_open_toggled"/> - </widget> - <packing> - <property name="y">24</property> - </packing> - </child> - <child> - <widget class="GtkRadioButton" id="radiobutton2"> - <property name="width_request">57</property> - <property name="height_request">24</property> - <property name="visible">True</property> - <property name="can_focus">True</property> - <property name="label" translatable="yes">Close</property> - <property name="use_underline">True</property> - <property name="draw_indicator">True</property> - <property name="group">radiobutton1</property> - <signal name="toggled" handler="on_eyes_close_toggled"/> - </widget> - <packing> - <property name="x">64</property> - <property name="y">24</property> - </packing> - </child> - <child> - <widget class="GtkButton" id="button4"> - <property name="width_request">72</property> - <property name="height_request">27</property> - <property name="visible">True</property> - <property name="can_focus">True</property> - <property name="label" translatable="yes">Blink</property> - <property name="use_underline">True</property> - <signal name="clicked" handler="on_eyes_blink_bt_clicked"/> - </widget> - <packing> - <property name="x">64</property> - <property name="y">56</property> - </packing> - </child> - <child> - <widget class="GtkRadioButton" id="radiobutton3"> - <property name="width_request">56</property> - <property name="height_request">24</property> - <property name="visible">True</property> - <property name="can_focus">True</property> - <property name="label" translatable="yes">Open</property> - <property name="use_underline">True</property> - <property name="active">True</property> - <property name="draw_indicator">True</property> - <signal name="toggled" handler="on_beak_open_toggled"/> - </widget> - <packing> - <property name="x">152</property> - <property name="y">24</property> - </packing> - </child> - <child> - <widget class="GtkRadioButton" id="radiobutton4"> - <property name="width_request">57</property> - <property name="height_request">24</property> - <property name="visible">True</property> - <property name="can_focus">True</property> - <property name="label" translatable="yes">Close</property> - <property name="use_underline">True</property> - <property name="active">True</property> - <property name="draw_indicator">True</property> - <property name="group">radiobutton3</property> - <signal name="toggled" handler="on_rbeak_close_toggled"/> - </widget> - <packing> - <property name="x">216</property> - <property name="y">24</property> - </packing> - </child> - <child> - <widget class="GtkButton" id="button5"> - <property name="width_request">72</property> - <property name="height_request">27</property> - <property name="visible">True</property> - <property name="can_focus">True</property> - <property name="label" translatable="yes">Talk</property> - <property name="use_underline">True</property> - <signal name="clicked" handler="on_beak_talk_bt_clicked"/> - </widget> - <packing> - <property name="x">216</property> - <property name="y">56</property> - </packing> - </child> - <child> - <widget class="GtkRadioButton" id="radiobutton5"> - <property name="width_request">41</property> - <property name="height_request">24</property> - <property name="visible">True</property> - <property name="can_focus">True</property> - <property name="label" translatable="yes">Up</property> - <property name="use_underline">True</property> - <property name="active">True</property> - <property name="draw_indicator">True</property> - <signal name="toggled" handler="on_flippers_up_toggled"/> - </widget> - <packing> - <property name="x">304</property> - <property name="y">24</property> - </packing> - </child> - <child> - <widget class="GtkRadioButton" id="radiobutton6"> - <property name="width_request">57</property> - <property name="height_request">24</property> - <property name="visible">True</property> - <property name="can_focus">True</property> - <property name="label" translatable="yes">Down</property> - <property name="use_underline">True</property> - <property name="draw_indicator">True</property> - <property name="group">radiobutton5</property> - <signal name="toggled" handler="on_flippers_down_toggled"/> - </widget> - <packing> - <property name="x">368</property> - <property name="y">24</property> - </packing> - </child> - <child> - <widget class="GtkButton" id="button6"> - <property name="width_request">72</property> - <property name="height_request">27</property> - <property name="visible">True</property> - <property name="can_focus">True</property> - <property name="label" translatable="yes">Flap</property> - <property name="use_underline">True</property> - <signal name="clicked" handler="on_flippers_flap_bt_clicked"/> - </widget> - <packing> - <property name="x">368</property> - <property name="y">56</property> - </packing> - </child> - <child> - <widget class="GtkRadioButton" id="radiobutton8"> - <property name="width_request">61</property> - <property name="height_request">24</property> - <property name="visible">True</property> - <property name="can_focus">True</property> - <property name="label" translatable="yes">Right</property> - <property name="use_underline">True</property> - <property name="draw_indicator">True</property> - <signal name="toggled" handler="on_rrotation_right_toggled"/> - </widget> - <packing> - <property name="x">528</property> - <property name="y">24</property> - </packing> - </child> - <child> - <widget class="GtkButton" id="button12"> - <property name="width_request">72</property> - <property name="height_request">27</property> - <property name="visible">True</property> - <property name="can_focus">True</property> - <property name="label" translatable="yes">Spin</property> - <property name="use_underline">True</property> - <signal name="clicked" handler="on_rotation_spin_bt_clicked"/> - </widget> - <packing> - <property name="x">520</property> - <property name="y">56</property> - </packing> - </child> - <child> - <widget class="GtkRadioButton" id="radiobutton7"> - <property name="width_request">46</property> - <property name="height_request">24</property> - <property name="visible">True</property> - <property name="can_focus">True</property> - <property name="label" translatable="yes">Left</property> - <property name="use_underline">True</property> - <property name="draw_indicator">True</property> - <property name="group">radiobutton8</property> - <signal name="toggled" handler="on_rotation_left_toggled"/> - </widget> - <packing> - <property name="x">456</property> - <property name="y">24</property> - </packing> - </child> - </widget> - </child> - </widget> - </child> - </widget> - </child> - <child> - <widget class="GtkLabel" id="label6"> - <property name="visible">True</property> - <property name="label" translatable="yes"><b>Movements</b></property> - <property name="use_markup">True</property> - </widget> - <packing> - <property name="type">label_item</property> - </packing> - </child> - </widget> - <packing> - <property name="position">1</property> - </packing> - </child> - <child> - <widget class="GtkHBox" id="hbox2"> - <property name="visible">True</property> - <child> - <widget class="GtkFrame" id="frame4"> - <property name="visible">True</property> - <property name="border_width">2</property> - <property name="label_xalign">0</property> - <property name="shadow_type">GTK_SHADOW_OUT</property> - <child> - <widget class="GtkAlignment" id="alignment4"> - <property name="visible">True</property> - <property name="left_padding">12</property> - <child> - <widget class="GtkFixed" id="fixed4"> - <property name="visible">True</property> - <child> - <widget class="GtkButton" id="button8"> - <property name="width_request">113</property> - <property name="height_request">27</property> - <property name="visible">True</property> - <property name="can_focus">True</property> - <property name="label" translatable="yes">Send command</property> - <property name="use_underline">True</property> - <signal name="clicked" handler="on_scommand_bt_clicked"/> - </widget> - <packing> - <property name="y">38</property> - </packing> - </child> - <child> - <widget class="GtkButton" id="button7"> - <property name="width_request">113</property> - <property name="height_request">27</property> - <property name="visible">True</property> - <property name="can_focus">True</property> - <property name="label" translatable="yes">Tux Droid Shell</property> - <property name="use_underline">True</property> - <signal name="clicked" handler="on_tdshell_bt_clicked"/> - </widget> - <packing> - <property name="y">4</property> - </packing> - </child> - <child> - <widget class="GtkButton" id="button9"> - <property name="width_request">113</property> - <property name="height_request">27</property> - <property name="visible">True</property> - <property name="can_focus">True</property> - <property name="label" translatable="yes">Check version</property> - <property name="use_underline">True</property> - <signal name="clicked" handler="on_cversion_bt_clicked"/> - </widget> - <packing> - <property name="y">72</property> - </packing> - </child> - <child> - <widget class="GtkButton" id="button11"> - <property name="width_request">113</property> - <property name="height_request">27</property> - <property name="visible">True</property> - <property name="can_focus">True</property> - <property name="label" translatable="yes">Ping</property> - <property name="use_underline">True</property> - <signal name="clicked" handler="on_ping_bt_clicked"/> - </widget> - <packing> - <property name="y">106</property> - </packing> - </child> - </widget> - </child> - </widget> - </child> - <child> - <widget class="GtkLabel" id="label7"> - <property name="visible">True</property> - <property name="label" translatable="yes"><b>Tools</b></property> - <property name="use_markup">True</property> - </widget> - <packing> - <property name="type">label_item</property> - </packing> - </child> - </widget> - </child> - <child> - <widget class="GtkFrame" id="frame5"> - <property name="visible">True</property> - <property name="border_width">2</property> - <property name="label_xalign">0</property> - <property name="shadow_type">GTK_SHADOW_OUT</property> - <child> - <widget class="GtkAlignment" id="alignment5"> - <property name="visible">True</property> - <property name="left_padding">12</property> - <child> - <widget class="GtkFixed" id="fixed5"> - <property name="visible">True</property> - <child> - <widget class="GtkCheckButton" id="checkbutton3"> - <property name="width_request">85</property> - <property name="height_request">22</property> - <property name="visible">True</property> - <property name="can_focus">True</property> - <property name="label" translatable="yes">Scrolling</property> - <property name="use_underline">True</property> - <property name="xalign">0.44999998807907104</property> - <property name="draw_indicator">True</property> - </widget> - <packing> - <property name="x">349</property> - </packing> - </child> - <child> - <widget class="GtkScrolledWindow" id="scrolledwindow2"> - <property name="width_request">432</property> - <property name="height_request">95</property> - <property name="visible">True</property> - <property name="can_focus">True</property> - <property name="hscrollbar_policy">GTK_POLICY_NEVER</property> - <child> - <widget class="GtkTextView" id="textview1"> - <property name="visible">True</property> - <property name="can_focus">True</property> - <property name="resize_mode">GTK_RESIZE_IMMEDIATE</property> - <property name="justification">GTK_JUSTIFY_FILL</property> - </widget> - </child> - </widget> - <packing> - <property name="y">24</property> - </packing> - </child> - </widget> - </child> - </widget> - </child> - <child> - <widget class="GtkLabel" id="label8"> - <property name="visible">True</property> - <property name="label" translatable="yes"><b>Status</b></property> - <property name="use_markup">True</property> - </widget> - <packing> - <property name="type">label_item</property> - </packing> - </child> - </widget> - <packing> - <property name="position">1</property> - </packing> - </child> - </widget> - <packing> - <property name="position">2</property> - </packing> - </child> - </widget> - <packing> - <property name="tab_expand">False</property> - </packing> - </child> - <child> - <widget class="GtkLabel" id="label1"> - <property name="visible">True</property> - <property name="label" translatable="yes">Main</property> - </widget> - <packing> - <property name="type">tab</property> - <property name="tab_expand">False</property> - <property name="tab_fill">False</property> - </packing> - </child> - <child> - <widget class="GtkVBox" id="vbox2"> - <property name="visible">True</property> - <child> - <widget class="GtkFrame" id="frame6"> - <property name="visible">True</property> - <property name="border_width">2</property> - <property name="label_xalign">0</property> - <property name="shadow_type">GTK_SHADOW_OUT</property> - <child> - <widget class="GtkAlignment" id="alignment6"> - <property name="visible">True</property> - <property name="left_padding">12</property> - <child> - <widget class="GtkFixed" id="fixed6"> - <property name="visible">True</property> - <child> - <widget class="GtkLabel" id="label17"> - <property name="width_request">96</property> - <property name="height_request">20</property> - <property name="visible">True</property> - <property name="label" translatable="yes">Select voice</property> - <property name="wrap">True</property> - </widget> - <packing> - <property name="y">4</property> - </packing> - </child> - <child> - <widget class="GtkSpinButton" id="spinbutton6"> - <property name="width_request">56</property> - <property name="height_request">27</property> - <property name="visible">True</property> - <property name="can_focus">True</property> - <property name="adjustment">100 100 250 1 10 10</property> - <property name="climb_rate">1</property> - </widget> - <packing> - <property name="x">112</property> - <property name="y">32</property> - </packing> - </child> - <child> - <widget class="GtkLabel" id="label18"> - <property name="width_request">115</property> - <property name="height_request">20</property> - <property name="visible">True</property> - <property name="label" translatable="yes">Select pitch level</property> - <property name="wrap">True</property> - </widget> - <packing> - <property name="y">36</property> - </packing> - </child> - <child> - <widget class="GtkButton" id="button13"> - <property name="width_request">72</property> - <property name="height_request">27</property> - <property name="visible">True</property> - <property name="can_focus">True</property> - <property name="label" translatable="yes">Default</property> - <property name="use_underline">True</property> - <signal name="clicked" handler="on_tts_default_bt_clicked"/> - </widget> - <packing> - <property name="y">63</property> - </packing> - </child> - <child> - <widget class="GtkComboBoxEntry" id="comboboxentry1"> - <property name="width_request">187</property> - <property name="height_request">27</property> - <property name="visible">True</property> - <property name="items" translatable="yes">FR male + +<widget class="GtkWindow" id="window1"> + <property name="width_request">621</property> + <property name="height_request">403</property> + <property name="visible">True</property> + <property name="title" translatable="yes">Tux Droid Interface</property> + <property name="type">GTK_WINDOW_TOPLEVEL</property> + <property name="window_position">GTK_WIN_POS_NONE</property> + <property name="modal">False</property> + <property name="resizable">False</property> + <property name="destroy_with_parent">False</property> + <property name="decorated">True</property> + <property name="skip_taskbar_hint">False</property> + <property name="skip_pager_hint">False</property> + <property name="type_hint">GDK_WINDOW_TYPE_HINT_NORMAL</property> + <property name="gravity">GDK_GRAVITY_NORTH_WEST</property> + <property name="focus_on_map">True</property> + <property name="urgency_hint">False</property> + <signal name="destroy" handler="on_window1_destroy"/> + + <child> + <widget class="GtkNotebook" id="notebook1"> + <property name="visible">True</property> + <property name="can_focus">True</property> + <property name="show_tabs">True</property> + <property name="show_border">True</property> + <property name="tab_pos">GTK_POS_TOP</property> + <property name="scrollable">False</property> + <property name="enable_popup">False</property> + + <child> + <widget class="GtkVBox" id="vbox1"> + <property name="visible">True</property> + <property name="homogeneous">False</property> + <property name="spacing">0</property> + + <child> + <widget class="GtkHBox" id="hbox1"> + <property name="visible">True</property> + <property name="homogeneous">False</property> + <property name="spacing">0</property> + + <child> + <widget class="GtkFrame" id="frame1"> + <property name="border_width">2</property> + <property name="visible">True</property> + <property name="label_xalign">0</property> + <property name="label_yalign">0.5</property> + <property name="shadow_type">GTK_SHADOW_OUT</property> + + <child> + <widget class="GtkAlignment" id="alignment1"> + <property name="visible">True</property> + <property name="xalign">0.5</property> + <property name="yalign">0.5</property> + <property name="xscale">1</property> + <property name="yscale">1</property> + <property name="top_padding">0</property> + <property name="bottom_padding">0</property> + <property name="left_padding">12</property> + <property name="right_padding">0</property> + + <child> + <widget class="GtkFixed" id="fixed1"> + <property name="visible">True</property> + + <child> + <widget class="GtkLabel" id="label10"> + <property name="width_request">166</property> + <property name="height_request">20</property> + <property name="visible">True</property> + <property name="label" transla... [truncated message content] |