mirror of
https://gitlab.gnome.org/GNOME/glade.git
synced 2025-06-24 00:02:35 -04:00
Compare commits
57 Commits
master
...
GLADE_3_38
Author | SHA1 | Date | |
---|---|---|---|
|
152031927c | ||
|
947fe14794 | ||
|
8a70fd956c | ||
|
e594d44bdc | ||
|
93598cb037 | ||
|
36b3c71fc4 | ||
|
f855dae999 | ||
|
157b3563f7 | ||
|
e15c7641ae | ||
|
7b10c43cbe | ||
|
9b3f55387f | ||
|
5d552ffd03 | ||
|
1b1551efbb | ||
|
d1933b0f96 | ||
|
2e2475bb27 | ||
|
16bf89e112 | ||
|
9167d3e54d | ||
|
8b7d9e1600 | ||
|
d89597af91 | ||
|
e60b7cf162 | ||
|
4cd9fa1716 | ||
|
362e95362d | ||
|
e04a56706e | ||
|
7f9a36c1d9 | ||
|
08ca3fcb73 | ||
|
a2bc5811ed | ||
|
975d2e9dbc | ||
|
c2758d916d | ||
|
79fbfa1c85 | ||
|
5a6ea0dc7c | ||
|
8661b6ede9 | ||
|
30a63acd22 | ||
|
5cb337e230 | ||
|
920297f03a | ||
|
4142b6c78e | ||
|
f53b76224d | ||
|
f46f55aa6c | ||
|
8311e910dd | ||
|
94e2dae3d5 | ||
|
c68d6c88a1 | ||
|
0b331ff542 | ||
|
b3bf5b39b7 | ||
|
2e4875cbcf | ||
|
13f6903e1e | ||
|
aa70e86a18 | ||
|
95f29fd6fd | ||
|
c211966414 | ||
|
c2cf02f49c | ||
|
252be607c3 | ||
|
3a4a0c2488 | ||
|
dce9287ebe | ||
|
b74f14d17e | ||
|
e2865e629a | ||
|
c78e93a799 | ||
|
89a7867aa1 | ||
|
064b36cde3 | ||
|
df88ff54a2 |
@ -34,9 +34,9 @@ git format-patch HEAD^
|
|||||||
|
|
||||||
Coding Style
|
Coding Style
|
||||||
~~~~~~~~~~~~
|
~~~~~~~~~~~~
|
||||||
Code in Glade should follow the GNOME Programming Guidelines
|
Code in Glade should follow the GNU style of GNOME Programming Guidelines
|
||||||
(http://developer.gnome.org/doc/guides/programming-guidelines/),
|
(https://developer.gnome.org/programming-guidelines/stable/c-coding-style.html.en),
|
||||||
basically this means being consistent with the sorrounding code.
|
basically this means being consistent with the surrounding code.
|
||||||
The only exception is that we prefer having braces always on a new line
|
The only exception is that we prefer having braces always on a new line
|
||||||
e.g.:
|
e.g.:
|
||||||
|
|
||||||
|
112
NEWS
112
NEWS
@ -1,49 +1,117 @@
|
|||||||
============
|
============
|
||||||
Glade 3.37.0
|
Glade 3.38.2
|
||||||
============
|
============
|
||||||
|
|
||||||
- Build: Remove autotools (Iñigo Martínez)
|
- Fix windows compatibility issues
|
||||||
- Plugins: Added GJS plugin for JavaScript objects support (NEW gjs-1.0 dependency)
|
- Fix build against Python 3.9 (Jan Alexander Steffens)
|
||||||
- Issue #433: Implement survey using new backend at surveys.gnome.org
|
- Fix issue #355 "Make notification text selectable"
|
||||||
- Bump GTK dependency and toolkit target to 3.24
|
- Fix issue #53 "Can't choose a FileChooserDialog for a FileChooserButton"
|
||||||
- Webkit plugin: bump dependency to 2.28
|
- Fix issue #371 "Glade user survey not working (TLS error)"
|
||||||
- Build: use gtk-mac-integration only when creating bundle (Tom Schoonjans)
|
|
||||||
- Ignore locale when saving numeric values (Alberto Fanjul)
|
============
|
||||||
- Remove config for external builds (Alberto Fanjul)
|
Glade 3.38.1
|
||||||
- Associate application/x-gtk-builder with glade's .desktop file (Caolán McNamara)
|
============
|
||||||
- GladeProjectProperties: improve toolkit target version selection
|
|
||||||
- Python plugin: fix linking error
|
- Fix issue #471 "XML not updated after adding element"
|
||||||
- Plugins: Added GJS plugin for JavaScript objects support
|
- Fix issue #480 "version field not always updated in XML"
|
||||||
- Tests: add python and javascript test case
|
- Fix issue #474 "GtkLabel: setup text attribute issues"
|
||||||
- gtk: Add GtkScrolledWindow propagate-natural-width property (Corentin Noël)
|
- Fix issue #479 "Glade 3.36.0 segfaults when opening a file"
|
||||||
- GladeScrolledWindowEditor: Squeeze width/height properties in two columns
|
- Fix issue pasting widget with ctrl+v in GtkGrid
|
||||||
- Gtk plugin: add missing displayable values
|
|
||||||
- Webkit2gtk plugin: add missing displayable values and sandbox web view
|
Added/updated translations
|
||||||
|
|
||||||
|
- cs, courtesy of Marek Černocký
|
||||||
|
- de, courtesy of Stephan Woidowski
|
||||||
|
- es, courtesy of Daniel Mustieles
|
||||||
|
- eu, courtesy of Asier Sarasua Garmendia
|
||||||
|
- fr, courtesy of Thibault Martin
|
||||||
|
- gl, courtesy of Fran Dieguez
|
||||||
|
- hu, courtesy of Meskó Balázs
|
||||||
|
- id, courtesy of Kukuh Syafaat
|
||||||
|
- it, courtesy of Milo Casagrande
|
||||||
|
- lt, courtesy of Aurimas Černius
|
||||||
|
- pl, courtesy of Piotr Drąg
|
||||||
|
- pt_BR, courtesy of Rafael Fontenelle
|
||||||
|
- sl, courtesy of Matej Urbančič
|
||||||
|
- sv, courtesy of Anders Jonsson
|
||||||
|
- tr, courtesy of Emin Tufan Çetin
|
||||||
|
- uk, courtesy of Yuri Chornoivan
|
||||||
|
- zh_CN, courtesy of Mandy Wang
|
||||||
|
|
||||||
|
============
|
||||||
|
Glade 3.38.0
|
||||||
|
============
|
||||||
|
|
||||||
|
- Load template files as new GTypes and add them to "User templates" widget group automatically without the need of a catalog
|
||||||
|
- Added JavaScript widget support
|
||||||
|
- Use version data from gir to improve deprecation/target tests
|
||||||
|
- Implement survey using new backend at surveys.gnome.org
|
||||||
|
- Keep survey state in config file
|
||||||
|
- Associate with application/x-gtk-builder (Caolán McNamara)
|
||||||
|
- Project properties dialog improvements. (Use headerbar, stack and stach switcher, add warnings textview)
|
||||||
|
- Improve toolkit target version selection in project properties dialog
|
||||||
|
- Improve treemodel char data type handling
|
||||||
|
- Remove autotools (Iñigo Martínez)
|
||||||
|
- New gjs-1.0 1.64 dependency
|
||||||
|
- Bump Gtk dependency to 3.24
|
||||||
|
- Bump webkit2gtk dependency to 2.28
|
||||||
|
- Fixed all compiler/gir warnings
|
||||||
|
- Issue #385: GtkCellRendererText causes deprecated warnings for ghost properties
|
||||||
|
- Issue #444: show-emoji-icon is missing "minimum version"/since constraint
|
||||||
|
- Issue #367: Glade removes double/triple slashes from URLs
|
||||||
|
- Issue #452: GtkComboBox cell renderers editor is too hard to discover
|
||||||
|
- Issue #363: Toplevel windows are leaked when closing a project
|
||||||
|
- Issue #462: Crash when creating a new GtkAssistant and pressing it
|
||||||
|
- Issue #463: Specify file on command line
|
||||||
|
- Issue #461: Glade resets number of rows and columns in GtkGrid
|
||||||
|
- Issue #460: 3.37.0: test suite fails because glade uses incorrectly asserts in test units
|
||||||
- Issue #412: Fix inconsistent "top-level", "top level", "toplevel" spelling in translatable strings
|
- Issue #412: Fix inconsistent "top-level", "top level", "toplevel" spelling in translatable strings
|
||||||
- Issue #281: GladeProperty: Do not replace - with _
|
- Issue #281: GladeProperty: Do not replace - with _
|
||||||
- Issue #389: GladeProject: show message on invalid GtkBuilder file
|
- Issue #389: GladeProject: show message on invalid GtkBuilder file
|
||||||
- Issue #446: GladeGtkListBox: fix size request issue
|
- Issue #446: GladeGtkListBox: fix size request issue
|
||||||
- Issue #432: GladeStandarStock, GladeStandarStockImage: fix get_type() functions for introspection
|
- Issue #432: GladeStandarStock, GladeStandarStockImage: fix get_type() functions for introspection
|
||||||
- dtd: Make init-function an element, not an attribute (Adrien Plazas)
|
|
||||||
- Issue #447: GladeGtkWindow: Fix CSD support
|
- Issue #447: GladeGtkWindow: Fix CSD support
|
||||||
- Issue #456: Utils: use g_param_spec_uchar() for uchar types
|
- Issue #456: Utils: use g_param_spec_uchar() for uchar types
|
||||||
- Gtk plugin / GladeDataModel: Improve treemodel char data type handling
|
|
||||||
- Issue #459: Gtk catalog: add GtkRecentChooserMenu to Display group
|
- Issue #459: Gtk catalog: add GtkRecentChooserMenu to Display group
|
||||||
- Fixed all compiler/gir warnings
|
- Issue #433: Implement survey using new backend at surveys.gnome.org
|
||||||
|
- Build: use gtk-mac-integration only when creating bundle (Tom Schoonjans)
|
||||||
|
- Ignore locale when saving numeric values (Alberto Fanjul)
|
||||||
|
- Remove config for external builds (Alberto Fanjul)
|
||||||
|
- Python plugin: fix linking error
|
||||||
|
- Tests: add python and javascript test case
|
||||||
|
- gtk: Add GtkScrolledWindow propagate-natural-width property (Corentin Noël)
|
||||||
|
- GladeScrolledWindowEditor: Squeeze width/height properties in two columns
|
||||||
|
- Gtk plugin: add missing displayable values
|
||||||
|
- Webkit2gtk plugin: add missing displayable values and sandbox web view
|
||||||
|
- dtd: Make init-function an element, not an attribute (Adrien Plazas)
|
||||||
|
|
||||||
Added/updated translations
|
Added/updated translations
|
||||||
|
|
||||||
|
- ca, courtesy of Gil Forcada
|
||||||
|
- ca, courtesy of Miquel-Àngel Burgos i Fradeja
|
||||||
|
- cs, courtesy of Marek Černocký
|
||||||
|
- da, courtesy of Ask Hjorth Larsen
|
||||||
|
- da, courtesy of Last-Translator: scootergrisen
|
||||||
- de, courtesy of Tim Sabsch
|
- de, courtesy of Tim Sabsch
|
||||||
|
- en_GB, courtesy of Bruce Cowan
|
||||||
- es, courtesy of Daniel Mustieles
|
- es, courtesy of Daniel Mustieles
|
||||||
- fr, courtesy of Charles Monzat
|
- eu, courtesy of Asier Sarasua Garmendia
|
||||||
|
- fr, courtesy of Thibault Martin
|
||||||
|
- gl, courtesy of Fran Dieguez
|
||||||
|
- hi, courtesy of Last-Translator:Sunny Sharma
|
||||||
|
- hu, courtesy of Balázs Úr
|
||||||
- id, courtesy of Kukuh Syafaat
|
- id, courtesy of Kukuh Syafaat
|
||||||
- kk, courtesy of Baurzhan Muftakhidinov
|
- kk, courtesy of Baurzhan Muftakhidinov
|
||||||
|
- ko, courtesy of Changwoo Ryu
|
||||||
- lt, courtesy of Aurimas Černius
|
- lt, courtesy of Aurimas Černius
|
||||||
- pl, courtesy of Piotr Drąg
|
- pl, courtesy of Piotr Drąg
|
||||||
- pt_BR, courtesy of Rafael Fontenelle
|
- pt_BR, courtesy of Rafael Fontenelle
|
||||||
- ro, courtesy of Florentina Mușat
|
- ro, courtesy of Florentina Mușat
|
||||||
|
- sl, courtesy of Matej Urbančič
|
||||||
|
- sv, courtesy of Anders Jonsson
|
||||||
- tr, courtesy of Emin Tufan Çetin
|
- tr, courtesy of Emin Tufan Çetin
|
||||||
- uk, courtesy of Yuri Chornoivan
|
- uk, courtesy of Yuri Chornoivan
|
||||||
|
- zh_CN, courtesy of Mandy Wang
|
||||||
|
|
||||||
============
|
============
|
||||||
Glade 3.36.0
|
Glade 3.36.0
|
||||||
|
@ -49,6 +49,7 @@ Requirements
|
|||||||
|
|
||||||
Optional dependencies:
|
Optional dependencies:
|
||||||
|
|
||||||
|
* glib-networking plugins for TLS support (Needed for survey)
|
||||||
* libwebkit2gtk-4.0 - For Webkit plugin
|
* libwebkit2gtk-4.0 - For Webkit plugin
|
||||||
* python-gi - For Python plugin
|
* python-gi - For Python plugin
|
||||||
* libgjs - For JavaScript plugin
|
* libgjs - For JavaScript plugin
|
||||||
@ -59,7 +60,7 @@ Download sources from git and build using meson/ninja
|
|||||||
sudo apt install gcc meson libgtk-3-dev libxml2-dev libgirepository1.0-dev xsltproc
|
sudo apt install gcc meson libgtk-3-dev libxml2-dev libgirepository1.0-dev xsltproc
|
||||||
|
|
||||||
# Optional dependencies
|
# Optional dependencies
|
||||||
sudo apt install libgjs-dev libwebkit2gtk-4.0-dev python-gi-dev
|
sudo apt install libgjs-dev libwebkit2gtk-4.0-dev python-gi-dev glib-networking
|
||||||
|
|
||||||
# Clone the source repository or download tarball
|
# Clone the source repository or download tarball
|
||||||
git clone https://gitlab.gnome.org/GNOME/glade.git
|
git clone https://gitlab.gnome.org/GNOME/glade.git
|
||||||
|
@ -49,12 +49,42 @@
|
|||||||
<project_group>GNOME</project_group>
|
<project_group>GNOME</project_group>
|
||||||
<translation type="gettext">glade</translation>
|
<translation type="gettext">glade</translation>
|
||||||
<releases>
|
<releases>
|
||||||
<release version="3.37.0" date="2020-07-13" type="development">
|
<release version="3.38.2" date="2020-11-20">
|
||||||
<description>
|
<description>
|
||||||
<p>Glade 3.37.0 Development release!</p>
|
<p>Glade 3.38.2 release!</p>
|
||||||
|
<ul>
|
||||||
|
<li>Fixed windows compatibility issues.</li>
|
||||||
|
<li>Fix build against Python 3.9 (Jan Alexander Steffens)</li>
|
||||||
|
</ul>
|
||||||
|
</description>
|
||||||
|
<issues>
|
||||||
|
<issue url="https://gitlab.gnome.org/GNOME/glade/-/issues/355">Issue #355 "Make notification text selectable"</issue>
|
||||||
|
<issue url="https://gitlab.gnome.org/GNOME/glade/-/issues/53">Issue #53 "Can't choose a FileChooserDialog for a FileChooserButton"</issue>
|
||||||
|
<issue url="https://gitlab.gnome.org/GNOME/glade/-/issues/371">Issue #371 "Glade user survey not working (TLS error)"</issue>
|
||||||
|
</issues>
|
||||||
|
</release>
|
||||||
|
<release version="3.38.1" date="2020-10-04">
|
||||||
|
<description>
|
||||||
|
<p>Glade 3.38.1 release!</p>
|
||||||
|
<ul>
|
||||||
|
<li>Fixed various stability and functionality issues.</li>
|
||||||
|
<li>Updated translations.</li>
|
||||||
|
</ul>
|
||||||
|
</description>
|
||||||
|
<issues>
|
||||||
|
<issue url="https://gitlab.gnome.org/GNOME/glade/-/issues/471">Issue #471: XML not updated after adding element</issue>
|
||||||
|
<issue url="https://gitlab.gnome.org/GNOME/glade/-/issues/480">Issue #480: version field not always updated in XML</issue>
|
||||||
|
<issue url="https://gitlab.gnome.org/GNOME/glade/-/issues/474">Issue #474: GtkLabel: setup text attribute issues</issue>
|
||||||
|
<issue url="https://gitlab.gnome.org/GNOME/glade/-/issues/479">Issue #479: Glade 3.36.0 segfaults when opening a file</issue>
|
||||||
|
</issues>
|
||||||
|
</release>
|
||||||
|
<release version="3.38.0" date="2020-09-12">
|
||||||
|
<description>
|
||||||
|
<p>Glade 3.38.0 release!</p>
|
||||||
<ul>
|
<ul>
|
||||||
<li>Load template files as new GTypes and add them to "User templates" widget group automatically without the need of a catalog</li>
|
<li>Load template files as new GTypes and add them to "User templates" widget group automatically without the need of a catalog</li>
|
||||||
<li>Added JavaScript widget support</li>
|
<li>Added JavaScript widget support</li>
|
||||||
|
<li>Use version data from gir to improve deprecation/target tests</li>
|
||||||
<li>Implement survey using new backend at surveys.gnome.org</li>
|
<li>Implement survey using new backend at surveys.gnome.org</li>
|
||||||
<li>Keep survey state in config file</li>
|
<li>Keep survey state in config file</li>
|
||||||
<li>Associate with application/x-gtk-builder (Caolán McNamara)</li>
|
<li>Associate with application/x-gtk-builder (Caolán McNamara)</li>
|
||||||
@ -69,6 +99,9 @@
|
|||||||
</ul>
|
</ul>
|
||||||
</description>
|
</description>
|
||||||
<issues>
|
<issues>
|
||||||
|
<issue url="https://gitlab.gnome.org/GNOME/glade/-/issues/385">Issue #385: GtkCellRendererText causes deprecated warnings for ghost properties</issue>
|
||||||
|
<issue url="https://gitlab.gnome.org/GNOME/glade/-/issues/444">Issue #444: show-emoji-icon is missing "minimum version"/since constraint</issue>
|
||||||
|
<issue url="https://gitlab.gnome.org/GNOME/glade/-/issues/367">Issue #367: Glade removes double/triple slashes from URLs</issue>
|
||||||
<issue url="https://gitlab.gnome.org/GNOME/glade/-/issues/452">Issue #452: GtkComboBox cell renderers editor is too hard to discover</issue>
|
<issue url="https://gitlab.gnome.org/GNOME/glade/-/issues/452">Issue #452: GtkComboBox cell renderers editor is too hard to discover</issue>
|
||||||
<issue url="https://gitlab.gnome.org/GNOME/glade/-/issues/363">Issue #363: Toplevel windows are leaked when closing a project</issue>
|
<issue url="https://gitlab.gnome.org/GNOME/glade/-/issues/363">Issue #363: Toplevel windows are leaked when closing a project</issue>
|
||||||
<issue url="https://gitlab.gnome.org/GNOME/glade/-/issues/462">Issue #462: Crash when creating a new GtkAssistant and pressing it</issue>
|
<issue url="https://gitlab.gnome.org/GNOME/glade/-/issues/462">Issue #462: Crash when creating a new GtkAssistant and pressing it</issue>
|
||||||
|
@ -178,10 +178,10 @@ build_package_paths (void)
|
|||||||
# endif
|
# endif
|
||||||
|
|
||||||
if (!pixmaps_dir)
|
if (!pixmaps_dir)
|
||||||
pixmaps_dir = g_build_filename (prefix, "share", PACKAGE, "pixmaps", NULL);
|
pixmaps_dir = g_build_filename (prefix, "share", PACKAGE_NAME, "pixmaps", NULL);
|
||||||
|
|
||||||
catalogs_dir = g_build_filename (prefix, "share", PACKAGE, "catalogs", NULL);
|
catalogs_dir = g_build_filename (prefix, "share", PACKAGE_NAME, "catalogs", NULL);
|
||||||
modules_dir = g_build_filename (prefix, "lib", PACKAGE, "modules", NULL);
|
modules_dir = g_build_filename (prefix, "lib", PACKAGE_NAME, "modules", NULL);
|
||||||
locale_dir = g_build_filename (prefix, "share", "locale", NULL);
|
locale_dir = g_build_filename (prefix, "share", "locale", NULL);
|
||||||
bin_dir = g_build_filename (prefix, "bin", NULL);
|
bin_dir = g_build_filename (prefix, "bin", NULL);
|
||||||
lib_dir = g_build_filename (prefix, "lib", NULL);
|
lib_dir = g_build_filename (prefix, "lib", NULL);
|
||||||
|
@ -204,9 +204,7 @@ glade_editor_property_commit_common (GladeEditorProperty *eprop,
|
|||||||
if (glade_property_def_get_construct_only (priv->property_def))
|
if (glade_property_def_get_construct_only (priv->property_def))
|
||||||
{
|
{
|
||||||
gboolean focus_set = FALSE;
|
gboolean focus_set = FALSE;
|
||||||
gtk_container_foreach (GTK_CONTAINER (priv->input),
|
deepest_child_grab_focus (priv->input, &focus_set);
|
||||||
deepest_child_grab_focus,
|
|
||||||
&focus_set);
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -2951,7 +2949,7 @@ glade_eprop_object_populate_view_real (GtkTreeStore *model,
|
|||||||
|
|
||||||
widget_name = glade_widget_get_display_name (widget);
|
widget_name = glade_widget_get_display_name (widget);
|
||||||
if (parentless)
|
if (parentless)
|
||||||
good_type = good_type && !GLADE_WIDGET_ADAPTOR_IS_TOPLEVEL (adaptor);
|
good_type = good_type && GLADE_WIDGET_ADAPTOR_IS_TOPLEVEL (adaptor);
|
||||||
|
|
||||||
if (good_type || has_decendant)
|
if (good_type || has_decendant)
|
||||||
{
|
{
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
#include <winver.h>
|
#include <winver.h>
|
||||||
|
|
||||||
GLADE_ICON ICON "../data/icons/glade.ico"
|
GLADE_ICON ICON "@SOURCE_ROOT@/data/icons/glade.ico"
|
||||||
|
|
||||||
VS_VERSION_INFO VERSIONINFO
|
VS_VERSION_INFO VERSIONINFO
|
||||||
FILEVERSION @GLADE_MAJOR_VERSION@,@GLADE_MINOR_VERSION@,@GLADE_MICRO_VERSION@,0
|
FILEVERSION @GLADE_MAJOR_VERSION@,@GLADE_MINOR_VERSION@,@GLADE_MICRO_VERSION@,0
|
||||||
@ -15,7 +15,7 @@ VS_VERSION_INFO VERSIONINFO
|
|||||||
VALUE "CompanyName", "The GNOME Foundation"
|
VALUE "CompanyName", "The GNOME Foundation"
|
||||||
VALUE "FileDescription", "Glade Interface Designer @GLADE_MAJOR_VERSION@.@GLADE_MINOR_VERSION@.@GLADE_MICRO_VERSION@"
|
VALUE "FileDescription", "Glade Interface Designer @GLADE_MAJOR_VERSION@.@GLADE_MINOR_VERSION@.@GLADE_MICRO_VERSION@"
|
||||||
VALUE "FileVersion", "@GLADE_MAJOR_VERSION@.@GLADE_MINOR_VERSION@.@GLADE_MICRO_VERSION@.0"
|
VALUE "FileVersion", "@GLADE_MAJOR_VERSION@.@GLADE_MINOR_VERSION@.@GLADE_MICRO_VERSION@.0"
|
||||||
VALUE "LegalCopyright", "Copyright © 2007 The GNOME Foundation"
|
VALUE "LegalCopyright", "Copyright 2007 The GNOME Foundation"
|
||||||
VALUE "OriginalFilename", "glade-previewer.exe"
|
VALUE "OriginalFilename", "glade-previewer.exe"
|
||||||
VALUE "ProductName", "Glade Interface Designer"
|
VALUE "ProductName", "Glade Interface Designer"
|
||||||
VALUE "ProductVersion", "@GLADE_MAJOR_VERSION@.@GLADE_MINOR_VERSION@.@GLADE_MICRO_VERSION@.0"
|
VALUE "ProductVersion", "@GLADE_MAJOR_VERSION@.@GLADE_MINOR_VERSION@.@GLADE_MICRO_VERSION@.0"
|
||||||
|
@ -129,7 +129,7 @@ typedef struct
|
|||||||
GtkWidget *css_filechooser;
|
GtkWidget *css_filechooser;
|
||||||
GtkWidget *css_checkbutton;
|
GtkWidget *css_checkbutton;
|
||||||
|
|
||||||
GHashTable *target_radios;
|
GHashTable *target_combos;
|
||||||
|
|
||||||
/* License */
|
/* License */
|
||||||
GtkComboBox *license_comboboxtext;
|
GtkComboBox *license_comboboxtext;
|
||||||
@ -169,7 +169,7 @@ glade_project_properties_init (GladeProjectProperties *properties)
|
|||||||
{
|
{
|
||||||
GladeProjectPropertiesPrivate *priv = GLADE_PROJECT_PROPERTIES_PRIVATE(properties);
|
GladeProjectPropertiesPrivate *priv = GLADE_PROJECT_PROPERTIES_PRIVATE(properties);
|
||||||
|
|
||||||
priv->target_radios = g_hash_table_new_full (g_str_hash, g_str_equal,
|
priv->target_combos = g_hash_table_new_full (g_str_hash, g_str_equal,
|
||||||
g_free, NULL);
|
g_free, NULL);
|
||||||
|
|
||||||
gtk_widget_init_template (GTK_WIDGET (properties));
|
gtk_widget_init_template (GTK_WIDGET (properties));
|
||||||
@ -262,7 +262,7 @@ glade_project_properties_finalize (GObject *object)
|
|||||||
GladeProjectProperties *properties = GLADE_PROJECT_PROPERTIES (object);
|
GladeProjectProperties *properties = GLADE_PROJECT_PROPERTIES (object);
|
||||||
GladeProjectPropertiesPrivate *priv = GLADE_PROJECT_PROPERTIES_PRIVATE(properties);
|
GladeProjectPropertiesPrivate *priv = GLADE_PROJECT_PROPERTIES_PRIVATE(properties);
|
||||||
|
|
||||||
g_hash_table_destroy (priv->target_radios);
|
g_hash_table_destroy (priv->target_combos);
|
||||||
|
|
||||||
G_OBJECT_CLASS (glade_project_properties_parent_class)->finalize (object);
|
G_OBJECT_CLASS (glade_project_properties_parent_class)->finalize (object);
|
||||||
}
|
}
|
||||||
@ -289,7 +289,7 @@ combobox_populate_from_catalog (GladeProjectProperties *properties,
|
|||||||
version->major,
|
version->major,
|
||||||
version->minor);
|
version->minor);
|
||||||
|
|
||||||
gtk_combo_box_text_insert_text (GTK_COMBO_BOX_TEXT(combobox), position, name);
|
gtk_combo_box_text_insert (GTK_COMBO_BOX_TEXT(combobox), position, name, name);
|
||||||
if (major == version->major && minor == version->minor)
|
if (major == version->major && minor == version->minor)
|
||||||
gtk_combo_box_set_active (GTK_COMBO_BOX(combobox), position);
|
gtk_combo_box_set_active (GTK_COMBO_BOX(combobox), position);
|
||||||
|
|
||||||
@ -299,7 +299,7 @@ combobox_populate_from_catalog (GladeProjectProperties *properties,
|
|||||||
(gchar *) glade_catalog_get_name (catalog));
|
(gchar *) glade_catalog_get_name (catalog));
|
||||||
}
|
}
|
||||||
|
|
||||||
g_hash_table_insert (priv->target_radios,
|
g_hash_table_insert (priv->target_combos,
|
||||||
g_strdup (glade_catalog_get_name (catalog)),
|
g_strdup (glade_catalog_get_name (catalog)),
|
||||||
combobox);
|
combobox);
|
||||||
}
|
}
|
||||||
@ -1107,19 +1107,19 @@ project_targets_changed (GladeProject *project,
|
|||||||
GladeCatalog *catalog = list->data;
|
GladeCatalog *catalog = list->data;
|
||||||
GtkComboBox *combobox;
|
GtkComboBox *combobox;
|
||||||
gint minor, major;
|
gint minor, major;
|
||||||
|
const gchar *name;
|
||||||
|
|
||||||
/* Skip if theres only one option */
|
/* Skip if theres only one option */
|
||||||
if (g_list_length (glade_catalog_get_targets (catalog)) <= 1)
|
if (g_list_length (glade_catalog_get_targets (catalog)) <= 1)
|
||||||
continue;
|
continue;
|
||||||
|
|
||||||
/* Fetch the version for this project */
|
/* Fetch the version for this project */
|
||||||
glade_project_get_target_version (priv->project,
|
name = glade_catalog_get_name (catalog);
|
||||||
glade_catalog_get_name (catalog),
|
glade_project_get_target_version (priv->project, name, &major, &minor);
|
||||||
&major, &minor);
|
|
||||||
|
|
||||||
/* Fetch the radios for this catalog */
|
/* Fetch the radios for this catalog */
|
||||||
if (priv->target_radios &&
|
if (priv->target_combos &&
|
||||||
(combobox = g_hash_table_lookup (priv->target_radios, glade_catalog_get_name (catalog))) != NULL)
|
(combobox = g_hash_table_lookup (priv->target_combos, name)) != NULL)
|
||||||
{
|
{
|
||||||
g_autofree gchar *id = NULL;
|
g_autofree gchar *id = NULL;
|
||||||
id = g_strdup_printf ("%d.%d", major, minor);
|
id = g_strdup_printf ("%d.%d", major, minor);
|
||||||
|
@ -38,7 +38,6 @@
|
|||||||
#include <string.h>
|
#include <string.h>
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#include <glib/gi18n-lib.h>
|
#include <glib/gi18n-lib.h>
|
||||||
#include <locale.h>
|
|
||||||
|
|
||||||
#include "glade.h"
|
#include "glade.h"
|
||||||
#include "glade-widget.h"
|
#include "glade-widget.h"
|
||||||
@ -458,34 +457,32 @@ glade_property_def_make_string_from_objects (GladePropertyDef *
|
|||||||
return string;
|
return string;
|
||||||
}
|
}
|
||||||
|
|
||||||
static locale_t
|
|
||||||
get_C_locale (void)
|
|
||||||
{
|
|
||||||
static gsize initialized = FALSE;
|
|
||||||
static locale_t C_locale = NULL;
|
|
||||||
|
|
||||||
if (g_once_init_enter (&initialized))
|
|
||||||
{
|
|
||||||
C_locale = newlocale (LC_ALL_MASK, "C", NULL);
|
|
||||||
g_once_init_leave (&initialized, TRUE);
|
|
||||||
}
|
|
||||||
|
|
||||||
return C_locale;
|
|
||||||
}
|
|
||||||
|
|
||||||
static gchar *
|
static gchar *
|
||||||
glade_dtostr (double number, gdouble epsilon)
|
glade_dtostr (double number, gdouble epsilon)
|
||||||
{
|
{
|
||||||
char *str = g_malloc (G_ASCII_DTOSTR_BUF_SIZE);
|
char *str = g_malloc (G_ASCII_DTOSTR_BUF_SIZE + 1);
|
||||||
|
char real_number[G_ASCII_DTOSTR_BUF_SIZE + 1];
|
||||||
|
const gchar *decimal = NULL;
|
||||||
int i;
|
int i;
|
||||||
|
|
||||||
for (i = 0; i <= 20; i++)
|
g_ascii_dtostr (str, G_ASCII_DTOSTR_BUF_SIZE, number);
|
||||||
|
g_ascii_dtostr (real_number, G_ASCII_DTOSTR_BUF_SIZE, number);
|
||||||
|
decimal = g_strstr_len (real_number, G_ASCII_DTOSTR_BUF_SIZE, ".");
|
||||||
|
|
||||||
|
if (!decimal)
|
||||||
|
return str;
|
||||||
|
|
||||||
|
decimal++;
|
||||||
|
|
||||||
|
for (i = 1; i <= 20; i++)
|
||||||
{
|
{
|
||||||
|
gint len = (decimal - real_number) + i;
|
||||||
double rounded;
|
double rounded;
|
||||||
locale_t old_locale;
|
|
||||||
old_locale = uselocale (get_C_locale ());
|
/* add up to i decimal points */
|
||||||
snprintf (str, G_ASCII_DTOSTR_BUF_SIZE, "%.*f", i, number);
|
str[len] = real_number[len];
|
||||||
uselocale (old_locale);
|
str[len+1] = '\0';
|
||||||
|
|
||||||
rounded = g_ascii_strtod (str, NULL);
|
rounded = g_ascii_strtod (str, NULL);
|
||||||
|
|
||||||
if (ABS (rounded - number) <= epsilon)
|
if (ABS (rounded - number) <= epsilon)
|
||||||
@ -503,15 +500,10 @@ glade_dtostr (double number, gdouble epsilon)
|
|||||||
* Returns: A newly allocated string representation of @value
|
* Returns: A newly allocated string representation of @value
|
||||||
*/
|
*/
|
||||||
gchar *
|
gchar *
|
||||||
glade_property_def_make_string_from_gvalue (GladePropertyDef *
|
glade_property_def_make_string_from_gvalue (GladePropertyDef *property_def,
|
||||||
property_def,
|
const GValue *value)
|
||||||
const GValue * value)
|
|
||||||
{
|
{
|
||||||
gchar *string = NULL, **strv;
|
gchar *string = NULL;
|
||||||
GObject *object;
|
|
||||||
GdkColor *color;
|
|
||||||
GdkRGBA *rgba;
|
|
||||||
GList *objects;
|
|
||||||
|
|
||||||
G_GNUC_BEGIN_IGNORE_DEPRECATIONS
|
G_GNUC_BEGIN_IGNORE_DEPRECATIONS
|
||||||
if (GLADE_PROPERTY_IS_PARAM_SPEC_VALUE_ARRAY (property_def->pspec))
|
if (GLADE_PROPERTY_IS_PARAM_SPEC_VALUE_ARRAY (property_def->pspec))
|
||||||
@ -551,20 +543,26 @@ glade_property_def_make_string_from_gvalue (GladePropertyDef *
|
|||||||
{
|
{
|
||||||
if (property_def->pspec->value_type == GDK_TYPE_COLOR)
|
if (property_def->pspec->value_type == GDK_TYPE_COLOR)
|
||||||
{
|
{
|
||||||
color = g_value_get_boxed (value);
|
GdkColor *color = g_value_get_boxed (value);
|
||||||
if (color)
|
if (color)
|
||||||
string = g_strdup_printf ("#%04x%04x%04x",
|
string = g_strdup_printf ("#%04x%04x%04x",
|
||||||
color->red, color->green, color->blue);
|
color->red, color->green, color->blue);
|
||||||
}
|
}
|
||||||
else if (property_def->pspec->value_type == GDK_TYPE_RGBA)
|
else if (property_def->pspec->value_type == GDK_TYPE_RGBA)
|
||||||
{
|
{
|
||||||
rgba = g_value_get_boxed (value);
|
GdkRGBA *rgba = g_value_get_boxed (value);
|
||||||
if (rgba)
|
if (rgba)
|
||||||
string = gdk_rgba_to_string (rgba);
|
string = gdk_rgba_to_string (rgba);
|
||||||
}
|
}
|
||||||
|
else if (property_def->pspec->value_type == PANGO_TYPE_COLOR)
|
||||||
|
{
|
||||||
|
PangoColor *color = g_value_get_boxed (value);
|
||||||
|
if (color)
|
||||||
|
string = pango_color_to_string (color);
|
||||||
|
}
|
||||||
else if (property_def->pspec->value_type == G_TYPE_STRV)
|
else if (property_def->pspec->value_type == G_TYPE_STRV)
|
||||||
{
|
{
|
||||||
strv = g_value_get_boxed (value);
|
gchar **strv = g_value_get_boxed (value);
|
||||||
if (strv)
|
if (strv)
|
||||||
string = g_strjoinv ("\n", strv);
|
string = g_strjoinv ("\n", strv);
|
||||||
}
|
}
|
||||||
@ -614,13 +612,13 @@ glade_property_def_make_string_from_gvalue (GladePropertyDef *
|
|||||||
}
|
}
|
||||||
else if (G_IS_PARAM_SPEC_OBJECT (property_def->pspec))
|
else if (G_IS_PARAM_SPEC_OBJECT (property_def->pspec))
|
||||||
{
|
{
|
||||||
object = g_value_get_object (value);
|
GObject *object = g_value_get_object (value);
|
||||||
string =
|
string =
|
||||||
glade_property_def_make_string_from_object (property_def, object);
|
glade_property_def_make_string_from_object (property_def, object);
|
||||||
}
|
}
|
||||||
else if (GLADE_IS_PARAM_SPEC_OBJECTS (property_def->pspec))
|
else if (GLADE_IS_PARAM_SPEC_OBJECTS (property_def->pspec))
|
||||||
{
|
{
|
||||||
objects = g_value_get_boxed (value);
|
GList *objects = g_value_get_boxed (value);
|
||||||
string =
|
string =
|
||||||
glade_property_def_make_string_from_objects (property_def,
|
glade_property_def_make_string_from_objects (property_def,
|
||||||
objects);
|
objects);
|
||||||
@ -841,13 +839,11 @@ glade_property_def_make_objects_from_string (GladePropertyDef *
|
|||||||
*/
|
*/
|
||||||
GValue *
|
GValue *
|
||||||
glade_property_def_make_gvalue_from_string (GladePropertyDef *property_def,
|
glade_property_def_make_gvalue_from_string (GladePropertyDef *property_def,
|
||||||
const gchar *string,
|
const gchar *string,
|
||||||
GladeProject *project)
|
GladeProject *project)
|
||||||
{
|
{
|
||||||
GValue *value = g_new0 (GValue, 1);
|
GValue *value = g_new0 (GValue, 1);
|
||||||
gchar **strv;
|
gchar **strv;
|
||||||
GdkColor color = { 0, };
|
|
||||||
GdkRGBA rgba = { 0, };
|
|
||||||
|
|
||||||
g_value_init (value, property_def->pspec->value_type);
|
g_value_init (value, property_def->pspec->value_type);
|
||||||
|
|
||||||
@ -894,6 +890,7 @@ glade_property_def_make_gvalue_from_string (GladePropertyDef *property_def,
|
|||||||
{
|
{
|
||||||
if (property_def->pspec->value_type == GDK_TYPE_COLOR)
|
if (property_def->pspec->value_type == GDK_TYPE_COLOR)
|
||||||
{
|
{
|
||||||
|
GdkColor color;
|
||||||
if (gdk_color_parse (string, &color))
|
if (gdk_color_parse (string, &color))
|
||||||
g_value_set_boxed (value, &color);
|
g_value_set_boxed (value, &color);
|
||||||
else
|
else
|
||||||
@ -901,11 +898,20 @@ glade_property_def_make_gvalue_from_string (GladePropertyDef *property_def,
|
|||||||
}
|
}
|
||||||
else if (property_def->pspec->value_type == GDK_TYPE_RGBA)
|
else if (property_def->pspec->value_type == GDK_TYPE_RGBA)
|
||||||
{
|
{
|
||||||
|
GdkRGBA rgba;
|
||||||
if (gdk_rgba_parse (&rgba, string))
|
if (gdk_rgba_parse (&rgba, string))
|
||||||
g_value_set_boxed (value, &rgba);
|
g_value_set_boxed (value, &rgba);
|
||||||
else
|
else
|
||||||
g_warning ("could not parse rgba colour name `%s'", string);
|
g_warning ("could not parse rgba colour name `%s'", string);
|
||||||
}
|
}
|
||||||
|
else if (property_def->pspec->value_type == PANGO_TYPE_COLOR)
|
||||||
|
{
|
||||||
|
PangoColor color;
|
||||||
|
if (pango_color_parse (&color, string))
|
||||||
|
g_value_set_boxed (value, &color);
|
||||||
|
else
|
||||||
|
g_warning ("could not parse pango color name `%s'", string);
|
||||||
|
}
|
||||||
else if (property_def->pspec->value_type == G_TYPE_STRV)
|
else if (property_def->pspec->value_type == G_TYPE_STRV)
|
||||||
{
|
{
|
||||||
strv = g_strsplit (string, "\n", 0);
|
strv = g_strsplit (string, "\n", 0);
|
||||||
|
@ -190,6 +190,13 @@ _glade_util_dialog_set_hig (GtkDialog *dialog)
|
|||||||
gtk_box_set_spacing (GTK_BOX (action_area), 6);
|
gtk_box_set_spacing (GTK_BOX (action_area), 6);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
static void
|
||||||
|
glade_util_ui_message_foreach (GtkWidget *widget, gpointer data)
|
||||||
|
{
|
||||||
|
if (GTK_IS_LABEL (widget))
|
||||||
|
gtk_label_set_selectable (GTK_LABEL (widget), TRUE);
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* glade_util_ui_message:
|
* glade_util_ui_message:
|
||||||
* @parent: a #GtkWindow cast as a #GtkWidget
|
* @parent: a #GtkWindow cast as a #GtkWidget
|
||||||
@ -270,7 +277,11 @@ glade_util_ui_message (GtkWidget *parent,
|
|||||||
dialog = gtk_message_dialog_new (GTK_WINDOW (parent),
|
dialog = gtk_message_dialog_new (GTK_WINDOW (parent),
|
||||||
GTK_DIALOG_DESTROY_WITH_PARENT,
|
GTK_DIALOG_DESTROY_WITH_PARENT,
|
||||||
message_type, buttons_type, NULL);
|
message_type, buttons_type, NULL);
|
||||||
|
|
||||||
|
/* Make labels selectable */
|
||||||
|
gtk_container_forall (GTK_CONTAINER (gtk_message_dialog_get_message_area (GTK_MESSAGE_DIALOG (dialog))),
|
||||||
|
glade_util_ui_message_foreach, NULL);
|
||||||
|
|
||||||
gtk_message_dialog_set_markup (GTK_MESSAGE_DIALOG (dialog), string);
|
gtk_message_dialog_set_markup (GTK_MESSAGE_DIALOG (dialog), string);
|
||||||
|
|
||||||
if (widget)
|
if (widget)
|
||||||
@ -1165,15 +1176,15 @@ glade_util_search_devhelp (const gchar *book,
|
|||||||
GtkWidget *
|
GtkWidget *
|
||||||
glade_util_get_placeholder_from_pointer (GtkContainer *container)
|
glade_util_get_placeholder_from_pointer (GtkContainer *container)
|
||||||
{
|
{
|
||||||
GdkDeviceManager *manager;
|
|
||||||
GdkDisplay *display;
|
GdkDisplay *display;
|
||||||
GdkDevice *device;
|
GdkDevice *device;
|
||||||
GdkWindow *window;
|
GdkWindow *window;
|
||||||
|
GdkSeat *seat;
|
||||||
|
|
||||||
if (((display = gtk_widget_get_display (GTK_WIDGET (container))) ||
|
if (((display = gtk_widget_get_display (GTK_WIDGET (container))) ||
|
||||||
(display = gdk_display_get_default ())) &&
|
(display = gdk_display_get_default ())) &&
|
||||||
(manager = gdk_display_get_device_manager (display)) &&
|
(seat = gdk_display_get_default_seat (display)) &&
|
||||||
(device = gdk_device_manager_get_client_pointer (manager)) &&
|
(device = gdk_seat_get_pointer (seat)) &&
|
||||||
(window = gdk_device_get_window_at_position (device, NULL, NULL)))
|
(window = gdk_device_get_window_at_position (device, NULL, NULL)))
|
||||||
{
|
{
|
||||||
gpointer widget;
|
gpointer widget;
|
||||||
@ -2069,10 +2080,14 @@ glade_utils_get_pointer (GtkWidget *widget,
|
|||||||
|
|
||||||
if (!device)
|
if (!device)
|
||||||
{
|
{
|
||||||
GdkEvent *event = gtk_get_current_event ();
|
GdkDisplay *dsp;
|
||||||
|
GdkSeat *seat;
|
||||||
|
|
||||||
device = gdk_event_get_device (event);
|
if (((dsp = gtk_widget_get_display (widget)) ||
|
||||||
gdk_event_free (event);
|
(dsp = gdk_display_get_default ())) &&
|
||||||
|
(seat = gdk_display_get_default_seat (dsp)) &&
|
||||||
|
(device = gdk_seat_get_pointer (seat)))
|
||||||
|
window = gdk_device_get_window_at_position (device, NULL, NULL);
|
||||||
}
|
}
|
||||||
|
|
||||||
g_return_if_fail (GDK_IS_DEVICE (device));
|
g_return_if_fail (GDK_IS_DEVICE (device));
|
||||||
|
@ -17,7 +17,7 @@ VS_VERSION_INFO VERSIONINFO
|
|||||||
VALUE "FileDescription", "Glade Interface Designer @GLADE_MAJOR_VERSION@.@GLADE_MINOR_VERSION@.@GLADE_MICRO_VERSION@"
|
VALUE "FileDescription", "Glade Interface Designer @GLADE_MAJOR_VERSION@.@GLADE_MINOR_VERSION@.@GLADE_MICRO_VERSION@"
|
||||||
VALUE "FileVersion", "@GLADE_MAJOR_VERSION@.@GLADE_MINOR_VERSION@.@GLADE_MICRO_VERSION@.0"
|
VALUE "FileVersion", "@GLADE_MAJOR_VERSION@.@GLADE_MINOR_VERSION@.@GLADE_MICRO_VERSION@.0"
|
||||||
VALUE "InternalName", "libgladeui-1-@GLADE_CURRENT_MINUS_AGE@"
|
VALUE "InternalName", "libgladeui-1-@GLADE_CURRENT_MINUS_AGE@"
|
||||||
VALUE "LegalCopyright", "Copyright © 2007 The GNOME Foundation"
|
VALUE "LegalCopyright", "Copyright 2007 The GNOME Foundation"
|
||||||
VALUE "OriginalFilename", "libgladeui-1-@GLADE_CURRENT_MINUS_AGE@.dll"
|
VALUE "OriginalFilename", "libgladeui-1-@GLADE_CURRENT_MINUS_AGE@.dll"
|
||||||
VALUE "ProductName", "Glade Interface Designer"
|
VALUE "ProductName", "Glade Interface Designer"
|
||||||
VALUE "ProductVersion", "@GLADE_MAJOR_VERSION@.@GLADE_MINOR_VERSION@.@GLADE_MICRO_VERSION@"
|
VALUE "ProductVersion", "@GLADE_MAJOR_VERSION@.@GLADE_MINOR_VERSION@.@GLADE_MICRO_VERSION@"
|
||||||
|
@ -184,8 +184,8 @@ endif
|
|||||||
|
|
||||||
if glade_system == 'windows'
|
if glade_system == 'windows'
|
||||||
rc = configure_file(
|
rc = configure_file(
|
||||||
input: 'glade.rc.in',
|
input: 'gladeui.rc.in',
|
||||||
output: '@BASELINE@',
|
output: 'gladeui.rc',
|
||||||
configuration: rc_conf,
|
configuration: rc_conf,
|
||||||
)
|
)
|
||||||
|
|
||||||
@ -193,8 +193,8 @@ if glade_system == 'windows'
|
|||||||
|
|
||||||
ldflags += cc.get_supported_link_arguments([
|
ldflags += cc.get_supported_link_arguments([
|
||||||
# gmodule-export-2.0 on windows does not include -export-dynamic flag
|
# gmodule-export-2.0 on windows does not include -export-dynamic flag
|
||||||
'-export-dynamic',
|
'-Wl,--export-all-symbols',
|
||||||
'-no-undefined',
|
'-Wl,--no-undefined',
|
||||||
])
|
])
|
||||||
endif
|
endif
|
||||||
|
|
||||||
@ -264,7 +264,7 @@ ldflags = []
|
|||||||
if glade_system == 'windows'
|
if glade_system == 'windows'
|
||||||
rc = configure_file(
|
rc = configure_file(
|
||||||
input: 'glade-previewer.rc.in',
|
input: 'glade-previewer.rc.in',
|
||||||
output: '@BASELINE@',
|
output: 'glade-previewer.rc',
|
||||||
configuration: rc_conf,
|
configuration: rc_conf,
|
||||||
)
|
)
|
||||||
|
|
||||||
|
1680
help/ca/ca.po
1680
help/ca/ca.po
File diff suppressed because it is too large
Load Diff
@ -2,13 +2,13 @@
|
|||||||
# Copyright (C) 2009 glade3's COPYRIGHT HOLDER
|
# Copyright (C) 2009 glade3's COPYRIGHT HOLDER
|
||||||
# This file is distributed under the same license as the glade3 package.
|
# This file is distributed under the same license as the glade3 package.
|
||||||
#
|
#
|
||||||
# Marek Černocký <marek@manet.cz>, 2009, 2013, 2016, 2017, 2019.
|
# Marek Černocký <marek@manet.cz>, 2009, 2013, 2016, 2017, 2019, 2020.
|
||||||
#
|
#
|
||||||
msgid ""
|
msgid ""
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"Project-Id-Version: glade3 gnome-2-28\n"
|
"Project-Id-Version: glade3 glade-3.38\n"
|
||||||
"POT-Creation-Date: 2019-04-06 09:52+0000\n"
|
"POT-Creation-Date: 2020-09-04 05:03+0000\n"
|
||||||
"PO-Revision-Date: 2019-04-10 16:09+0200\n"
|
"PO-Revision-Date: 2020-09-09 19:49+0200\n"
|
||||||
"Last-Translator: Marek Černocký <marek@manet.cz>\n"
|
"Last-Translator: Marek Černocký <marek@manet.cz>\n"
|
||||||
"Language-Team: Czech <gnome-cs-list@gnome.org>\n"
|
"Language-Team: Czech <gnome-cs-list@gnome.org>\n"
|
||||||
"Language: cs\n"
|
"Language: cs\n"
|
||||||
@ -169,12 +169,12 @@ msgstr "Ohlasy"
|
|||||||
#: C/index.docbook:136
|
#: C/index.docbook:136
|
||||||
msgid ""
|
msgid ""
|
||||||
"To report a bug or make a suggestion regarding the Glade application or this "
|
"To report a bug or make a suggestion regarding the Glade application or this "
|
||||||
"manual, follow the directions in the <ulink url=\"help:gnome-feedback\" type="
|
"manual, visit the <ulink url=\"https://gitlab.gnome.org/GNOME/glade/issues/"
|
||||||
"\"help\">GNOME Feedback Page</ulink>."
|
"\">GNOME Issue Tracker</ulink>."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"Pokud chcete oznámit chybu nebo navrhnout vylepšení vztahující se k aplikaci "
|
"Pokud chcete oznámit chybu nebo navrhnout vylepšení vztahující se k aplikaci "
|
||||||
"Glade nebo k této příručce, postupujte dle instrukcí na <ulink url=\"help:"
|
"Glade nebo této příručce, navštivte <ulink url=\"https://gitlab.gnome.org/"
|
||||||
"gnome-feedback\" type=\"help\">stránce s ohlasy ke GNOME</ulink>."
|
"GNOME/glade/issues/\">Systém pro sledování problémů GNOME</ulink>."
|
||||||
|
|
||||||
#. (itstool) path: article/indexterm
|
#. (itstool) path: article/indexterm
|
||||||
#: C/index.docbook:144
|
#: C/index.docbook:144
|
||||||
@ -259,11 +259,11 @@ msgstr "Nabídka <guimenu>Aplikace</guimenu>"
|
|||||||
#. (itstool) path: listitem/para
|
#. (itstool) path: listitem/para
|
||||||
#: C/index.docbook:181
|
#: C/index.docbook:181
|
||||||
msgid ""
|
msgid ""
|
||||||
"Choose <menuchoice> <guisubmenu>Programming</guisubmenu> <guimenuitem>Glade "
|
"Choose <menuchoice> <guisubmenu>Programming</guisubmenu> <guimenuitem>Glade</"
|
||||||
"Interface Designer</guimenuitem> </menuchoice>."
|
"guimenuitem> </menuchoice>."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"Zvolte <menuchoice><guisubmenu>Programování</guisubmenu> "
|
"Zvolte <menuchoice><guisubmenu>Programování</guisubmenu> <guimenuitem>Glade"
|
||||||
"<guimenuitem>Návrhář rozhraní Glade</guimenuitem></menuchoice>."
|
"</guimenuitem></menuchoice>."
|
||||||
|
|
||||||
#. (itstool) path: varlistentry/term
|
#. (itstool) path: varlistentry/term
|
||||||
#: C/index.docbook:189
|
#: C/index.docbook:189
|
||||||
@ -314,12 +314,12 @@ msgstr ""
|
|||||||
#: C/index.docbook:205
|
#: C/index.docbook:205
|
||||||
msgid ""
|
msgid ""
|
||||||
"<imageobject><imagedata fileref=\"figures/main-window.png\" format=\"PNG\"/"
|
"<imageobject><imagedata fileref=\"figures/main-window.png\" format=\"PNG\"/"
|
||||||
"></imageobject> <textobject><phrase>Shows the<application>Glade</"
|
"></imageobject> <textobject><phrase>Shows the <application>Glade</"
|
||||||
"application> window.</phrase></textobject>"
|
"application> window.</phrase></textobject>"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"<imageobject><imagedata fileref=\"figures/main-window.png\" format=\"PNG\"/"
|
"<imageobject><imagedata fileref=\"figures/main-window.png\" format=\"PNG\"/"
|
||||||
"></imageobject> <textobject><phrase>Ukazuje okno aplikace "
|
"></imageobject> <textobject><phrase>Ukazuje okno aplikace <application>Glade"
|
||||||
"<application>Glade</application>.</phrase></textobject>"
|
"</application>.</phrase></textobject>"
|
||||||
|
|
||||||
#. (itstool) path: sect2/para
|
#. (itstool) path: sect2/para
|
||||||
#: C/index.docbook:212
|
#: C/index.docbook:212
|
||||||
@ -564,8 +564,8 @@ msgstr "Režim umisťování ovládacího prvku"
|
|||||||
msgid ""
|
msgid ""
|
||||||
"To use widget placement mode, select a widget in the <guilabel>Palette</"
|
"To use widget placement mode, select a widget in the <guilabel>Palette</"
|
||||||
"guilabel> window. When you select most widgets, the pointer changes to a "
|
"guilabel> window. When you select most widgets, the pointer changes to a "
|
||||||
"pointer-plus-cross. You can then place the widget inside containers, top-"
|
"pointer-plus-cross. You can then place the widget inside containers, "
|
||||||
"level widgets, and so on. After you place a widget, the mode returns to "
|
"toplevel widgets, and so on. After you place a widget, the mode returns to "
|
||||||
"selection mode."
|
"selection mode."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"Do režimu umisťování ovládacího prvku se přepnete po vybraní ovládacího "
|
"Do režimu umisťování ovládacího prvku se přepnete po vybraní ovládacího "
|
||||||
@ -576,16 +576,16 @@ msgstr ""
|
|||||||
|
|
||||||
#. (itstool) path: varlistentry/term
|
#. (itstool) path: varlistentry/term
|
||||||
#: C/index.docbook:335
|
#: C/index.docbook:335
|
||||||
msgid "Top-level placement mode"
|
msgid "Toplevel placement mode"
|
||||||
msgstr "Režim umisťování v nejvyšší úrovni"
|
msgstr "Režim umisťování v nejvyšší úrovni"
|
||||||
|
|
||||||
#. (itstool) path: listitem/para
|
#. (itstool) path: listitem/para
|
||||||
#: C/index.docbook:337
|
#: C/index.docbook:337
|
||||||
msgid ""
|
msgid ""
|
||||||
"To use top level placement mode, select a defined top-level widget in the "
|
"To use toplevel placement mode, select a defined toplevel widget in the "
|
||||||
"<guilabel>Palette</guilabel> window. When you select a top-level widget in "
|
"<guilabel>Palette</guilabel> window. When you select a toplevel widget in "
|
||||||
"the <guilabel>Palette</guilabel> window, the widget appears immediately on "
|
"the <guilabel>Palette</guilabel> window, the widget appears immediately on "
|
||||||
"your desktop. You can then edit the widget. After you select a top-level "
|
"your desktop. You can then edit the widget. After you select a toplevel "
|
||||||
"widget, the mode returns to selection mode."
|
"widget, the mode returns to selection mode."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"Do režimu umisťování v nejvyšší úrovni se přepnete výběrem ovládacího prvku "
|
"Do režimu umisťování v nejvyšší úrovni se přepnete výběrem ovládacího prvku "
|
||||||
|
Binary file not shown.
Before Width: | Height: | Size: 51 KiB After Width: | Height: | Size: 45 KiB |
@ -7,8 +7,8 @@
|
|||||||
msgid ""
|
msgid ""
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"Project-Id-Version: glade-help\n"
|
"Project-Id-Version: glade-help\n"
|
||||||
"POT-Creation-Date: 2020-05-15 03:01+0000\n"
|
"POT-Creation-Date: 2020-09-04 05:03+0000\n"
|
||||||
"PO-Revision-Date: 2020-05-17 10:49+0200\n"
|
"PO-Revision-Date: 2020-09-06 15:55+0200\n"
|
||||||
"Last-Translator: Piotr Drąg <piotrdrag@gmail.com>\n"
|
"Last-Translator: Piotr Drąg <piotrdrag@gmail.com>\n"
|
||||||
"Language-Team: Polish <community-poland@mozilla.org>\n"
|
"Language-Team: Polish <community-poland@mozilla.org>\n"
|
||||||
"Language: pl\n"
|
"Language: pl\n"
|
||||||
@ -257,12 +257,11 @@ msgstr "Menu <guimenu>Programy</guimenu>"
|
|||||||
#. (itstool) path: listitem/para
|
#. (itstool) path: listitem/para
|
||||||
#: C/index.docbook:181
|
#: C/index.docbook:181
|
||||||
msgid ""
|
msgid ""
|
||||||
"Choose <menuchoice> <guisubmenu>Programming</guisubmenu> <guimenuitem>Glade "
|
"Choose <menuchoice> <guisubmenu>Programming</guisubmenu> <guimenuitem>Glade</"
|
||||||
"Interface Designer</guimenuitem> </menuchoice>."
|
"guimenuitem> </menuchoice>."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"Wybierz <menuchoice> <guisubmenu>Programowanie</guisubmenu> "
|
"Wybierz <menuchoice> <guisubmenu>Programowanie</guisubmenu> "
|
||||||
"<guimenuitem>Narzędzi do projektowania interfejsów Glade</guimenuitem> </"
|
"<guimenuitem>Glade</guimenuitem> </menuchoice>."
|
||||||
"menuchoice>."
|
|
||||||
|
|
||||||
#. (itstool) path: varlistentry/term
|
#. (itstool) path: varlistentry/term
|
||||||
#: C/index.docbook:189
|
#: C/index.docbook:189
|
||||||
@ -563,8 +562,8 @@ msgstr "Tryb rozmieszczania widżetów"
|
|||||||
msgid ""
|
msgid ""
|
||||||
"To use widget placement mode, select a widget in the <guilabel>Palette</"
|
"To use widget placement mode, select a widget in the <guilabel>Palette</"
|
||||||
"guilabel> window. When you select most widgets, the pointer changes to a "
|
"guilabel> window. When you select most widgets, the pointer changes to a "
|
||||||
"pointer-plus-cross. You can then place the widget inside containers, top-"
|
"pointer-plus-cross. You can then place the widget inside containers, "
|
||||||
"level widgets, and so on. After you place a widget, the mode returns to "
|
"toplevel widgets, and so on. After you place a widget, the mode returns to "
|
||||||
"selection mode."
|
"selection mode."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"Aby użyć trybu rozmieszczania widżetów, wybierz widżet w oknie "
|
"Aby użyć trybu rozmieszczania widżetów, wybierz widżet w oknie "
|
||||||
@ -575,16 +574,16 @@ msgstr ""
|
|||||||
|
|
||||||
#. (itstool) path: varlistentry/term
|
#. (itstool) path: varlistentry/term
|
||||||
#: C/index.docbook:335
|
#: C/index.docbook:335
|
||||||
msgid "Top-level placement mode"
|
msgid "Toplevel placement mode"
|
||||||
msgstr "Tryb rozmieszczania najwyższego poziomu"
|
msgstr "Tryb rozmieszczania najwyższego poziomu"
|
||||||
|
|
||||||
#. (itstool) path: listitem/para
|
#. (itstool) path: listitem/para
|
||||||
#: C/index.docbook:337
|
#: C/index.docbook:337
|
||||||
msgid ""
|
msgid ""
|
||||||
"To use top level placement mode, select a defined top-level widget in the "
|
"To use toplevel placement mode, select a defined toplevel widget in the "
|
||||||
"<guilabel>Palette</guilabel> window. When you select a top-level widget in "
|
"<guilabel>Palette</guilabel> window. When you select a toplevel widget in "
|
||||||
"the <guilabel>Palette</guilabel> window, the widget appears immediately on "
|
"the <guilabel>Palette</guilabel> window, the widget appears immediately on "
|
||||||
"your desktop. You can then edit the widget. After you select a top-level "
|
"your desktop. You can then edit the widget. After you select a toplevel "
|
||||||
"widget, the mode returns to selection mode."
|
"widget, the mode returns to selection mode."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"Aby użyć trybu rozmieszczania najwyższego poziomu, wybierz określony widżet "
|
"Aby użyć trybu rozmieszczania najwyższego poziomu, wybierz określony widżet "
|
||||||
|
@ -3,15 +3,15 @@
|
|||||||
# This file is distributed under the same license as the glade package.
|
# This file is distributed under the same license as the glade package.
|
||||||
# Joao Emanuel <joaoemanuel1981@gmail.com>, 2007.
|
# Joao Emanuel <joaoemanuel1981@gmail.com>, 2007.
|
||||||
# Enrico Nicoletto <liverig@gmail.com>, 2013.
|
# Enrico Nicoletto <liverig@gmail.com>, 2013.
|
||||||
# Rafael Fontenelle <rafaelff@gnome.org>, 2017-2019.
|
# Rafael Fontenelle <rafaelff@gnome.org>, 2017-2020.
|
||||||
#
|
#
|
||||||
msgid ""
|
msgid ""
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"Project-Id-Version: glade master\n"
|
"Project-Id-Version: glade master\n"
|
||||||
"Report-Msgid-Bugs-To: https://bugzilla.gnome.org/enter_bug.cgi?"
|
"Report-Msgid-Bugs-To: https://bugzilla.gnome.org/enter_bug.cgi?"
|
||||||
"product=glade&keywords=I18N+L10N&component=general\n"
|
"product=glade&keywords=I18N+L10N&component=general\n"
|
||||||
"POT-Creation-Date: 2019-11-11 15:28+0000\n"
|
"POT-Creation-Date: 2020-09-04 05:03+0000\n"
|
||||||
"PO-Revision-Date: 2019-12-14 16:04-0300\n"
|
"PO-Revision-Date: 2020-09-12 18:06-0300\n"
|
||||||
"Last-Translator: Rafael Fontenelle <rafaelff@gnome.org>\n"
|
"Last-Translator: Rafael Fontenelle <rafaelff@gnome.org>\n"
|
||||||
"Language-Team: Brazilian Portuguese <gnome-pt_br-list@gnome.org>\n"
|
"Language-Team: Brazilian Portuguese <gnome-pt_br-list@gnome.org>\n"
|
||||||
"Language: pt_BR\n"
|
"Language: pt_BR\n"
|
||||||
@ -19,7 +19,7 @@ msgstr ""
|
|||||||
"Content-Type: text/plain; charset=UTF-8\n"
|
"Content-Type: text/plain; charset=UTF-8\n"
|
||||||
"Content-Transfer-Encoding: 8bit\n"
|
"Content-Transfer-Encoding: 8bit\n"
|
||||||
"Plural-Forms: nplurals=2; plural=(n > 1)\n"
|
"Plural-Forms: nplurals=2; plural=(n > 1)\n"
|
||||||
"X-Generator: Gtranslator 3.32.0\n"
|
"X-Generator: Gtranslator 3.38.0\n"
|
||||||
|
|
||||||
#. Put one translator per line, in the form NAME <EMAIL>, YEAR1, YEAR2
|
#. Put one translator per line, in the form NAME <EMAIL>, YEAR1, YEAR2
|
||||||
msgctxt "_"
|
msgctxt "_"
|
||||||
@ -171,14 +171,18 @@ msgstr "Comentários"
|
|||||||
|
|
||||||
#. (itstool) path: legalnotice/para
|
#. (itstool) path: legalnotice/para
|
||||||
#: C/index.docbook:136
|
#: C/index.docbook:136
|
||||||
|
#| msgid ""
|
||||||
|
#| "To report a bug or make a suggestion regarding this application or this "
|
||||||
|
#| "manual, you can submit them using <ulink url=\"https://gitlab.gnome.org/"
|
||||||
|
#| "GNOME/glade/issues/\" type=\"http\">our issue tracking system</ulink>."
|
||||||
msgid ""
|
msgid ""
|
||||||
"To report a bug or make a suggestion regarding the Glade application or this "
|
"To report a bug or make a suggestion regarding the Glade application or this "
|
||||||
"manual, follow the directions in the <ulink url=\"help:gnome-feedback\" type="
|
"manual, visit the <ulink url=\"https://gitlab.gnome.org/GNOME/glade/issues/"
|
||||||
"\"help\">GNOME Feedback Page</ulink>."
|
"\">GNOME Issue Tracker</ulink>."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"Para relatar um erro ou fazer uma sugestão sobre a aplicação Glade ou seu "
|
"Para relatar um erro ou fazer uma sugestão relacionada ao aplicativo Glade "
|
||||||
"manual, siga os passos na <ulink url=\"help:gnome-feedback\" type=\"help"
|
"ou a este manual, visite o <ulink url=\"https://gitlab.gnome.org/GNOME/glade/"
|
||||||
"\">Página de comentários (feedback) do GNOME</ulink>."
|
"issues/\">rastreador de problemas do GNOME</ulink>."
|
||||||
|
|
||||||
#. (itstool) path: article/indexterm
|
#. (itstool) path: article/indexterm
|
||||||
#: C/index.docbook:144
|
#: C/index.docbook:144
|
||||||
@ -259,12 +263,15 @@ msgstr "Menu <guimenu>Aplicações</guimenu>"
|
|||||||
|
|
||||||
#. (itstool) path: listitem/para
|
#. (itstool) path: listitem/para
|
||||||
#: C/index.docbook:181
|
#: C/index.docbook:181
|
||||||
|
#| msgid ""
|
||||||
|
#| "Choose <menuchoice> <guisubmenu>Programming</guisubmenu> "
|
||||||
|
#| "<guimenuitem>Glade Interface Designer</guimenuitem> </menuchoice>."
|
||||||
msgid ""
|
msgid ""
|
||||||
"Choose <menuchoice> <guisubmenu>Programming</guisubmenu> <guimenuitem>Glade "
|
"Choose <menuchoice> <guisubmenu>Programming</guisubmenu> <guimenuitem>Glade</"
|
||||||
"Interface Designer</guimenuitem> </menuchoice>."
|
"guimenuitem> </menuchoice>."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"Vá até <menuchoice> <guisubmenu>Programação</guisubmenu> "
|
"Escolha <menuchoice> <guisubmenu>Programação</guisubmenu> "
|
||||||
"<guimenuitem>Construtor de interfaces Glade</guimenuitem> </menuchoice>."
|
"<guimenuitem>Glade</guimenuitem> </menuchoice>."
|
||||||
|
|
||||||
#. (itstool) path: varlistentry/term
|
#. (itstool) path: varlistentry/term
|
||||||
#: C/index.docbook:189
|
#: C/index.docbook:189
|
||||||
@ -314,9 +321,13 @@ msgstr ""
|
|||||||
|
|
||||||
#. (itstool) path: screenshot/mediaobject
|
#. (itstool) path: screenshot/mediaobject
|
||||||
#: C/index.docbook:205
|
#: C/index.docbook:205
|
||||||
|
#| msgid ""
|
||||||
|
#| "<imageobject><imagedata fileref=\"figures/main-window.png\" format=\"PNG"
|
||||||
|
#| "\"/></imageobject> <textobject><phrase>Shows the<application>Glade</"
|
||||||
|
#| "application> window.</phrase></textobject>"
|
||||||
msgid ""
|
msgid ""
|
||||||
"<imageobject><imagedata fileref=\"figures/main-window.png\" format=\"PNG\"/"
|
"<imageobject><imagedata fileref=\"figures/main-window.png\" format=\"PNG\"/"
|
||||||
"></imageobject> <textobject><phrase>Shows the<application>Glade</"
|
"></imageobject> <textobject><phrase>Shows the <application>Glade</"
|
||||||
"application> window.</phrase></textobject>"
|
"application> window.</phrase></textobject>"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"<imageobject><imagedata fileref=\"figures/main-window.png\" format=\"PNG\"/"
|
"<imageobject><imagedata fileref=\"figures/main-window.png\" format=\"PNG\"/"
|
||||||
@ -563,11 +574,17 @@ msgstr "Modo de posicionamento do widget"
|
|||||||
|
|
||||||
#. (itstool) path: listitem/para
|
#. (itstool) path: listitem/para
|
||||||
#: C/index.docbook:320
|
#: C/index.docbook:320
|
||||||
|
#| msgid ""
|
||||||
|
#| "To use widget placement mode, select a widget in the <guilabel>Palette</"
|
||||||
|
#| "guilabel> window. When you select most widgets, the pointer changes to a "
|
||||||
|
#| "pointer-plus-cross. You can then place the widget inside containers, top-"
|
||||||
|
#| "level widgets, and so on. After you place a widget, the mode returns to "
|
||||||
|
#| "selection mode."
|
||||||
msgid ""
|
msgid ""
|
||||||
"To use widget placement mode, select a widget in the <guilabel>Palette</"
|
"To use widget placement mode, select a widget in the <guilabel>Palette</"
|
||||||
"guilabel> window. When you select most widgets, the pointer changes to a "
|
"guilabel> window. When you select most widgets, the pointer changes to a "
|
||||||
"pointer-plus-cross. You can then place the widget inside containers, top-"
|
"pointer-plus-cross. You can then place the widget inside containers, "
|
||||||
"level widgets, and so on. After you place a widget, the mode returns to "
|
"toplevel widgets, and so on. After you place a widget, the mode returns to "
|
||||||
"selection mode."
|
"selection mode."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"Para usar o modo de colocação do widget, selecione um widget na janela "
|
"Para usar o modo de colocação do widget, selecione um widget na janela "
|
||||||
@ -578,16 +595,23 @@ msgstr ""
|
|||||||
|
|
||||||
#. (itstool) path: varlistentry/term
|
#. (itstool) path: varlistentry/term
|
||||||
#: C/index.docbook:335
|
#: C/index.docbook:335
|
||||||
msgid "Top-level placement mode"
|
#| msgid "Top-level placement mode"
|
||||||
|
msgid "Toplevel placement mode"
|
||||||
msgstr "Modo de posicionamento do nível superior"
|
msgstr "Modo de posicionamento do nível superior"
|
||||||
|
|
||||||
#. (itstool) path: listitem/para
|
#. (itstool) path: listitem/para
|
||||||
#: C/index.docbook:337
|
#: C/index.docbook:337
|
||||||
|
#| msgid ""
|
||||||
|
#| "To use top level placement mode, select a defined top-level widget in the "
|
||||||
|
#| "<guilabel>Palette</guilabel> window. When you select a top-level widget "
|
||||||
|
#| "in the <guilabel>Palette</guilabel> window, the widget appears "
|
||||||
|
#| "immediately on your desktop. You can then edit the widget. After you "
|
||||||
|
#| "select a top-level widget, the mode returns to selection mode."
|
||||||
msgid ""
|
msgid ""
|
||||||
"To use top level placement mode, select a defined top-level widget in the "
|
"To use toplevel placement mode, select a defined toplevel widget in the "
|
||||||
"<guilabel>Palette</guilabel> window. When you select a top-level widget in "
|
"<guilabel>Palette</guilabel> window. When you select a toplevel widget in "
|
||||||
"the <guilabel>Palette</guilabel> window, the widget appears immediately on "
|
"the <guilabel>Palette</guilabel> window, the widget appears immediately on "
|
||||||
"your desktop. You can then edit the widget. After you select a top-level "
|
"your desktop. You can then edit the widget. After you select a toplevel "
|
||||||
"widget, the mode returns to selection mode."
|
"widget, the mode returns to selection mode."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"Para usar o modo de colocação de nível superior, selecione um determinado "
|
"Para usar o modo de colocação de nível superior, selecione um determinado "
|
||||||
@ -821,10 +845,6 @@ msgstr ""
|
|||||||
|
|
||||||
#. (itstool) path: sect1/para
|
#. (itstool) path: sect1/para
|
||||||
#: C/index.docbook:459
|
#: C/index.docbook:459
|
||||||
#| msgid ""
|
|
||||||
#| "To report a bug or make a suggestion regarding this application or this "
|
|
||||||
#| "manual, you can submit them using <ulink url=\"http://bugzilla.gnome.org/"
|
|
||||||
#| "enter_bug.cgi?product=glade3\" type=\"http\">bugzilla</ulink>."
|
|
||||||
msgid ""
|
msgid ""
|
||||||
"To report a bug or make a suggestion regarding this application or this "
|
"To report a bug or make a suggestion regarding this application or this "
|
||||||
"manual, you can submit them using <ulink url=\"https://gitlab.gnome.org/"
|
"manual, you can submit them using <ulink url=\"https://gitlab.gnome.org/"
|
||||||
@ -975,6 +995,15 @@ msgstr ""
|
|||||||
"DA LICENÇA DE DOCUMENTAÇÃO LIVRE GNU COM O ENTENDIMENTO ADICIONAL DE QUE: <_:"
|
"DA LICENÇA DE DOCUMENTAÇÃO LIVRE GNU COM O ENTENDIMENTO ADICIONAL DE QUE: <_:"
|
||||||
"orderedlist-1/>"
|
"orderedlist-1/>"
|
||||||
|
|
||||||
|
#~ msgid ""
|
||||||
|
#~ "To report a bug or make a suggestion regarding the Glade application or "
|
||||||
|
#~ "this manual, follow the directions in the <ulink url=\"help:gnome-feedback"
|
||||||
|
#~ "\" type=\"help\">GNOME Feedback Page</ulink>."
|
||||||
|
#~ msgstr ""
|
||||||
|
#~ "Para relatar um erro ou fazer uma sugestão sobre a aplicação Glade ou seu "
|
||||||
|
#~ "manual, siga os passos na <ulink url=\"help:gnome-feedback\" type=\"help"
|
||||||
|
#~ "\">Página de comentários (feedback) do GNOME</ulink>."
|
||||||
|
|
||||||
#~ msgid "2006"
|
#~ msgid "2006"
|
||||||
#~ msgstr "2006"
|
#~ msgstr "2006"
|
||||||
|
|
||||||
|
30
meson.build
30
meson.build
@ -8,10 +8,10 @@
|
|||||||
# version will always know they are on a development release.
|
# version will always know they are on a development release.
|
||||||
project(
|
project(
|
||||||
'glade', 'c',
|
'glade', 'c',
|
||||||
version: '3.37.0',
|
version: '3.38.2',
|
||||||
license: 'GPL2',
|
license: 'GPL2',
|
||||||
default_options: 'buildtype=debugoptimized',
|
default_options: 'buildtype=debugoptimized',
|
||||||
meson_version: '>= 0.49.0',
|
meson_version: '>= 0.53.0',
|
||||||
)
|
)
|
||||||
|
|
||||||
glade_name = meson.project_name()
|
glade_name = meson.project_name()
|
||||||
@ -48,8 +48,8 @@ gladeui_libname = '@0@-@1@'.format(gladeui_name, gladeui_version)
|
|||||||
# If any interfaces have been removed since the last public release, then set gladeui_age to 0.
|
# If any interfaces have been removed since the last public release, then set gladeui_age to 0.
|
||||||
# Reference: http://www.gnu.org/software/libtool/manual/libtool.html#Versioning
|
# Reference: http://www.gnu.org/software/libtool/manual/libtool.html#Versioning
|
||||||
|
|
||||||
gladeui_revision = 0
|
gladeui_revision = 2
|
||||||
gladeui_current = 12
|
gladeui_current = 13
|
||||||
gladeui_age = 0
|
gladeui_age = 0
|
||||||
gladeui_current_minus_age = gladeui_current - gladeui_age
|
gladeui_current_minus_age = gladeui_current - gladeui_age
|
||||||
gladeui_libversion = '@0@.@1@.@2@'.format(gladeui_current_minus_age, gladeui_age, gladeui_revision)
|
gladeui_libversion = '@0@.@1@.@2@'.format(gladeui_current_minus_age, gladeui_age, gladeui_revision)
|
||||||
@ -65,6 +65,8 @@ glade_unstable = glade_minor_version.is_odd()
|
|||||||
gnome = import('gnome')
|
gnome = import('gnome')
|
||||||
i18n = import('i18n')
|
i18n = import('i18n')
|
||||||
pkg = import('pkgconfig')
|
pkg = import('pkgconfig')
|
||||||
|
|
||||||
|
# NOTE: On windows we only target MSYS2/mingw
|
||||||
windows = import('windows')
|
windows = import('windows')
|
||||||
|
|
||||||
source_root = meson.current_source_dir()
|
source_root = meson.current_source_dir()
|
||||||
@ -110,7 +112,8 @@ endif
|
|||||||
add_project_arguments(common_flags, language: 'c')
|
add_project_arguments(common_flags, language: 'c')
|
||||||
|
|
||||||
# Check required libraries
|
# Check required libraries
|
||||||
glib_dep = dependency('glib-2.0', version: '>= 2.53.2')
|
glib_dep = dependency('glib-2.0', version: '>= 2.64.0')
|
||||||
|
gio_dep = dependency('gio-2.0', version: '>= 2.64.0')
|
||||||
gmodule_dep = dependency('gmodule-2.0')
|
gmodule_dep = dependency('gmodule-2.0')
|
||||||
gmodule_export_dep = dependency('gmodule-export-2.0')
|
gmodule_export_dep = dependency('gmodule-export-2.0')
|
||||||
gtk_dep = dependency('gtk+-3.0', version: '>= 3.24.0')
|
gtk_dep = dependency('gtk+-3.0', version: '>= 3.24.0')
|
||||||
@ -150,7 +153,7 @@ pygobject_version = '3.8.0'
|
|||||||
pygobject_dep = dependency('pygobject-3.0', version: '>= ' + pygobject_version, required: get_option('python'))
|
pygobject_dep = dependency('pygobject-3.0', version: '>= ' + pygobject_version, required: get_option('python'))
|
||||||
have_python = pygobject_dep.found()
|
have_python = pygobject_dep.found()
|
||||||
if have_python
|
if have_python
|
||||||
python_dep = dependency('python-3.8-embed', version: '>= 3.8')
|
python_dep = import('python').find_installation().dependency(embed: true)
|
||||||
|
|
||||||
version_array = pygobject_version.split('.')
|
version_array = pygobject_version.split('.')
|
||||||
config_h.set('PYGOBJECT_REQUIRED_MAJOR', version_array[0].to_int())
|
config_h.set('PYGOBJECT_REQUIRED_MAJOR', version_array[0].to_int())
|
||||||
@ -181,6 +184,7 @@ if glade_system == 'windows'
|
|||||||
rc_conf.set('GLADE_MINOR_VERSION', glade_minor_version)
|
rc_conf.set('GLADE_MINOR_VERSION', glade_minor_version)
|
||||||
rc_conf.set('GLADE_MICRO_VERSION', glade_micro_version)
|
rc_conf.set('GLADE_MICRO_VERSION', glade_micro_version)
|
||||||
rc_conf.set('GLADE_CURRENT_MINUS_AGE', gladeui_current_minus_age)
|
rc_conf.set('GLADE_CURRENT_MINUS_AGE', gladeui_current_minus_age)
|
||||||
|
rc_conf.set('SOURCE_ROOT', source_root)
|
||||||
endif
|
endif
|
||||||
|
|
||||||
subdir('po')
|
subdir('po')
|
||||||
@ -211,6 +215,17 @@ meson.add_install_script(
|
|||||||
glade_datadir,
|
glade_datadir,
|
||||||
)
|
)
|
||||||
|
|
||||||
|
tls_backend_support_src = '''
|
||||||
|
#include <stdio.h>
|
||||||
|
#include <gio/gio.h>
|
||||||
|
int main(int argc, char **argv)
|
||||||
|
{
|
||||||
|
printf ("%s\n", g_tls_backend_supports_tls (g_tls_backend_get_default ()) ? "true" : "false");
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
|
'''
|
||||||
|
tls_backend_support = cc.run(tls_backend_support_src, dependencies: gio_dep).stdout()
|
||||||
|
|
||||||
output = '\nConfiguration:\n\n'
|
output = '\nConfiguration:\n\n'
|
||||||
output += '\tCompiler: ' + cc.get_id() + '\n'
|
output += '\tCompiler: ' + cc.get_id() + '\n'
|
||||||
output += '\tSource code location: ' + source_root + '\n'
|
output += '\tSource code location: ' + source_root + '\n'
|
||||||
@ -222,5 +237,6 @@ output += '\tGladeui Catalog: ' + enable_gladeui.to_string() + '\n'
|
|||||||
output += '\tWebKit2GTK+ Catalog: ' + have_webkit2gtk.to_string() + '\n'
|
output += '\tWebKit2GTK+ Catalog: ' + have_webkit2gtk.to_string() + '\n'
|
||||||
output += '\tIntrospection Data: ' + enable_introspection.to_string() + '\n\n'
|
output += '\tIntrospection Data: ' + enable_introspection.to_string() + '\n\n'
|
||||||
output += '\tBuild Reference Manual: ' + enable_gtk_doc.to_string() + '\n'
|
output += '\tBuild Reference Manual: ' + enable_gtk_doc.to_string() + '\n'
|
||||||
output += '\tBuild Manual Pages: ' + enable_man.to_string()
|
output += '\tBuild Manual Pages: ' + enable_man.to_string() + '\n'
|
||||||
|
output += '\tTLS backend support: ' + tls_backend_support
|
||||||
message(output)
|
message(output)
|
||||||
|
@ -707,7 +707,8 @@ value_icon_activate (GtkCellRendererToggle *cell_renderer,
|
|||||||
GtkTreeIter iter;
|
GtkTreeIter iter;
|
||||||
PangoAttrType type;
|
PangoAttrType type;
|
||||||
AttrEditType edit_type;
|
AttrEditType edit_type;
|
||||||
GdkRGBA color = {0,};
|
PangoColor color;
|
||||||
|
GdkRGBA rgba;
|
||||||
gchar *text = NULL, *new_text;
|
gchar *text = NULL, *new_text;
|
||||||
|
|
||||||
/* Find type etc */
|
/* Find type etc */
|
||||||
@ -726,25 +727,25 @@ value_icon_activate (GtkCellRendererToggle *cell_renderer,
|
|||||||
dialog = gtk_color_chooser_dialog_new (_("Select a color"),
|
dialog = gtk_color_chooser_dialog_new (_("Select a color"),
|
||||||
GTK_WINDOW (glade_app_get_window ()));
|
GTK_WINDOW (glade_app_get_window ()));
|
||||||
/* Get response etc... */
|
/* Get response etc... */
|
||||||
if (text && gdk_rgba_parse (&color, text))
|
if (text && pango_color_parse (&color, text))
|
||||||
gtk_color_chooser_set_rgba (GTK_COLOR_CHOOSER (dialog), &color);
|
{
|
||||||
|
rgba.red = color.red / 65535.0;
|
||||||
|
rgba.green = color.green / 65535.0;
|
||||||
|
rgba.blue = color.blue / 65535.0;
|
||||||
|
rgba.alpha = 1.0;
|
||||||
|
gtk_color_chooser_set_rgba (GTK_COLOR_CHOOSER (dialog), &rgba);
|
||||||
|
}
|
||||||
|
|
||||||
if (gtk_dialog_run (GTK_DIALOG (dialog)) == GTK_RESPONSE_OK)
|
if (gtk_dialog_run (GTK_DIALOG (dialog)) == GTK_RESPONSE_OK)
|
||||||
{
|
{
|
||||||
gtk_color_chooser_get_rgba (GTK_COLOR_CHOOSER (dialog), &color);
|
gtk_color_chooser_get_rgba (GTK_COLOR_CHOOSER (dialog), &rgba);
|
||||||
|
|
||||||
|
color.red = (gint16) (rgba.red * 65535);
|
||||||
|
color.green = (gint16) (rgba.green * 65535);
|
||||||
|
color.blue = (gint16) (rgba.blue * 65535);
|
||||||
|
|
||||||
/* Use PangoColor string format */
|
/* Use PangoColor string format */
|
||||||
if (((guint8)(color.red * 0xFF)) * 0x101 == (guint16)(color.red * 0xFFFF) &&
|
new_text = pango_color_to_string (&color);
|
||||||
((guint8)(color.green * 0xFF)) * 0x101 == (guint16)(color.green * 0xFFFF) &&
|
|
||||||
((guint8)(color.blue * 0xFF)) * 0x101 == (guint16)(color.blue * 0xFFFF))
|
|
||||||
new_text = g_strdup_printf ("#%02X%02X%02X",
|
|
||||||
(guint8)(color.red * 0xFF),
|
|
||||||
(guint8)(color.green * 0xFF),
|
|
||||||
(guint8)(color.blue * 0xFF));
|
|
||||||
else
|
|
||||||
new_text = g_strdup_printf ("#%04X%04X%04X",
|
|
||||||
(guint16)(color.red * 0xFFFF),
|
|
||||||
(guint16)(color.green * 0xFFFF),
|
|
||||||
(guint16)(color.blue * 0xFFFF));
|
|
||||||
|
|
||||||
gtk_list_store_set (GTK_LIST_STORE (eprop_attrs->model), &iter,
|
gtk_list_store_set (GTK_LIST_STORE (eprop_attrs->model), &iter,
|
||||||
COLUMN_TEXT, new_text,
|
COLUMN_TEXT, new_text,
|
||||||
|
@ -43,27 +43,26 @@ glade_gtk_action_bar_create_editable (GladeWidgetAdaptor * adaptor,
|
|||||||
}
|
}
|
||||||
|
|
||||||
static void
|
static void
|
||||||
glade_gtk_action_bar_parse_finished (GladeProject * project,
|
glade_gtk_action_bar_parse_finished (GladeProject *project, GObject *object)
|
||||||
GObject * object)
|
|
||||||
{
|
{
|
||||||
GladeWidget *gbox;
|
GladeWidget *gbox = glade_widget_get_from_gobject (object);
|
||||||
|
glade_widget_property_set (gbox, "use-center-child",
|
||||||
gbox = glade_widget_get_from_gobject (object);
|
gtk_action_bar_get_center_widget (GTK_ACTION_BAR (object)) != NULL);
|
||||||
glade_widget_property_set (gbox, "use-center-child", gtk_action_bar_get_center_widget (GTK_ACTION_BAR (object)) != NULL);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
void
|
||||||
glade_gtk_action_bar_post_create (GladeWidgetAdaptor * adaptor,
|
glade_gtk_action_bar_post_create (GladeWidgetAdaptor *adaptor,
|
||||||
GObject * container,
|
GObject *container,
|
||||||
GladeCreateReason reason)
|
GladeCreateReason reason)
|
||||||
{
|
{
|
||||||
GladeWidget *gwidget = glade_widget_get_from_gobject (container);
|
GladeWidget *gwidget = glade_widget_get_from_gobject (container);
|
||||||
GladeProject *project = glade_widget_get_project (gwidget);
|
GladeProject *project = glade_widget_get_project (gwidget);
|
||||||
|
|
||||||
if (reason == GLADE_CREATE_LOAD)
|
if (project && glade_project_is_loading (project))
|
||||||
g_signal_connect (project, "parse-finished",
|
g_signal_connect_object (project, "parse-finished",
|
||||||
G_CALLBACK (glade_gtk_action_bar_parse_finished),
|
G_CALLBACK (glade_gtk_action_bar_parse_finished),
|
||||||
container);
|
container,
|
||||||
|
0);
|
||||||
}
|
}
|
||||||
|
|
||||||
static gint
|
static gint
|
||||||
|
@ -201,11 +201,12 @@ glade_gtk_assistant_post_create (GladeWidgetAdaptor *adaptor,
|
|||||||
/* Chain Up first */
|
/* Chain Up first */
|
||||||
GLADE_WIDGET_ADAPTOR_GET_ADAPTOR_CLASS (GTK_TYPE_WINDOW)->post_create (adaptor, object, reason);
|
GLADE_WIDGET_ADAPTOR_GET_ADAPTOR_CLASS (GTK_TYPE_WINDOW)->post_create (adaptor, object, reason);
|
||||||
|
|
||||||
if (reason == GLADE_CREATE_LOAD)
|
if (project && glade_project_is_loading (project))
|
||||||
{
|
{
|
||||||
g_signal_connect (project, "parse-finished",
|
g_signal_connect_object (project, "parse-finished",
|
||||||
G_CALLBACK (glade_gtk_assistant_parse_finished),
|
G_CALLBACK (glade_gtk_assistant_parse_finished),
|
||||||
object);
|
object,
|
||||||
|
0);
|
||||||
}
|
}
|
||||||
else if (reason == GLADE_CREATE_USER)
|
else if (reason == GLADE_CREATE_USER)
|
||||||
{
|
{
|
||||||
|
@ -57,9 +57,9 @@ glade_gtk_box_create_editable (GladeWidgetAdaptor *adaptor,
|
|||||||
}
|
}
|
||||||
|
|
||||||
static void
|
static void
|
||||||
glade_gtk_box_parse_finished (GladeProject *project, GladeWidget *gbox)
|
glade_gtk_box_parse_finished (GladeProject *project, GObject *box)
|
||||||
{
|
{
|
||||||
GObject *box = glade_widget_get_object (gbox);
|
GladeWidget *gbox = glade_widget_get_from_gobject (box);
|
||||||
|
|
||||||
glade_widget_property_set (gbox, "use-center-child",
|
glade_widget_property_set (gbox, "use-center-child",
|
||||||
gtk_box_get_center_widget (GTK_BOX (box)) != NULL);
|
gtk_box_get_center_widget (GTK_BOX (box)) != NULL);
|
||||||
@ -86,11 +86,11 @@ glade_gtk_box_post_create (GladeWidgetAdaptor *adaptor,
|
|||||||
g_signal_connect (G_OBJECT (gwidget), "configure-end",
|
g_signal_connect (G_OBJECT (gwidget), "configure-end",
|
||||||
G_CALLBACK (glade_gtk_box_configure_end), container);
|
G_CALLBACK (glade_gtk_box_configure_end), container);
|
||||||
|
|
||||||
if (reason == GLADE_CREATE_LOAD)
|
if (project && glade_project_is_loading (project))
|
||||||
{
|
{
|
||||||
g_signal_connect_object (project, "parse-finished",
|
g_signal_connect_object (project, "parse-finished",
|
||||||
G_CALLBACK (glade_gtk_box_parse_finished),
|
G_CALLBACK (glade_gtk_box_parse_finished),
|
||||||
gwidget, 0);
|
container, 0);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -269,9 +269,9 @@ glade_gtk_cell_renderer_write_widget (GladeWidgetAdaptor *adaptor,
|
|||||||
}
|
}
|
||||||
|
|
||||||
static void
|
static void
|
||||||
glade_gtk_cell_renderer_parse_finished (GladeProject *project,
|
glade_gtk_cell_renderer_parse_finished (GladeProject *project, GObject *object)
|
||||||
GladeWidget *widget)
|
|
||||||
{
|
{
|
||||||
|
GladeWidget *widget = glade_widget_get_from_gobject (object);
|
||||||
GladeProperty *property;
|
GladeProperty *property;
|
||||||
GList *l;
|
GList *l;
|
||||||
static gint attr_len = 0, use_attr_len = 0;
|
static gint attr_len = 0, use_attr_len = 0;
|
||||||
@ -321,9 +321,10 @@ glade_gtk_cell_renderer_read_widget (GladeWidgetAdaptor *adaptor,
|
|||||||
/* First chain up and read in all the properties... */
|
/* First chain up and read in all the properties... */
|
||||||
GLADE_WIDGET_ADAPTOR_GET_ADAPTOR_CLASS (G_TYPE_OBJECT)->read_widget (adaptor, widget, node);
|
GLADE_WIDGET_ADAPTOR_GET_ADAPTOR_CLASS (G_TYPE_OBJECT)->read_widget (adaptor, widget, node);
|
||||||
|
|
||||||
g_signal_connect (glade_widget_get_project (widget), "parse-finished",
|
g_signal_connect_object (glade_widget_get_project (widget), "parse-finished",
|
||||||
G_CALLBACK (glade_gtk_cell_renderer_parse_finished),
|
G_CALLBACK (glade_gtk_cell_renderer_parse_finished),
|
||||||
widget);
|
glade_widget_get_object (widget),
|
||||||
|
0);
|
||||||
}
|
}
|
||||||
|
|
||||||
static gboolean
|
static gboolean
|
||||||
|
@ -50,6 +50,7 @@ glade_gtk_container_add_verify (GladeWidgetAdaptor *adaptor,
|
|||||||
gboolean user_feedback)
|
gboolean user_feedback)
|
||||||
{
|
{
|
||||||
GladeWidget *gwidget = glade_widget_get_from_gobject (container);
|
GladeWidget *gwidget = glade_widget_get_from_gobject (container);
|
||||||
|
GtkWidget *bin_child;
|
||||||
|
|
||||||
if (GTK_IS_WINDOW (child))
|
if (GTK_IS_WINDOW (child))
|
||||||
{
|
{
|
||||||
@ -82,7 +83,11 @@ glade_gtk_container_add_verify (GladeWidgetAdaptor *adaptor,
|
|||||||
return FALSE;
|
return FALSE;
|
||||||
}
|
}
|
||||||
else if (GLADE_WIDGET_ADAPTOR_USE_PLACEHOLDERS (adaptor) &&
|
else if (GLADE_WIDGET_ADAPTOR_USE_PLACEHOLDERS (adaptor) &&
|
||||||
glade_util_count_placeholders (gwidget) == 0)
|
/* Special case GtkBin since Windows can hace a placeholder in the titlebar */
|
||||||
|
((GTK_IS_BIN (container) &&
|
||||||
|
(bin_child = gtk_bin_get_child (GTK_BIN (container))) &&
|
||||||
|
!GLADE_IS_PLACEHOLDER(bin_child)) ||
|
||||||
|
glade_util_count_placeholders (gwidget) == 0))
|
||||||
{
|
{
|
||||||
if (user_feedback)
|
if (user_feedback)
|
||||||
glade_util_ui_message (glade_app_get_window (),
|
glade_util_ui_message (glade_app_get_window (),
|
||||||
|
@ -199,6 +199,7 @@ glade_gtk_grid_post_create (GladeWidgetAdaptor *adaptor,
|
|||||||
GladeCreateReason reason)
|
GladeCreateReason reason)
|
||||||
{
|
{
|
||||||
GladeWidget *gwidget = glade_widget_get_from_gobject (container);
|
GladeWidget *gwidget = glade_widget_get_from_gobject (container);
|
||||||
|
GladeProject *project = glade_widget_get_project (gwidget);
|
||||||
|
|
||||||
g_signal_connect (G_OBJECT (gwidget), "configure-child",
|
g_signal_connect (G_OBJECT (gwidget), "configure-child",
|
||||||
G_CALLBACK (glade_gtk_grid_configure_child), container);
|
G_CALLBACK (glade_gtk_grid_configure_child), container);
|
||||||
@ -209,10 +210,11 @@ glade_gtk_grid_post_create (GladeWidgetAdaptor *adaptor,
|
|||||||
g_signal_connect (G_OBJECT (gwidget), "configure-end",
|
g_signal_connect (G_OBJECT (gwidget), "configure-end",
|
||||||
G_CALLBACK (glade_gtk_grid_configure_end), container);
|
G_CALLBACK (glade_gtk_grid_configure_end), container);
|
||||||
|
|
||||||
if (reason == GLADE_CREATE_LOAD)
|
if (project && glade_project_is_loading (project))
|
||||||
g_signal_connect (glade_widget_get_project (gwidget), "parse-finished",
|
g_signal_connect_object (project, "parse-finished",
|
||||||
G_CALLBACK (glade_gtk_grid_parse_finished),
|
G_CALLBACK (glade_gtk_grid_parse_finished),
|
||||||
container);
|
container,
|
||||||
|
0);
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
void
|
||||||
|
@ -70,9 +70,7 @@ static void
|
|||||||
glade_gtk_header_bar_parse_finished (GladeProject *project,
|
glade_gtk_header_bar_parse_finished (GladeProject *project,
|
||||||
GObject *object)
|
GObject *object)
|
||||||
{
|
{
|
||||||
GladeWidget *gbox;
|
GladeWidget *gbox = glade_widget_get_from_gobject (object);
|
||||||
|
|
||||||
gbox = glade_widget_get_from_gobject (object);
|
|
||||||
glade_widget_property_set (gbox, "size", glade_gtk_header_bar_get_num_children (object));
|
glade_widget_property_set (gbox, "size", glade_gtk_header_bar_get_num_children (object));
|
||||||
glade_widget_property_set (gbox, "use-custom-title", gtk_header_bar_get_custom_title (GTK_HEADER_BAR (object)) != NULL);
|
glade_widget_property_set (gbox, "use-custom-title", gtk_header_bar_get_custom_title (GTK_HEADER_BAR (object)) != NULL);
|
||||||
}
|
}
|
||||||
@ -85,11 +83,12 @@ glade_gtk_header_bar_post_create (GladeWidgetAdaptor *adaptor,
|
|||||||
GladeWidget *parent = glade_widget_get_from_gobject (container);
|
GladeWidget *parent = glade_widget_get_from_gobject (container);
|
||||||
GladeProject *project = glade_widget_get_project (parent);
|
GladeProject *project = glade_widget_get_project (parent);
|
||||||
|
|
||||||
if (reason == GLADE_CREATE_LOAD)
|
if (project && glade_project_is_loading (project))
|
||||||
{
|
{
|
||||||
g_signal_connect (project, "parse-finished",
|
g_signal_connect_object (project, "parse-finished",
|
||||||
G_CALLBACK (glade_gtk_header_bar_parse_finished),
|
G_CALLBACK (glade_gtk_header_bar_parse_finished),
|
||||||
container);
|
container,
|
||||||
|
0);
|
||||||
}
|
}
|
||||||
else if (reason == GLADE_CREATE_USER)
|
else if (reason == GLADE_CREATE_USER)
|
||||||
{
|
{
|
||||||
|
@ -139,9 +139,9 @@ glade_gtk_image_menu_item_set_property (GladeWidgetAdaptor *adaptor,
|
|||||||
}
|
}
|
||||||
|
|
||||||
static void
|
static void
|
||||||
glade_gtk_image_menu_item_parse_finished (GladeProject *project,
|
glade_gtk_image_menu_item_parse_finished (GladeProject *project, GObject *object)
|
||||||
GladeWidget *widget)
|
|
||||||
{
|
{
|
||||||
|
GladeWidget *widget = glade_widget_get_from_gobject (object);
|
||||||
GladeWidget *gimage;
|
GladeWidget *gimage;
|
||||||
GtkWidget *image = NULL;
|
GtkWidget *image = NULL;
|
||||||
glade_widget_property_get (widget, "image", &image);
|
glade_widget_property_get (widget, "image", &image);
|
||||||
@ -181,11 +181,11 @@ glade_gtk_image_menu_item_read_widget (GladeWidgetAdaptor *adaptor,
|
|||||||
property = glade_widget_get_property (widget, "use-stock");
|
property = glade_widget_get_property (widget, "use-stock");
|
||||||
glade_property_sync (property);
|
glade_property_sync (property);
|
||||||
|
|
||||||
|
|
||||||
/* Run this after the load so that image is resolved. */
|
/* Run this after the load so that image is resolved. */
|
||||||
g_signal_connect (G_OBJECT (glade_widget_get_project (widget)), "parse-finished",
|
g_signal_connect_object (glade_widget_get_project (widget), "parse-finished",
|
||||||
G_CALLBACK (glade_gtk_image_menu_item_parse_finished),
|
G_CALLBACK (glade_gtk_image_menu_item_parse_finished),
|
||||||
widget);
|
glade_widget_get_object (widget),
|
||||||
|
0);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@ -68,7 +68,7 @@ glade_gtk_label_set_attributes (GObject *object, const GValue *value)
|
|||||||
PangoLanguage *language;
|
PangoLanguage *language;
|
||||||
PangoFontDescription *font_desc;
|
PangoFontDescription *font_desc;
|
||||||
PangoAttrList *attrs = NULL;
|
PangoAttrList *attrs = NULL;
|
||||||
GdkColor *color;
|
PangoColor *color;
|
||||||
GList *list;
|
GList *list;
|
||||||
|
|
||||||
for (list = g_value_get_boxed (value); list; list = list->next)
|
for (list = g_value_get_boxed (value); list; list = list->next)
|
||||||
|
@ -170,25 +170,27 @@ glade_listbox_get_placeholder (GtkListBox *list_box) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
static void
|
static void
|
||||||
glade_gtk_listbox_parse_finished (GladeProject *project, GladeWidget *gbox)
|
glade_gtk_listbox_parse_finished (GladeProject *project, GObject *box)
|
||||||
{
|
{
|
||||||
GObject *box = glade_widget_get_object (gbox);
|
GladeWidget *gbox = glade_widget_get_from_gobject (box);
|
||||||
glade_widget_property_set (gbox, "use-placeholder", glade_listbox_get_placeholder (GTK_LIST_BOX (box)) != NULL);
|
glade_widget_property_set (gbox, "use-placeholder",
|
||||||
|
glade_listbox_get_placeholder (GTK_LIST_BOX (box)) != NULL);
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
void
|
||||||
glade_gtk_listbox_post_create (GladeWidgetAdaptor *adaptor,
|
glade_gtk_listbox_post_create (GladeWidgetAdaptor *adaptor,
|
||||||
GObject *container,
|
GObject *container,
|
||||||
GladeCreateReason reason)
|
GladeCreateReason reason)
|
||||||
{
|
{
|
||||||
GladeWidget *gwidget = glade_widget_get_from_gobject (container);
|
GladeWidget *gwidget = glade_widget_get_from_gobject (container);
|
||||||
GladeProject *project = glade_widget_get_project (gwidget);
|
GladeProject *project = glade_widget_get_project (gwidget);
|
||||||
|
|
||||||
if (reason == GLADE_CREATE_LOAD)
|
if (project && glade_project_is_loading (project))
|
||||||
{
|
{
|
||||||
g_signal_connect_object (project, "parse-finished",
|
g_signal_connect_object (project, "parse-finished",
|
||||||
G_CALLBACK (glade_gtk_listbox_parse_finished),
|
G_CALLBACK (glade_gtk_listbox_parse_finished),
|
||||||
gwidget, 0);
|
container,
|
||||||
|
0);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -413,10 +413,11 @@ glade_gtk_notebook_post_create (GladeWidgetAdaptor *adaptor,
|
|||||||
g_signal_connect (G_OBJECT (notebook), "switch-page",
|
g_signal_connect (G_OBJECT (notebook), "switch-page",
|
||||||
G_CALLBACK (glade_gtk_notebook_switch_page), NULL);
|
G_CALLBACK (glade_gtk_notebook_switch_page), NULL);
|
||||||
|
|
||||||
if (reason == GLADE_CREATE_LOAD)
|
if (project && glade_project_is_loading (project))
|
||||||
g_signal_connect (project, "parse-finished",
|
g_signal_connect_object (project, "parse-finished",
|
||||||
G_CALLBACK (glade_gtk_notebook_parse_finished),
|
G_CALLBACK (glade_gtk_notebook_parse_finished),
|
||||||
notebook);
|
notebook,
|
||||||
|
0);
|
||||||
}
|
}
|
||||||
|
|
||||||
static gint
|
static gint
|
||||||
|
@ -167,10 +167,11 @@ glade_gtk_popover_menu_post_create (GladeWidgetAdaptor *adaptor,
|
|||||||
GladeWidget *parent = glade_widget_get_from_gobject (container);
|
GladeWidget *parent = glade_widget_get_from_gobject (container);
|
||||||
GladeProject *project = glade_widget_get_project (parent);
|
GladeProject *project = glade_widget_get_project (parent);
|
||||||
|
|
||||||
if (reason == GLADE_CREATE_LOAD)
|
if (project && glade_project_is_loading (project))
|
||||||
g_signal_connect (project, "parse-finished",
|
g_signal_connect_object (project, "parse-finished",
|
||||||
G_CALLBACK (glade_gtk_popover_menu_parse_finished),
|
G_CALLBACK (glade_gtk_popover_menu_parse_finished),
|
||||||
container);
|
container,
|
||||||
|
0);
|
||||||
|
|
||||||
g_signal_connect (G_OBJECT (parent), "notify::project",
|
g_signal_connect (G_OBJECT (parent), "notify::project",
|
||||||
G_CALLBACK (glade_gtk_popover_menu_project_changed), NULL);
|
G_CALLBACK (glade_gtk_popover_menu_project_changed), NULL);
|
||||||
|
@ -157,9 +157,9 @@ glade_gtk_tool_button_set_property (GladeWidgetAdaptor *adaptor,
|
|||||||
}
|
}
|
||||||
|
|
||||||
static void
|
static void
|
||||||
glade_gtk_tool_button_parse_finished (GladeProject *project,
|
glade_gtk_tool_button_parse_finished (GladeProject *project, GObject *object)
|
||||||
GladeWidget *widget)
|
|
||||||
{
|
{
|
||||||
|
GladeWidget *widget = glade_widget_get_from_gobject (object);
|
||||||
gchar *stock_str = NULL, *icon_name = NULL;
|
gchar *stock_str = NULL, *icon_name = NULL;
|
||||||
gint stock_id = 0;
|
gint stock_id = 0;
|
||||||
GtkWidget *label_widget = NULL, *image_widget = NULL;
|
GtkWidget *label_widget = NULL, *image_widget = NULL;
|
||||||
@ -207,7 +207,8 @@ glade_gtk_tool_button_read_widget (GladeWidgetAdaptor *adaptor,
|
|||||||
GLADE_WIDGET_ADAPTOR_GET_ADAPTOR_CLASS (GTK_TYPE_TOOL_ITEM)->read_widget (adaptor, widget, node);
|
GLADE_WIDGET_ADAPTOR_GET_ADAPTOR_CLASS (GTK_TYPE_TOOL_ITEM)->read_widget (adaptor, widget, node);
|
||||||
|
|
||||||
/* Run this after the load so that icon-widget is resolved. */
|
/* Run this after the load so that icon-widget is resolved. */
|
||||||
g_signal_connect (glade_widget_get_project (widget),
|
g_signal_connect_object (glade_widget_get_project (widget), "parse-finished",
|
||||||
"parse-finished",
|
G_CALLBACK (glade_gtk_tool_button_parse_finished),
|
||||||
G_CALLBACK (glade_gtk_tool_button_parse_finished), widget);
|
glade_widget_get_object (widget),
|
||||||
|
0);
|
||||||
}
|
}
|
||||||
|
@ -71,9 +71,9 @@ glade_gtk_tool_item_group_remove_child (GladeWidgetAdaptor *adaptor,
|
|||||||
}
|
}
|
||||||
|
|
||||||
static void
|
static void
|
||||||
glade_gtk_tool_item_group_parse_finished (GladeProject *project,
|
glade_gtk_tool_item_group_parse_finished (GladeProject *project, GObject *object)
|
||||||
GladeWidget *widget)
|
|
||||||
{
|
{
|
||||||
|
GladeWidget *widget = glade_widget_get_from_gobject (object);
|
||||||
GtkWidget *label_widget = NULL;
|
GtkWidget *label_widget = NULL;
|
||||||
|
|
||||||
glade_widget_property_get (widget, "label-widget", &label_widget);
|
glade_widget_property_get (widget, "label-widget", &label_widget);
|
||||||
@ -97,9 +97,11 @@ glade_gtk_tool_item_group_read_widget (GladeWidgetAdaptor *adaptor,
|
|||||||
GLADE_WIDGET_ADAPTOR_GET_ADAPTOR_CLASS (GTK_TYPE_TOOL_ITEM)->read_widget (adaptor, widget, node);
|
GLADE_WIDGET_ADAPTOR_GET_ADAPTOR_CLASS (GTK_TYPE_TOOL_ITEM)->read_widget (adaptor, widget, node);
|
||||||
|
|
||||||
/* Run this after the load so that icon-widget is resolved. */
|
/* Run this after the load so that icon-widget is resolved. */
|
||||||
g_signal_connect (glade_widget_get_project (widget),
|
g_signal_connect_object (glade_widget_get_project (widget),
|
||||||
"parse-finished",
|
"parse-finished",
|
||||||
G_CALLBACK (glade_gtk_tool_item_group_parse_finished), widget);
|
G_CALLBACK (glade_gtk_tool_item_group_parse_finished),
|
||||||
|
glade_widget_get_object (widget),
|
||||||
|
0);
|
||||||
}
|
}
|
||||||
|
|
||||||
static void
|
static void
|
||||||
|
@ -932,6 +932,18 @@ glade_gtk_widget_action_activate (GladeWidgetAdaptor *adaptor,
|
|||||||
if ((gnew_parent =
|
if ((gnew_parent =
|
||||||
glade_command_create (adaptor, gparent, NULL, project)) != NULL)
|
glade_command_create (adaptor, gparent, NULL, project)) != NULL)
|
||||||
{
|
{
|
||||||
|
/* We might need to add a viewport */
|
||||||
|
if (new_type == GTK_TYPE_SCROLLED_WINDOW &&
|
||||||
|
!GTK_IS_SCROLLABLE (object))
|
||||||
|
{
|
||||||
|
GladeWidgetAdaptor *viewport =
|
||||||
|
glade_widget_adaptor_get_by_type (GTK_TYPE_VIEWPORT);
|
||||||
|
gnew_parent = glade_command_create (viewport,
|
||||||
|
gnew_parent,
|
||||||
|
NULL,
|
||||||
|
project);
|
||||||
|
}
|
||||||
|
|
||||||
/* Now we created the new parent, if gwidget had a parentless widget reference...
|
/* Now we created the new parent, if gwidget had a parentless widget reference...
|
||||||
* set that reference to the new parent instead */
|
* set that reference to the new parent instead */
|
||||||
if (property)
|
if (property)
|
||||||
|
@ -84,9 +84,10 @@ glade_gtk_window_post_create (GladeWidgetAdaptor *adaptor,
|
|||||||
|
|
||||||
if (reason == GLADE_CREATE_LOAD)
|
if (reason == GLADE_CREATE_LOAD)
|
||||||
{
|
{
|
||||||
g_signal_connect (project, "parse-finished",
|
g_signal_connect_object (project, "parse-finished",
|
||||||
G_CALLBACK (glade_gtk_window_parse_finished),
|
G_CALLBACK (glade_gtk_window_parse_finished),
|
||||||
object);
|
object,
|
||||||
|
0);
|
||||||
}
|
}
|
||||||
else if (reason == GLADE_CREATE_USER &&
|
else if (reason == GLADE_CREATE_USER &&
|
||||||
gtk_bin_get_child (GTK_BIN (object)) == NULL)
|
gtk_bin_get_child (GTK_BIN (object)) == NULL)
|
||||||
|
@ -5439,6 +5439,7 @@
|
|||||||
|
|
||||||
<glade-widget-group name="gtk-deprecated" title="Deprecated">
|
<glade-widget-group name="gtk-deprecated" title="Deprecated">
|
||||||
<default-palette-state expanded="False"/>
|
<default-palette-state expanded="False"/>
|
||||||
|
<glade-widget-class-ref name="GtkTable"/>
|
||||||
<glade-widget-class-ref name="GtkColorSelectionDialog"/>
|
<glade-widget-class-ref name="GtkColorSelectionDialog"/>
|
||||||
<glade-widget-class-ref name="GtkFontSelectionDialog"/>
|
<glade-widget-class-ref name="GtkFontSelectionDialog"/>
|
||||||
<glade-widget-class-ref name="GtkColorSelection"/>
|
<glade-widget-class-ref name="GtkColorSelection"/>
|
||||||
|
@ -1,6 +1,9 @@
|
|||||||
ldflags = []
|
ldflags = []
|
||||||
if glade_system == 'windows'
|
if glade_system == 'windows'
|
||||||
ldflags += cc.get_supported_link_arguments('-no-undefined')
|
ldflags += cc.get_supported_link_arguments(
|
||||||
|
'-Wl,--export-all-symbols',
|
||||||
|
'-Wl,--no-undefined',
|
||||||
|
)
|
||||||
endif
|
endif
|
||||||
|
|
||||||
plugins_kwargs = {
|
plugins_kwargs = {
|
||||||
|
1932
po/pt_BR.po
1932
po/pt_BR.po
File diff suppressed because it is too large
Load Diff
1889
po/zh_CN.po
1889
po/zh_CN.po
File diff suppressed because it is too large
Load Diff
@ -1,11 +1,11 @@
|
|||||||
/*
|
/*
|
||||||
* Copyright (C) 2014, 2020 Juan Pablo Ugarte.
|
* Copyright (C) 2014, 2020 Juan Pablo Ugarte.
|
||||||
*
|
*
|
||||||
* This program is free software; you can redistribute it and/or modify
|
* This program is free software; you can redistribute it and/or modify
|
||||||
* it under the terms of the GNU General Public License as
|
* it under the terms of the GNU General Public License as
|
||||||
* published by the Free Software Foundation; either version 2 of the
|
* published by the Free Software Foundation; either version 2 of the
|
||||||
* License, or (at your option) any later version.
|
* License, or (at your option) any later version.
|
||||||
*
|
*
|
||||||
* This program is distributed in the hope that it will be useful,
|
* This program is distributed in the hope that it will be useful,
|
||||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
@ -22,6 +22,7 @@
|
|||||||
#include <glade-http.h>
|
#include <glade-http.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
|
#include <stdlib.h>
|
||||||
|
|
||||||
struct _GladeHTTPPrivate
|
struct _GladeHTTPPrivate
|
||||||
{
|
{
|
||||||
|
@ -6,5 +6,6 @@
|
|||||||
<file compressed="true" preprocess="xml-stripblanks">glade-registration.glade</file>
|
<file compressed="true" preprocess="xml-stripblanks">glade-registration.glade</file>
|
||||||
<file compressed="true">glade-window.css</file>
|
<file compressed="true">glade-window.css</file>
|
||||||
<file compressed="true">glade-registration.css</file>
|
<file compressed="true">glade-registration.css</file>
|
||||||
|
<file compressed="false">guido.png</file>
|
||||||
</gresource>
|
</gresource>
|
||||||
</gresources>
|
</gresources>
|
||||||
|
@ -2497,6 +2497,13 @@ glade_window_registration_notify_user (GladeWindow *window)
|
|||||||
g_return_if_fail (GLADE_IS_WINDOW (window));
|
g_return_if_fail (GLADE_IS_WINDOW (window));
|
||||||
priv = window->priv;
|
priv = window->priv;
|
||||||
|
|
||||||
|
if (!g_tls_backend_supports_tls (g_tls_backend_get_default ()))
|
||||||
|
{
|
||||||
|
g_message ("No TLS support in GIO, Registration & User Survey disabled. (missing glib-networking package)");
|
||||||
|
actions_set_enabled (window, "registration", FALSE);
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
g_object_get (priv->registration,
|
g_object_get (priv->registration,
|
||||||
"completed", &completed,
|
"completed", &completed,
|
||||||
"skip-reminder", &skip_reminder,
|
"skip-reminder", &skip_reminder,
|
||||||
|
@ -29,6 +29,65 @@ Author: Juan Pablo Ugarte
|
|||||||
<!-- interface-description A user interface designer for GTK+ and GNOME. -->
|
<!-- interface-description A user interface designer for GTK+ and GNOME. -->
|
||||||
<!-- interface-copyright 2012-2018 Juan Pablo Ugarte -->
|
<!-- interface-copyright 2012-2018 Juan Pablo Ugarte -->
|
||||||
<!-- interface-authors Juan Pablo Ugarte -->
|
<!-- interface-authors Juan Pablo Ugarte -->
|
||||||
|
<object class="GtkPopover" id="guido_popover">
|
||||||
|
<property name="can-focus">False</property>
|
||||||
|
<child>
|
||||||
|
<object class="GtkBox">
|
||||||
|
<property name="visible">True</property>
|
||||||
|
<property name="can-focus">False</property>
|
||||||
|
<property name="margin-start">8</property>
|
||||||
|
<property name="margin-end">8</property>
|
||||||
|
<property name="margin-top">4</property>
|
||||||
|
<child>
|
||||||
|
<object class="GtkImage">
|
||||||
|
<property name="visible">True</property>
|
||||||
|
<property name="can-focus">False</property>
|
||||||
|
<property name="valign">end</property>
|
||||||
|
<property name="resource">/org/gnome/glade/guido.png</property>
|
||||||
|
</object>
|
||||||
|
<packing>
|
||||||
|
<property name="expand">False</property>
|
||||||
|
<property name="fill">True</property>
|
||||||
|
<property name="position">0</property>
|
||||||
|
</packing>
|
||||||
|
</child>
|
||||||
|
<child>
|
||||||
|
<object class="GtkLabel">
|
||||||
|
<property name="visible">True</property>
|
||||||
|
<property name="can-focus">False</property>
|
||||||
|
<property name="valign">center</property>
|
||||||
|
<property name="label" translatable="yes" context="This is to honor a professor that passed away last year and appears in a popover when you click on the button that says "RIP Guido"" comments="The last sentence in quotes is in spanish and does not need to be translated.">Guido was one of my professors at Rosario
|
||||||
|
National University of Argentina.
|
||||||
|
|
||||||
|
He introduced me to C, Linux, free software...
|
||||||
|
|
||||||
|
He always had extra time to explain one more thing
|
||||||
|
and help you figure out things by yourself.
|
||||||
|
|
||||||
|
Always made a joke in the right moment keeping
|
||||||
|
things interesting and fun.
|
||||||
|
|
||||||
|
Master of intentionally misconstrued sayings.
|
||||||
|
|
||||||
|
Always carried a stack of books under his arm.
|
||||||
|
|
||||||
|
Loved Guinness beer.
|
||||||
|
|
||||||
|
All he ever wanted was make you think!
|
||||||
|
|
||||||
|
"Alégrate! Mañana sera peor."
|
||||||
|
|
||||||
|
Juan Pablo</property>
|
||||||
|
</object>
|
||||||
|
<packing>
|
||||||
|
<property name="expand">False</property>
|
||||||
|
<property name="fill">True</property>
|
||||||
|
<property name="position">1</property>
|
||||||
|
</packing>
|
||||||
|
</child>
|
||||||
|
</object>
|
||||||
|
</child>
|
||||||
|
</object>
|
||||||
<object class="GtkPopoverMenu" id="main_menu">
|
<object class="GtkPopoverMenu" id="main_menu">
|
||||||
<property name="can-focus">False</property>
|
<property name="can-focus">False</property>
|
||||||
<child>
|
<child>
|
||||||
@ -177,19 +236,19 @@ Author: Juan Pablo Ugarte
|
|||||||
<property name="visible">True</property>
|
<property name="visible">True</property>
|
||||||
<property name="can-focus">False</property>
|
<property name="can-focus">False</property>
|
||||||
<property name="halign">center</property>
|
<property name="halign">center</property>
|
||||||
<property name="valign">center</property>
|
|
||||||
<property name="orientation">vertical</property>
|
<property name="orientation">vertical</property>
|
||||||
<child>
|
<child>
|
||||||
<object class="GtkImage">
|
<object class="GtkImage">
|
||||||
<property name="name">glade-brand-image</property>
|
<property name="name">glade-brand-image</property>
|
||||||
<property name="visible">True</property>
|
<property name="visible">True</property>
|
||||||
<property name="can-focus">False</property>
|
<property name="can-focus">False</property>
|
||||||
|
<property name="valign">end</property>
|
||||||
<property name="margin-top">64</property>
|
<property name="margin-top">64</property>
|
||||||
<property name="pixel-size">250</property>
|
<property name="pixel-size">250</property>
|
||||||
<property name="icon-name">glade-brand-symbolic</property>
|
<property name="icon-name">glade-brand-symbolic</property>
|
||||||
</object>
|
</object>
|
||||||
<packing>
|
<packing>
|
||||||
<property name="expand">False</property>
|
<property name="expand">True</property>
|
||||||
<property name="fill">True</property>
|
<property name="fill">True</property>
|
||||||
<property name="position">0</property>
|
<property name="position">0</property>
|
||||||
</packing>
|
</packing>
|
||||||
@ -220,6 +279,35 @@ Author: Juan Pablo Ugarte
|
|||||||
<property name="position">2</property>
|
<property name="position">2</property>
|
||||||
</packing>
|
</packing>
|
||||||
</child>
|
</child>
|
||||||
|
<child>
|
||||||
|
<object class="GtkMenuButton">
|
||||||
|
<property name="visible">True</property>
|
||||||
|
<property name="can-focus">False</property>
|
||||||
|
<property name="focus-on-click">False</property>
|
||||||
|
<property name="receives-default">True</property>
|
||||||
|
<property name="halign">center</property>
|
||||||
|
<property name="valign">end</property>
|
||||||
|
<property name="margin-bottom">4</property>
|
||||||
|
<property name="relief">none</property>
|
||||||
|
<property name="popover">guido_popover</property>
|
||||||
|
<child>
|
||||||
|
<object class="GtkLabel">
|
||||||
|
<property name="visible">True</property>
|
||||||
|
<property name="can-focus">False</property>
|
||||||
|
<property name="label" translatable="yes" context="Button label in the bottom of main window that triggers a popover"><small>In memory of an extraordinary
|
||||||
|
person and professor
|
||||||
|
R.I.P Guido Macchi</small></property>
|
||||||
|
<property name="use-markup">True</property>
|
||||||
|
<property name="justify">center</property>
|
||||||
|
</object>
|
||||||
|
</child>
|
||||||
|
</object>
|
||||||
|
<packing>
|
||||||
|
<property name="expand">True</property>
|
||||||
|
<property name="fill">True</property>
|
||||||
|
<property name="position">3</property>
|
||||||
|
</packing>
|
||||||
|
</child>
|
||||||
</object>
|
</object>
|
||||||
<packing>
|
<packing>
|
||||||
<property name="name">page0</property>
|
<property name="name">page0</property>
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
#include <winver.h>
|
#include <winver.h>
|
||||||
|
|
||||||
GLADE_ICON ICON "../data/icons/glade.ico"
|
GLADE_ICON ICON "@SOURCE_ROOT@/data/icons/glade.ico"
|
||||||
|
|
||||||
VS_VERSION_INFO VERSIONINFO
|
VS_VERSION_INFO VERSIONINFO
|
||||||
FILEVERSION @GLADE_MAJOR_VERSION@,@GLADE_MINOR_VERSION@,@GLADE_MICRO_VERSION@,0
|
FILEVERSION @GLADE_MAJOR_VERSION@,@GLADE_MINOR_VERSION@,@GLADE_MICRO_VERSION@,0
|
||||||
@ -12,10 +12,10 @@ VS_VERSION_INFO VERSIONINFO
|
|||||||
BEGIN
|
BEGIN
|
||||||
BLOCK "040904B0"
|
BLOCK "040904B0"
|
||||||
BEGIN
|
BEGIN
|
||||||
VALUE "CompanyName", "GNOME Foundation"
|
VALUE "CompanyName", "The GNOME Foundation"
|
||||||
VALUE "FileDescription", "Glade Interface Designer @GLADE_MAJOR_VERSION@.@GLADE_MINOR_VERSION@.@GLADE_MICRO_VERSION@"
|
VALUE "FileDescription", "Glade Interface Designer @GLADE_MAJOR_VERSION@.@GLADE_MINOR_VERSION@.@GLADE_MICRO_VERSION@"
|
||||||
VALUE "FileVersion", "@GLADE_MAJOR_VERSION@.@GLADE_MINOR_VERSION@.@GLADE_MICRO_VERSION@.0"
|
VALUE "FileVersion", "@GLADE_MAJOR_VERSION@.@GLADE_MINOR_VERSION@.@GLADE_MICRO_VERSION@.0"
|
||||||
VALUE "LegalCopyright", "Copyright © 2012 The GNOME Foundation"
|
VALUE "LegalCopyright", "Copyright 2012 The GNOME Foundation"
|
||||||
VALUE "OriginalFilename", "glade.exe"
|
VALUE "OriginalFilename", "glade.exe"
|
||||||
VALUE "ProductName", "Glade Interface Designer"
|
VALUE "ProductName", "Glade Interface Designer"
|
||||||
VALUE "ProductVersion", "@GLADE_MAJOR_VERSION@.@GLADE_MINOR_VERSION@.@GLADE_MICRO_VERSION@.0"
|
VALUE "ProductVersion", "@GLADE_MAJOR_VERSION@.@GLADE_MINOR_VERSION@.@GLADE_MICRO_VERSION@.0"
|
||||||
|
BIN
src/guido.png
Normal file
BIN
src/guido.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 47 KiB |
@ -14,6 +14,7 @@ resource_data = files(
|
|||||||
'glade-registration.css',
|
'glade-registration.css',
|
||||||
'glade-registration.glade',
|
'glade-registration.glade',
|
||||||
'glade-window.css',
|
'glade-window.css',
|
||||||
|
'guido.png'
|
||||||
)
|
)
|
||||||
|
|
||||||
resource = 'glade-resources'
|
resource = 'glade-resources'
|
||||||
@ -36,13 +37,13 @@ ldflags = []
|
|||||||
if glade_system == 'windows'
|
if glade_system == 'windows'
|
||||||
rc = configure_file(
|
rc = configure_file(
|
||||||
input: 'glade.rc.in',
|
input: 'glade.rc.in',
|
||||||
output: '@BASELINE@',
|
output: 'glade.rc',
|
||||||
configuration: rc_conf,
|
configuration: rc_conf,
|
||||||
)
|
)
|
||||||
|
|
||||||
sources += windows.compile_resources(rc)
|
sources += windows.compile_resources(rc)
|
||||||
|
|
||||||
test_ldflags = ['-export-dynamic']
|
test_ldflags = ['-Wl,--export-all-symbols']
|
||||||
if not glade_unstable
|
if not glade_unstable
|
||||||
test_ldflags += ['-mwindows']
|
test_ldflags += ['-mwindows']
|
||||||
endif
|
endif
|
||||||
|
Loading…
x
Reference in New Issue
Block a user