mirror of
https://gitlab.gnome.org/GNOME/glade.git
synced 2025-07-18 00:03:44 -04:00
Compare commits
3 Commits
b74403c139
...
0c430d1e09
Author | SHA1 | Date | |
---|---|---|---|
|
0c430d1e09 | ||
|
508379bd4a | ||
|
19566cf3cf |
@ -151,23 +151,39 @@ G_GNUC_END_IGNORE_DEPRECATIONS
|
|||||||
if (size > -1)
|
if (size > -1)
|
||||||
glade_widget_property_set (glade_widget_get_from_gobject (child),
|
glade_widget_property_set (glade_widget_get_from_gobject (child),
|
||||||
"size", size);
|
"size", size);
|
||||||
|
|
||||||
|
if (GTK_IS_FILE_CHOOSER_DIALOG (object)) {
|
||||||
|
GtkFileChooserAction action = gtk_file_chooser_get_action (GTK_FILE_CHOOSER (GTK_DIALOG (object)));
|
||||||
|
switch (action) {
|
||||||
|
case GTK_FILE_CHOOSER_ACTION_OPEN:
|
||||||
|
gtk_dialog_add_button (GTK_DIALOG (object), _("_Open"), GTK_RESPONSE_OK); break;
|
||||||
|
case GTK_FILE_CHOOSER_ACTION_SAVE:
|
||||||
|
gtk_dialog_add_button (GTK_DIALOG (object), _("_Save"), GTK_RESPONSE_OK); break;
|
||||||
|
case GTK_FILE_CHOOSER_ACTION_SELECT_FOLDER:
|
||||||
|
gtk_dialog_add_button (GTK_DIALOG (object), _("_Select"), GTK_RESPONSE_OK); break;
|
||||||
|
case GTK_FILE_CHOOSER_ACTION_CREATE_FOLDER:
|
||||||
|
gtk_dialog_add_button (GTK_DIALOG (object), _("_Create"), GTK_RESPONSE_OK); break;
|
||||||
|
}
|
||||||
|
gtk_dialog_add_button (GTK_DIALOG (object), _("_Cancel"), GTK_RESPONSE_CANCEL);
|
||||||
|
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Only set these on the original create. */
|
/* Only set these on the original create. */
|
||||||
if (reason == GLADE_CREATE_USER)
|
if (reason == GLADE_CREATE_USER)
|
||||||
{
|
{
|
||||||
/* HIG compliant spacing defaults on dialogs */
|
/* HIG complient spacing defaults on dialogs */
|
||||||
glade_widget_property_set (vbox_widget, "spacing", 2);
|
glade_widget_property_set (vbox_widget, "spacing", 2);
|
||||||
|
glade_widget_property_set (vbox_widget, "size", 2);
|
||||||
if (GTK_IS_ABOUT_DIALOG (object) ||
|
|
||||||
GTK_IS_FILE_CHOOSER_DIALOG (object))
|
|
||||||
glade_widget_property_set (vbox_widget, "size", 3);
|
|
||||||
else
|
|
||||||
glade_widget_property_set (vbox_widget, "size", 2);
|
|
||||||
|
|
||||||
glade_widget_property_set (actionarea_widget, "size", 2);
|
glade_widget_property_set (actionarea_widget, "size", 2);
|
||||||
glade_widget_property_set (actionarea_widget, "layout-style",
|
glade_widget_property_set (actionarea_widget, "layout-style",
|
||||||
GTK_BUTTONBOX_END);
|
GTK_BUTTONBOX_END);
|
||||||
|
|
||||||
|
/* Do not use action areas for file choosers, they have their buttons in the header bar */
|
||||||
|
if (GTK_IS_FILE_CHOOSER_DIALOG (object)) {
|
||||||
|
glade_widget_property_set (actionarea_widget, "size", 0);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
16
po/es.po
16
po/es.po
@ -15,7 +15,7 @@ msgid ""
|
|||||||
msgstr ""
|
msgstr ""
|
||||||
"Project-Id-Version: glade3.master\n"
|
"Project-Id-Version: glade3.master\n"
|
||||||
"Report-Msgid-Bugs-To: https://gitlab.gnome.org/GNOME/glade/issues\n"
|
"Report-Msgid-Bugs-To: https://gitlab.gnome.org/GNOME/glade/issues\n"
|
||||||
"POT-Creation-Date: 2023-04-09 05:51+0000\n"
|
"POT-Creation-Date: 2023-07-19 14:09+0000\n"
|
||||||
"PO-Revision-Date: 2023-07-19 16:06+0200\n"
|
"PO-Revision-Date: 2023-07-19 16:06+0200\n"
|
||||||
"Last-Translator: Daniel Mustieles García <daniel.mustieles@gmail.com>\n"
|
"Last-Translator: Daniel Mustieles García <daniel.mustieles@gmail.com>\n"
|
||||||
"Language-Team: Spanish - Spain <gnome-es-list@gnome.org>\n"
|
"Language-Team: Spanish - Spain <gnome-es-list@gnome.org>\n"
|
||||||
@ -2392,7 +2392,7 @@ msgstr "Emblemas"
|
|||||||
|
|
||||||
#: gladeui/icon-naming-spec.c:48
|
#: gladeui/icon-naming-spec.c:48
|
||||||
msgid "Emoticons"
|
msgid "Emoticons"
|
||||||
msgstr "Emoticonos"
|
msgstr "Emojis"
|
||||||
|
|
||||||
#: gladeui/icon-naming-spec.c:50
|
#: gladeui/icon-naming-spec.c:50
|
||||||
msgid "International"
|
msgid "International"
|
||||||
@ -5151,11 +5151,11 @@ msgstr "Escritura vertical"
|
|||||||
|
|
||||||
#: plugins/gtk+/gtk+.xml:1464
|
#: plugins/gtk+/gtk+.xml:1464
|
||||||
msgid "Emoji Support"
|
msgid "Emoji Support"
|
||||||
msgstr "Soporte de emoticonos"
|
msgstr "Soporte de emojis"
|
||||||
|
|
||||||
#: plugins/gtk+/gtk+.xml:1466
|
#: plugins/gtk+/gtk+.xml:1466
|
||||||
msgid "No Emoji Support"
|
msgid "No Emoji Support"
|
||||||
msgstr "No hay soporte de emoticonos"
|
msgstr "No hay soporte de emojis"
|
||||||
|
|
||||||
#: plugins/gtk+/gtk+.xml:1486
|
#: plugins/gtk+/gtk+.xml:1486
|
||||||
msgid "Primary Stock Icon"
|
msgid "Primary Stock Icon"
|
||||||
@ -8197,8 +8197,8 @@ msgstr "Widgets de WebKit2GTK+"
|
|||||||
#~ "\n"
|
#~ "\n"
|
||||||
#~ "To validate this email address open the following link\n"
|
#~ "To validate this email address open the following link\n"
|
||||||
#~ "\n"
|
#~ "\n"
|
||||||
#~ "https://people.gnome.org/~jpu/glade/registration.php?email="
|
#~ "https://people.gnome.org/~jpu/glade/registration.php?"
|
||||||
#~ "$email&validation_token=$new_validation_token\n"
|
#~ "email=$email&validation_token=$new_validation_token\n"
|
||||||
#~ "\n"
|
#~ "\n"
|
||||||
#~ "In case you want to change or update the survey, your current update "
|
#~ "In case you want to change or update the survey, your current update "
|
||||||
#~ "token is:\n"
|
#~ "token is:\n"
|
||||||
@ -8212,8 +8212,8 @@ msgstr "Widgets de WebKit2GTK+"
|
|||||||
#~ "\n"
|
#~ "\n"
|
||||||
#~ "Para validar esta dirección de correo-e abra el siguiente enlace\n"
|
#~ "Para validar esta dirección de correo-e abra el siguiente enlace\n"
|
||||||
#~ "\n"
|
#~ "\n"
|
||||||
#~ "https://people.gnome.org/~jpu/glade/registration.php?email="
|
#~ "https://people.gnome.org/~jpu/glade/registration.php?"
|
||||||
#~ "$email&validation_token=$new_validation_toke\n"
|
#~ "email=$email&validation_token=$new_validation_toke\n"
|
||||||
#~ "\n"
|
#~ "\n"
|
||||||
#~ "En caso de que quiera cambiar o actualizar la encuesta, su testigo de "
|
#~ "En caso de que quiera cambiar o actualizar la encuesta, su testigo de "
|
||||||
#~ "actualización es:\n"
|
#~ "actualización es:\n"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user