Commit Graph

23575 Commits

Author SHA1 Message Date
Javier Jardón
abb98246ff docs: Update URL of some documentation links
http://developer.gnome.org -> http://library.gnome.org
2010-11-16 16:20:46 +09:00
Gheyret T.Kenji
cb1ef69b12 Added UG translation 2010-11-16 16:20:46 +09:00
Gabor Kelemen
1dd7424f0c Updated Hungarian translation 2010-11-16 16:20:46 +09:00
Tristan Van Berkom
b0919b2058 Added "cell-packing" property GtkBuildable parsing to GtkCellLayout
Added gtk_cell_layout_get_area() iface vfunc and use that to apply
packing cell properties to the child renderers when parsing from
GtkBuilder.
2010-11-16 15:11:18 +09:00
Tristan Van Berkom
4ceb25e011 More documentation in gtkcellarea.c 2010-11-15 11:23:55 +09:00
Tristan Van Berkom
92dc7f31d4 Cleaned up cell editing api in GtkCellArea
Now layouting widgets need only concern themselves with
the "add-editable" and "remove-editable" signals, also added
lots of gtk-doc comments.
2010-11-14 23:33:26 +09:00
Tristan Van Berkom
1bca6349fb Mass rename GtkCellAreaIter --> GtkCellAreaContext 2010-11-13 16:23:01 +09:00
Khaled Hosny
bef9559089 Updated Arabic translation 2010-11-13 15:23:34 +09:00
Javier Jardón
df5286f11e examples/gtkdial: Do not use size_request vfunc 2010-11-13 15:23:34 +09:00
Matthias Clasen
c68a4ad4f6 Fix a crash in gnome-terminal when using a compositor
In this case, gnome-terminal sets an RGBA visual on its window,
and we need to be careful when creating the icon pixmap, to create
the pixmap with the same depth as the visual, or we risk a BadMatch
from XRenderCreatePicture deep inside cairo.
2010-11-13 15:23:34 +09:00
Bastien Nocera
7d11c16b17 gdk: Add XSetting for "gtk-cursor-blink-timeout"
Otherwise the blink timeout is the one used by default in GTK+.

https://bugzilla.gnome.org/show_bug.cgi?id=634697
2010-11-13 15:23:34 +09:00
Matthias Clasen
ed0aff4792 Remove no longer existing files
The gdk-pixbuf VC project files are gone, so don't reference
them from Makefile.am anymore.
2010-11-13 15:23:33 +09:00
Matthias Clasen
52adead88f Really get rid of _gtk_cell_renderer_calc_offset 2010-11-13 15:23:33 +09:00
Owen W. Taylor
342d897b58 Pass the correct GDK library when working around Debian libtool
We need to link against gdk/libgdk-x11-3.0.la, not
gdk/x11/libgdk-x11.la, which is the convenience library containing
the backend functions.
2010-11-13 15:23:33 +09:00
Chao-Hsiung Liao
88c1543845 Updated Traditional Chinese translation (Hong Kong and Taiwan) 2010-11-13 15:23:33 +09:00
Murray Cumming
131da8507b gtk_dialog_get_content_area(): Fix the docs.
This returns a GtkBox now, not a GtkVBox.
Language bindings may need to adjust their APIs accordingly.
2010-11-13 15:23:32 +09:00
Murray Cumming
233afbdab1 gtkdialog.c: Remove trailing whitespace 2010-11-13 15:23:32 +09:00
Marek Kasik
0fe9e481dd Print files to Documents directory by default
Set default directory to G_USER_DIRECTORY_DOCUMENTS
when printing to file backend and fallback to the current
directory when it is not available (#633896).
2010-11-13 15:23:32 +09:00
Chun-wei Fan
9d52a9d920 gtk.vcprojin: include .rc file 2010-11-13 15:23:32 +09:00
Chun-wei Fan
cf34b804a4 gtk+.sln: Remove GDK-Pixbuf compilation stuff
GDK-Pixbuf is in a package of its own, so remove the project files from here
2010-11-13 15:23:32 +09:00
Chun-wei Fan
2d84d1cb38 gtk+.vsprops: Update for GTK-3.0
-removed headers that ceased to exist
-bump API version
-made up for new headers that is to be installed
-gtk-demo program and related sources/data copied to bin/gtk3-demo
2010-11-13 15:23:32 +09:00
Chun-wei Fan
14a40180cd gtklabel.c: Added hack for rint() 2010-11-13 15:23:31 +09:00
Chun-wei Fan
25c2f4b780 gtkwocket-win32.c Added missing include to avoid C4013 2010-11-13 15:23:31 +09:00
Chun-wei Fan
2e0278c752 gtk: fix C99-style variable declarations in various sources 2010-11-13 15:23:31 +09:00
John (J5) Palmieri
4e47110120 [introspection] mark invokers for gtkeditable vfuncs 2010-11-13 15:23:31 +09:00
John (J5) Palmieri
b17a25142f [introspection] add transfer none annotation to gdk_keyval_name return
* moved docs from .sgml file to th e.c file so we can add the annotation
2010-11-13 15:23:31 +09:00
Matthias Clasen
fdde029f06 bump version 2010-11-13 15:23:31 +09:00
Matthias Clasen
3e9d7a30b0 fix up accidental exports 2010-11-13 15:23:30 +09:00
Matthias Clasen
b2ed95dd11 Another attempt at scrolledwindow size allocation
Patches taken from bug 633278.
2010-11-13 15:23:30 +09:00
Colin Walters
2facb830fa introspection: Explicitly include libgdk-x11.la when scanning gtk
Debian changed the behavior of libtool to not follow dependencies
from .la files.  Fortunately, the scanner explicitly looks at the
.la files to see if they're really shared; if not it doesn't add
them to the .gir, so there's no cost.

https://bugzilla.gnome.org/show_bug.cgi?id=633405
2010-11-13 15:23:30 +09:00
Matthias Clasen
79042e31a6 Rewrap text in gtk-demo 2010-11-13 15:23:30 +09:00
Matthias Clasen
70e161d2a2 Fix the doc build 2010-11-13 15:23:30 +09:00
Matthias Clasen
0a015f1bdb Don't export _gtk_cell_renderer_calc_offset
This is just a private convenience function, and exporting _-prefixed
functions doesn't work with our libtool setup. Just do the 3 line
calculation in gail.
2010-11-13 15:23:29 +09:00
Tristan Van Berkom
e7c4ede64c Fixed some background area related bugs in CellAreaScaffold, cleanup testcellarea 2010-11-13 15:09:36 +09:00
Tristan Van Berkom
eda16a096d Fixed some errors in testcellarea testcases. 2010-11-12 23:09:57 +09:00
Tristan Van Berkom
51b75ef44b Added tests to reflect proper treatment of background area.
CellAreaScaffold now also reflects how cell_area should be
passed to gtk_cell_area_activate() and gtk_cell_area_event()
and how the background area for gtk_cell_area_renderer() should
be created.
2010-11-12 21:55:28 +09:00
Tristan Van Berkom
47d55c4a4b Added orientation control to testcellarea's focus/editing test 2010-11-12 19:44:45 +09:00
Tristan Van Berkom
38666b406f Ironed out the kinks in editing apis for GtkCellArea
- Added gtk_cell_area_aligned_cell_area() to get the aligned
   internal area use by a cell (for focus painting and for
   event areas).

 - Provide the event area in "editing-started" signal

 - Fire "remove-editable" when editing is canceled by the user,
   an implementing layouting widget need only catch "editing-started"
   and "remove-editable" now.

 - CellAreaScaffold/testcellarea now edit textrenderers.
2010-11-12 19:25:07 +09:00
Tristan Van Berkom
7e821aa980 Distribute portions of GtkCellArea:render() background_area argument to cells
Also added gtk_cell_area_get/set_style_detail() to set the string to be
used by the area in gtk_paint_* functions.
2010-11-12 14:06:00 +09:00
Tristan Van Berkom
33db66e728 Added event handling to GtkCellAreaBox
Now GtkCellAreaBox handles the click event to activate renderers
and checks if the area is in a sibling of a focus renderer, possibly
activating the proper focus sibling renderer.

Also GtkCellArea gains a "focus-changed" signal to allow it to
change the currently focused row according to the button events.
2010-11-11 18:13:54 +09:00
Tristan Van Berkom
f330b40521 GtkCellArea now paints focus on cells
Added concept of "Focus Siblings" to GtkCellArea so that some
static text/icon may be included in the focus/click area of
an activatable or editable cell, implemented focus drawing
as well, updated testcellarea to reflect the changes.
2010-11-11 16:13:06 +09:00
Tristan Van Berkom
524110f902 Focus driving in GtkCellArea now works.
- Fixed focus driving in GtkCellArea with refined apis
 - Added gtk_cell_area_activate() to be called when the area has focus
   (to activate or start editing the focused cell)
 - Added support for this in cellareascaffold
 - testcellarea now watches the "toggled" signal for a toggle renderer
   and updates the model state accordingly, this currently works with
   keyboard navigation, however focus is still not painted on cells.
2010-11-10 22:25:13 +09:00
Tristan Van Berkom
4643d90c5f Committing new (and simplified) focus handling approach for GtkCellArea.
Also adding missing file cellareascaffold.h
2010-11-10 19:17:06 +09:00
Matthias Clasen
c51bfe8757 Bump glib req. to 2.27.3 2010-11-09 16:18:16 +09:00
Chun-wei Fan
fb1a9d8c0d gdk.vcprojin: Include .rc file and fixed linker settings
-Added the missed gdk.rc file
-Made up for missed libraries required for link for configs other than Debug|win32
2010-11-09 16:18:16 +09:00
Chun-wei Fan
2fd00b9af3 gtk-demo.vcproj: set linker settings to be consistent
-Made up for the additional dependencies for setups other than Debug|Win32 (the correct setting)
-Made Subsystem="1" for all setups like Debug|Win32 (the correct setting)
2010-11-09 16:18:16 +09:00
Chun-wei Fan
5c52344551 gtk+.vsprops: Removed GdkPixbuf stuff and made up for missed headers
-Removed the GdkPixbuf stuff as it is now in a package of its own and added
 it as a dependent library here
-Made up for the headers missed in the installation stage for GTK+/GDK
2010-11-09 16:18:16 +09:00
Matthias Clasen
67112dae94 NEWS for 2.91.4 2010-11-09 16:18:15 +09:00
Matthias Clasen
f991f88d3f Fix entry completion window sizing
I don't think we are at the end of scrolledwindow tweaks yet,
but this will make things work for now, as they used to.

https://bugzilla.gnome.org/show_bug.cgi?id=633670
2010-11-09 16:18:15 +09:00
Ryan Lortie
3f2281f8c6 pixbuf engine: remove only use of GCache in Gtk
We'll be deprecating GCache in GLib soon.
2010-11-09 16:18:15 +09:00