Add N_() calls to all the human readable strings. Based on a patch from
Fri Aug 1 15:49:03 2003 Jonathan Blandford <jrb@redhat.com> * gnome-default-applications-properties-structs.c (possible_terminals): Add N_() calls to all the human readable strings. Based on a patch from Christophe Fergeau <teuf@users.sourceforge.net>, #117085
This commit is contained in:
parent
8f1008f48d
commit
d0935e22db
5 changed files with 35 additions and 438 deletions
|
@ -1,3 +1,14 @@
|
|||
Fri Aug 1 15:49:03 2003 Jonathan Blandford <jrb@redhat.com>
|
||||
|
||||
* gnome-default-applications-properties-structs.c
|
||||
(possible_terminals): Add N_() calls to all the human readable
|
||||
strings. Based on a patch from Christophe Fergeau
|
||||
<teuf@users.sourceforge.net>, #117085
|
||||
|
||||
* gnome-default-applications-properties-structs.c
|
||||
(possible_terminals): remove help browsers. We basically only
|
||||
support yelp at this point.
|
||||
|
||||
2003-07-19 Dennis Cranston <dennis_cranston at yahoo com>
|
||||
|
||||
* gnome-default-applications-properties.c: Added a window icon
|
||||
|
|
|
@ -36,14 +36,14 @@ struct _TerminalDesciption
|
|||
|
||||
BrowserDescription possible_browsers[] =
|
||||
{
|
||||
{ "Epiphany", "epiphany", "epiphany %s", FALSE, FALSE, FALSE },
|
||||
{ "Galeon", "galeon", "galeon %s", FALSE, FALSE, FALSE },
|
||||
{ "Encompass", "encompass", "encompass %s", FALSE, FALSE, FALSE },
|
||||
{ "Mozilla/Netscape 6", "mozilla", "mozilla %s", FALSE, TRUE, FALSE },
|
||||
{ "Netscape Communicator", "netscape", "netscape %s", FALSE, TRUE, FALSE },
|
||||
{ "Konqueror", "konqueror", "konqueror %s", FALSE, FALSE, FALSE },
|
||||
{ "Lynx Text Browser", "lynx", "lynx %s", TRUE, FALSE, FALSE },
|
||||
{ "Links Text Browser" , "links", "links %s", TRUE, FALSE, FALSE }
|
||||
{ N_("Epiphany"), "epiphany", "epiphany %s", FALSE, FALSE, FALSE },
|
||||
{ N_("Galeon"), "galeon", "galeon %s", FALSE, FALSE, FALSE },
|
||||
{ N_("Encompass"), "encompass", "encompass %s", FALSE, FALSE, FALSE },
|
||||
{ N_("Mozilla/Netscape 6"), "mozilla", "mozilla %s", FALSE, TRUE, FALSE },
|
||||
{ N_("Netscape Communicator"), "netscape", "netscape %s", FALSE, TRUE, FALSE },
|
||||
{ N_("Konqueror"), "konqueror", "konqueror %s", FALSE, FALSE, FALSE },
|
||||
{ N_("Lynx Text Browser"), "lynx", "lynx %s", TRUE, FALSE, FALSE },
|
||||
{ N_("Links Text Browser") , "links", "links %s", TRUE, FALSE, FALSE }
|
||||
};
|
||||
|
||||
MailerDescription possible_mailers[] =
|
||||
|
@ -52,27 +52,20 @@ MailerDescription possible_mailers[] =
|
|||
* there is only one (the first entry in this list) Evolution entry
|
||||
* in the list shown to the user
|
||||
*/
|
||||
{ "Evolution Mail Reader", "evolution-1.4", "evolution-1.4 %s", FALSE, FALSE, },
|
||||
{ "Evolution Mail Reader", "evolution", "evolution %s", FALSE, FALSE, },
|
||||
{ "Balsa", "balsa", "balsa --compose=%s", FALSE, FALSE },
|
||||
{ "KMail", "kmail", "kmail %s", FALSE, FALSE },
|
||||
{ "Mozilla Mail", "mozilla", "mozilla -mail %s", FALSE, FALSE},
|
||||
{ "Mutt" , "mutt", "mutt %s", TRUE, FALSE },
|
||||
{ N_("Evolution Mail Reader"), "evolution-1.4", "evolution-1.4 %s", FALSE, FALSE, },
|
||||
{ N_("Evolution Mail Reader"), "evolution", "evolution %s", FALSE, FALSE, },
|
||||
{ N_("Balsa"), "balsa", "balsa --compose=%s", FALSE, FALSE },
|
||||
{ N_("KMail"), "kmail", "kmail %s", FALSE, FALSE },
|
||||
{ N_("Mozilla Mail"), "mozilla", "mozilla -mail %s", FALSE, FALSE},
|
||||
{ N_("Mutt") , "mutt", "mutt %s", TRUE, FALSE },
|
||||
|
||||
};
|
||||
|
||||
HelpViewDescription possible_help_viewers[] =
|
||||
{
|
||||
{ "Yelp Gnome Help Browser", "yelp", FALSE, TRUE, FALSE },
|
||||
{ "Gnome Help Browser", "gnome-help", FALSE, TRUE, FALSE },
|
||||
{ "Nautilus", "nautilus", FALSE, TRUE, FALSE }
|
||||
};
|
||||
|
||||
TerminalDescription possible_terminals[] =
|
||||
{
|
||||
{ "Gnome Terminal", "gnome-terminal", "-x", FALSE },
|
||||
{ "Standard XTerminal", "xterm", "-e", FALSE },
|
||||
{ "NXterm", "nxterm", "-e", FALSE },
|
||||
{ "RXVT", "rxvt", "-e", FALSE },
|
||||
{ "ETerm", "Eterm", "-e", FALSE }
|
||||
{ N_("Gnome Terminal"), "gnome-terminal", "-x", FALSE },
|
||||
{ N_("Standard XTerminal"), "xterm", "-e", FALSE },
|
||||
{ N_("NXterm"), "nxterm", "-e", FALSE },
|
||||
{ N_("RXVT"), "rxvt", "-e", FALSE },
|
||||
{ N_("ETerm"), "Eterm", "-e", FALSE }
|
||||
};
|
||||
|
|
|
@ -48,11 +48,6 @@
|
|||
#define DEFAULT_APPS_KEY_MAILER_NEEDS_TERM DEFAULT_APPS_KEY_MAILER_PATH"/needs_terminal"
|
||||
#define DEFAULT_APPS_KEY_MAILER_EXEC DEFAULT_APPS_KEY_MAILER_PATH"/command"
|
||||
|
||||
#define DEFAULT_APPS_KEY_HELP_VIEWER_PATH "/desktop/gnome/applications/help_viewer"
|
||||
#define DEFAULT_APPS_KEY_HELP_VIEWER_NEEDS_TERM DEFAULT_APPS_KEY_HELP_VIEWER_PATH"/needs_term"
|
||||
#define DEFAULT_APPS_KEY_HELP_VIEWER_ACCEPTS_URLS DEFAULT_APPS_KEY_HELP_VIEWER_PATH"/accepts_urls"
|
||||
#define DEFAULT_APPS_KEY_HELP_VIEWER_EXEC DEFAULT_APPS_KEY_HELP_VIEWER_PATH"/exec"
|
||||
|
||||
#define DEFAULT_APPS_KEY_TERMINAL_PATH "/desktop/gnome/applications/terminal"
|
||||
#define DEFAULT_APPS_KEY_TERMINAL_EXEC_ARG DEFAULT_APPS_KEY_TERMINAL_PATH"/exec_arg"
|
||||
#define DEFAULT_APPS_KEY_TERMINAL_EXEC DEFAULT_APPS_KEY_TERMINAL_PATH"/exec"
|
||||
|
@ -61,7 +56,6 @@
|
|||
|
||||
typedef struct _BrowserDescription BrowserDescription;
|
||||
typedef struct _MailerDescription MailerDescription;
|
||||
typedef struct _HelpViewDescription HelpViewDescription;
|
||||
typedef struct _TerminalDesciption TerminalDescription;
|
||||
|
||||
/* All defined below */
|
||||
|
@ -85,7 +79,7 @@ on_text_custom_properties_clicked (GtkWidget *w, GladeXML *dialog)
|
|||
mime_app = gnome_vfs_application_registry_get_mime_application (MIME_APPLICATION_ID);
|
||||
|
||||
gtk_entry_set_text (GTK_ENTRY (WID ("text_custom_name_entry")),
|
||||
mime_app ? mime_app->name : "");
|
||||
mime_app ? _(mime_app->name) : "");
|
||||
gtk_entry_set_text (GTK_ENTRY (WID ("text_custom_command_entry")),
|
||||
mime_app ? mime_app->command : "");
|
||||
gtk_toggle_button_set_active (GTK_TOGGLE_BUTTON (WID ("text_custom_multi_toggle")),
|
||||
|
@ -226,13 +220,6 @@ initialize_default_applications (void)
|
|||
}
|
||||
}
|
||||
|
||||
for (i = 0; i < G_N_ELEMENTS (possible_help_viewers); i++ ) {
|
||||
gchar *help_viewers = g_find_program_in_path (possible_help_viewers[i].executable_name);
|
||||
if (help_viewers) {
|
||||
possible_help_viewers[i].in_path = TRUE;
|
||||
g_free (help_viewers);
|
||||
}
|
||||
}
|
||||
for (i = 0; i < G_N_ELEMENTS (possible_terminals); i++ ) {
|
||||
gchar *terminals = g_find_program_in_path (possible_terminals[i].exec);
|
||||
if (terminals) {
|
||||
|
@ -271,7 +258,7 @@ read_editor (GConfClient *client,
|
|||
|
||||
if (strcmp (mime_app->command, li_app->command) == 0 &&
|
||||
mime_app->requires_terminal == li_app->requires_terminal) {
|
||||
gtk_entry_set_text (GTK_ENTRY (WID ("text_select_combo_entry")), mime_app->name);
|
||||
gtk_entry_set_text (GTK_ENTRY (WID ("text_select_combo_entry")), _(mime_app->name));
|
||||
gtk_toggle_button_set_active (GTK_TOGGLE_BUTTON (WID ("text_custom_radio")), TRUE);
|
||||
gtk_toggle_button_set_active (GTK_TOGGLE_BUTTON (WID ("text_select_radio")), TRUE);
|
||||
gnome_vfs_mime_application_free (mime_app);
|
||||
|
@ -373,13 +360,6 @@ setup_peditors (GConfClient *client,
|
|||
gconf_peditor_new_string (changeset, DEFAULT_APPS_KEY_MAILER_EXEC,
|
||||
WID ("mail_custom_command_entry"), NULL);
|
||||
|
||||
gconf_peditor_new_boolean (changeset, DEFAULT_APPS_KEY_HELP_VIEWER_NEEDS_TERM,
|
||||
WID ("help_custom_terminal_toggle"), NULL);
|
||||
gconf_peditor_new_boolean (changeset, DEFAULT_APPS_KEY_HELP_VIEWER_ACCEPTS_URLS,
|
||||
WID ("help_custom_url_toggle"), NULL);
|
||||
gconf_peditor_new_string (changeset, DEFAULT_APPS_KEY_HELP_VIEWER_EXEC,
|
||||
WID ("help_custom_command_entry"), NULL);
|
||||
|
||||
gconf_peditor_new_string (changeset, DEFAULT_APPS_KEY_TERMINAL_EXEC,
|
||||
WID ("terminal_custom_command_entry"), NULL);
|
||||
gconf_peditor_new_string (changeset, DEFAULT_APPS_KEY_TERMINAL_EXEC_ARG,
|
||||
|
@ -500,74 +480,6 @@ mailer_setup_custom (GtkWidget *entry,
|
|||
}
|
||||
}
|
||||
|
||||
static void
|
||||
read_help_viewer (GConfClient *client,
|
||||
GladeXML *dialog)
|
||||
{
|
||||
GError *error = NULL;
|
||||
gchar *help_viewer;
|
||||
gboolean needs_term;
|
||||
gboolean accepts_urls;
|
||||
gint i;
|
||||
|
||||
needs_term = gconf_client_get_bool (client, DEFAULT_APPS_KEY_HELP_VIEWER_NEEDS_TERM, &error);
|
||||
if (error) {
|
||||
/* hp will shoot me -- I'll do this later. */
|
||||
return;
|
||||
}
|
||||
accepts_urls = gconf_client_get_bool (client, DEFAULT_APPS_KEY_HELP_VIEWER_ACCEPTS_URLS, &error);
|
||||
if (error) {
|
||||
return;
|
||||
}
|
||||
help_viewer = gconf_client_get_string (client, DEFAULT_APPS_KEY_HELP_VIEWER_EXEC, &error);
|
||||
if (error) {
|
||||
return;
|
||||
}
|
||||
|
||||
gtk_toggle_button_set_active (GTK_TOGGLE_BUTTON (WID ("help_custom_terminal_toggle")), needs_term);
|
||||
gtk_toggle_button_set_active (GTK_TOGGLE_BUTTON (WID ("help_custom_url_toggle")), accepts_urls);
|
||||
gtk_entry_set_text (GTK_ENTRY (WID ("help_custom_command_entry")), help_viewer);
|
||||
|
||||
for (i = 0; i < G_N_ELEMENTS (possible_help_viewers); i++ ) {
|
||||
if (possible_help_viewers[i].in_path == FALSE)
|
||||
continue;
|
||||
|
||||
if (help_viewer && strcmp (help_viewer, possible_help_viewers[i].executable_name) == 0 &&
|
||||
needs_term == possible_help_viewers[i].needs_term &&
|
||||
accepts_urls == possible_help_viewers[i].accepts_urls) {
|
||||
gtk_entry_set_text (GTK_ENTRY (WID ("help_select_combo_entry")),
|
||||
_(possible_help_viewers[i].name));
|
||||
gtk_toggle_button_set_active (GTK_TOGGLE_BUTTON (WID ("help_custom_radio")), TRUE);
|
||||
gtk_toggle_button_set_active (GTK_TOGGLE_BUTTON (WID ("help_select_radio")), TRUE);
|
||||
g_free (help_viewer);
|
||||
return;
|
||||
}
|
||||
}
|
||||
gtk_toggle_button_set_active (GTK_TOGGLE_BUTTON (WID ("help_select_radio")), TRUE);
|
||||
gtk_toggle_button_set_active (GTK_TOGGLE_BUTTON (WID ("help_custom_radio")), TRUE);
|
||||
g_free (help_viewer);
|
||||
}
|
||||
|
||||
static void
|
||||
help_setup_custom (GtkWidget *entry,
|
||||
GladeXML *dialog)
|
||||
{
|
||||
gint i;
|
||||
const gchar *help_viewer = gtk_entry_get_text (GTK_ENTRY (entry));
|
||||
|
||||
for (i = 0; i < G_N_ELEMENTS (possible_help_viewers); i++ ) {
|
||||
if (! strcmp (_(possible_help_viewers[i].name), help_viewer)) {
|
||||
gtk_toggle_button_set_active (GTK_TOGGLE_BUTTON (WID ("help_custom_terminal_toggle")),
|
||||
possible_help_viewers[i].needs_term);
|
||||
gtk_toggle_button_set_active (GTK_TOGGLE_BUTTON (WID ("help_custom_url_toggle")),
|
||||
possible_help_viewers[i].accepts_urls);
|
||||
gtk_entry_set_text (GTK_ENTRY (WID ("help_custom_command_entry")),
|
||||
possible_help_viewers[i].executable_name);
|
||||
return;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
static void
|
||||
read_terminal (GConfClient *client,
|
||||
|
@ -637,7 +549,6 @@ value_changed_cb (GConfClient *client,
|
|||
if (strncmp (key, DEFAULT_APPS_KEY_MAILER_PATH, strlen (DEFAULT_APPS_KEY_MAILER_PATH)) == 0) {
|
||||
gconf_client_set_bool (client, DEFAULT_APPS_KEY_MAILER_PATH"/enabled", TRUE, NULL);
|
||||
} else if (strncmp (key, DEFAULT_APPS_KEY_BROWSER_PATH, strlen (DEFAULT_APPS_KEY_BROWSER_PATH)) == 0) {
|
||||
} else if (strncmp (key, DEFAULT_APPS_KEY_HELP_VIEWER_PATH, strlen (DEFAULT_APPS_KEY_HELP_VIEWER_PATH)) == 0) {
|
||||
} else if (strncmp (key, DEFAULT_APPS_KEY_TERMINAL_PATH, strlen (DEFAULT_APPS_KEY_TERMINAL_PATH)) == 0) {
|
||||
}
|
||||
}
|
||||
|
@ -648,9 +559,7 @@ dialog_response (GtkDialog *widget,
|
|||
GladeXML *dialog)
|
||||
{
|
||||
if (response_id == GTK_RESPONSE_HELP)
|
||||
capplet_help (GTK_WINDOW (widget),
|
||||
"wgoscustlookandfeel.xml",
|
||||
"goscustdoc-2");
|
||||
capplet_help (GTK_WINDOW (widget), "wgoscustlookandfeel.xml", "goscustdoc-2");
|
||||
else
|
||||
gtk_main_quit ();
|
||||
}
|
||||
|
@ -668,7 +577,7 @@ create_dialog (GConfClient *client)
|
|||
|
||||
/* Editors page */
|
||||
for (li = text_editors; li; li = li->next) {
|
||||
strings = g_list_append (strings, ((GnomeVFSMimeApplication *)li->data)->name);
|
||||
strings = g_list_append (strings, _(((GnomeVFSMimeApplication *)li->data)->name));
|
||||
}
|
||||
if (strings) {
|
||||
/* We have default editors */
|
||||
|
@ -761,37 +670,6 @@ create_dialog (GConfClient *client)
|
|||
WID ("mail_custom_vbox"));
|
||||
|
||||
read_mailer (client, dialog);
|
||||
/* Help page */
|
||||
|
||||
for (i = 0; i < G_N_ELEMENTS (possible_help_viewers); i++ ) {
|
||||
if (possible_help_viewers[i].in_path)
|
||||
strings = g_list_append (strings, _(possible_help_viewers[i].name));
|
||||
}
|
||||
if (strings) {
|
||||
/* We have default help viewers */
|
||||
gtk_combo_set_popdown_strings (GTK_COMBO(WID ("help_select_combo")), strings);
|
||||
g_list_free (strings);
|
||||
strings = NULL;
|
||||
} else {
|
||||
/* No default help viewers */
|
||||
gtk_widget_set_sensitive (WID ("help_select_radio"), FALSE);
|
||||
}
|
||||
|
||||
/* Source of command string */
|
||||
g_object_set_data (G_OBJECT (WID ("help_select_radio")), "entry", WID ("help_select_combo_entry"));
|
||||
/* Source of command string */
|
||||
g_object_set_data (G_OBJECT (WID ("help_custom_radio")), "entry", WID ("help_custom_command_entry"));
|
||||
|
||||
g_signal_connect (G_OBJECT (WID ("help_select_combo_entry")),
|
||||
"changed", (GCallback) help_setup_custom,
|
||||
dialog);
|
||||
g_signal_connect (G_OBJECT (WID ("help_select_radio")),
|
||||
"toggled", (GCallback) generic_guard,
|
||||
WID ("help_select_combo"));
|
||||
g_signal_connect (G_OBJECT (WID ("help_custom_radio")),
|
||||
"toggled", (GCallback) generic_guard,
|
||||
WID ("help_custom_vbox"));
|
||||
read_help_viewer (client, dialog);
|
||||
|
||||
|
||||
/* Terminal */
|
||||
|
@ -866,7 +744,6 @@ main (int argc, char **argv)
|
|||
client = gconf_client_get_default ();
|
||||
|
||||
gconf_client_add_dir (client, "/desktop/gnome/applications/browser", GCONF_CLIENT_PRELOAD_ONELEVEL, NULL);
|
||||
gconf_client_add_dir (client, "/desktop/gnome/applications/help_viewer", GCONF_CLIENT_PRELOAD_ONELEVEL, NULL);
|
||||
gconf_client_add_dir (client, "/desktop/gnome/applications/terminal", GCONF_CLIENT_PRELOAD_ONELEVEL, NULL);
|
||||
|
||||
if (get_legacy) {
|
||||
|
|
|
@ -857,291 +857,6 @@
|
|||
</packing>
|
||||
</child>
|
||||
|
||||
<child>
|
||||
<widget class="GtkFrame" id="help_frame">
|
||||
<property name="border_width">12</property>
|
||||
<property name="label_xalign">0</property>
|
||||
<property name="label_yalign">0.5</property>
|
||||
<property name="shadow_type">GTK_SHADOW_NONE</property>
|
||||
|
||||
<child>
|
||||
<widget class="GtkTable" id="table3">
|
||||
<property name="border_width">4</property>
|
||||
<property name="visible">True</property>
|
||||
<property name="n_rows">2</property>
|
||||
<property name="n_columns">2</property>
|
||||
<property name="homogeneous">False</property>
|
||||
<property name="row_spacing">16</property>
|
||||
<property name="column_spacing">4</property>
|
||||
|
||||
<child>
|
||||
<widget class="GtkRadioButton" id="help_select_radio">
|
||||
<property name="visible">True</property>
|
||||
<property name="can_focus">True</property>
|
||||
<property name="label" translatable="yes">_Select a Help Browser:</property>
|
||||
<property name="use_underline">True</property>
|
||||
<property name="relief">GTK_RELIEF_NORMAL</property>
|
||||
<property name="active">False</property>
|
||||
<property name="inconsistent">False</property>
|
||||
<property name="draw_indicator">True</property>
|
||||
</widget>
|
||||
<packing>
|
||||
<property name="left_attach">0</property>
|
||||
<property name="right_attach">1</property>
|
||||
<property name="top_attach">0</property>
|
||||
<property name="bottom_attach">1</property>
|
||||
<property name="x_options">fill</property>
|
||||
<property name="y_options"></property>
|
||||
</packing>
|
||||
</child>
|
||||
|
||||
<child>
|
||||
<widget class="GtkCombo" id="help_select_combo">
|
||||
<property name="visible">True</property>
|
||||
<property name="sensitive">False</property>
|
||||
<property name="value_in_list">False</property>
|
||||
<property name="allow_empty">True</property>
|
||||
<property name="case_sensitive">False</property>
|
||||
<property name="enable_arrow_keys">True</property>
|
||||
<property name="enable_arrows_always">False</property>
|
||||
|
||||
<child internal-child="entry">
|
||||
<widget class="GtkEntry" id="help_select_combo_entry">
|
||||
<property name="visible">True</property>
|
||||
<property name="can_focus">True</property>
|
||||
<property name="editable">False</property>
|
||||
<property name="visibility">True</property>
|
||||
<property name="max_length">0</property>
|
||||
<property name="text" translatable="yes"></property>
|
||||
<property name="has_frame">True</property>
|
||||
<property name="invisible_char" translatable="yes">*</property>
|
||||
<property name="activates_default">False</property>
|
||||
</widget>
|
||||
</child>
|
||||
|
||||
<child internal-child="list">
|
||||
<widget class="GtkList" id="convertwidget7">
|
||||
<property name="visible">True</property>
|
||||
<property name="selection_mode">GTK_SELECTION_BROWSE</property>
|
||||
|
||||
<child>
|
||||
<widget class="GtkListItem" id="convertwidget8">
|
||||
<property name="visible">True</property>
|
||||
|
||||
<child>
|
||||
<widget class="GtkLabel" id="convertwidget9">
|
||||
<property name="visible">True</property>
|
||||
<property name="label" translatable="yes"></property>
|
||||
<property name="use_underline">False</property>
|
||||
<property name="use_markup">False</property>
|
||||
<property name="justify">GTK_JUSTIFY_LEFT</property>
|
||||
<property name="wrap">False</property>
|
||||
<property name="selectable">False</property>
|
||||
<property name="xalign">0</property>
|
||||
<property name="yalign">0.5</property>
|
||||
<property name="xpad">0</property>
|
||||
<property name="ypad">0</property>
|
||||
</widget>
|
||||
</child>
|
||||
</widget>
|
||||
</child>
|
||||
</widget>
|
||||
</child>
|
||||
</widget>
|
||||
<packing>
|
||||
<property name="left_attach">1</property>
|
||||
<property name="right_attach">2</property>
|
||||
<property name="top_attach">0</property>
|
||||
<property name="bottom_attach">1</property>
|
||||
<property name="y_options"></property>
|
||||
</packing>
|
||||
</child>
|
||||
|
||||
<child>
|
||||
<widget class="GtkVBox" id="help_custom_vbox">
|
||||
<property name="visible">True</property>
|
||||
<property name="sensitive">False</property>
|
||||
<property name="homogeneous">False</property>
|
||||
<property name="spacing">4</property>
|
||||
|
||||
<child>
|
||||
<widget class="GtkHBox" id="hbox5">
|
||||
<property name="visible">True</property>
|
||||
<property name="homogeneous">False</property>
|
||||
<property name="spacing">4</property>
|
||||
|
||||
<child>
|
||||
<widget class="GtkLabel" id="label12">
|
||||
<property name="visible">True</property>
|
||||
<property name="label" translatable="yes">Co_mmand:</property>
|
||||
<property name="use_underline">True</property>
|
||||
<property name="use_markup">False</property>
|
||||
<property name="justify">GTK_JUSTIFY_CENTER</property>
|
||||
<property name="wrap">False</property>
|
||||
<property name="selectable">False</property>
|
||||
<property name="xalign">0.5</property>
|
||||
<property name="yalign">0.5</property>
|
||||
<property name="xpad">0</property>
|
||||
<property name="ypad">0</property>
|
||||
<property name="mnemonic_widget">help_custom_command_entry</property>
|
||||
</widget>
|
||||
<packing>
|
||||
<property name="padding">0</property>
|
||||
<property name="expand">False</property>
|
||||
<property name="fill">False</property>
|
||||
</packing>
|
||||
</child>
|
||||
|
||||
<child>
|
||||
<widget class="GtkEntry" id="help_custom_command_entry">
|
||||
<property name="visible">True</property>
|
||||
<property name="can_focus">True</property>
|
||||
<property name="editable">True</property>
|
||||
<property name="visibility">True</property>
|
||||
<property name="max_length">0</property>
|
||||
<property name="text" translatable="yes"></property>
|
||||
<property name="has_frame">True</property>
|
||||
<property name="invisible_char" translatable="yes">*</property>
|
||||
<property name="activates_default">False</property>
|
||||
</widget>
|
||||
<packing>
|
||||
<property name="padding">0</property>
|
||||
<property name="expand">True</property>
|
||||
<property name="fill">True</property>
|
||||
</packing>
|
||||
</child>
|
||||
</widget>
|
||||
<packing>
|
||||
<property name="padding">0</property>
|
||||
<property name="expand">True</property>
|
||||
<property name="fill">True</property>
|
||||
</packing>
|
||||
</child>
|
||||
|
||||
<child>
|
||||
<widget class="GtkCheckButton" id="help_custom_terminal_toggle">
|
||||
<property name="visible">True</property>
|
||||
<property name="can_focus">True</property>
|
||||
<property name="label" translatable="yes">Start in T_erminal</property>
|
||||
<property name="use_underline">True</property>
|
||||
<property name="relief">GTK_RELIEF_NORMAL</property>
|
||||
<property name="active">False</property>
|
||||
<property name="inconsistent">False</property>
|
||||
<property name="draw_indicator">True</property>
|
||||
</widget>
|
||||
<packing>
|
||||
<property name="padding">0</property>
|
||||
<property name="expand">False</property>
|
||||
<property name="fill">False</property>
|
||||
</packing>
|
||||
</child>
|
||||
|
||||
<child>
|
||||
<widget class="GtkCheckButton" id="help_custom_url_toggle">
|
||||
<property name="visible">True</property>
|
||||
<property name="can_focus">True</property>
|
||||
<property name="label" translatable="yes">Acce_pts URLs</property>
|
||||
<property name="use_underline">True</property>
|
||||
<property name="relief">GTK_RELIEF_NORMAL</property>
|
||||
<property name="active">False</property>
|
||||
<property name="inconsistent">False</property>
|
||||
<property name="draw_indicator">True</property>
|
||||
</widget>
|
||||
<packing>
|
||||
<property name="padding">0</property>
|
||||
<property name="expand">False</property>
|
||||
<property name="fill">False</property>
|
||||
</packing>
|
||||
</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>
|
||||
<property name="x_options">fill</property>
|
||||
<property name="y_options">fill</property>
|
||||
</packing>
|
||||
</child>
|
||||
|
||||
<child>
|
||||
<widget class="GtkAlignment" id="alignment3">
|
||||
<property name="visible">True</property>
|
||||
<property name="xalign">0.5</property>
|
||||
<property name="yalign">0</property>
|
||||
<property name="xscale">1</property>
|
||||
<property name="yscale">0</property>
|
||||
|
||||
<child>
|
||||
<widget class="GtkRadioButton" id="help_custom_radio">
|
||||
<property name="visible">True</property>
|
||||
<property name="can_focus">True</property>
|
||||
<property name="label" translatable="yes">C_ustom Help Browser:</property>
|
||||
<property name="use_underline">True</property>
|
||||
<property name="relief">GTK_RELIEF_NORMAL</property>
|
||||
<property name="active">False</property>
|
||||
<property name="inconsistent">False</property>
|
||||
<property name="draw_indicator">True</property>
|
||||
<property name="group">help_select_radio</property>
|
||||
</widget>
|
||||
</child>
|
||||
</widget>
|
||||
<packing>
|
||||
<property name="left_attach">0</property>
|
||||
<property name="right_attach">1</property>
|
||||
<property name="top_attach">1</property>
|
||||
<property name="bottom_attach">2</property>
|
||||
<property name="x_options">fill</property>
|
||||
<property name="y_options">fill</property>
|
||||
</packing>
|
||||
</child>
|
||||
</widget>
|
||||
</child>
|
||||
|
||||
<child>
|
||||
<widget class="GtkLabel" id="label12">
|
||||
<property name="visible">True</property>
|
||||
<property name="label" translatable="yes">Default Help Browser</property>
|
||||
<property name="use_underline">False</property>
|
||||
<property name="use_markup">False</property>
|
||||
<property name="justify">GTK_JUSTIFY_LEFT</property>
|
||||
<property name="wrap">False</property>
|
||||
<property name="selectable">False</property>
|
||||
<property name="xalign">0.5</property>
|
||||
<property name="yalign">0.5</property>
|
||||
<property name="xpad">0</property>
|
||||
<property name="ypad">0</property>
|
||||
</widget>
|
||||
<packing>
|
||||
<property name="type">label_item</property>
|
||||
</packing>
|
||||
</child>
|
||||
</widget>
|
||||
<packing>
|
||||
<property name="tab_expand">False</property>
|
||||
<property name="tab_fill">True</property>
|
||||
</packing>
|
||||
</child>
|
||||
|
||||
<child>
|
||||
<widget class="GtkLabel" id="label3">
|
||||
<property name="visible">True</property>
|
||||
<property name="label" translatable="yes">Help Browser</property>
|
||||
<property name="use_underline">True</property>
|
||||
<property name="use_markup">False</property>
|
||||
<property name="justify">GTK_JUSTIFY_CENTER</property>
|
||||
<property name="wrap">False</property>
|
||||
<property name="selectable">False</property>
|
||||
<property name="xalign">0.5</property>
|
||||
<property name="yalign">0.5</property>
|
||||
<property name="xpad">0</property>
|
||||
<property name="ypad">0</property>
|
||||
</widget>
|
||||
<packing>
|
||||
<property name="type">tab</property>
|
||||
</packing>
|
||||
</child>
|
||||
|
||||
<child>
|
||||
<widget class="GtkFrame" id="frame5">
|
||||
<property name="border_width">12</property>
|
||||
|
|
|
@ -17,6 +17,7 @@ capplets/common/file-transfer-dialog.c
|
|||
capplets/common/gconf-property-editor.c
|
||||
capplets/default-applications/default-applications.desktop.in
|
||||
capplets/default-applications/gnome-default-applications-properties.c
|
||||
capplets/default-applications/gnome-default-applications-properties-structs.c
|
||||
capplets/default-applications/gnome-default-applications-properties.glade
|
||||
capplets/desktop-links/Accessibility.directory.in.in
|
||||
capplets/desktop-links/Advanced.directory.in.in
|
||||
|
|
Loading…
Add table
Reference in a new issue