[gevice] add new file pref.xml
- From: Alejandro Valdes Jimenez <avaldes src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gevice] add new file pref.xml
- Date: Mon, 25 Jul 2011 19:16:14 +0000 (UTC)
commit 7803392da599ca6d259d3ebdbc8db4af47f8e5ea
Author: Alejandro Valdes Jimenez <avaldes gnome org>
Date: Mon Jul 25 15:10:12 2011 -0400
add new file pref.xml
ChangeLog | 3 +
data/ui/Makefile.am | 2 +-
data/ui/pref.xml | 574 +++++++++++++++++++++++++++++++++++++++++++++++++++
src/Makefile.am | 2 +-
src/gevice.py | 10 +-
src/geviceprefer.py | 53 +++---
6 files changed, 612 insertions(+), 32 deletions(-)
---
diff --git a/ChangeLog b/ChangeLog
index 3a23f7e..aaf7464 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,4 +1,7 @@
2011-07-25 Alejandro Valdes Jimenez <avaldes gnome org>
+ * data/ui/pref.xml: add new file.
+
+2011-07-25 Alejandro Valdes Jimenez <avaldes gnome org>
* data/ui/main.xml: changed properties of some widgets
* src/gevice.py: rewrite code
diff --git a/data/ui/Makefile.am b/data/ui/Makefile.am
index f74a067..19fd320 100644
--- a/data/ui/Makefile.am
+++ b/data/ui/Makefile.am
@@ -4,6 +4,6 @@
uidir = $(pkgdatadir)/ui
-ui_DATA = gevice.xml menu.xml main.xml
+ui_DATA = main.xml menu.xml pref.xml
EXTRA_DIST = $(ui_DATA)
diff --git a/data/ui/pref.xml b/data/ui/pref.xml
new file mode 100644
index 0000000..08dcea7
--- /dev/null
+++ b/data/ui/pref.xml
@@ -0,0 +1,574 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<interface>
+ <!-- interface-requires gtk+ 2.6 -->
+ <object class="GtkWindow" id="window_prefer">
+ <property name="can_focus">False</property>
+ <property name="border_width">5</property>
+ <property name="title" translatable="yes" context="yes">Preferences</property>
+ <property name="resizable">False</property>
+ <property name="window_position">center</property>
+ <property name="destroy_with_parent">True</property>
+ <property name="type_hint">dialog</property>
+ <child>
+ <object class="GtkVBox" id="vbox3">
+ <property name="visible">True</property>
+ <property name="can_focus">False</property>
+ <property name="spacing">15</property>
+ <child>
+ <object class="GtkNotebook" id="notebook1">
+ <property name="visible">True</property>
+ <property name="can_focus">True</property>
+ <child>
+ <object class="GtkTable" id="table1">
+ <property name="visible">True</property>
+ <property name="can_focus">False</property>
+ <property name="border_width">5</property>
+ <property name="n_rows">2</property>
+ <property name="n_columns">3</property>
+ <child>
+ <object class="GtkCheckButton" id="checkbutton_comments">
+ <property name="label" translatable="yes" context="yes">Comment</property>
+ <property name="visible">True</property>
+ <property name="can_focus">True</property>
+ <property name="receives_default">False</property>
+ <property name="use_action_appearance">False</property>
+ <property name="use_underline">True</property>
+ <property name="active">True</property>
+ <property name="draw_indicator">True</property>
+ </object>
+ <packing>
+ <property name="left_attach">1</property>
+ <property name="right_attach">2</property>
+ <property name="top_attach">1</property>
+ <property name="bottom_attach">2</property>
+ </packing>
+ </child>
+ <child>
+ <object class="GtkCheckButton" id="checkbutton_serial">
+ <property name="label" translatable="yes" context="yes">Serial</property>
+ <property name="visible">True</property>
+ <property name="can_focus">True</property>
+ <property name="receives_default">False</property>
+ <property name="use_action_appearance">False</property>
+ <property name="use_underline">True</property>
+ <property name="active">True</property>
+ <property name="draw_indicator">True</property>
+ </object>
+ <packing>
+ <property name="top_attach">1</property>
+ <property name="bottom_attach">2</property>
+ </packing>
+ </child>
+ <child>
+ <object class="GtkCheckButton" id="checkbutton_ip">
+ <property name="label" translatable="yes" context="yes">IP</property>
+ <property name="visible">True</property>
+ <property name="can_focus">True</property>
+ <property name="receives_default">False</property>
+ <property name="use_action_appearance">False</property>
+ <property name="use_underline">True</property>
+ <property name="active">True</property>
+ <property name="draw_indicator">True</property>
+ </object>
+ </child>
+ <child>
+ <object class="GtkCheckButton" id="checkbutton_model">
+ <property name="label" translatable="yes" context="yes">Model</property>
+ <property name="visible">True</property>
+ <property name="can_focus">True</property>
+ <property name="receives_default">False</property>
+ <property name="use_action_appearance">False</property>
+ <property name="use_underline">True</property>
+ <property name="active">True</property>
+ <property name="draw_indicator">True</property>
+ </object>
+ <packing>
+ <property name="left_attach">1</property>
+ <property name="right_attach">2</property>
+ </packing>
+ </child>
+ <child>
+ <object class="GtkCheckButton" id="checkbutton_location">
+ <property name="label" translatable="yes" context="yes">Location</property>
+ <property name="visible">True</property>
+ <property name="can_focus">True</property>
+ <property name="receives_default">False</property>
+ <property name="use_action_appearance">False</property>
+ <property name="use_underline">True</property>
+ <property name="active">True</property>
+ <property name="draw_indicator">True</property>
+ </object>
+ <packing>
+ <property name="left_attach">2</property>
+ <property name="right_attach">3</property>
+ </packing>
+ </child>
+ <child>
+ <object class="GtkCheckButton" id="checkbutton_ports">
+ <property name="label" translatable="yes" context="yes">Ports Availables</property>
+ <property name="visible">True</property>
+ <property name="can_focus">True</property>
+ <property name="receives_default">False</property>
+ <property name="use_action_appearance">False</property>
+ <property name="use_underline">True</property>
+ <property name="active">True</property>
+ <property name="draw_indicator">True</property>
+ </object>
+ <packing>
+ <property name="left_attach">2</property>
+ <property name="right_attach">3</property>
+ <property name="top_attach">1</property>
+ <property name="bottom_attach">2</property>
+ </packing>
+ </child>
+ </object>
+ </child>
+ <child type="tab">
+ <object class="GtkLabel" id="label20">
+ <property name="visible">True</property>
+ <property name="can_focus">False</property>
+ <property name="label" translatable="yes" context="yes">View</property>
+ </object>
+ <packing>
+ <property name="tab_fill">False</property>
+ </packing>
+ </child>
+ <child>
+ <object class="GtkHBox" id="hbox1">
+ <property name="visible">True</property>
+ <property name="can_focus">False</property>
+ <child>
+ <object class="GtkScrolledWindow" id="scrolledwindow2">
+ <property name="visible">True</property>
+ <property name="can_focus">True</property>
+ <child>
+ <object class="GtkTreeView" id="treeview_users">
+ <property name="visible">True</property>
+ <property name="can_focus">True</property>
+ <property name="rules_hint">True</property>
+ <child internal-child="selection">
+ <object class="GtkTreeSelection" id="treeview-selection1"/>
+ </child>
+ </object>
+ </child>
+ </object>
+ <packing>
+ <property name="expand">True</property>
+ <property name="fill">True</property>
+ <property name="position">0</property>
+ </packing>
+ </child>
+ <child>
+ <object class="GtkVBox" id="vbox1">
+ <property name="visible">True</property>
+ <property name="can_focus">False</property>
+ <child>
+ <object class="GtkButton" id="button_add_user">
+ <property name="label" context="yes">gtk-add</property>
+ <property name="visible">True</property>
+ <property name="can_focus">True</property>
+ <property name="receives_default">True</property>
+ <property name="use_action_appearance">False</property>
+ <property name="use_stock">True</property>
+ <property name="xalign">0.50999999046325684</property>
+ </object>
+ <packing>
+ <property name="expand">False</property>
+ <property name="fill">False</property>
+ <property name="position">0</property>
+ </packing>
+ </child>
+ <child>
+ <object class="GtkButton" id="button_rem_user">
+ <property name="label" context="yes">gtk-remove</property>
+ <property name="visible">True</property>
+ <property name="can_focus">True</property>
+ <property name="receives_default">True</property>
+ <property name="use_action_appearance">False</property>
+ <property name="use_stock">True</property>
+ </object>
+ <packing>
+ <property name="expand">False</property>
+ <property name="fill">False</property>
+ <property name="position">1</property>
+ </packing>
+ </child>
+ </object>
+ <packing>
+ <property name="expand">False</property>
+ <property name="fill">False</property>
+ <property name="position">1</property>
+ </packing>
+ </child>
+ </object>
+ <packing>
+ <property name="position">1</property>
+ </packing>
+ </child>
+ <child type="tab">
+ <object class="GtkLabel" id="label7">
+ <property name="visible">True</property>
+ <property name="can_focus">False</property>
+ <property name="label" translatable="yes" context="yes">Lists of users</property>
+ </object>
+ <packing>
+ <property name="position">1</property>
+ <property name="tab_fill">False</property>
+ </packing>
+ </child>
+ <child>
+ <placeholder/>
+ </child>
+ <child type="tab">
+ <placeholder/>
+ </child>
+ <child>
+ <object class="GtkTable" id="table3">
+ <property name="visible">True</property>
+ <property name="can_focus">False</property>
+ <property name="border_width">5</property>
+ <property name="n_rows">2</property>
+ <property name="n_columns">3</property>
+ <property name="column_spacing">5</property>
+ <child>
+ <object class="GtkButton" id="button_forecolor">
+ <property name="label" context="yes">gtk-select-color</property>
+ <property name="visible">True</property>
+ <property name="can_focus">True</property>
+ <property name="receives_default">False</property>
+ <property name="use_action_appearance">False</property>
+ <property name="use_stock">True</property>
+ </object>
+ <packing>
+ <property name="left_attach">2</property>
+ <property name="right_attach">3</property>
+ <property name="top_attach">1</property>
+ <property name="bottom_attach">2</property>
+ <property name="x_options"></property>
+ <property name="y_options"></property>
+ </packing>
+ </child>
+ <child>
+ <object class="GtkButton" id="button_backcolor">
+ <property name="label" context="yes">gtk-select-color</property>
+ <property name="visible">True</property>
+ <property name="can_focus">True</property>
+ <property name="receives_default">False</property>
+ <property name="use_action_appearance">False</property>
+ <property name="use_stock">True</property>
+ </object>
+ <packing>
+ <property name="left_attach">2</property>
+ <property name="right_attach">3</property>
+ <property name="x_options"></property>
+ <property name="y_options"></property>
+ </packing>
+ </child>
+ <child>
+ <object class="GtkEntry" id="entry_forecolor">
+ <property name="visible">True</property>
+ <property name="can_focus">True</property>
+ <property name="editable">False</property>
+ </object>
+ <packing>
+ <property name="left_attach">1</property>
+ <property name="right_attach">2</property>
+ <property name="top_attach">1</property>
+ <property name="bottom_attach">2</property>
+ <property name="x_options"></property>
+ <property name="y_options"></property>
+ </packing>
+ </child>
+ <child>
+ <object class="GtkEntry" id="entry_backcolor">
+ <property name="visible">True</property>
+ <property name="can_focus">True</property>
+ <property name="editable">False</property>
+ </object>
+ <packing>
+ <property name="left_attach">1</property>
+ <property name="right_attach">2</property>
+ <property name="x_options"></property>
+ <property name="y_options"></property>
+ </packing>
+ </child>
+ <child>
+ <object class="GtkLabel" id="label9">
+ <property name="visible">True</property>
+ <property name="can_focus">False</property>
+ <property name="label" translatable="yes" context="yes">Text color</property>
+ </object>
+ <packing>
+ <property name="top_attach">1</property>
+ <property name="bottom_attach">2</property>
+ <property name="x_options"></property>
+ <property name="y_options"></property>
+ </packing>
+ </child>
+ <child>
+ <object class="GtkLabel" id="label8">
+ <property name="visible">True</property>
+ <property name="can_focus">False</property>
+ <property name="label" translatable="yes" context="yes">Background</property>
+ </object>
+ <packing>
+ <property name="x_options"></property>
+ <property name="y_options"></property>
+ </packing>
+ </child>
+ </object>
+ <packing>
+ <property name="position">3</property>
+ <property name="tab_fill">False</property>
+ </packing>
+ </child>
+ <child type="tab">
+ <object class="GtkLabel" id="label10">
+ <property name="visible">True</property>
+ <property name="can_focus">False</property>
+ <property name="label" translatable="yes" context="yes">Colors</property>
+ </object>
+ <packing>
+ <property name="position">3</property>
+ <property name="tab_fill">False</property>
+ </packing>
+ </child>
+ <child>
+ <object class="GtkTable" id="table7">
+ <property name="visible">True</property>
+ <property name="can_focus">False</property>
+ <property name="border_width">5</property>
+ <property name="n_rows">2</property>
+ <property name="n_columns">2</property>
+ <child>
+ <object class="GtkCheckButton" id="checkbutton_ip_diag">
+ <property name="label" translatable="yes" context="yes">IP</property>
+ <property name="visible">True</property>
+ <property name="can_focus">True</property>
+ <property name="receives_default">False</property>
+ <property name="use_action_appearance">False</property>
+ <property name="use_underline">True</property>
+ <property name="active">True</property>
+ <property name="draw_indicator">True</property>
+ </object>
+ </child>
+ <child>
+ <object class="GtkCheckButton" id="checkbutton_model_diag">
+ <property name="label" translatable="yes" context="yes">Model</property>
+ <property name="visible">True</property>
+ <property name="can_focus">True</property>
+ <property name="receives_default">False</property>
+ <property name="use_action_appearance">False</property>
+ <property name="use_underline">True</property>
+ <property name="active">True</property>
+ <property name="draw_indicator">True</property>
+ </object>
+ <packing>
+ <property name="left_attach">1</property>
+ <property name="right_attach">2</property>
+ </packing>
+ </child>
+ <child>
+ <object class="GtkCheckButton" id="checkbutton_link_diag">
+ <property name="label" translatable="yes" context="yes">Link</property>
+ <property name="visible">True</property>
+ <property name="can_focus">True</property>
+ <property name="receives_default">False</property>
+ <property name="use_action_appearance">False</property>
+ <property name="use_underline">True</property>
+ <property name="active">True</property>
+ <property name="draw_indicator">True</property>
+ </object>
+ <packing>
+ <property name="top_attach">1</property>
+ <property name="bottom_attach">2</property>
+ </packing>
+ </child>
+ <child>
+ <placeholder/>
+ </child>
+ </object>
+ <packing>
+ <property name="position">4</property>
+ </packing>
+ </child>
+ <child type="tab">
+ <object class="GtkLabel" id="label13">
+ <property name="visible">True</property>
+ <property name="can_focus">False</property>
+ <property name="label" translatable="yes" context="yes">Diagram</property>
+ </object>
+ <packing>
+ <property name="position">4</property>
+ <property name="tab_fill">False</property>
+ </packing>
+ </child>
+ <child>
+ <object class="GtkTable" id="table4">
+ <property name="visible">True</property>
+ <property name="can_focus">False</property>
+ <property name="border_width">5</property>
+ <property name="n_rows">3</property>
+ <property name="n_columns">2</property>
+ <child>
+ <object class="GtkLabel" id="label24">
+ <property name="visible">True</property>
+ <property name="can_focus">False</property>
+ <property name="xalign">0</property>
+ <property name="label" translatable="yes" context="yes">User database</property>
+ </object>
+ <packing>
+ <property name="top_attach">2</property>
+ <property name="bottom_attach">3</property>
+ </packing>
+ </child>
+ <child>
+ <object class="GtkLabel" id="label23">
+ <property name="visible">True</property>
+ <property name="can_focus">False</property>
+ <property name="xalign">0</property>
+ <property name="label" translatable="yes" context="yes">Database</property>
+ </object>
+ <packing>
+ <property name="top_attach">1</property>
+ <property name="bottom_attach">2</property>
+ </packing>
+ </child>
+ <child>
+ <object class="GtkLabel" id="label19">
+ <property name="visible">True</property>
+ <property name="can_focus">False</property>
+ <property name="xalign">0</property>
+ <property name="label" translatable="yes" context="yes">Host</property>
+ </object>
+ </child>
+ <child>
+ <object class="GtkEntry" id="entry_user_dbase">
+ <property name="visible">True</property>
+ <property name="can_focus">True</property>
+ </object>
+ <packing>
+ <property name="left_attach">1</property>
+ <property name="right_attach">2</property>
+ <property name="top_attach">2</property>
+ <property name="bottom_attach">3</property>
+ </packing>
+ </child>
+ <child>
+ <object class="GtkEntry" id="entry_dbase">
+ <property name="visible">True</property>
+ <property name="can_focus">True</property>
+ </object>
+ <packing>
+ <property name="left_attach">1</property>
+ <property name="right_attach">2</property>
+ <property name="top_attach">1</property>
+ <property name="bottom_attach">2</property>
+ </packing>
+ </child>
+ <child>
+ <object class="GtkEntry" id="entry_host">
+ <property name="visible">True</property>
+ <property name="can_focus">True</property>
+ </object>
+ <packing>
+ <property name="left_attach">1</property>
+ <property name="right_attach">2</property>
+ </packing>
+ </child>
+ </object>
+ <packing>
+ <property name="position">5</property>
+ <property name="tab_fill">False</property>
+ </packing>
+ </child>
+ <child type="tab">
+ <object class="GtkLabel" id="label14">
+ <property name="visible">True</property>
+ <property name="can_focus">False</property>
+ <property name="label" translatable="yes" context="yes">Database</property>
+ </object>
+ <packing>
+ <property name="position">5</property>
+ <property name="tab_fill">False</property>
+ </packing>
+ </child>
+ <child>
+ <object class="GtkTable" id="table2">
+ <property name="visible">True</property>
+ <property name="can_focus">False</property>
+ <property name="border_width">5</property>
+ <property name="n_columns">2</property>
+ <child>
+ <object class="GtkLabel" id="label29">
+ <property name="visible">True</property>
+ <property name="can_focus">False</property>
+ <property name="xalign">0</property>
+ <property name="label" translatable="yes" context="yes">Separator</property>
+ </object>
+ </child>
+ <child>
+ <object class="GtkEntry" id="entry_csvseparator">
+ <property name="visible">True</property>
+ <property name="can_focus">True</property>
+ </object>
+ <packing>
+ <property name="left_attach">1</property>
+ <property name="right_attach">2</property>
+ </packing>
+ </child>
+ </object>
+ <packing>
+ <property name="position">6</property>
+ <property name="tab_fill">False</property>
+ </packing>
+ </child>
+ <child type="tab">
+ <object class="GtkLabel" id="label15">
+ <property name="visible">True</property>
+ <property name="can_focus">False</property>
+ <property name="label" translatable="yes" context="yes">CSV</property>
+ </object>
+ <packing>
+ <property name="position">6</property>
+ <property name="tab_fill">False</property>
+ </packing>
+ </child>
+ </object>
+ <packing>
+ <property name="expand">False</property>
+ <property name="fill">False</property>
+ <property name="position">0</property>
+ </packing>
+ </child>
+ <child>
+ <object class="GtkHBox" id="hbox5">
+ <property name="visible">True</property>
+ <property name="can_focus">False</property>
+ <child>
+ <object class="GtkButton" id="button_close_prefer">
+ <property name="label" context="yes">gtk-close</property>
+ <property name="visible">True</property>
+ <property name="can_focus">True</property>
+ <property name="receives_default">False</property>
+ <property name="use_action_appearance">False</property>
+ <property name="use_stock">True</property>
+ </object>
+ <packing>
+ <property name="expand">False</property>
+ <property name="fill">False</property>
+ <property name="pack_type">end</property>
+ <property name="position">0</property>
+ </packing>
+ </child>
+ </object>
+ <packing>
+ <property name="expand">False</property>
+ <property name="fill">False</property>
+ <property name="position">1</property>
+ </packing>
+ </child>
+ </object>
+ </child>
+ </object>
+</interface>
diff --git a/src/Makefile.am b/src/Makefile.am
index 51edcee..1198e26 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -32,7 +32,7 @@ config.py: config.py.in Makefile
-e s!\ LOCALEDIR\@!$(datadir)/locale! \
-e s!\ DATADIR\@!$(datadir)! \
-e s!\ PKGDATADIR\@!$(pkgdatadir)! \
- -e s!\ GLADEDIR\@!$(pkgdatadir)/glade! \
+ -e s!\ UIDIR\@!$(pkgdatadir)/ui! \
-e s!\ ARTDIR\@!$(pkgdatadir)/images! \
-e s!\ XMLDIR\@!$(pkgdatadir)/xml! \
-e s!\ SAMPLEDIR\@!$(pkgdatadir)/samples! \
diff --git a/src/gevice.py b/src/gevice.py
index 9f89cbd..91def13 100755
--- a/src/gevice.py
+++ b/src/gevice.py
@@ -24,7 +24,7 @@ import os.path
import sys
import gtk
import gnome
-import gtk.glade
+#import gtk.glade
import psycopg2
import gobject
import pynotify
@@ -132,10 +132,10 @@ class Gevice:
self.hpaned.set_position (-1)
# load preferences
- ###self.gpref = geviceprefer.GevicePrefer(self)
- ###self.gpref.load_preferences(self)
- ###self.gpref.load_interface (self)
- ###self.set_listusers_on_combobox()
+ self.gpref = geviceprefer.GevicePrefer(self)
+ self.gpref.load_preferences(self)
+ self.gpref.load_interface (self)
+ self.set_listusers_on_combobox()
# show all
self.window_main.show_all()
diff --git a/src/geviceprefer.py b/src/geviceprefer.py
index bf3a920..c55db3e 100644
--- a/src/geviceprefer.py
+++ b/src/geviceprefer.py
@@ -33,31 +33,34 @@ class GevicePrefer:
def load_interface (self,gevice):
- glade_file = gtk.glade.XML (os.path.join (config.UIDIR, "gevice.xml"),"window_prefer",None)
- self.window_prefer = glade_file.get_widget ("window_prefer")
- self.button_close_prefer = glade_file.get_widget ("button_close_prefer")
- self.checkbutton_ip = glade_file.get_widget ("checkbutton_ip")
- self.checkbutton_type = glade_file.get_widget ("checkbutton_type")
- self.checkbutton_status = glade_file.get_widget ("checkbutton_status")
- self.checkbutton_model = glade_file.get_widget ("checkbutton_model")
- self.checkbutton_serial = glade_file.get_widget ("checkbutton_serial")
- self.checkbutton_comments = glade_file.get_widget ("checkbutton_comments")
- self.checkbutton_location = glade_file.get_widget ("checkbutton_location")
- self.checkbutton_ports = glade_file.get_widget ("checkbutton_ports")
- self.entry_backcolor = glade_file.get_widget ("entry_backcolor")
- self.entry_forecolor = glade_file.get_widget ("entry_forecolor")
- self.entry_csvseparator = glade_file.get_widget ("entry_csvseparator")
- self.button_backcolor = glade_file.get_widget ("button_backcolor")
- self.button_forecolor = glade_file.get_widget ("button_forecolor")
- self.checkbutton_ip_diag = glade_file.get_widget ("checkbutton_ip_diag")
- self.checkbutton_model_diag = glade_file.get_widget ("checkbutton_model_diag")
- self.checkbutton_link_diag = glade_file.get_widget ("checkbutton_link_diag")
- self.entry_host = glade_file.get_widget ("entry_host")
- self.entry_dbase = glade_file.get_widget ("entry_dbase")
- self.entry_user_dbase = glade_file.get_widget ("entry_user_dbase")
- self.button_add_user = glade_file.get_widget ("button_add_user")
- self.button_rem_user = glade_file.get_widget ("button_rem_user")
- self.treeview_users = glade_file.get_widget ("treeview_users")
+ builder = gtk.Builder()
+ builder.add_from_file(os.path.join (config.UIDIR, "pref.xml"))
+
+ #glade_file = gtk.glade.XML (os.path.join (config.UIDIR, "gevice.xml"),"window_prefer",None)
+ self.window_prefer = builder.get_object ("window_prefer")
+ self.button_close_prefer = builder.get_object ("button_close_prefer")
+ self.checkbutton_ip = builder.get_object ("checkbutton_ip")
+ self.checkbutton_type = builder.get_object ("checkbutton_type")
+ self.checkbutton_status = builder.get_object ("checkbutton_status")
+ self.checkbutton_model = builder.get_object ("checkbutton_model")
+ self.checkbutton_serial = builder.get_object ("checkbutton_serial")
+ self.checkbutton_comments = builder.get_object ("checkbutton_comments")
+ self.checkbutton_location = builder.get_object ("checkbutton_location")
+ self.checkbutton_ports = builder.get_object ("checkbutton_ports")
+ self.entry_backcolor = builder.get_object ("entry_backcolor")
+ self.entry_forecolor = builder.get_object ("entry_forecolor")
+ self.entry_csvseparator = builder.get_object ("entry_csvseparator")
+ self.button_backcolor = builder.get_object ("button_backcolor")
+ self.button_forecolor = builder.get_object ("button_forecolor")
+ self.checkbutton_ip_diag = builder.get_object ("checkbutton_ip_diag")
+ self.checkbutton_model_diag = builder.get_object ("checkbutton_model_diag")
+ self.checkbutton_link_diag = builder.get_object ("checkbutton_link_diag")
+ self.entry_host = builder.get_object ("entry_host")
+ self.entry_dbase = builder.get_object ("entry_dbase")
+ self.entry_user_dbase = builder.get_object ("entry_user_dbase")
+ self.button_add_user = builder.get_object ("button_add_user")
+ self.button_rem_user = builder.get_object ("button_rem_user")
+ self.treeview_users = builder.get_object ("treeview_users")
self.button_close_prefer.connect ("clicked",self.on_button_close_prefer_clicked)
self.checkbutton_ip.connect ("toggled",self.show_column,config.COLUMN_IP_DEV,gevice)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]