Javier Jardón
3c8a54b2f7
Remove GdkWChar deprecated code
2010-06-20 00:22:26 +02:00
Javier Jardón
ca046f0cfb
Remove deprecated gdk_text_* and gdk_string_* functions
...
Remove gdk_string_extents(), gdk_text_extents(),
gdk_text_extents_wc(), gdk_string_width(), gdk_text_width(),
gdk_text_width_wc(), gdk_string_measure(), gdk_text_measure(),
gdk_string_height(), gdk_text_height()
2010-06-20 00:22:26 +02:00
Matthias Clasen
2a2843c041
Prevent concurrent use of GTK+ 2 and 3
...
If we detect a gtk2-only symbol, error out early.
2010-06-18 22:27:26 -04:00
Matthias Clasen
32dd5882a0
Fix make check
2010-06-18 21:58:36 -04:00
Emmanuele Bassi
b98667d41e
application: Remove a variable and silence a compiler warning
2010-06-18 14:26:57 +01:00
Emmanuele Bassi
2755b93913
application: Revert the leak plug
...
The &s in the signature of a GVariant means "pass me a pointer". To
avoid repeating the same mistake, use a const gchar* to declare the
key.
2010-06-18 14:26:05 +01:00
Emmanuele Bassi
3e1b82336c
application: Plug a leak
...
The key returned by g_variant_iter_next() should be freed as well.
Also, clean up the coding style a bit.
2010-06-18 12:06:39 +01:00
Tristan Van Berkom
5f4309be96
Fixed some typos in new docs that are about GtkSizeRequest (not GtkSizeGroup)
2010-06-18 00:32:09 -04:00
Tristan Van Berkom
edd57602b8
Mass api change from GtkExtendedLayout --> GtkSizeRequest
...
This commit makes a few massive changes to the extended layout
code:
a.) gtkextendedlayout.c --> gtksizerequest.c
b.) _is_height_for_width --> get_request_mode()
c.) get_desired_size(), get_desired_width(), get_desired_height() -->
get_size(), get_width(), get_height()
This is the first partial commit and only effects portions
of the tree that have already been merged in master (in order to
easily cherry pick this commit).
Conflicts:
gtk/Makefile.am
gtk/gtk.h
gtk/gtk.symbols
gtk/gtkextendedlayout.h
2010-06-18 00:11:26 -04:00
Christian Persch
9d0b941da6
application: Fix marshaler for GVariant gtype change
...
Use VARIANT instead of BOXED.
2010-06-18 00:25:06 +02:00
Stanislas Marquis
a14c820aa9
[docs] Fix gtk_tree_sortable_set_sort_column_id()
...
@sortable => @sort_column_id
Signed-off-by: Javier Jardón <jjardon@gnome.org>
2010-06-17 18:22:54 +02:00
Emmanuele Bassi
4f357dbf95
application: Allow sub-classes to override the Window creation
...
Sub-classes of GtkApplication might want to override the way an
application window is created - for instance, to hook into GtkBuilder
or to set up some basic UI or state.
A new GtkApplication::create_window() virtual function is added to the
GtkApplicationClass vtable, which returns the newly created GtkWindow.
The gtk_application_create_window() function calls the vfunc and adds
the returned window to the list of windows managed by the application
instance.
Calling gtk_application_add_window() will also set the default window,
if one is not already set.
This commit also removes a spurious g_object_ref_sink() on the newly
created GtkWindow.
2010-06-17 15:41:12 +01:00
Javier Jardón
2747f9d84d
Deprecate GTK_OBJECT_FLAGS() and GtkObjectFlags enum
...
This macro will be moved to a private header in GTK+3.
https://bugzilla.gnome.org/show_bug.cgi?id=615666
2010-06-16 20:36:30 +02:00
Javier Jardón
318fa1e179
[gtk/gtkmenu] Emit an "attach-widget" event in gtk_menu_attach_to_widget()
...
Reported by ageorge@datasys.net in bug
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=621683
2010-06-16 20:18:39 +02:00
Colin Walters
bdaefd7efe
[GtkApplication] Update for GApplication API changes
...
Move appid parameter first to match GApplication.
2010-06-16 11:02:39 -04:00
Carlos Garnacho
c5a4bd0578
GtkMenuShell: Store device on GTK+ device grab.
...
gtk_menu_shell_deactivate() needs to know the device to end the
GTK+ grab.
2010-06-16 15:04:27 +02:00
Carlos Garnacho
404f4c5d40
GtkMenuShell: take a single device for grabs.
...
The other device will always be the associated device.
2010-06-16 15:04:27 +02:00
Carlos Garnacho
385f83ff4a
GtkTextView: Scroll on the pointer doing DnD.
2010-06-15 21:06:11 +02:00
Carlos Garnacho
8c957ef3ef
GtkWidget: Undef GDK_DISABLE_DEPRECATED
...
This is needed for gdk_input_set_extension_events(), used by its GTK+
counterpart.
2010-06-15 21:06:10 +02:00
Tristan Van Berkom
1b2e9124f0
Fixed negative allocations from gtk_box_size_allocate()
...
Fixed the allocation loop to check if it was allocated at least
enough space to hold its visible children before going and distributing
extra space among children. Fixes bgo #617444 .
2010-06-15 14:27:12 -04:00
Carlos Garnacho
b238c0124a
Make GTK+ device grabs take precedence over GTK+ grabs
...
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=620440 (Reported by
Marek Kašík), where the print dialog modality would impair the pop-up
window from getting events. Device GTK+ grabs gain in specificness.
2010-06-15 19:39:59 +02:00
Javier Jardón
2e4ba929ba
[docs] Make GtkUIManager signal documentation more consistent
...
Reported by Alexander Saprykin in bug
https://bugzilla.gnome.org/show_bug.cgi?id=621631
2010-06-15 15:29:59 +02:00
Matthias Clasen
294f810021
Docmentation improvements
...
Don't mention removed _defaults functions in the docs, also try
to clarify the situation around fill and expand defaults.
2010-06-15 01:23:30 -04:00
Thomas Wood
e19c50b538
GtkCalendar: some functions always return TRUE, so change them to void
...
Certain functions for GtkCalendar always return the same value. Therefore
they do not actually need to return a value at all.
Bug #621136 .
2010-06-15 00:00:40 -04:00
Matthias Clasen
e9fc660d7e
Add a variant of gtk_icon_theme_load_symbolic that takes a style
...
As proposed by Owen in bug 621578 to reduce code duplication.
2010-06-14 23:46:46 -04:00
Matthias Clasen
d53b0c200d
Remove some useless defines
2010-06-14 17:23:07 -04:00
Colin Walters
6c71da01cc
[GtkApplication] Update for GApplication API changes
...
We now implement "quit" and "action" signals here.
https://bugzilla.gnome.org/show_bug.cgi?id=621003
2010-06-14 18:30:51 -04:00
Paolo Borelli
cf14d4f368
Annotate the methods to get TextBuffer iters
2010-06-14 19:04:47 +02:00
Claudio Saavedra
ef6ef84221
Fix typo in docs for GtkFileChooser
...
Reported by Martin Olsson in
https://bugzilla.gnome.org/show_bug.cgi?id=621479
2010-06-14 17:46:09 +03:00
John (J5) Palmieri
76db7d69f1
annotate gtk_color_selection_get_current_color color param as out
2010-06-10 14:53:12 -04:00
Javier Jardón
785027751a
constify gtk_init_with_args()'s GOptionEntry argument
...
Reported by Nick Schermer in bug
https://bugzilla.gnome.org/show_bug.cgi?id=621111
2010-06-10 03:51:51 +02:00
Javier Jardón
e902786017
[docs] Saturation is the intensity of the color, not the "deepness"
...
Reported by Seán de Búrca in bug
https://bugzilla.gnome.org/show_bug.cgi?id=466475
2010-06-09 20:02:31 +02:00
Cosimo Cecchi
4f66b8e37c
Add an accessor for GtkViewport->view_window ( #621081 ).
2010-06-09 18:22:35 +02:00
Matthias Clasen
5e0dfed135
Get rid of GtkProgress
...
The entire api was deprecated since 2.0. This patch detangles
GtkProgress from GtkProgressBar and moves all the pieces into
GtkProgressBar that are required for non-deprecated progressbar
functionality.
Bug #620618
2010-06-09 00:35:09 -04:00
Javier Jardón
9ad9c193ea
[docs] Added some GtkIconView missing documentation
...
Document GtkIconViewDropPosition and GtkIconViewForeachFunc.
The docs was removed by error in commit
e17b9f282f
2010-06-09 06:25:28 +02:00
Matthias Clasen
e17b9f282f
Get rid of templates that gtk-doc touches during distcheck
...
In an attempt to make distcheck not touch any files under source
control.
2010-06-08 19:48:15 -04:00
Steve Frécinaux
8147019930
[gtkwidget] Add type annotations for the event signals.
2010-06-08 22:37:55 +02:00
Matthias Clasen
4bf5a171e2
Distcheck fixes
2010-06-08 15:37:52 -04:00
Federico Mena Quintero
2f990d4726
bgo#608537 - Make the file chooser's sort arrows consistent with the HIG
...
... Although I think the HIG gets things backwards anyway.
Signed-off-by: Federico Mena Quintero <federico@novell.com>
2010-06-08 12:09:48 -05:00
Matthias Clasen
79b161f709
Use gtk_action_group_get_action when looking up actions
...
...instead of open-coding it. Pointed out by Christian Persch
in bug 620960
2010-06-08 09:03:07 -04:00
Matthias Clasen
cca298ad7d
Remove debug spew
2010-06-08 08:58:16 -04:00
Matthias Clasen
b366ae9c22
Update to GApplication api changes
2010-06-08 08:29:01 -04:00
John (J5) Palmieri
0491b409a9
add transfer-none to return value of gtk_widget_get_window
2010-06-07 18:21:21 -04:00
Steve Frécinaux
046069d918
[gtktextbuffer] Annotate gtk_text_buffer_create_mark()
...
Add (transfer none) to the return value of gtk_text_buffer_create_mark(),
as the documentation clearly states the caller doesn't have ownership of
the returned value.
2010-06-08 00:00:28 +02:00
Matthias Clasen
1ae257d00a
Add GtkApplication
...
This is a work in progress to stub out an application class. The
primary goal is to provide a mechanism for applications to export
GtkActions, and there is a standard "Quit" action.
This is based on GApplication.
Future work:
* Add a way to say "This is my application menubar", which gets
put into all toplevel windows on non-OS-X, and into the top
on OS X.
* Support session management.
* Support application settings.
https://bugzilla.gnome.org/show_bug.cgi?id=127958
2010-06-07 16:46:30 -04:00
John (J5) Palmieri
2c5871479e
annotate allow-none for gtk_image_menu_item_new_from_stock accel_group param
2010-06-07 16:15:39 -04:00
John (J5) Palmieri
0d2366d5eb
add allow-none annotation to gtk_clipboard_set_can_store's targets parameter
2010-06-07 13:15:27 -04:00
Marek Kasik
ca6aacc32d
Return error instead of showing an error dialog when printing
...
Remove message dialogs showing an error when printing. Return
GTK_PRINT_OPERATION_RESULT_ERROR and set error in such a case.
Also return GTK_PRINT_OPERATION_RESULT_CANCEL when cancelled.
Do it for synchronous and asynchronous cases (#549127 ).
2010-06-07 14:52:38 +02:00
Sven Herzberg
5300dc2b36
drop the draw_string() function from GtkStyle
...
Reviewed by Michael Natterer.
* gtk/gtkstyle.c,
* gtk/gtkstyle.h: gdk_draw_string() has been deprecated and removed
already. There's no one left who should be using this function
(found this when porting sapwood to GTK+ 3.0)
* modules/engines/pixbuf/pixbuf-draw.c: don't implement this unused
function
2010-06-07 13:56:10 +02:00
Javier Jardón
da8643e457
Remove some GTK_DISABLE_DEPRECATED and ENABLE_BROKEN guards
2010-06-07 04:50:05 +02:00
Christian Dywan
35be520983
Make progressbars render progress again
...
This was broken during some earlier deprecation cleanup.
Bug 620509.
2010-06-04 20:03:19 -04:00
Matthias Clasen
db21688908
Remove remaining single-include guards
2010-06-04 19:40:43 -04:00
Stanislas Marquis
fe8d093a3c
[docs] Fix GtkWindow: activate-default => activate-focus.
...
Signed-off-by: Javier Jardón <jjardon@gnome.org>
2010-06-05 00:45:37 +02:00
Matthias Clasen
233388e693
Fix a parameter name mismatch
2010-06-04 16:15:58 -04:00
Matthias Clasen
dbe82e0e83
Fix a doc comment typo
2010-06-04 16:13:34 -04:00
Javier Jardón
a277789270
[docs] gtktoolshell: Fix some "Since" tags
...
get_ellipsize_mode(), get_text_alignment(), get_text_orientation()
and get_text_size_group() were added in GTK+ 2.20, not 2.14.
Reported by Stanislas Marquis on IRC.
2010-06-04 17:54:56 +02:00
Tadej Borovšak
2c8e635a62
[docs] Improve GtkAction documentation
...
Simple GtkAction API docs update that makes it easier to understand
how action affects the appearance of proxy.
Signed-off-by: Javier Jardón <jjardon@gnome.org>
2010-06-04 00:06:05 +02:00
Matthew Barnes
bb5c585777
Bug 596428 - GtkAssistant: Support ending with a progress page
...
- Add gtk_assistant_commit()
This function discards the visited pages list so the back button is not
shown on the current page, and removes the cancel button from subsequent
pages. Use this when information provided thus far cannot be revisited.
- Don't show the Forward button on a GTK_ASSISTANT_PAGE_PROGRESS if it's
the last page (according to the forward page function).
- Append a progress page to the GtkAssistant demo.
2010-06-03 17:03:14 -04:00
Matthias Clasen
1b53565bf9
GtkSeparator is no instantiatable
2010-06-03 01:21:18 -04:00
Matthias Clasen
700196f71e
Update documentation for orientables
...
Don't document these as abstract anymore, since they are now
instantiatable.
2010-06-03 01:18:42 -04:00
Matthias Clasen
6a8a2f7ef3
Remove docs about 1.2 <> 2.0 differences
...
These should not be kept in 3.0.
Noticed by Dan Winship in bug #619838 .
2010-06-02 19:59:41 -04:00
Matthias Clasen
ee0d695a91
Fix a doc typo
...
See bug #620244
2010-06-02 19:56:47 -04:00
Garrett Regier
2e4a066cd0
Bug 611709 - Add gtk_statusbar_remove_all
2010-06-02 17:50:28 +02:00
Johan Dahlin
5c283cacbe
[gtktreeview] Add a couple of annotations
2010-05-31 12:12:06 -03:00
Matthias Clasen
c557f7b7c4
Improved icon view keynav
...
Use ::keynav-failed for arrow navigation in icon views, so that
it is possible to override error handling. Also add API to get the
row/col of an item. With this, it is possible to make arrow keynav
span adjacent icon views, which is desired in the new control-center
shell. testiconview-keynav demonstrates this.
2010-05-30 02:17:51 -04:00
Matthias Clasen
6737d91d28
Trivial typo fix
2010-05-30 02:17:51 -04:00
Matthias Clasen
654bb6ca66
Simple typo fix
2010-05-30 02:17:51 -04:00
Michael Natterer
9b9945b8e7
Bug 607628 - DnD operation doesn't work when using offscreen
...
Changed the way to find the drop widget from a top->bottom recursion
using GdkWindow positions to a liner bottom->top walk up the widget
hierarchy using _gtk_widget_find_at_coords() and
gtk_widget_translate_coordinates(), which both do the right things for
offscreen widgets.
(cherry picked from commit cb8c076321
)
2010-05-29 05:10:19 +02:00
John (J5) Palmieri
c707e445ca
gtk_tree_selection_get_selected: added transfer none annotation to model out arg
2010-05-27 18:36:04 -04:00
Javier Jardón
25ec337a16
Revert "Deprecate GTK_OBJECT_FLAGS() and GtkObjectFlags enum"
...
This reverts commit 72467ba2e6
.
2010-05-28 00:14:59 +02:00
John (J5) Palmieri
256759a3b7
gtk_tree_view_get_model: return value annotated transfer none
2010-05-27 16:58:52 -04:00
John (J5) Palmieri
c21e9ba7c3
annotation fixes
...
* gtk_tree_model_get_column_type: transfer none added to the return value
* gtk_tree_model_get_path: value parameter switched from inout to out
so that it is annotated with caller-allocates
2010-05-27 16:53:42 -04:00
Javier Jardón
86441c6427
gtkwidget.h: Fix a typo
...
Fix a type introduced in
commit 818d444e2f
Reported by Garrett Regier.
2010-05-27 22:01:15 +02:00
Javier Jardón
72467ba2e6
Deprecate GTK_OBJECT_FLAGS() and GtkObjectFlags enum
...
This macro will be moved to a private header in GTK+3.
https://bugzilla.gnome.org/show_bug.cgi?id=615666
2010-05-27 19:58:24 +02:00
Javier Jardón
818d444e2f
Remove GTK_NO_REPARENT deprecated widget flag
2010-05-27 18:05:02 +02:00
Javier Jardón
45aa82d85f
Deprecate GTK_NO_REPARENT
2010-05-27 18:04:05 +02:00
Javier Jardón
258f9e814a
gtkmain: remove some unused code
2010-05-27 05:54:18 +02:00
Javier Jardón
485bbadc0a
gtkmain: Remove unused GtkClosure struct
2010-05-27 05:45:27 +02:00
Javier Jardón
154e3ba502
gtkcontainer: Remove unused GtkForeachData struct
...
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=619672
2010-05-27 03:37:32 +02:00
Michael Natterer
6b4e19a132
Bug 607628 - DnD operation doesn't work when using offscreen
...
Turn find_widget_under_pointer() into internal API
_gtk_widget_find_at_coords() which is needed for fixing above
bug. This should actually be a public utility function, and will be
moved to another file when its final API has been decided.
(cherry picked from commit c4b1bbf3e2
)
2010-05-26 17:21:09 +02:00
Carlos Garcia Campos
6bac9dfd28
GtkWindow: Add gtk_window_has_group()
...
To check whether the window has an explicit group
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=618271#c2
2010-05-26 16:49:31 +02:00
Matthias Clasen
c7a48881c6
Documentation fixes
2010-05-25 19:27:42 -04:00
Matthias Clasen
b4e2ff3da3
Make orientable base classes instantiable
...
This commit adds constructors for GtkPaned, GtkBox, GtkButtonBox,
GtkRuler, GtkScale, GtkScrollbar and GtkSeparator and makes these
types instantiable.
2010-05-25 18:55:15 -04:00
Matthias Clasen
bd4609b140
Merge the xi2-for-master branch
2010-05-25 18:38:44 -04:00
Bruce Cowan
a538f639b6
Fix conflict Git markers
...
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=619655
2010-05-25 21:46:35 +02:00
John (J5) Palmieri
57754edef6
add a transfer none annotation to gtk_tree_view_get_selection
...
* it returns the selection from its priv structure without reffing
2010-05-25 11:49:10 -04:00
Matthias Clasen
8d2e20c2dc
Fix up gtk_paned_get_handle_window docs
2010-05-25 09:47:54 -04:00
Matthias Clasen
c4134a535e
Fix up gtk_icon_info_load_symbolic docs
2010-05-25 09:47:20 -04:00
Matthias Clasen
4df758dd16
Document GtkRange::adjust-bounds
2010-05-25 09:44:29 -04:00
Matthias Clasen
54cf057f11
Document GtkMovementStep
2010-05-25 09:42:09 -04:00
Matthias Clasen
1c6de294d8
Document GTK_FILE_CHOOSER_ERROR_INCOMPLETE_HOSTNAME
2010-05-25 09:34:38 -04:00
Javier Jardón
cc8dcf738a
Remove deprecated GtkToolbar code
...
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=616817
2010-05-24 20:16:07 +02:00
Javier Jardón
b18b33ae82
Revert "Forward-port a GtkAdjustment compatibility fix"
...
In the early 2.14.x releases, GtkAdjustment was changed to enforce
that values are restricted to the range [lower, upper - page_size].
This has always been the documented behaviour, and the recommended
practice is to set page_size to 0 when using adjustments for simple
scalar values, like in a slider or spin button.
Due to the large number of applications that are affected by this
change, the behaviour has been reverted to the old behaviour in
2.14.3, with an explicit warning that this change will be
reintroduced in 2.90.
This reverts commit e6373738fc
.
https://bugzilla.gnome.org/show_bug.cgi?id=619474
2010-05-24 15:39:30 +02:00
Matthias Clasen
94abf4733f
Deprecate GtkBoxChild
...
This was discussed in bug 613132.
2010-05-22 00:15:00 -04:00
Matthias Clasen
bb91ebcb8f
Fix signal parameters in GtkEntryCompletion
...
The ::match-selected and ::cursor-on-match signal were emitted
with the internal filter model instead of the user-provided model.
Fixes bug #555087 .
2010-05-21 23:50:46 -04:00
Christian Dywan
82e27aede9
Explain that unmap-event may never be emitted
...
Fixes: https://bugzilla.gnome.org/show_bug.cgi?id=613302
2010-05-21 17:10:25 +02:00
Javier Jardón
280b01a8db
Move documentation to inline comments: GtkRecentChooserDialog
2010-05-21 04:15:02 +02:00
Javier Jardón
98cee5e6e2
Move documentation to inline comments: GtkRecentChooserMenu
2010-05-21 03:19:02 +02:00
Javier Jardón
2f28e88dea
Move documentation to inline comments: GtkRange
2010-05-21 03:09:43 +02:00
Tristan Van Berkom
80ee7f793a
Amending GtkBuildable documentation.
...
GtkBuildable documentation has forever stated that "only
objects which implement GtkBuildable can parsed by GtkBuilder" fixed.
2010-05-20 00:33:20 -04:00
Javier Jardón
68701c828c
Move documentation to inline comments: GtkRadioButton
2010-05-20 00:42:50 +02:00
John (J5) Palmieri
85b53969b2
[PATCH] add the binding friendly join_group method to GtkRadioAction
...
* Due to object ownership issues it is impossible to correctly use
get_group/set_group from a GI binding
* join_group is safer because at the binding level it works with individual
GtkRadioAction objects and not with the list of objects that gets
modified in the library
2010-05-19 15:16:46 -04:00
Matthias Clasen
c51f965782
Some cleanups after the module cache file change
...
Bring the various 'run uninstalled' hacks in line with the
new way of doing things, and fix make install for module cache
files.
Patch by Tadej Borovsak.
2010-05-18 19:23:06 -04:00
Javier Jardón
fac142c25a
gtk/gtkobject: use G_DEFINE_ABSTRACT_TYPE
2010-05-18 18:21:18 +02:00
Javier Jardón
dfa9214681
Move documentation to inline comments: GtkRecentChooser
2010-05-18 18:16:35 +02:00
Murray Cumming
f54910cf86
GtkDebug: Remove a trailing comma on an enum.
2010-05-18 09:32:44 +02:00
Jan Arne Petersen
4704a239ac
GtkRange: Redraw if GtkRange is a GtkScale and value is drawn.
...
* gtk/gtkrange.c: (gtk_range_adjustment_value_change):
Queue the draw also if the range is a scale and the value is drawn,
fixing bug #533946 (Markus Brinkmann), when two HScales use one
adjustment.
2010-05-18 08:51:01 +02:00
Matthias Clasen
735bee47be
Let query utilities update the cache file directly
...
This is much more convenient for packagers than having to
redirect the output into the cache file, and much less error-prone.
2010-05-17 22:58:25 -04:00
Matthias Clasen
0b0f176ac4
Move the module cache files below libdir
...
These files contain architecture-dependent paths, and thus placing
them into sysconfdir causes unnecessary hassle. Now the immodule cache
file is looked for in libdir/gtk-3.0/3.0.0/immodules.cache, and the
pixbuf loader cache is looked for in libdir/gtk-3.0/3.0.0/loaders.cache.
2010-05-17 21:30:46 -04:00
Javier Jardón
98e773d93d
Move documentation to inline comments: GtkSeparatorToolItem
2010-05-16 02:39:50 +02:00
Javier Jardón
19448b9712
Move documentation to inline comments: GtkPrinter
2010-05-16 02:11:16 +02:00
Javier Jardón
b00a09de11
Move documentation to inline comments: GtkTreeView drag-and-drop
2010-05-16 02:04:12 +02:00
Javier Jardón
56d7417fcc
Move documentation to inline comments: GtkRecentChooserWidget
2010-05-16 01:58:06 +02:00
Javier Jardón
885b6d8a75
Move documentation to inline comments: GtkStyle
2010-05-16 01:37:36 +02:00
Javier Jardón
f121a502f9
Move documentation to inline comments: GtkSeparatorMenuItem
2010-05-16 00:40:11 +02:00
Javier Jardón
08bd42cf8d
Move documentation to inline comments: GtkScaleButton
2010-05-16 00:32:05 +02:00
Javier Jardón
8e06ef4f63
Move documentation to inline comments: GtkRadioAction
2010-05-16 00:26:22 +02:00
Javier Jardón
bddf455874
Move documentation to inline comments: GtkRecentAction
2010-05-16 00:20:53 +02:00
Javier Jardón
157d618d6b
Move documentation to inline comments: GtkObject
2010-05-13 19:39:44 +02:00
Javier Jardón
95bb12ee66
Move documentation to inline comments: GtkOrientable
2010-05-13 03:35:02 +02:00
Javier Jardón
8319585673
Move documentation to inline comments: GtkToggleAction
2010-05-13 03:23:30 +02:00
Javier Jardón
45434cc699
Move documentation to inline comments: GtkPageSetupUnixDialog
2010-05-13 01:26:10 +02:00
Javier Jardón
e59f1a64c1
Move documentation to inline comments: GtkSeparator
2010-05-13 01:26:09 +02:00
Javier Jardón
c4bb15a4f2
Move documentation to inline comments: GtkTextIter
2010-05-13 01:26:09 +02:00
Javier Jardón
c477b2fa0b
Move documentation to inline comments: GtkToolItem
2010-05-13 01:26:09 +02:00
Johan Dahlin
7b81420974
[GtkExtendedLayout] Add annotations
...
Add missing annotations for out values.
2010-05-12 19:53:43 -03:00
Johan Dahlin
a81f00ff33
[GtkWidget] Add annotations
...
Add a couple of out/inout annotations
2010-05-12 19:53:24 -03:00
Johan Dahlin
4bc3f99b6d
[GtkWindow] Add annotations
...
Add introspection annotations for lists and functions with
multiple out values.
2010-05-12 19:51:55 -03:00
Kristian Rietveld
f3fa17a16a
Bug 565559 - Incorrect leave-notify signals for treeview
...
Set enter and leave notify mask on header window.
Extract from a patch by Hans van Hintum.
2010-05-12 12:15:48 +02:00
Javier Jardón
2b64a7fd54
Remove some deprecated stuff from GdkWindow
...
Also, substitute the deprecated functions with the correct ones
2010-05-12 04:29:55 +02:00
Javier Jardón
d9bb439c89
Remove deprecated GtkObject macros
...
Remove GTK_OBJECT_TYPE() and GTK_OBJECT_TYPE_NAME(),
G_OBJECT_TYPE() and G_OBJECT_TYPE_NAME() should be used instead.
2010-05-11 17:01:36 +02:00
Caolán McNamara
37bb7ea2a0
Update list of US Letter locales
...
Sync paper size fallbacks with the latest 1.8.1 CLDR table (#618000 ).
2010-05-11 16:38:07 +02:00
Murray Cumming
4fe044b77d
Fix typos in 2 gobject-introspection annotations.
2010-05-11 09:01:19 +02:00
Alan Knowles
ee357cf885
Fix various gir annotations on tree API
...
Just add (out) tags where needed to generate valid gir.
2010-05-11 13:40:15 +08:00
Sebastian Dröge
57a7079a30
Don't include __bss_start, _edata and _end symbols in the abichecks
...
They are added by the binutils gold linker.
2010-05-11 06:39:35 +02:00
Matthias Clasen
4ac165b59e
Fix tests
2010-05-10 23:57:24 -04:00
Matthias Clasen
f08d244c05
Remove remnants of filechooser backend property
2010-05-10 23:43:49 -04:00
Matthias Clasen
78079e04d6
Fix abicheck scripts
2010-05-10 23:22:02 -04:00
Javier Jardón
37b62be296
[tests] Move filechooser test files to correct location
2010-05-11 00:50:54 +02:00
Matthias Clasen
a4d4b54a7d
Add padding around the status icons
...
The amount of padding is determined by reading a _NET_SYSTEM_TRAY_PADDING
property off the manager window, in the same way that orientation and visual
are obtained.
Signed-off-by: Richard Hughes <richard@hughsie.com>
2010-05-10 15:26:44 +01:00
Richard Hughes
c59bfed6dd
Fix make distcheck
2010-05-10 12:07:01 +01:00
Bastien Nocera
4551509af1
Make it easy for apps to have dark themes
...
Some types of applications would benefit from having "dark" themes,
usually black backgrounds, such as:
* Movie players
* Photo management and display applications
To make it easy for those applications to prefer a dark theme,
we're adding the "gtk-application-prefer-dark-theme" GtkSetting, which
will make the theme loading code automatically look for a "gtkrc-dark"
file in the same directory you would usually find a gtkrc file.
the same name and a "-dark" suffix.
If no "-dark" gtkrc variant is available, the normal gtkrc will
be used.
https://bugzilla.gnome.org/show_bug.cgi?id=617955
2010-05-10 01:15:14 +01:00
Javier Jardón
7b2024c1bd
Fix typo in gtkprintoperation
...
Reported by Andika Triwidada in
https://bugzilla.gnome.org/show_bug.cgi?id=618093
2010-05-08 16:36:38 +02:00
Matthias Clasen
7447ef0fc2
Make 3.0 parallel-installable to 2.x
...
In particular, rename
- libraries to lib*-3.0.so
- pc files to *-3.0.pc
- include paths to /usr/include/gtk-3.0/*
- module paths to /usr/lib/gtk-3.0/*
- rc files names to gtk-3.0/gtkrc
- commandline utilities to *-3.0
- adjust documentation
Also change the install location for unix-print headers to
/usr/include/gtk-3.0/unix-print/gtk.
2010-05-08 01:18:53 -04:00
Matthias Clasen
51ddf0e1c9
Better tooltip positioning
...
Avoid the covering up the widget that you are tipping, as
far as possible. Bug 599618.
2010-05-07 23:28:07 -04:00
Javier Jardón
46a841cadb
[test] Fix floating test
...
The test was broken by commit e0969a13
2010-05-07 16:42:42 +02:00
Javier Jardón
3781b24476
[test] Do not test deprecated GtkText
2010-05-07 09:26:36 +02:00
Javier Jardón
291ead9105
Reintroduce gtk_progress_* api in gtk.symbols
...
This api is deprecated but GtkToolBar still uses it
2010-05-07 09:24:34 +02:00
Javier Jardón
9aabc1b1a7
Remove deprecated functions from GtkProgressBar
2010-05-07 09:10:52 +02:00
Matthias Clasen
77d4d3cdae
Merge branch 'gtk-2-90'
...
Conflicts:
gtk/gtkentry.h
2010-05-06 22:55:02 -04:00
John (J5) Palmieri
b3e0e25d65
[GtkRadioAction] fix annotation _set_group, _get_group
...
* should be element-type GtkRadioAction not GtkAction
2010-05-06 17:30:03 -04:00
Colin Walters
14fef0abba
[GtkRadioAction] Annotate _set_group
2010-05-06 16:58:36 -04:00
Javier Jardón
713f2b638e
Use event instead key in the previous patch
2010-05-05 04:06:17 +02:00
Javier Jardón
7692a427a6
Added api to reset the im context in GtkTextView and GtkEntry
...
Also, added api to allow an input method to internally handle
key press and release events in the GtkTextView and GtkEntry
cases.
This is simply a wrapper to the gtk_im_context_filter_keypress()
function, but It's added to not access the ->im_context
directly.
Based on a Christian Dywan patch
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=163251
2010-05-05 03:14:28 +02:00
Matthias Clasen
8a4528eb2a
Fix a problem with marks on vertical scales
2010-05-04 20:33:21 -04:00
Danielle Madeley
227d59c190
Expose visible() and modify() as vcalls in class
...
This makes it possible to create filter subclasses by implementing the vcalls.
You can optionally chain up to the parent class' implementation, to make it
possible to have "your filter + additional custom filtering".
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=604150
2010-05-04 03:42:22 +02:00
Javier Jardón
c1d36af3e8
Do not use C99 constant INFINITY
...
Use G_MAXDOUBLE instead
2010-05-03 22:47:21 +02:00
Benjamin Otte
ba3e997dae
Make toolbutton not call functions on non-GtkMisc
2010-05-03 20:20:44 +02:00
John (J5) Palmieri
33194ff5f4
add a get_indices_with_depth method to GtkTreePath with proper GI array annotations
...
* get_indices does not return a length so we can not annotate it to return an
array in bindings that use GObject Introspection
* this method is the same as get_indices except it takes an int * as the depth
parameter which we can then use in the array annotation
* in C this function returns an integer pointer array and updates depth to the
number of integers in the array
* in a GI binding this returns the native array type for the bound language
(e.g. in PyGI this returns a list of integers)
2010-05-03 12:47:38 -04:00
Javier Jardón
0de8601327
Use accessor functions to access GtkLabel variables
2010-05-03 01:51:23 +02:00
Javier Jardón
0e79972d24
Remove GtkTreeItem completely
2010-05-03 01:51:23 +02:00
Javier Jardón
d7786d4a9e
Remove GtkTree completely
2010-05-03 01:51:23 +02:00
Javier Jardón
0669d8d6e9
Remove GtkText completely
2010-05-03 01:51:23 +02:00
Javier Jardón
c77c69502c
Restore non-deprecated GtkToolbar functions in gtk.symbols
...
The functions gtk_toolbar_set_icon_size() and
gtk_toolbar_unset_icon_size() are not deprecated
2010-05-03 01:51:23 +02:00
Javier Jardón
9a4e3371e2
Remove GtkTooltips completely
2010-05-03 01:51:23 +02:00
Javier Jardón
3d6b45f7d2
Remove GtkOptionMenu completely
2010-05-03 01:51:23 +02:00
Javier Jardón
6f3d152bee
Remove all gtk_marshal_* functions from the gtk.symbols
2010-05-03 01:51:23 +02:00
Javier Jardón
623966b6da
Remove all gtk_draw_* deprecated functions completely
2010-05-03 01:51:23 +02:00
Javier Jardón
eb3efdf242
Remove gtk_color_selection_set_update_policy() completely
2010-05-03 01:51:23 +02:00
Javier Jardón
9fa9d792a8
Remove GTK_WIDGET_* macros
2010-05-03 01:51:21 +02:00
Javier Jardón
ffd80c80c9
Remove gtk_fixed_get_has_window() and gtk_fixed_set_has_window()
2010-05-03 01:51:21 +02:00
Javier Jardón
32697682cc
Remove GtkOldEditable completely
2010-05-03 01:51:21 +02:00
Javier Jardón
6927a24df4
Restore gtk_paned_get_handle_window()
2010-05-03 01:51:21 +02:00
Javier Jardón
244ed9aec7
Restore gtk_entry_get_icon_window() again
2010-05-03 01:51:21 +02:00
Christian Dywan
4019007ceb
Remove GtkSideType, GtkMatchType, GtkPreviewType and GtkSignalRunType
2010-05-03 01:51:21 +02:00
Christian Dywan
c742482d48
Remove GtkType legacy API and type definitions
2010-05-03 01:51:21 +02:00
Christian Dywan
e8f1a3ccf0
Remove deprecated GtkTooltips
2010-05-03 01:51:21 +02:00
Christian Dywan
e0969a1327
Remove GtkObject floating, weak, arg and user data handling
2010-05-03 01:51:21 +02:00
Javier Jardón
e84a330f5a
Cleaning gtk-symbols file
...
Remove some already removed symbols
2010-05-03 01:51:21 +02:00
Javier Jardón
d3fc78bfb6
[gtk/gtktoolitem] Remove deprecated GtkToolItem stuff
...
This completes 221dcb6955cb89d1f89e71f442fc4c42fb76fcf3
2010-05-03 01:51:20 +02:00
Javier Jardón
f39f644fb2
Move GtkAccelGroup private structure to shared header file
...
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=602174
2010-05-03 01:51:20 +02:00
Javier Jardón
6281645cbb
Remove deprecated GtkMenu stuff.
...
Also, substitute the deprecated functions with the new ones in
documentation.
2010-05-03 01:51:20 +02:00
Javier Jardón
74e6844488
Remove GtkCurve completely
2010-05-03 01:51:20 +02:00
Javier Jardón
d97ca04f5b
Remove GtkGammaCurve completely
2010-05-03 01:51:20 +02:00
Javier Jardón
caca8a9696
Remove gtk_toggle_button_set_state() from GtkToggleButton
2010-05-03 01:51:20 +02:00
Javier Jardón
e45d8f557a
Remove unused variable
...
'default_spacing' is not used anymore
2010-05-03 01:51:20 +02:00
Javier Jardón
73b066814b
Remove unused function
...
gtk_container_foreach_unmarshal() is not used anymore.
2010-05-03 01:51:19 +02:00
Javier Jardón
00d3d8516b
Fix compilation warning: cast to GTK_WIDGET
2010-05-03 01:51:19 +02:00
Javier Jardón
a27da3239e
Use gtk_label_get_text() instead direct access
2010-05-03 01:51:19 +02:00
Javier Jardón
8d9e37f407
Remove all deprecated stuff from GtkContainer
2010-05-03 01:51:19 +02:00
Christian Dywan
72323e6d9a
Do not use lock_count of GtkAccelGroup directly in GtkWidget
2010-05-03 01:51:19 +02:00
Christian Dywan
4045b71824
Remove old GtkToolbar compatibility API
2010-05-03 01:51:19 +02:00
Christian Dywan
2d84d88539
Remove internal GtkNotebook tab homogeneousnes and border helpers
2010-05-03 01:51:19 +02:00
Christian Dywan
8d3814f044
Do not use lock_count of GtkAccelGroup directly in GtkMenu
2010-05-03 01:51:19 +02:00
Christian Dywan
059c22c3b2
Add and use internal accessor for accelerables in GtkAccelGroup
2010-05-03 01:51:19 +02:00
Christian Dywan
a13d2c200b
Remove obsolete helper function gtk_rc_add_rc_sets
2010-05-03 01:51:18 +02:00
Cody Russell
5959005fad
Use gtk_accel_grouop_get_is_locked() rather than trying to access group->lock_count.
2010-05-03 01:51:18 +02:00
Cody Russell
0779d0a37e
Move GSEAL'd members of GtkAccelLabel into private struct.
2010-05-03 01:51:18 +02:00
Cody Russell
3c8c4004b6
Move GSEAL'd members of GtkAccelGroup into private struct
2010-05-03 01:51:18 +02:00
Cody Russell
bcb663096d
Remove unnecessary casting
2010-05-03 01:51:18 +02:00
Cody Russell
ba128ceab2
Fix GtkAboutDialog to stop using GSEAL'd members of GtkDialog
2010-05-03 01:51:18 +02:00
Cody Russell
03849dd358
Unseal GtkAboutDialog's private_data member, convert from gpointer to GtkAboutDialogPrivate
2010-05-03 01:51:18 +02:00
Javier Jardón
fb88f34e06
Remove remaining deprecated GtkInputDialog stuff
2010-05-03 01:51:18 +02:00
Javier Jardón
20342702f4
Remove gtkmain stuff from docs and tutorial.
...
Also, substitue the deprecated functions with the new ones in
documentation and in tests code
2010-05-03 01:51:18 +02:00
Michael Natterer
f7813125bb
Remove all deprecated stuff from gtkmain
2010-05-03 01:51:18 +02:00
Michael Natterer
f25e1b0a47
Remove the deprecated gtkmarshal.* entirely
2010-05-03 01:51:18 +02:00
Michael Natterer
5e29973773
Remove all traces of GDK_PIXBUF/GTK_DISABLE_SINGLE_INCLUDES
...
...and disallow inclusion of individual files unconditionally.
2010-05-03 01:51:18 +02:00
Christian Dywan
90d514a8a5
Remove deprecated GtkEntry functions
2010-05-03 01:51:18 +02:00
Christian Dywan
b2b6bb17ac
Remove GtkInputDialog completely
2010-05-03 01:51:17 +02:00
Christian Dywan
575d3ffa83
Include gtkspinner.h in GtkStyle
2010-05-03 01:51:17 +02:00
Javier Jardón
1e8fa9354a
Remove GtkPixmap completely
2010-05-03 01:51:17 +02:00
Javier Jardón
e031c4f54a
Remove GtkSignal completely
2010-05-03 01:51:17 +02:00
Javier Jardón
d98aeeff45
Ops, enable GtkInputDialog again
2010-05-03 01:51:17 +02:00
Javier Jardón
86eee0258e
Revert a still used variable in GtkHButtonBox
2010-05-03 01:51:17 +02:00
Javier Jardón
c9251c99e7
Remove deprecated code: GtkHButtonBox
2010-05-03 01:51:17 +02:00
Javier Jardón
2ec9cb9ca6
Remove remaining GtkAction deprecated documentation
...
This completes commit 35570ed56eb94b7a05f63daed0ca2bf2c320a8bc
2010-05-03 01:49:50 +02:00
Javier Jardón
858d4fb007
Remove remaining GtkButtonBox deprecated stuff
...
This completes commit b1b986cc604bffd924a13fbcb180dd234a0b8d14
2010-05-03 01:49:40 +02:00
Javier Jardón
740a1007eb
Remove remaining GtkContainer deprecated stuff
...
This completes commit 600216daac6df8deb0cdc042fc27f07a9c5c7c27
2010-05-03 01:49:25 +02:00
Javier Jardón
fead8cd49a
Remove deprecated code: GtkLabel
2010-05-03 01:48:45 +02:00
Javier Jardón
b5917e7a6f
Remove deprecated code: GtkFileChooserButton
2010-05-03 01:48:45 +02:00
Javier Jardón
bf49830f07
Remove deprecated code: GtkRadioButton
2010-05-03 01:48:45 +02:00
Javier Jardón
9e30bf3d60
Remove deprecated code: GtkPaned
2010-05-03 01:48:45 +02:00
Javier Jardón
3e9fac395a
Remove deprecated code: GtkAccelLabel
2010-05-03 01:48:45 +02:00
Javier Jardón
c9dae4c600
Remove deprecated code: GtkCheckMenuItem
2010-05-03 01:48:45 +02:00
Javier Jardón
73111cd295
Remove deprecated GtkAccelGroup functions
2010-05-03 01:48:45 +02:00
Javier Jardón
3d4c434659
Remove deprecated GtkHButtonBox functions and macros
2010-05-03 01:45:00 +02:00
Javier Jardón
5ed56120a6
Remove deprecated GtkVButtonBox functions
2010-05-03 01:42:37 +02:00
Javier Jardón
0d322676dc
Remove deprecated GtkWidget functions
2010-05-03 01:41:37 +02:00
Javier Jardón
2b71ef33fb
Remove deprecated GtkWindow function
2010-05-03 01:41:37 +02:00
Javier Jardón
55d5ce88ec
Remove deprecated GtkTreeViewColumn functions
2010-05-03 01:41:37 +02:00
Javier Jardón
0a6557d721
Remove deprecated GtkCellRenderer function
2010-05-03 01:41:37 +02:00
Javier Jardón
c1182debd0
Remove deprecated GtkAction functions
2010-05-03 01:41:37 +02:00
Christian Dywan
ed60f1e5ad
Update gtk.symbols according to removed symbols
2010-05-03 01:41:36 +02:00
Christian Dywan
6f5b7bad3a
Don't use old toolbar API in toolbar stress test
2010-05-03 01:41:36 +02:00
Christian Dywan
43ed74c5cd
Remove deprecated GtkCellView function
2010-05-03 01:41:36 +02:00
Christian Dywan
e641742ca0
Omit removed classes from GTK makefile
2010-05-03 01:41:36 +02:00
Christian Dywan
161e1b6916
Don't include deprecated classes in gtk.h
2010-05-03 01:40:42 +02:00
Christian Dywan
97fbd32684
Remove deprecated GtkRecentChooser functions
2010-05-03 01:40:42 +02:00
Christian Dywan
1261b3173d
Remove GtkOptionMenu completely
2010-05-03 01:40:42 +02:00
Christian Dywan
5f3178a87a
Remove GtkTipsQuery completely
2010-05-03 01:40:42 +02:00
Christian Dywan
e5c56b7c0f
Remove GtkText completely
2010-05-03 01:40:41 +02:00
Christian Dywan
528e74a481
Remove GtkPreview completely
2010-05-03 01:40:41 +02:00
Christian Dywan
a8ecd09852
Remove GtkListItem completely
2010-05-03 01:40:41 +02:00
Christian Dywan
bb475d5d2e
Remove deprecated GtkStatusIcon functions
2010-05-03 01:40:41 +02:00
Christian Dywan
61a294d820
Remove deprecated GtkSocket functions
2010-05-03 01:40:41 +02:00
Christian Dywan
2da9103e0c
Remove deprecated GtkScaleButton functions
2010-05-03 01:40:41 +02:00
Christian Dywan
032b38ccfd
Remove deprecated GtkRecentManager functions
2010-05-03 01:40:41 +02:00
Christian Dywan
d21bf0c1ec
Remove deprecated GtkFileChooser functions
2010-05-03 01:40:41 +02:00
Christian Dywan
07501cf02e
Remove GtkOldEditable completely
2010-05-03 01:40:41 +02:00
Christian Dywan
49ec071c59
Remove GtkFileSelection completely
2010-05-03 01:40:41 +02:00
Christian Dywan
2d763d3430
Remove GtkList completely
2010-05-03 01:40:41 +02:00
Christian Dywan
dc21c8ef06
Remove deprecated GtkToolItem functions
2010-05-03 01:40:41 +02:00
Christian Dywan
aa21bd702f
Remove deprecated GtkColorSelection functions
2010-05-03 01:40:41 +02:00
Christian Dywan
d974436aec
Remove deprecated GtkFontSelection(Dialog) functions
2010-05-03 01:40:41 +02:00
Christian Dywan
d2468351ca
Remove deprecated GtkSpinButton function (macro)
2010-05-03 01:40:40 +02:00
Christian Dywan
474529e2c0
Remove GtkItemFactory completely
2010-05-03 01:40:40 +02:00
Christian Dywan
ea36fff086
Remove GtkCombo completely
2010-05-03 01:40:40 +02:00
Christian Dywan
b653f66b05
Remove GtkCList completely
2010-05-03 01:40:40 +02:00
Christian Dywan
f210f816ca
Remove GtkCTree completely
2010-05-03 01:40:40 +02:00
Christian Dywan
f3ea5702ab
Remove GtkTreeItem completely
2010-05-03 01:40:40 +02:00
Christian Dywan
b0149a9f3f
Remove GtkTree completely
2010-05-03 01:40:40 +02:00
Christian Dywan
5c3b5ecfce
Remove deprecated/ broken types from the default value test
2010-05-03 01:40:40 +02:00
Christian Dywan
16011da879
Remove some deprecated functions from GtkWidget
2010-05-03 01:40:40 +02:00
Christian Dywan
6513947473
Prefix gtk_selection_clear with an underscore
2010-05-03 01:39:50 +02:00
Christian Dywan
8ac9a0e67f
Remove deprecated GtkStyle functions
2010-05-03 01:39:50 +02:00
Christian Dywan
165fd5903f
Remove deprecated GtkToolbar functions
2010-05-03 01:39:50 +02:00
Christian Dywan
7d3dbb9532
Remove deprecated GtkMenuBar functions (macros)
2010-05-03 01:39:50 +02:00
Christian Dywan
956a5c47ed
Remove deprecated GtkRcStyle functions
2010-05-03 01:39:50 +02:00
Christian Dywan
2e1b3abad3
Remove deprecated GtkRadioMenuItem function (macro)
2010-05-03 01:39:50 +02:00
Christian Dywan
11e97600f0
Remove deprecated GtkTreeView functions
2010-05-03 01:39:50 +02:00
Christian Dywan
b7eed8cbff
Remove deprecated GtkMenuToolButton function
2010-05-03 01:39:50 +02:00
Christian Dywan
7e67ec8414
Remove deprecated GtkTreeModel functions (macros)
2010-05-03 01:39:50 +02:00
Christian Dywan
c4b3b13f9d
Remove deprecated GtkNotebook functions
2010-05-03 01:39:50 +02:00
Christian Dywan
025eebb49d
Remove deprecated GtkMenuItem function
2010-05-03 01:39:49 +02:00
Christian Dywan
2f1a59c0f2
Remove deprecated GtkLayout functions
2010-05-03 01:39:49 +02:00
Christian Dywan
7fd68866fe
Remove deprecated GtkImage functions
2010-05-03 01:39:49 +02:00
Christian Dywan
605705fd6b
Remove deprecated gtk_drag_set_default_icon
2010-05-03 01:39:49 +02:00
Christian Dywan
2eb26d68f6
Remove deprecated function from GtkDrawingArea
2010-05-03 01:39:49 +02:00
Christian Dywan
304f36b587
Remove deprecated functions from GtkCalendar
2010-05-03 01:39:49 +02:00
Christian Dywan
0d7d1ae8dc
Remove deprecated functions from GtkBox
2010-05-03 01:39:49 +02:00
Christian Dywan
de29ee15c6
Remove deprecated gtk_binding_entry functions
2010-05-03 01:39:49 +02:00
Christian Dywan
5a33eb8d67
Remove deprecated functions from GtkAboutDialog
2010-05-03 01:39:49 +02:00
Benjamin Otte
b08a6750dc
filechooser: Fix a crash when removing files
...
The file removal code was not properly clearing the file=>array index
cache, so later lookups into that cache would return invalid array
indexes.
The easiest way to reproduce it is to create a directory with two files
and deleting both of them.
Reported-by: Javier Jardón <jjardon@gnome.org>
2010-05-02 14:34:43 +02:00
Matthias Clasen
1782151092
Doc fixes
...
Correct some Since tags.
2010-05-01 21:40:43 -04:00
Matthias Clasen
201635a203
Fix doc typos
2010-05-01 21:40:43 -04:00
Matthias Clasen
82647f274c
Integrate GtkExtendedLayout docs
2010-05-01 21:40:43 -04:00
Javier Jardón
1cf85176e4
Add gtk_extended_layout_get_desired_size() to gtk.symbols
2010-05-01 16:04:51 +02:00
Javier Jardón
0d85671bc9
Fix some compilation warnings
2010-05-01 03:52:03 +02:00
Matthias Clasen
db76c77b81
Merge branch 'native-layout-incubator'
...
Conflicts:
configure.in
docs/reference/gtk/tmpl/gtkaction.sgml
docs/reference/gtk/tmpl/gtkbuilder.sgml
gdk/directfb/gdkkeys-directfb.c
gdk/gdk.symbols
gdk/x11/gdkwindow-x11.c
gtk/gtkalignment.c
gtk/gtkbox.c
gtk/gtkbutton.c
gtk/gtkcelleditable.c
gtk/gtkfilechooser.c
gtk/gtkframe.c
gtk/gtkinvisible.c
gtk/gtklabel.c
gtk/gtkscrolledwindow.c
gtk/gtksearchenginetracker.c
gtk/gtktextview.c
gtk/gtktoolbutton.c
gtk/gtktooltip.c
gtk/gtkviewport.c
gtk/gtkwidget.c
gtk/gtkwindow.c
po-properties/ca@valencia.po
po-properties/es.po
po-properties/kn.po
po-properties/mr.po
po/ca.po
po/ca@valencia.po
po/el.po
po/es.po
po/gl.po
po/id.po
po/kn.po
po/lv.po
po/mr.po
po/th.po
2010-04-30 17:56:50 -04:00
Matthias Clasen
fc1450d55d
Set an appropriate title on the folder selection dialog for print-to-file
2010-04-29 17:14:14 -04:00
Matthias Clasen
556531b16f
Get symbolic colors for statusicons from systray
...
Uses the X property _NET_SYSTEM_TRAY_COLORS.
2010-04-29 17:01:25 -04:00
Matthias Clasen
1335275548
Add a way to set symbolic colors per-widget
...
The new function, gtk_widget_modify_symbolic_color() is similar
in spirit to the other gtk_widget_modify_ functions.
2010-04-29 17:01:25 -04:00
Tadej Borovšak
be3a1abc04
Move documentation to inline comments: GtkBuilder
...
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=611742
Signed-off-by: Javier Jardón <jjardon@gnome.org>
2010-04-28 18:41:34 +02:00
Tadej Borovšak
d6bc1a99dc
Move documentation to inline comments: GtkButtonBox
...
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=612349
Signed-off-by: Javier Jardón <jjardon@gnome.org>
2010-04-28 18:41:34 +02:00
Tadej Borovšak
ef4e7b2473
Move documentation to inline comments: GtkBox
...
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=611742
Signed-off-by: Javier Jardón <jjardon@gnome.org>
2010-04-28 18:41:33 +02:00
Javier Jardón
fa3bb041eb
Fix <ulink> tag in previous commit
2010-04-28 18:41:33 +02:00
Matthias Clasen
3833ef5c35
Fix the build
2010-04-28 11:17:30 -04:00
Matthias Clasen
b3dd3a89d3
Formatting tweaks
2010-04-28 11:15:15 -04:00
Matthias Clasen
5d5d93e624
Make the docs build
...
Grr
2010-04-28 11:10:34 -04:00
Matthias Clasen
50656c74e3
Some doc and formatting tweaks
2010-04-28 10:04:21 -04:00
Matthias Clasen
6b939d57c7
Support 'symbolic' themed icons
...
Add gtk_icon_info_load_symbolic() to load symbolic icons, and
theme their background/foreground colours to match the
colours used in the theme.
Adds the gtk_icon_info_load_symbolic() function, explicit
support in GtkImage and GtkCellRendererPixbuf, and test cases
for those 2 widgets.
With help from Bastien Nocera <hadess@hadess.net>
https://bugzilla.gnome.org/show_bug.cgi?id=614711
2010-04-28 12:02:05 +01:00
Matthias Clasen
c8dd9895e4
Add some documentation about width-chars and max-width-chars
...
Explain how these properties determine the width of ellipsized
and wrapped labels.
2010-04-28 00:48:15 -04:00
Javier Jardón
3cc9575323
Move documentation to inline comments: GtkHBox
2010-04-28 04:29:41 +02:00
Javier Jardón
a6ed128abf
Move documentation to inline comments: Testing utilities
2010-04-28 04:20:10 +02:00
Javier Jardón
1e2dabf31d
Allow NULL as 'icon_widget' in gtk_tool_button_new()
...
This completes the patch of
commit b8ec73a52f
2010-04-27 03:26:11 +02:00
Javier Jardón
d3d4cf0e84
Deprecate GTK_WIDGET_*SET_FLAGS() macro
...
The macro GTK_WIDGET_SET_FLAGS(w, GTK_VISIBLE) should
still be fixed internally.
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=69872
2010-04-27 02:45:18 +02:00
Mirsal Ennaime
5eaff47e85
Add accessors for GtkTextView adjustments
...
GtkTextView is missing accessors for its sealed hadjustment
and vadjustment members.
This patch adds gtk_text_view_get_hadjustment() and
gtk_text_view_get_vadjustment() to GtkTextView
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=616053
2010-04-27 02:23:07 +02:00
Matthias Clasen
538ec4efbb
Add a GtkExtendedLayout implementation for GtkFrame
2010-04-26 18:07:42 -04:00
Javier Jardón
41a073263a
Don't use GTK_WIDGET_*SET_FLAGS (wid, GTK_HAS_DEFAULT)
...
Introduce internal _gtk_widget_set_has_default() for this
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=614515
2010-04-26 21:10:15 +02:00
Javier Jardón
45257e31c7
Don't use GTK_WIDGET_*SET_FLAGS (wid, GTK_TOPLEVEL)
...
Introduce internal _gtk_widget_set_is_toplvel() for this
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=614510
2010-04-26 21:07:20 +02:00
Javier Jardón
560e426f16
Don't use GTK_WIDGET_*SET_FLAGS (wid, GTK_HAS_GRAB)
...
Introduce internal _gtk_widget_set_has_grab() for this
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=614513
2010-04-26 21:04:51 +02:00
Javier Jardón
b8ec73a52f
Only a GtkMisc widget should be passed to gtk_tool_button_new()
...
Reported by Hernando Torque here:
https://bugzilla.gnome.org/show_bug.cgi?id=616851
2010-04-26 20:23:39 +02:00
Emmanuele Bassi
621b415e5b
tree-view: Use gtk_widget_send_focus_change()
...
Remove the second (and last) internal user of the GTK_HAS_FOCUS flag.
https://bugzilla.gnome.org/show_bug.cgi?id=593671
2010-04-26 18:59:24 +01:00
Emmanuele Bassi
91930f86b2
window: Use gtk_widget_send_focus_change()
...
Remove the original user of the GTK_HAS_FOCUS flags.
https://bugzilla.gnome.org/show_bug.cgi?id=593671
2010-04-26 18:59:23 +01:00
Emmanuele Bassi
f04a720348
widget: Add send_focus_change()
...
Currently the only users of the GTK_HAS_FOCUS flag are setting it
before sending a focus change event. This is normally needed by
GtkWindow, but there are widgets that require controlling the focus
of widgets that are semantically their children even though they are
parented to another top-level. Case in point: the quick search entry
for GtkTreeView.
Over the years people have been hacking the focus change out of
gtkwindow.c and gtktreeview.c, thus leaking the direct access of the
GTK_HAS_FOCUS flag.
The simplest way to avoid that is to add a function that sends the
focus change event and controls the setting of the flag, thus removing
the need for external widgets to do the same.
https://bugzilla.gnome.org/show_bug.cgi?id=593671
2010-04-26 18:59:22 +01:00
Matthias Clasen
cd45dfaa1d
Tiny documentation tweak
2010-04-26 07:34:01 -04:00
Matthias Clasen
a0b61a5a72
Make testellipsize work for rotating non-ellipsized labels
2010-04-25 20:58:36 -04:00
Matthias Clasen
f285ed1348
Treat h and v boxes the same way
...
...we've got the money!
2010-04-25 17:12:15 -04:00
Matthias Clasen
bcbd7cce13
Don't add padding to a pointer
2010-04-25 16:45:21 -04:00
Matthias Clasen
ff0eb03201
Fix a regression in RTL flipping
...
This was only showing up with pack-end packing in horizontal boxes.
The RTL flipping has to be applied after moving the reference point
to the left edge of the child.
2010-04-25 16:23:01 -04:00
Matthias Clasen
148ea63dba
Formatting and typo fixes
2010-04-23 21:52:55 -04:00
Tristan Van Berkom
2a5272647d
Mega commit backing out everything from the native-layout branch that
...
is not ready for integration
This commit makes the native-layout branch into a reasonable
patch applicable to git master, it pulls out GtkCellRenderer
support, ComboBox support, the Plug/Socket api is also not ready
and is pulled out.
2010-04-21 03:42:23 -04:00
Tristan Van Berkom
9306a73dfd
Added documentation, implemented gtk_extended_layout_is_height_for_width() where needed.
2010-04-21 01:32:55 -04:00
Javier Jardón
95fd5011c2
Move documentation to inline comments: GtkMessageDialog
...
Also, add a note about GTK_BUTTONS_OK, GTK_BUTTONS_YES_NO
and GTK_BUTTONS_OK_CANCEL are discouraged by the GNOME HIG.
https://bugzilla.gnome.org/show_bug.cgi?id=597865
2010-04-21 05:57:29 +02:00
Tristan Van Berkom
680d7762ba
Make sure not to base the minimum size on "max-width-chars", only the natural size.
2010-04-20 20:30:10 -04:00
Tristan Van Berkom
dfd311497d
Fixed GtkLabel to wrap correctly and report width-for-height correctly when vertical.
2010-04-20 18:54:50 -04:00
Tristan Van Berkom
d5b31c303c
Slightly reduced extended layout cache size, updated authors/copywrite year.
2010-04-20 18:53:54 -04:00
Tristan Van Berkom
17883f3ce6
Fixed GtkLabel to include GtkMisc padding when calculating height-for-width.
2010-04-20 15:23:13 -04:00
Tristan Van Berkom
80428e7745
Restore layout in get_desired_size() after guessing a wrap width
...
This fixes the label layout in cases where gtk_widget_size_request()
is called on a label without a following size_allocate(), for instance
when a button state changes.
2010-04-20 14:16:13 -04:00
Tristan Van Berkom
4ed5e6d526
Various updates to follow new gtk_extended_layout_get_desired_size added argument.
2010-04-20 01:30:56 -04:00
Tristan Van Berkom
b7a05d1832
Fixed missing return from get_desired_width/height in GtkViewport (causing testgtk to have a small width).
2010-04-20 01:27:32 -04:00
Tristan Van Berkom
c927f5e60d
Split up width and height queries so that they make more sense (extended-layout)
2010-04-20 01:26:58 -04:00
Tristan Van Berkom
0330658a7f
Added request_natural argument to get_desired_size()
...
Currently get_desired_size() is more of an emulation of
gtk_widget_size_request() for the minimum size as it bases the
contextual request on the minimum preferred size; this argument
lets you do the request with the natural preferred size as well.
2010-04-20 01:24:51 -04:00
Tristan Van Berkom
3a9ab87489
GtkAlignment now tries to allocate natural size to the child if available and does the height-for-width calculation depending on allocation.
2010-04-20 01:22:31 -04:00
Tristan Van Berkom
0b92348077
Fixed acces of child->requisition; call gtk_widget_get_child_requisition instead.
...
This fixes squished pathbar issue (as access to ->requisition is really
not supported anymore).
2010-04-20 00:33:20 -04:00
Tristan Van Berkom
b0fc43e958
Reduced natural request padding for rotating ellipsizing labels
...
After fixing height requests this works much smoother, although in
some places pango seems to ellipsize a rotated label when given
the width it requested.
2010-04-19 21:50:55 -04:00
Tristan Van Berkom
8ae5e01225
Fixed another caching bug in extended layout
...
Was confusing width/height REQUEST_NEEDED flags, this caused
the volumebutton test to not re-request the height properly
when changing orientations.
2010-04-19 21:37:44 -04:00
Tristan Van Berkom
de4a8f8ddc
Unconditionally return the height for the minimum width when doing get_desired_height()
...
This is the correct support for the opposing orientation for widgets
that support height-for-width, in an interface that was realized as
width-for-height, a height-for-width supporting widget should return
the minimum height for the minimum width when the initial
get_desired_height() is run.
2010-04-19 20:43:19 -04:00
Tristan Van Berkom
ee8db39393
Fixed height-for-width cache
...
Fixed the cache to be cleared when flagged with WIDTH/HEIGHT_REQUEST_NEEDED.
This error was causing some widgets to not be sized correctly (the stock and
icon browser in the demo for instance).
2010-04-19 20:41:23 -04:00
Tristan Van Berkom
119267d7c8
Removing old comments in gtkbin.c
2010-04-19 20:40:04 -04:00
Tristan Van Berkom
3783a0a54f
Fixed computation of sizegroups when no explicit request is set.
...
My previous commit to GtkSizeGroup made sure that when
gtk_widget_set_size_request() is set on a widget, it will be
taken into account when computing the widget's own request,
this commit fixes the case where there is no explicit size
request.
2010-04-19 14:46:28 -04:00
Tristan Van Berkom
e9e3725ee7
Fixed testellipsize
2010-04-19 14:04:20 -04:00
Tristan Van Berkom
0dff033a64
Fixed GtkSpinner to request 12x12 at init time instead of at expose time.
...
This should not change the space taken by the spinner when hidden,
and it should only set the minimum size not the actual size (i.e. code
in place was conditionally setting it if not allocated 12x12, which
doesnt really make sense)... This fixes spinners showing at the correct size
in gtk-demo.
2010-04-18 20:46:30 -04:00
Tristan Van Berkom
4c1fa76520
Fixed _gtk_size_group_bump_requisition() to properly handle values specified by gtk_widget_set_size_request()
2010-04-18 20:45:42 -04:00
Tristan Van Berkom
e997ac37a7
Added GTK_DEBUG_EXTENDED_LAYOUT flag and use that for debuggin in gtkextendedlayout.c
2010-04-18 20:14:13 -04:00
Tristan Van Berkom
6dc5cdb981
Implemented GtkExtendedLayout on GtkWindow.
2010-04-18 20:13:46 -04:00
Tristan Van Berkom
fe257d23dd
Fixed GtkAssistant to not access ->requisition of children directly.
...
This was causing a 0 height action-area because a GtkBox does not
generally update ->requisition with anything useful
(call gtk_widget_get_child_requisition() here instead).
2010-04-18 20:11:43 -04:00
Tristan Van Berkom
3cbd9e9313
Further fixed base outputs of GtkLabel desired geometries.
...
Now (when wrapping), if no "width-chars" was specified for a minimum
width, default to the width guessed by gtk_label_ensure_layout(), small
specified widths will otherwise result in very large height requests.
2010-04-18 18:13:56 -04:00
Tristan Van Berkom
da318411dc
Fixed bug in gtk_extended_get_desired_size().
...
gtk_extended_get_desired_size() was mixing up orientations based
on the preference, considering ditching the preference anyway.
Also slightly enhanced debug prints.
2010-04-18 18:12:30 -04:00
Tristan Van Berkom
35cc52f418
Compute the collective heights for the width of a horizontal box.
...
Introduce an algorithm to allocate children some virtual widths based on
their base widths returned by ->get_desired_width(), then return the
collective desired heights for each or thier virtually allocated width.
This will only work in the horizontal orientation.
2010-04-18 18:09:40 -04:00