Commit Graph

26674 Commits

Author SHA1 Message Date
Matej Urbančič
eadc05b2ce Updated Slovenian translation 2011-06-03 22:18:25 +02:00
Juan Pablo Ugarte
8f4352ca53 Fixed bug #576492 "GtkBuilder does not respect G_PARAM_CONSTRUCT properties"
Added G_PARAM_CONSTRUCT flag in gtk_builder_get_parameters() checks as suggested by Johan Dahlin.
2011-06-03 15:16:22 -03:00
Carles Ferrando
c6d4284120 [l10n]Updated Catalan (Valencian) translation 2011-05-29 14:12:45 +02:00
Carles Ferrando
f77884d092 [l10n]Updated Catalan (Valencian) translation 2011-05-29 14:09:13 +02:00
Carles Ferrando
43956f4eab [l10n]Updated Catalan (Valencian) translation 2011-05-29 14:08:53 +02:00
Matej Urbančič
b7e777e7fa Updated Slovenian translation 2011-05-27 23:00:28 +02:00
Kjell Ahlstedt
219e82c9e7 bgo#642929 - Don't infinite-loop in GTK_FILE_CHOOSER_ACTION_CREATE_FOLDER
If the user pressed Enter to confirm the file chooser while the filename entry
was empty, then gtk_file_chooser_default_should_respond() would go back and forth
between the cases for handling the filename entry and the file list.
2011-05-23 15:02:25 -05:00
Benjamin Otte
847df205ed window: Only draw resize grip if its window exists
Don't rely on priv->resize_grip_visible as the code comment in the
variable declaration indicates.
This fixes warnings with GtkPlug, which can cause resize_grip_visible to
be TRUE but grid_window to be NULL - running tests/teststatusicon
reproduces this.

This broke with 0cf31b35eb
2011-05-23 16:08:37 +02:00
Matthias Clasen
750aca05ff bump version 2011-05-22 23:11:57 -04:00
Matthias Clasen
2c4b3ce8d6 Updates 3.0.10 2011-05-22 22:31:11 -04:00
Chun-wei Fan
de8a45d7f0 Update Visual C++ README.txt
-Make the preparation instructions a bit more clear
-Tell people about the now-optional dependency on fontconfig on Visual C++
 builds
2011-05-18 12:34:07 +08:00
Carlos Garnacho
636cdd2b02 button: Fix typo in keyboard grab's evmask
https://bugzilla.gnome.org/show_bug.cgi?id=650382, spotted
by Alexander Larsson.
2011-05-17 13:25:47 +02:00
Friedel Wolff
ab0875c020 Fix two small translation bugs 2011-05-10 12:46:19 +02:00
John Stowers
b846363e24 Add missing gtk_widget_override_* annotations
https://bugzilla.gnome.org/show_bug.cgi?id=649779
2011-05-09 22:47:03 +12:00
Benjamin Otte
9917861cb1 label: Compute label offset properly for wrapped justified labels
label offsets were computed wrong for wrapped or ellipsized labels that
were right- or center-justified and had excess space available.
2011-05-05 18:00:58 +02:00
Martin Pitt
49a764f933 GdkWindow: Add missing (allow-none) annotations 2011-05-03 09:32:11 +02:00
Benjamin Otte
d11c6e1beb cellarea: Fix warning messages to display the right type
The warning displayed the type of the area instead of the cell
renderer's type before.
2011-05-02 20:10:48 +02:00
Abduxukur Abdurixit
e3717bc749 Added UG translation 2011-05-02 08:38:25 +02:00
Benjamin Otte
c900fd1cd3 settings: Recompute styles when font name changes 2011-05-01 04:20:12 +02:00
Simos Xenitellis
82d517e829 l10n: Updated Greek translation for gtk+ 2011-04-27 23:22:19 +03:00
Giorgos Stephanakis
7835746ac3 l10n: Updated Greek translation for gtk+ 2011-04-27 23:20:51 +03:00
Chun-wei Fan
57a71d179b VS 2010 support updates
Sorry, accidently left ATK-2.0 stuff in this, should have been
ATK-1.0.  doh.

Only use ATK-2.x in the coming GTK+-3.2

Also mend for GDK-Pixbuf 2.0 include path in property file.
2011-04-27 01:00:07 +08:00
Chun-wei Fan
334ff9781e Bug 643270: VS 2010 support (autotools part)
-Added distribution for the VS 2010 project files
-Added rules in the GDK/GTK+ Makefile.am to fill in the template
 project/filter files during "make dist" to ensure the source file
 listing is up-to-date to simplify maintenance.

This was checked with "make dist" on Ubuntu.

Any comments on the use of the VS 2010 Projects are welcome.
2011-04-27 00:17:13 +08:00
Chun-wei Fan
7f6cc796cb Bug 643270: VS 2010 Project Files
These are the VS2010 project files to compile GDK and GTK+
with the Win32 backend, with a README.txt file to briefly
explain the steps to build this.

The main GDK and GTK+ project/filter files are templates
that are expanded during "make dist" so that the source
file listings in them will be up-to-date as far as
possible, simplifying maintenance.

Any comments and suggestions are welcome.
2011-04-27 00:14:01 +08:00
Chun-wei Fan
71f38cb958 VS 2008 support: Update README.txt again
Make the requirements for GDK-Pixbuf a bit more clear...
2011-04-27 00:06:12 +08:00
Benjamin Otte
f85feed113 widget: Add hack to make label mnemonics work again
Mnemonics for characters that go beyond the baseline (q, y, g) were not
being shown, because they are drawn outside of the label's allocated
size.
This patch just disables the clip-to-size for labels, so that the label
can draw outsize of its allocation. In most cases, that works around
this bug.

https://bugzilla.gnome.org/show_bug.cgi?id=648570
2011-04-26 14:11:04 +02:00
Chun-wei Fan
373b8de3ac VS2008 support: Process filechooser gsettings xml
This will copy the xml file and compile it so that the GTK+3 filechooser
can be used on Windows, especially the MSVC-compiled versions.
2011-04-25 15:12:10 +08:00
Michael Natterer
12cf577f66 gdk: add precondition checks to all GdkKeymap functions
so it warns instead of simply crashing. Also fix some whitespace
stuff.
(cherry picked from commit 6c24a25751)
2011-04-22 00:01:44 +02:00
Paolo Borelli
2143c1835e label: Always respect width-chars and max-width-chars
Not just when labels are set to ellipsize or wrap.

https://bugzilla.gnome.org/show_bug.cgi?id=647284
2011-04-20 16:02:52 +02:00
Gintautas Miliauskas
264539728c Updated Lithuanian translation. 2011-04-19 13:58:33 +02:00
David King
61f111fe76 widget: add Since tags for margin accessors 2011-04-18 08:21:59 +02:00
Matthias Clasen
9833fbd77a gtk_menu_shell_activate shall remain private, seriously
What a travesty ! And all because I forgot to include gtkmenuitem.c
in my first commit related to this.
2011-04-17 23:09:39 -04:00
Chun-wei Fan
4eac7f2417 Update gtk/gtkmenuitem.c...
Copy over the implementation of _gtk_menu_shell_activate
so that C4013 warning/error (aka gcc's "implicit
declaration of ...") can be avoided when compiling
with MSVC.

This is in response of the changes for bug 554057 in commit
f5eee56b56.
2011-04-18 02:04:24 +08:00
Chun-wei Fan
5f14831f7d Update build/win32/vs9/README.txt
Make the build instructions and information more
up-to-date and clearer to people

Please let me know if I have missed any details that
are needed.  Thank you!
2011-04-18 00:23:58 +08:00
Benjamin Otte
be6d434f78 window: cast value so gcc shuts up 2011-04-16 22:51:28 +02:00
Benjamin Otte
a07c41dc38 menushell: Include a function in the private header
Don't copy over the implementation. This avoids a copy of the function.
Reverts 0098344f84.
2011-04-16 22:47:40 +02:00
Benjamin Otte
83678a1c59 entry: Use the new get_frame_size() argument in gtk_entry_draw_frame() 2011-04-16 22:46:06 +02:00
Benjamin Otte
44b5fe2a60 entry: Fix gtk_entry_get_icon_at_pos()
The passed in coordinates are widget-relative, not window-relative.
2011-04-16 22:45:54 +02:00
Benjamin Otte
57fd192679 entry: Add the ability to query frame size in two ways
TRUE: relative to widget->window
FALSE: relative to widget

For now, no caller has beeen changed.
2011-04-16 22:45:48 +02:00
Benjamin Otte
0cf31b35eb window: Only draw the resize grip if it is actually visible
This issue can only be seen if someone calls gtk_widget_draw() on the
window as otherwise gtk_cairo_should_draw_window() would return FALSE.
2011-04-16 22:45:34 +02:00
Benjamin Otte
f537ebf024 docs: Fix wrong description for query-tooltip
Coordinates are not relative to widget->window
2011-04-16 22:45:28 +02:00
Matthias Clasen
89fbd574ce Bump version 2011-04-15 11:48:22 -04:00
Matthias Clasen
dafdcefd17 bump version 3.0.9 2011-04-15 09:32:08 -04:00
Paolo Borelli
8eabbe2220 Free MenuPopulateData struct in all the cases.
For clarity factor out create/free functions.

https://bugzilla.gnome.org/show_bug.cgi?id=646876
2011-04-15 11:17:13 +02:00
Matthias Clasen
6fdfc879c8 Don't leak a list when activating keybindings
Patch by Rui Matos,
https://bugzilla.gnome.org/show_bug.cgi?id=647790
2011-04-14 20:23:11 -04:00
Matthias Clasen
e604efd8d3 Updates 2011-04-14 10:15:46 -04:00
Matthias Clasen
f5eee56b56 GtkMenuShell: always 'activate' menu shells
Failing to do so can leave us with a stuck grab in some cases.
https://bugzilla.gnome.org/show_bug.cgi?id=554057
2011-04-14 09:01:08 -04:00
Matthias Clasen
8990ad6a20 GtkTimeline: don't look when animations are disabled
Otherwise, we end up doing maximal work with minimal effect, and
bring the X server to 100% CPU. Note that this makes spinner widgets
look really unclear, but they really have to be changed to adapt
to enable-animations == FALSE at the widget level.
2011-04-14 08:56:07 -04:00
Javier Jardón
15de4031bc docs: Fix a typo: gtk_style_get_context -> gtk_style_has_context 2011-04-13 13:54:45 +01:00
Cosimo Cecchi
713488ed50 combobox: always give the full allocation to the button in menu mode
The button is what draws the background/frame outline of the combobox,
and padding is defined as the spacing *inside* the widget between the
border and the content.

https://bugzilla.gnome.org/show_bug.cgi?id=646882
2011-04-12 17:06:20 -04:00