Modified all glade files to use gtk 2.8 compatibility (not sure if it works).

Removed "tooltip_text" properties from all glade files, "tooltip" should be
enough.
Set the "activates_default" property on all relevant entries in glade files;
this will make the Enter key activate the default dialog action when these
entries are focused.
Added some clarifying text to Add Device dialog.
Clarified the per-drive parameters section (what it does) in Preferences.
Added a confirmation dialog in case the user doesn't set the Parameters field
in one of the Per-Drive Parameters entries.
Added a "Smartctl Options" section to README/Help.
Clarified the difference between smartctl.exe and smartctl-nc.exe in a
tooltip.
Improved some other tooltips.
This commit is contained in:
Alexander Shaduri committed 2013-02-11 11:09:00 +00:00
1 parent 6ac62cd0de
commit 462d465f3a
13 files changed
+417 -387

No files matched your search

+12 -1
View File
@@ -131,7 +131,6 @@ Note: If using the official Windows package, the requirements are listed on
GSmartControl's website.
The following operating systems are supported:
* Linux - All the popular configurations should work.
@@ -187,6 +186,18 @@ directly from the build directory.
Smartctl Options
GSmartControl tries its best to guard the user from having to specify smartctl
options. However, this is not always possible due to drive firmware bugs,
unimplemented features, and so on. The smartctl manual page contains all the
information you may need when dealing with smartctl.
See http://smartmontools.sourceforge.net/man/smartctl.8.html
Additional information is available at http://smartmontools.sourceforge.net
Command Line Options
GSmartControl inherits options from GTK+ and other libraries, so be sure to
-10
View File
@@ -28,20 +28,10 @@ Bugs / patches:
TODO:
BUG: The per-drive parameters in Preferences become empty after dialog re-open if "Parameters" field is empty.
Clarify the per-drive parameters section (what it does) in Preferences.
Add a win32-only tooltip for smartctl binary location clarifying the smartctl-nc.exe and smartctl.exe difference.
Increase "executing command" dialog timeout.
Perhaps make it somehow not steal the focus (some window hint?)
Explain better Device name and Device type fields in the Add Device dialog.
The Enter key doesn't invoke the default dialog button (OK).
Print the scanned files and searched registry keys into libdebug dump during detection.
Areca detection
Linux:
+2 -2
View File
@@ -51,7 +51,7 @@ inline device_option_map_t app_unserialize_device_option_map(const std::string&
opt = hz::string_trim_copy(enc.decode(opt));
// ignore potentially harmful chars
if (!dev.empty() && !opt.empty()
if (!dev.empty() && !opt.empty() // this discards the entries with empty options
&& dev.find_first_of(";><|&") == std::string::npos
&& opt.find_first_of(";><|&") == std::string::npos) {
option_map[dev] = opt;
@@ -71,7 +71,7 @@ inline std::string app_serialize_device_option_map(const device_option_map_t& op
std::vector<std::string> pairs;
for (device_option_map_t::const_iterator iter = option_map.begin(); iter != option_map.end(); ++iter) {
if (!iter->first.empty())
if (!iter->first.empty() && !iter->second.empty()) // discard the ones with empty device name or options
pairs.push_back(enc.encode(iter->first) + ":" + enc.encode(iter->second));
}
+3 -2
View File
@@ -62,8 +62,8 @@ GscAddDeviceWindow::GscAddDeviceWindow(BaseObjectType* gtkcobj, const app_ui_res
Glib::ustring device_type_tooltip = "Smartctl -d option parameter";
#if defined CONFIG_KERNEL_LINUX
device_type_tooltip = "Smartctl -d option parameter. For example, use 3ware,1 for a second drive behind a 3ware RAID controller.";
#if defined CONFIG_KERNEL_LINUX || defined CONFIG_KERNEL_FAMILY_WINDOWS
device_type_tooltip = "Smartctl -d option parameter. For example, use areca,1 for the first drive behind Areca RAID controller.";
#endif
if (Gtk::Label* device_type_label = lookup_widget<Gtk::Label*>("device_type_label")) {
app_gtkmm_set_widget_tooltip(*device_type_label, device_type_tooltip);
@@ -113,6 +113,7 @@ GscAddDeviceWindow::GscAddDeviceWindow(BaseObjectType* gtkcobj, const app_ui_res
(*(model->append()))[col_type] = "marvell";
(*(model->append()))[col_type] = "megaraid,N";
(*(model->append()))[col_type] = "areca,N";
(*(model->append()))[col_type] = "areca,N/E";
#endif
#if defined CONFIG_KERNEL_LINUX || defined CONFIG_KERNEL_FREEBSD || defined CONFIG_KERNEL_DRAGONFLY
(*(model->append()))[col_type] = "3ware,N"; // this option is not needed in windows
+37 -19
View File
@@ -177,9 +177,9 @@ class GscPreferencesDeviceOptionsTreeView : public Gtk::TreeView {
Gtk::TreeModel::Row row = *iter;
std::string dev = row.get_value(col_device_real);
if (!dev.empty()) {
std::string par = row.get_value(col_type_real);
if (!par.empty()) {
dev += "::" + par;
std::string type = row.get_value(col_type_real);
if (!type.empty()) {
dev += "::" + type;
}
if (devmap.find(dev) == devmap.end()) {
devmap[dev] = row.get_value(col_parameters);
@@ -248,6 +248,17 @@ GscPreferencesWindow::GscPreferencesWindow(BaseObjectType* gtkcobj, const app_ui
APP_UI_RES_AUTO_CONNECT(window_reset_all_button, clicked);
Glib::ustring smartctl_binary_tooltip = "A path to smartctl binary. If the path is not absolute, the binary will be looked for in user's PATH.";
#if defined CONFIG_KERNEL_FAMILY_WINDOWS
smartctl_binary_tooltip += "\n" + "Note: smartctl.exe shows a console during execution, while smartctl-nc.exe (default) doesn't (nc means no-console).";
#endif
if (Gtk::Label* smartctl_binary_label = lookup_widget<Gtk::Label*>("smartctl_binary_label")) {
app_gtkmm_set_widget_tooltip(*smartctl_binary_label, smartctl_binary_tooltip);
}
if (Gtk::Entry* smartctl_binary_entry = lookup_widget<Gtk::Entry*>("smartctl_binary_entry")) {
app_gtkmm_set_widget_tooltip(*smartctl_binary_entry, smartctl_binary_tooltip);
}
Gtk::Button* smartctl_binary_browse_button = 0;
APP_UI_RES_AUTO_CONNECT(smartctl_binary_browse_button, clicked);
@@ -262,11 +273,11 @@ GscPreferencesWindow::GscPreferencesWindow(BaseObjectType* gtkcobj, const app_ui
Gtk::Entry* device_options_device_entry = 0;
APP_UI_RES_AUTO_CONNECT(device_options_device_entry, changed);
Glib::ustring device_options_tooltip = "Device name";
Glib::ustring device_options_tooltip = "A device name to match";
#if defined CONFIG_KERNEL_FAMILY_WINDOWS
device_options_tooltip = "Device name (for example, use \"pd0\" for the first physical drive)";
device_options_tooltip = "A device name to match (for example, use \"pd0\" for the first physical drive)";
#elif defined CONFIG_KERNEL_LINUX
device_options_tooltip = "Device name (for example, /dev/sda or /dev/twa0)";
device_options_tooltip = "A device name to match (for example, /dev/sda or /dev/twa0)";
#endif
if (Gtk::Label* device_options_device_label = lookup_widget<Gtk::Label*>("device_options_device_label")) {
app_gtkmm_set_widget_tooltip(*device_options_device_label, device_options_tooltip);
@@ -279,18 +290,6 @@ GscPreferencesWindow::GscPreferencesWindow(BaseObjectType* gtkcobj, const app_ui
Gtk::Entry* device_options_type_entry = 0;
APP_UI_RES_AUTO_CONNECT(device_options_type_entry, changed);
Glib::ustring device_type_tooltip = "Match only this type of device (as specified to -d smartctl parameter)";
#if defined CONFIG_KERNEL_LINUX
device_type_tooltip = "Match only this type of device (as specified to -d smartctl parameter). Leave empty for all types. This can be used to specify a drive behind a RAID device, e.g. \"3ware,2\".";
#endif
if (Gtk::Label* device_options_type_label = lookup_widget<Gtk::Label*>("device_options_type_label")) {
app_gtkmm_set_widget_tooltip(*device_options_type_label, device_type_tooltip);
}
if (device_options_type_entry) {
app_gtkmm_set_widget_tooltip(*device_options_type_entry, device_type_tooltip);
}
Gtk::Entry* device_options_parameter_entry = 0;
APP_UI_RES_AUTO_CONNECT(device_options_parameter_entry, changed);
@@ -496,7 +495,6 @@ void GscPreferencesWindow::export_config()
device_option_map_t devmap = device_options_treeview->get_device_map();
std::string devmap_str = app_serialize_device_option_map(devmap);
prefs_config_set("system/smartctl_device_options", devmap_str);
}
@@ -518,6 +516,26 @@ void GscPreferencesWindow::on_window_cancel_button_clicked()
void GscPreferencesWindow::on_window_ok_button_clicked()
{
// Check if device map contains drives with empty device names or parameters.
device_option_map_t devmap = device_options_treeview->get_device_map();
bool contains_empty = false;
for (device_option_map_t::const_iterator iter = devmap.begin(); iter != devmap.end(); ++iter) {
if (iter->first.empty() || iter->second.empty()) {
contains_empty = true;
}
}
if (contains_empty) {
Gtk::MessageDialog dialog(*this,
"You have specified an empty Parameters field for one or more entries"
" in Per-Drive Smartctl Parameters section. Such entries will be discarded.\n"
"\nDo you want to continue?",
true, Gtk::MESSAGE_QUESTION, Gtk::BUTTONS_YES_NO, true);
if (dialog.run() != Gtk::RESPONSE_YES) {
return;
}
}
export_config();
destroy(this);
}
+1 -1
View File
@@ -1,6 +1,6 @@
<?xml version="1.0"?>
<glade-interface>
<requires-version lib="gtk+" version="2.12"/>
<requires-version lib="gtk+" version="2.8"/>
<widget class="GtkAboutDialog" id="gsc_about_dialog">
<property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
<property name="border_width">6</property>
+117 -81
View File
@@ -1,6 +1,6 @@
<?xml version="1.0"?>
<glade-interface>
<requires-version lib="gtk+" version="2.20"/>
<requires-version lib="gtk+" version="2.8"/>
<widget class="GtkWindow" id="gsc_add_device_window">
<property name="title" translatable="yes">Add Device - GSmartControl</property>
<property name="modal">True</property>
@@ -12,113 +12,149 @@
<property name="spacing">12</property>
<property name="orientation">GTK_ORIENTATION_VERTICAL</property>
<child>
<widget class="GtkTable" id="table1">
<widget class="GtkVBox" id="vbox2">
<property name="visible">True</property>
<property name="n_rows">3</property>
<property name="n_columns">2</property>
<property name="column_spacing">12</property>
<property name="row_spacing">6</property>
<property name="orientation">GTK_ORIENTATION_VERTICAL</property>
<property name="orientation">GTK_ORIENTATION_VERTICAL</property>
<child>
<widget class="GtkComboBoxEntry" id="device_type_combo">
<property name="visible">True</property>
<child internal-child="entry">
<widget class="GtkEntry" id="device_type_entry">
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="invisible_char">&#x25CF;</property>
</widget>
</child>
</widget>
<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>
<widget class="GtkLabel" id="device_name_label">
<widget class="GtkLabel" id="label1">
<property name="visible">True</property>
<property name="xalign">0</property>
<property name="label" translatable="yes">Device _name:</property>
<property name="use_underline">True</property>
<property name="label" translatable="yes">The Smartctl Options section in the All Help Topics
menu contains information on what you can enter here.</property>
</widget>
<packing>
<property name="x_options">GTK_FILL</property>
<property name="padding">6</property>
</packing>
</child>
<child>
<widget class="GtkHBox" id="hbox1">
<widget class="GtkTable" id="table1">
<property name="visible">True</property>
<property name="spacing">6</property>
<property name="n_rows">3</property>
<property name="n_columns">2</property>
<property name="column_spacing">12</property>
<property name="row_spacing">6</property>
<child>
<widget class="GtkEntry" id="device_name_entry">
<widget class="GtkEntry" id="smartctl_params_entry">
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="has_focus">True</property>
<property name="tooltip" translatable="yes">Additional smartctl parameters</property>
<property name="invisible_char">&#x25CF;</property>
</widget>
</child>
<child>
<widget class="GtkButton" id="device_name_browse_button">
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="receives_default">True</property>
<property name="label" translatable="yes">_Browse...</property>
<property name="use_underline">True</property>
<property name="response_id">0</property>
<property name="activates_default">True</property>
</widget>
<packing>
<property name="expand">False</property>
<property name="position">1</property>
<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>
<widget class="GtkLabel" id="label3">
<property name="visible">True</property>
<property name="tooltip" translatable="yes">Additional smartctl parameters</property>
<property name="xalign">0</property>
<property name="label" translatable="yes">Smartctl parameters:</property>
</widget>
<packing>
<property name="top_attach">2</property>
<property name="bottom_attach">3</property>
<property name="x_options">GTK_FILL</property>
</packing>
</child>
<child>
<widget class="GtkLabel" id="device_type_label">
<property name="visible">True</property>
<property name="xalign">0</property>
<property name="label" translatable="yes">Device _type:</property>
<property name="use_underline">True</property>
</widget>
<packing>
<property name="top_attach">1</property>
<property name="bottom_attach">2</property>
<property name="x_options">GTK_FILL</property>
</packing>
</child>
<child>
<widget class="GtkHBox" id="hbox1">
<property name="visible">True</property>
<property name="spacing">6</property>
<child>
<widget class="GtkEntry" id="device_name_entry">
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="has_focus">True</property>
<property name="invisible_char">&#x25CF;</property>
<property name="activates_default">True</property>
</widget>
</child>
<child>
<widget class="GtkButton" id="device_name_browse_button">
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="receives_default">True</property>
<property name="label" translatable="yes">_Browse...</property>
<property name="use_underline">True</property>
<property name="response_id">0</property>
</widget>
<packing>
<property name="expand">False</property>
<property name="position">1</property>
</packing>
</child>
</widget>
<packing>
<property name="left_attach">1</property>
<property name="right_attach">2</property>
</packing>
</child>
<child>
<widget class="GtkComboBoxEntry" id="device_type_combo">
<property name="visible">True</property>
<child internal-child="entry">
<widget class="GtkEntry" id="device_type_entry">
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="invisible_char">&#x25CF;</property>
<property name="activates_default">True</property>
</widget>
</child>
</widget>
<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>
<widget class="GtkLabel" id="device_name_label">
<property name="visible">True</property>
<property name="xalign">0</property>
<property name="label" translatable="yes">Device _name:</property>
<property name="use_underline">True</property>
</widget>
<packing>
<property name="x_options">GTK_FILL</property>
</packing>
</child>
</widget>
<packing>
<property name="left_attach">1</property>
<property name="right_attach">2</property>
<property name="expand">False</property>
<property name="padding">6</property>
<property name="position">1</property>
</packing>
</child>
<child>
<widget class="GtkLabel" id="device_type_label">
<widget class="GtkLabel" id="label2">
<property name="visible">True</property>
<property name="xalign">0</property>
<property name="label" translatable="yes">Device _type:</property>
<property name="use_underline">True</property>
<property name="label" translatable="yes">Note: To permanently add a device, you'll have to use
the gsmartcontrol --add-device command line option.</property>
</widget>
<packing>
<property name="top_attach">1</property>
<property name="bottom_attach">2</property>
<property name="x_options">GTK_FILL</property>
</packing>
</child>
<child>
<widget class="GtkLabel" id="label3">
<property name="visible">True</property>
<property name="tooltip_text">Additional smartctl parameters</property>
<property name="tooltip" translatable="yes">Additional smartctl parameters</property>
<property name="xalign">0</property>
<property name="label" translatable="yes">Smartctl parameters:</property>
</widget>
<packing>
<property name="top_attach">2</property>
<property name="bottom_attach">3</property>
<property name="x_options">GTK_FILL</property>
</packing>
</child>
<child>
<widget class="GtkEntry" id="smartctl_params_entry">
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="tooltip_text">Additional smartctl parameters</property>
<property name="tooltip" translatable="yes">Additional smartctl parameters</property>
<property name="invisible_char">&#x25CF;</property>
</widget>
<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>
<property name="padding">6</property>
<property name="position">2</property>
</packing>
</child>
</widget>
@@ -1,6 +1,6 @@
<?xml version="1.0"?>
<glade-interface>
<requires-version lib="gtk+" version="2.12"/>
<requires-version lib="gtk+" version="2.8"/>
<widget class="GtkWindow" id="gsc_executor_log_window">
<property name="title" translatable="yes">Execution Log - GSmartControl</property>
<property name="default_width">620</property>
@@ -31,7 +31,6 @@
<widget class="GtkTreeView" id="command_list_treeview">
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="tooltip_text">Commands executed</property>
<property name="tooltip" translatable="yes">Commands executed</property>
<property name="reorderable">True</property>
</widget>
@@ -52,7 +51,6 @@
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="receives_default">True</property>
<property name="tooltip_text">Clear command list</property>
<property name="tooltip" translatable="yes">Clear command list</property>
<property name="label" translatable="yes">gtk-clear</property>
<property name="use_stock">True</property>
@@ -100,9 +98,9 @@
<widget class="GtkEntry" id="command_entry">
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="tooltip_text">Command with parameters</property>
<property name="tooltip" translatable="yes">Command with parameters</property>
<property name="editable">False</property>
<property name="activates_default">True</property>
<property name="truncate_multiline">True</property>
</widget>
<packing>
@@ -137,7 +135,6 @@
<widget class="GtkTextView" id="output_textview">
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="tooltip_text">Complete output of the command</property>
<property name="tooltip" translatable="yes">Complete output of the command</property>
<property name="editable">False</property>
<property name="left_margin">5</property>
@@ -169,7 +166,6 @@
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="receives_default">True</property>
<property name="tooltip_text">Save currently shown output</property>
<property name="tooltip" translatable="yes">Save currently shown output</property>
<property name="label" translatable="yes">_Save Current</property>
<property name="use_underline">True</property>
@@ -181,7 +177,6 @@
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="receives_default">True</property>
<property name="tooltip_text">Save complete log of command execution (useful when reporting bugs)</property>
<property name="tooltip" translatable="yes">Save complete log of command execution (useful when reporting bugs)</property>
<property name="label" translatable="yes">Save _All</property>
<property name="use_underline">True</property>
@@ -204,7 +199,6 @@
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="receives_default">True</property>
<property name="tooltip_text">Close this window</property>
<property name="tooltip" translatable="yes">Close this window</property>
<property name="label" translatable="yes">gtk-close</property>
<property name="use_stock">True</property>
+1 -2
View File
@@ -1,6 +1,6 @@
<?xml version="1.0"?>
<glade-interface>
<requires-version lib="gtk+" version="2.12"/>
<requires-version lib="gtk+" version="2.8"/>
<widget class="GtkWindow" id="gsc_help_window">
<property name="title" translatable="yes">Help - GSmartControl</property>
<property name="default_width">630</property>
@@ -40,7 +40,6 @@
<widget class="GtkTreeView" id="topics_treeview">
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="tooltip_text">Topics</property>
<property name="tooltip" translatable="yes">Topics</property>
<property name="headers_visible">False</property>
</widget>
+151 -171
View File
@@ -1,6 +1,6 @@
<?xml version="1.0"?>
<glade-interface>
<requires-version lib="gtk+" version="2.12"/>
<requires-version lib="gtk+" version="2.8"/>
<widget class="GtkWindow" id="gsc_info_window">
<property name="title" translatable="yes">Device Information - GSmartControl</property>
<property name="window_position">GTK_WIN_POS_CENTER_ON_PARENT</property>
@@ -108,7 +108,6 @@
<property name="can_focus">True</property>
<property name="has_focus">True</property>
<property name="is_focus">True</property>
<property name="tooltip_text">Drive identity and general health information</property>
<property name="tooltip" translatable="yes">Drive identity and general health information</property>
<property name="label" translatable="yes">_Identity</property>
<property name="use_markup">True</property>
@@ -190,7 +189,6 @@
<widget class="GtkLabel" id="attributes_tab_label">
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="tooltip_text">SMART attributes</property>
<property name="tooltip" translatable="yes">SMART attributes</property>
<property name="label" translatable="yes">Attri_butes</property>
<property name="use_markup">True</property>
@@ -260,7 +258,6 @@
<widget class="GtkLabel" id="capabilities_tab_label">
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="tooltip_text">Drive capabilities</property>
<property name="tooltip" translatable="yes">Drive capabilities</property>
<property name="label" translatable="yes">Ca_pabilities</property>
<property name="use_markup">True</property>
@@ -355,7 +352,6 @@
<widget class="GtkTextView" id="error_log_textview">
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="tooltip_text">Complete error log information</property>
<property name="tooltip" translatable="yes">Complete error log information</property>
<property name="editable">False</property>
<property name="left_margin">5</property>
@@ -385,7 +381,6 @@
<widget class="GtkLabel" id="error_log_tab_label">
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="tooltip_text">SMART error log contains (usually five) most recent non-trivial errors the hard drive has encountered</property>
<property name="tooltip" translatable="yes">SMART error log contains (usually five) most recent non-trivial errors the hard drive has encountered</property>
<property name="label" translatable="yes">_Error Log</property>
<property name="use_markup">True</property>
@@ -485,7 +480,6 @@
<widget class="GtkTextView" id="selective_selftest_log_textview">
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="tooltip_text">Complete selective self-test log information</property>
<property name="tooltip" translatable="yes">Complete selective self-test log information</property>
<property name="editable">False</property>
<property name="left_margin">5</property>
@@ -527,8 +521,6 @@
<widget class="GtkLabel" id="selftest_log_tab_label">
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="tooltip_text">Self-test log contains information about (usually twenty) most recent manually performed SMART self-tests.
Selective self-test log is also presented here.</property>
<property name="tooltip" translatable="yes">Self-test log contains information about (usually twenty) most recent manually performed SMART self-tests.
Selective self-test log is also presented here.</property>
<property name="label" translatable="yes">_Self-test Logs</property>
@@ -569,162 +561,6 @@ Selective self-test log is also presented here.</property>
<property name="n_columns">2</property>
<property name="column_spacing">6</property>
<property name="row_spacing">6</property>
<child>
<widget class="GtkHBox" id="test_execution_hbox">
<property name="visible">True</property>
<property name="spacing">6</property>
<child>
<widget class="GtkHBox" id="hbox4">
<property name="visible">True</property>
<property name="spacing">6</property>
<child>
<widget class="GtkLabel" id="label2">
<property name="visible">True</property>
<property name="xalign">0</property>
<property name="label" translatable="yes">&lt;b&gt;Test type:&lt;/b&gt;</property>
<property name="use_markup">True</property>
</widget>
<packing>
<property name="expand">False</property>
</packing>
</child>
<child>
<widget class="GtkComboBox" id="test_type_combo">
<property name="visible">True</property>
<property name="tooltip_text">Choose a test type</property>
<property name="tooltip" translatable="yes">Choose a test type</property>
<property name="items" translatable="yes">These are dummy entries
Immediate Offline
Short
Extended
Conveyance</property>
</widget>
<packing>
<property name="expand">False</property>
<property name="position">1</property>
</packing>
</child>
</widget>
<packing>
<property name="expand">False</property>
</packing>
</child>
<child>
<widget class="GtkHBox" id="hbox3">
<property name="visible">True</property>
<property name="spacing">6</property>
<child>
<widget class="GtkLabel" id="label5">
<property name="visible">True</property>
<property name="tooltip_text">Estimated test duration on idle drive</property>
<property name="tooltip" translatable="yes">Estimated test duration on idle drive</property>
<property name="label" translatable="yes">&lt;b&gt;Estimated duration:&lt;/b&gt;</property>
<property name="use_markup">True</property>
</widget>
<packing>
<property name="expand">False</property>
</packing>
</child>
<child>
<widget class="GtkLabel" id="min_duration_label">
<property name="visible">True</property>
<property name="tooltip_text">Minimum test duration on idle drive</property>
<property name="tooltip" translatable="yes">Minimum test duration on idle drive</property>
<property name="label" translatable="yes">N/A</property>
</widget>
<packing>
<property name="expand">False</property>
<property name="position">1</property>
</packing>
</child>
</widget>
<packing>
<property name="padding">10</property>
<property name="position">1</property>
</packing>
</child>
</widget>
</child>
<child>
<widget class="GtkButton" id="test_execute_button">
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="receives_default">True</property>
<property name="tooltip_text">Perform selected test</property>
<property name="tooltip" translatable="yes">Perform selected test</property>
<property name="label" translatable="yes">gtk-execute</property>
<property name="use_stock">True</property>
<property name="response_id">0</property>
</widget>
<packing>
<property name="left_attach">1</property>
<property name="right_attach">2</property>
<property name="x_options">GTK_FILL</property>
</packing>
</child>
<child>
<widget class="GtkScrolledWindow" id="scrolledwindow5">
<property name="height_request">85</property>
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="hscrollbar_policy">GTK_POLICY_AUTOMATIC</property>
<property name="vscrollbar_policy">GTK_POLICY_AUTOMATIC</property>
<property name="shadow_type">GTK_SHADOW_IN</property>
<child>
<widget class="GtkTextView" id="test_description_textview">
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="tooltip_text">Test description</property>
<property name="tooltip" translatable="yes">Test description</property>
<property name="editable">False</property>
<property name="wrap_mode">GTK_WRAP_WORD</property>
<property name="left_margin">5</property>
<property name="right_margin">5</property>
<property name="cursor_visible">False</property>
</widget>
</child>
</widget>
<packing>
<property name="right_attach">2</property>
<property name="top_attach">1</property>
<property name="bottom_attach">2</property>
</packing>
</child>
<child>
<widget class="GtkButton" id="test_stop_button">
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="receives_default">True</property>
<property name="tooltip_text">Abort the test</property>
<property name="tooltip" translatable="yes">Abort the test</property>
<property name="label" translatable="yes">gtk-stop</property>
<property name="use_stock">True</property>
<property name="response_id">0</property>
</widget>
<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>
<property name="x_options">GTK_FILL</property>
<property name="y_padding">10</property>
</packing>
</child>
<child>
<widget class="GtkProgressBar" id="test_completion_progressbar">
<property name="visible">True</property>
<property name="tooltip_text">Test progress</property>
<property name="tooltip" translatable="yes">Test progress</property>
<property name="show_text">True</property>
<property name="text" translatable="yes">Test completion: 90%; ETA: 12 minutes</property>
<property name="ellipsize">PANGO_ELLIPSIZE_END</property>
</widget>
<packing>
<property name="top_attach">2</property>
<property name="bottom_attach">3</property>
<property name="y_padding">10</property>
</packing>
</child>
<child>
<widget class="GtkHBox" id="test_result_hbox">
<property name="spacing">6</property>
@@ -758,6 +594,155 @@ Conveyance</property>
<property name="y_padding">20</property>
</packing>
</child>
<child>
<widget class="GtkProgressBar" id="test_completion_progressbar">
<property name="visible">True</property>
<property name="tooltip" translatable="yes">Test progress</property>
<property name="show_text">True</property>
<property name="text" translatable="yes">Test completion: 90%; ETA: 12 minutes</property>
<property name="ellipsize">PANGO_ELLIPSIZE_END</property>
</widget>
<packing>
<property name="top_attach">2</property>
<property name="bottom_attach">3</property>
<property name="y_padding">10</property>
</packing>
</child>
<child>
<widget class="GtkButton" id="test_stop_button">
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="receives_default">True</property>
<property name="tooltip" translatable="yes">Abort the test</property>
<property name="label" translatable="yes">gtk-stop</property>
<property name="use_stock">True</property>
<property name="response_id">0</property>
</widget>
<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>
<property name="x_options">GTK_FILL</property>
<property name="y_padding">10</property>
</packing>
</child>
<child>
<widget class="GtkScrolledWindow" id="scrolledwindow5">
<property name="height_request">85</property>
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="hscrollbar_policy">GTK_POLICY_AUTOMATIC</property>
<property name="vscrollbar_policy">GTK_POLICY_AUTOMATIC</property>
<property name="shadow_type">GTK_SHADOW_IN</property>
<child>
<widget class="GtkTextView" id="test_description_textview">
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="tooltip" translatable="yes">Test description</property>
<property name="editable">False</property>
<property name="wrap_mode">GTK_WRAP_WORD</property>
<property name="left_margin">5</property>
<property name="right_margin">5</property>
<property name="cursor_visible">False</property>
</widget>
</child>
</widget>
<packing>
<property name="right_attach">2</property>
<property name="top_attach">1</property>
<property name="bottom_attach">2</property>
</packing>
</child>
<child>
<widget class="GtkButton" id="test_execute_button">
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="receives_default">True</property>
<property name="tooltip" translatable="yes">Perform selected test</property>
<property name="label" translatable="yes">gtk-execute</property>
<property name="use_stock">True</property>
<property name="response_id">0</property>
</widget>
<packing>
<property name="left_attach">1</property>
<property name="right_attach">2</property>
<property name="x_options">GTK_FILL</property>
</packing>
</child>
<child>
<widget class="GtkHBox" id="test_execution_hbox">
<property name="visible">True</property>
<property name="spacing">6</property>
<child>
<widget class="GtkHBox" id="hbox4">
<property name="visible">True</property>
<property name="spacing">6</property>
<child>
<widget class="GtkLabel" id="label2">
<property name="visible">True</property>
<property name="xalign">0</property>
<property name="label" translatable="yes">&lt;b&gt;Test type:&lt;/b&gt;</property>
<property name="use_markup">True</property>
</widget>
<packing>
<property name="expand">False</property>
</packing>
</child>
<child>
<widget class="GtkComboBox" id="test_type_combo">
<property name="visible">True</property>
<property name="tooltip" translatable="yes">Choose a test type</property>
<property name="items" translatable="yes">These are dummy entries
Immediate Offline
Short
Extended
Conveyance</property>
</widget>
<packing>
<property name="expand">False</property>
<property name="position">1</property>
</packing>
</child>
</widget>
<packing>
<property name="expand">False</property>
</packing>
</child>
<child>
<widget class="GtkHBox" id="hbox3">
<property name="visible">True</property>
<property name="spacing">6</property>
<child>
<widget class="GtkLabel" id="label5">
<property name="visible">True</property>
<property name="tooltip" translatable="yes">Estimated test duration on idle drive</property>
<property name="label" translatable="yes">&lt;b&gt;Estimated duration:&lt;/b&gt;</property>
<property name="use_markup">True</property>
</widget>
<packing>
<property name="expand">False</property>
</packing>
</child>
<child>
<widget class="GtkLabel" id="min_duration_label">
<property name="visible">True</property>
<property name="tooltip" translatable="yes">Minimum test duration on idle drive</property>
<property name="label" translatable="yes">N/A</property>
</widget>
<packing>
<property name="expand">False</property>
<property name="position">1</property>
</packing>
</child>
</widget>
<packing>
<property name="padding">10</property>
<property name="position">1</property>
</packing>
</child>
</widget>
</child>
</widget>
<packing>
<property name="position">1</property>
@@ -778,7 +763,6 @@ Conveyance</property>
<widget class="GtkLabel" id="test_tab_label">
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="tooltip_text">Perform self-tests on the hard drive</property>
<property name="tooltip" translatable="yes">Perform self-tests on the hard drive</property>
<property name="label" translatable="yes">Perform _Tests</property>
<property name="use_markup">True</property>
@@ -807,13 +791,12 @@ Conveyance</property>
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="receives_default">True</property>
<property name="tooltip_text">Re-read all the information</property>
<property name="tooltip" translatable="yes">Re-read all the information</property>
<property name="label" translatable="yes">gtk-refresh</property>
<property name="use_stock">True</property>
<property name="response_id">0</property>
<accelerator key="F5" signal="clicked"/>
<accelerator key="R" signal="clicked" modifiers="GDK_CONTROL_MASK"/>
<accelerator key="F5" signal="clicked"/>
</widget>
</child>
<child>
@@ -821,7 +804,6 @@ Conveyance</property>
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="receives_default">True</property>
<property name="tooltip_text">View smartctl output</property>
<property name="tooltip" translatable="yes">View smartctl output</property>
<property name="label" translatable="yes">_View Output</property>
<property name="use_underline">True</property>
@@ -836,7 +818,6 @@ Conveyance</property>
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="receives_default">True</property>
<property name="tooltip_text">Save the SMART information (smartctl output) to a text file</property>
<property name="tooltip" translatable="yes">Save the SMART information (smartctl output) to a text file</property>
<property name="label" translatable="yes">gtk-save-as</property>
<property name="use_stock">True</property>
@@ -860,7 +841,6 @@ Conveyance</property>
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="receives_default">True</property>
<property name="tooltip_text">Close this window</property>
<property name="tooltip" translatable="yes">Close this window</property>
<property name="label" translatable="yes">gtk-close</property>
<property name="use_stock">True</property>
+1 -5
View File
@@ -1,6 +1,6 @@
<?xml version="1.0"?>
<glade-interface>
<requires-version lib="gtk+" version="2.12"/>
<requires-version lib="gtk+" version="2.8"/>
<widget class="GtkWindow" id="gsc_main_window">
<property name="title" translatable="yes">GSmartControl</property>
<property name="default_width">460</property>
@@ -31,7 +31,6 @@
<child>
<widget class="GtkHBox" id="status_name_hbox">
<property name="visible">True</property>
<property name="tooltip_text">Device, capacity, model (if available)</property>
<property name="tooltip" translatable="yes">Device, capacity, model (if available)</property>
<property name="spacing">6</property>
<child>
@@ -61,8 +60,6 @@
<child>
<widget class="GtkHBox" id="status_health_hbox">
<property name="visible">True</property>
<property name="tooltip_text">Basic health check status as reported by the drive.
View drive details for more information.</property>
<property name="tooltip" translatable="yes">Basic health check status as reported by the drive.
View drive details for more information.</property>
<property name="spacing">6</property>
@@ -111,7 +108,6 @@ View drive details for more information.</property>
<child>
<widget class="GtkHBox" id="status_family_hbox">
<property name="visible">True</property>
<property name="tooltip_text">Model family (if available in smartctl database)</property>
<property name="tooltip" translatable="yes">Model family (if available in smartctl database)</property>
<property name="spacing">6</property>
<child>
@@ -1,6 +1,6 @@
<?xml version="1.0"?>
<glade-interface>
<requires-version lib="gtk+" version="2.12"/>
<requires-version lib="gtk+" version="2.8"/>
<widget class="GtkWindow" id="gsc_preferences_window">
<child>
<widget class="GtkVBox" id="vbox1">
@@ -130,7 +130,6 @@
<widget class="GtkCheckButton" id="search_in_smartmontools_first_check">
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="tooltip_text">If smartmontools is installed, use its smartctl by default</property>
<property name="tooltip" translatable="yes">If smartmontools is installed, use its smartctl by default</property>
<property name="label" translatable="yes">Loo_k for smartctl in smartmontools installation directory first</property>
<property name="use_underline">True</property>
@@ -145,47 +144,6 @@
<property name="n_columns">2</property>
<property name="column_spacing">12</property>
<property name="row_spacing">6</property>
<child>
<widget class="GtkLabel" id="label7">
<property name="visible">True</property>
<property name="tooltip_text">A path to smartctl binary. If the path is not absolute, the binary will be looked for in user's PATH.</property>
<property name="tooltip" translatable="yes">A path to smartctl binary. If the path is not absolute, the binary will be looked for in user's PATH.</property>
<property name="xalign">1</property>
<property name="label" translatable="yes">S_martctl binary:</property>
<property name="use_underline">True</property>
</widget>
<packing>
<property name="x_options">GTK_FILL</property>
</packing>
</child>
<child>
<widget class="GtkLabel" id="label8">
<property name="visible">True</property>
<property name="tooltip_text">Global parameters for smartctl. These parameters will be used every time the progam invokes smartctl. Must be shell-escaped.</property>
<property name="tooltip" translatable="yes">Global parameters for smartctl. These parameters will be used every time the progam invokes smartctl. Must be shell-escaped.</property>
<property name="label" translatable="yes">Smartctl parameters:</property>
<property name="use_underline">True</property>
</widget>
<packing>
<property name="top_attach">1</property>
<property name="bottom_attach">2</property>
<property name="x_options">GTK_FILL</property>
</packing>
</child>
<child>
<widget class="GtkEntry" id="smartctl_options_entry">
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="tooltip_text">Global parameters for smartctl. These parameters will be used every time the progam invokes smartctl. Must be shell-escaped.</property>
<property name="tooltip" translatable="yes">Global parameters for smartctl. These parameters will be used every time the progam invokes smartctl. Must be shell-escaped.</property>
</widget>
<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>
<widget class="GtkHBox" id="hbox4">
<property name="visible">True</property>
@@ -194,8 +152,7 @@
<widget class="GtkEntry" id="smartctl_binary_entry">
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="tooltip_text">A path to smartctl binary. If the path is not absolute, the binary will be looked for in user's PATH.</property>
<property name="tooltip" translatable="yes">A path to smartctl binary. If the path is not absolute, the binary will be looked for in user's PATH.</property>
<property name="activates_default">True</property>
</widget>
</child>
<child>
@@ -217,6 +174,44 @@
<property name="right_attach">2</property>
</packing>
</child>
<child>
<widget class="GtkEntry" id="smartctl_options_entry">
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="tooltip" translatable="yes">Global parameters for smartctl. These parameters will be used every time the progam invokes smartctl. Must be shell-escaped.</property>
<property name="activates_default">True</property>
</widget>
<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>
<widget class="GtkLabel" id="label8">
<property name="visible">True</property>
<property name="tooltip" translatable="yes">Global parameters for smartctl. These parameters will be used every time the progam invokes smartctl. Must be shell-escaped.</property>
<property name="label" translatable="yes">Smartctl parameters:</property>
<property name="use_underline">True</property>
</widget>
<packing>
<property name="top_attach">1</property>
<property name="bottom_attach">2</property>
<property name="x_options">GTK_FILL</property>
</packing>
</child>
<child>
<widget class="GtkLabel" id="smartctl_binary_label">
<property name="visible">True</property>
<property name="xalign">1</property>
<property name="label" translatable="yes">S_martctl binary:</property>
<property name="use_underline">True</property>
</widget>
<packing>
<property name="x_options">GTK_FILL</property>
</packing>
</child>
</widget>
<packing>
<property name="position">1</property>
@@ -285,8 +280,7 @@
<child>
<widget class="GtkLabel" id="label6">
<property name="visible">True</property>
<property name="tooltip_text">Semicolon-separated blacklist PCRE patterns for device search. For example, to blacklist all "/dev/sd*" devices, use "sd.{1}$". Simply listing them as "sda;sdb" will also work.</property>
<property name="tooltip" translatable="yes">Semicolon-separated blacklist PCRE patterns for device search. For example, to blacklist all "/dev/sd*" devices, use "sd.{1}$". Simply listing them as "sda;sdb" will also work.</property>
<property name="tooltip" translatable="yes">Semicolon-separated blacklist PCRE (perl-like) patterns for device search. For example, to blacklist all "/dev/sd*" devices, use "sd.{1}$". Simply listing them as "sda;sdb" will also work.</property>
<property name="xalign">0</property>
<property name="label" translatable="yes">Device blacklist patterns:</property>
<property name="use_underline">True</property>
@@ -299,8 +293,8 @@
<widget class="GtkEntry" id="device_blacklist_patterns_entry">
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="tooltip_text">Semicolon-separated blacklist PCRE patterns for device search. For example, to blacklist all "/dev/sd*" devices, use "sd.$". Simply listing them as "sda;sdb" or "sd[ab]" will also work.</property>
<property name="tooltip" translatable="yes">Semicolon-separated blacklist PCRE patterns for device search. For example, to blacklist all "/dev/sd*" devices, use "sd.$". Simply listing them as "sda;sdb" or "sd[ab]" will also work.</property>
<property name="activates_default">True</property>
</widget>
<packing>
<property name="position">1</property>
@@ -343,6 +337,22 @@
<child>
<widget class="GtkVBox" id="vbox8">
<property name="visible">True</property>
<child>
<widget class="GtkAlignment" id="alignment5">
<property name="visible">True</property>
<property name="top_padding">12</property>
<child>
<widget class="GtkLabel" id="label7">
<property name="visible">True</property>
<property name="xalign">0</property>
<property name="label" translatable="yes">Adding a drive here will make it use the specified parameters.</property>
</widget>
</child>
</widget>
<packing>
<property name="padding">6</property>
</packing>
</child>
<child>
<widget class="GtkHBox" id="hbox2">
<property name="visible">True</property>
@@ -362,7 +372,6 @@
<widget class="GtkTreeView" id="device_options_treeview">
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="tooltip_text">Device list</property>
<property name="tooltip" translatable="yes">Device list</property>
<property name="headers_clickable">False</property>
</widget>
@@ -379,7 +388,6 @@
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="receives_default">True</property>
<property name="tooltip_text">Remove selected entry from device list</property>
<property name="tooltip" translatable="yes">Remove selected entry from device list</property>
<property name="label" translatable="yes">gtk-remove</property>
<property name="use_stock">True</property>
@@ -391,7 +399,6 @@
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="receives_default">True</property>
<property name="tooltip_text">Add a new entry to device list</property>
<property name="tooltip" translatable="yes">Add a new entry to device list</property>
<property name="label" translatable="yes">gtk-add</property>
<property name="use_stock">True</property>
@@ -419,36 +426,40 @@
<property name="column_spacing">12</property>
<property name="row_spacing">6</property>
<child>
<widget class="GtkLabel" id="label9">
<widget class="GtkEntry" id="device_options_parameter_entry">
<property name="visible">True</property>
<property name="xalign">0</property>
<property name="label" translatable="yes">&lt;b&gt;Drive Properties:&lt;/b&gt;</property>
<property name="use_markup">True</property>
<property name="can_focus">True</property>
<property name="tooltip" translatable="yes">Smartctl parameters to add (for example, "-T permissive" or "-d usbsunplus")</property>
</widget>
<packing>
<property name="left_attach">1</property>
<property name="right_attach">2</property>
<property name="top_attach">3</property>
<property name="bottom_attach">4</property>
</packing>
</child>
<child>
<widget class="GtkLabel" id="device_options_device_label">
<widget class="GtkLabel" id="label67">
<property name="visible">True</property>
<property name="tooltip" translatable="yes">Smartctl parameters to add (for example, "-T permissive" or "-d usbsunplus")</property>
<property name="xalign">1</property>
<property name="label" translatable="yes">De_vice:</property>
<property name="label" translatable="yes">_Parameters:</property>
<property name="use_underline">True</property>
</widget>
<packing>
<property name="top_attach">1</property>
<property name="bottom_attach">2</property>
<property name="top_attach">3</property>
<property name="bottom_attach">4</property>
</packing>
</child>
<child>
<widget class="GtkLabel" id="device_options_type_label">
<widget class="GtkEntry" id="device_options_type_entry">
<property name="visible">True</property>
<property name="xalign">1</property>
<property name="label" translatable="yes">_Type:</property>
<property name="use_underline">True</property>
<property name="can_focus">True</property>
<property name="tooltip" translatable="yes">Match only this type of device (as used by the -d smartctl parameter). Leave empty for all types. This can be used to match a drive behind a RAID device, e.g. "areca,2".</property>
</widget>
<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>
@@ -466,43 +477,39 @@
</packing>
</child>
<child>
<widget class="GtkEntry" id="device_options_type_entry">
<widget class="GtkLabel" id="device_options_type_label">
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="tooltip" translatable="yes">Match only this type of device (as used by the -d smartctl parameter). Leave empty for all types. This can be used to match a drive behind a RAID device, e.g. "areca,2".</property>
<property name="xalign">1</property>
<property name="label" translatable="yes">_Type:</property>
<property name="use_underline">True</property>
</widget>
<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>
<widget class="GtkLabel" id="label67">
<widget class="GtkLabel" id="device_options_device_label">
<property name="visible">True</property>
<property name="tooltip_text">Smartctl parameters (for example, "-T permissive" or "-d usbsunplus")</property>
<property name="tooltip" translatable="yes">Smartctl parameters (for example, "-T permissive" or "-d usbsunplus")</property>
<property name="xalign">1</property>
<property name="label" translatable="yes">_Parameters:</property>
<property name="label" translatable="yes">De_vice:</property>
<property name="use_underline">True</property>
</widget>
<packing>
<property name="top_attach">3</property>
<property name="bottom_attach">4</property>
<property name="top_attach">1</property>
<property name="bottom_attach">2</property>
</packing>
</child>
<child>
<widget class="GtkEntry" id="device_options_parameter_entry">
<widget class="GtkLabel" id="label9">
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="tooltip_text">Smartctl parameters (for example, "-T permissive" or "-d usbsunplus")</property>
<property name="tooltip" translatable="yes">Smartctl parameters (for example, "-T permissive" or "-d usbsunplus")</property>
<property name="xalign">0</property>
<property name="label" translatable="yes">&lt;b&gt;Drive Properties:&lt;/b&gt;</property>
<property name="use_markup">True</property>
</widget>
<packing>
<property name="left_attach">1</property>
<property name="right_attach">2</property>
<property name="top_attach">3</property>
<property name="bottom_attach">4</property>
</packing>
</child>
</widget>
@@ -517,7 +524,8 @@
</child>
</widget>
<packing>
<property name="padding">10</property>
<property name="padding">6</property>
<property name="position">1</property>
</packing>
</child>
</widget>
@@ -572,7 +580,6 @@
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="receives_default">True</property>
<property name="tooltip_text">Reset all program settings to their defaults</property>
<property name="tooltip" translatable="yes">Reset all program settings to their defaults</property>
<property name="label" translatable="yes">Reset a_ll</property>
<property name="use_underline">True</property>
+1 -3
View File
@@ -1,6 +1,6 @@
<?xml version="1.0"?>
<glade-interface>
<requires-version lib="gtk+" version="2.12"/>
<requires-version lib="gtk+" version="2.8"/>
<widget class="GtkWindow" id="gsc_text_window">
<property name="title" translatable="yes">GSmartControl</property>
<property name="default_width">600</property>
@@ -47,7 +47,6 @@
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="receives_default">True</property>
<property name="tooltip_text">Saved displayed text as...</property>
<property name="tooltip" translatable="yes">Saved displayed text as...</property>
<property name="label" translatable="yes">gtk-save-as</property>
<property name="use_stock">True</property>
@@ -78,7 +77,6 @@
<property name="can_default">True</property>
<property name="has_default">True</property>
<property name="receives_default">True</property>
<property name="tooltip_text">Close this window</property>
<property name="tooltip" translatable="yes">Close this window</property>
<property name="label" translatable="yes">gtk-close</property>
<property name="use_stock">True</property>