Javier Jardón
65b9fc3e5b
gtk/gtkmain.c: Use accessor functions to access GtkWindowGroup
2010-09-11 03:34:01 +02:00
Javier Jardón
6eae25e0b0
GtkWindow: move public members to private structure
...
Signed-off-by: Christian Dywan <christian@twotoasts.de>
2010-09-11 02:22:28 +02:00
Matthias Clasen
149b84dacf
Really stop exporting text-related variables
2010-09-09 22:11:36 -04:00
Tristan Van Berkom
a6a036ce22
Adding note to docs of gtk_widget_set_window()
...
gtk_widget_set_window() does not add a reference to the
owned window... this is an exception to most gtk_foo_set_bar()
functions where as it acts as if it were named gtk_widget_take_window().
Adding note to the docs to avoid people giving the window to the
widget and naturally proceeding to unref the window.
2010-09-10 03:25:21 +09:00
Benjamin Otte
6624da6393
widget: Fix SEGV when no focus widget exists
2010-09-09 18:10:04 +02:00
Tristan Van Berkom
73ea777c33
Fixed GtkTextView & GtkIconView to consult it's true previous size request
...
Fixed issues in my previous patch for bug 626939 removing GtkRequisition
cache: these widgets monitor the previous requested size and decide whether
to queue a resize when the content changes based on it's prior request.
2010-09-09 17:19:18 +09:00
Tristan Van Berkom
843be48572
Moved GtkSizeRequest cache to GtkWidget->priv
...
Now that we have a private data installed directly on
the GtkWidget instance it makes no sense to cache the size
requests on widget qdata. This change will generally make
GTK+ memory less fragmented as well as significantly speed
up the size request process.
2010-09-09 17:19:18 +09:00
Tor Lillqvist
f76fddb8a7
Use accessor functions in Win32-only code
2010-09-09 11:09:55 +03:00
Tor Lillqvist
dd36afc207
Don't use the same name for a function that used to be a variable
...
Rename the gtk_major_version() etc functions I introduced yesterday to
start with gtk_get. Avoids misleading results in client programs whose
developers that don't notice the change or the compiler warnings, and
when recompiling against gtk3 then use the function addresses as the
version numbers.
2010-09-09 11:06:26 +03:00
Matthias Clasen
3bd93e5bfd
Remove GtkItem
...
With the demise of GtkList and GtkTree, it has GtkMenuItem as sole
derived class, and is not really adding any value as a separate class.
Its few useful features have been merged into GtkMenuItem.
Bug 629104
2010-09-08 23:38:09 -04:00
Javier Jardón
72ac2175e2
gtk/gtkhandlebox.c: Do not use gdk_window_get_deskrelative_origin()
...
This completes commit bd277fad50
2010-09-09 02:26:43 +02:00
Colin Walters
913cdf3be7
GDK: Prefix key names with KEY_
...
The keysyms create a lot of potential namespace conflicts for
C, and are especially problematic for introspection, where we take
constants into the namespace, so GDK_Display conflicts with GdkDisplay.
For C application compatiblity, add gdkkeysyms-compat.h which uses
the old names.
Just one user in GTK+ continues to use gdkkeysyms-compat.h, which is
the gtkimcontextsimple.c, since porting that requires porting more
custom Perl code.
2010-09-08 18:51:44 -04:00
Mike Gorse
8fb5bc2583
Remove a duplicate variable
...
Bug#629110: gtk_spinner_accessible_get_type always returns null
2010-09-08 17:55:28 -04:00
Javier Jardón
a76d198508
GtkWidget: Move public members to private structure
2010-09-08 21:28:16 +02:00
Javier Jardón
efaed1b8f1
gtk/gtknotebook.c: use accessor functions to access GtkWidget
2010-09-08 21:13:04 +02:00
Javier Jardón
f8cfb895ed
gtk/gtkarrow.c: use accessor functions to access GtkWidget
2010-09-08 21:13:04 +02:00
Javier Jardón
d9e7680735
gtk/gtkpathbar.c: use accessor functions to access GtkWidget
2010-09-08 21:13:04 +02:00
Javier Jardón
a338d5dea5
gtk/gtkruler.c: use accessor functions to access GtkWidget
2010-09-08 21:13:04 +02:00
Javier Jardón
e4dc454f59
gtk/gtkseparator.c: use accessor functions to access GtkWidget
2010-09-08 21:13:04 +02:00
Javier Jardón
50ef420378
gtk/gtkhandlebox.c: use accessor functions to access GtkWidget
2010-09-08 21:13:04 +02:00
Javier Jardón
89e8f79f07
gtk/gtkiconview.c: use accessor functions to access GtkWidget
2010-09-08 21:13:04 +02:00
Javier Jardón
a48d28848e
gtk/gtkimage.c: use accessor functions to access GtkWidget
2010-09-08 21:13:03 +02:00
Javier Jardón
ec2f2c3daf
gtk/gtkmenu.c: use accessor functions to access GtkWidget
2010-09-08 21:13:03 +02:00
Javier Jardón
0993bc4d1c
gtk/gtkmisc.c: use accessor functions to access GtkWidget
2010-09-08 21:13:03 +02:00
Javier Jardón
29044f0f0e
gtk/gtkspinbutton.c: use accessor functions to access GtkWidget
2010-09-08 21:13:03 +02:00
Javier Jardón
5533264958
gtk/gtktextview.c: use accessor functions to access GtkWidget
2010-09-08 21:13:03 +02:00
Javier Jardón
d05d713068
gtk/gtktreeview.c: use accessor functions to access GtkWidget
2010-09-08 21:13:03 +02:00
Javier Jardón
2d0a655201
gtk/gtkwindow.c: Fix warning
...
Cast to GtkSizeRequest
This was added in
commit b654afcb48
2010-09-08 21:13:03 +02:00
Tor Lillqvist
87141cf4c8
Get rid of the rest of variables exported from libgtk
...
Especially the gtk_*_type ones in gtktexttypes.h were mentioned in
gtk.symbols presumably by accident. That header isn't even installed,
so no way can they be supposed to be public.
gtk_text_attr_appearance_type is from the installed but "semi-private"
gtktextlayout.h, so drop that one too from gtk.symbols for now.
The use of gtk_text_unknown_char_utf8 is bit of a mess. Code in a few
files knew implicitly that it is three bytes. Define a symbolic name
for the length of it instead. Add an exported function
gtk_text_unknown_char_utf8_gtk_tests_only() that returns a pointer to
it just for the sake of gtk/tests/textbuffer.c. Prefix the variable
with an underscore.
I doubt the usefulness of the test_utf8() in textbuffer.c. If it could
be dropped, gtk_text_unknown_char_utf8_gtk_tests_only() could be
dropped, too.
2010-09-08 21:31:34 +03:00
Tor Lillqvist
801875b805
Replace gtk_debug_flags with getter and setter functions
...
Preferrably should be made just into a local variable for libgtk like
_gdk_debug_flags for libgdk. But for now used by
gtk/tests/textbuffer.c and modules/printbackends/cups/gtkprintbackendcups.c.
2010-09-08 21:31:34 +03:00
Tor Lillqvist
cb24bcc613
Turn the gtk version and age variables into functions
...
Having variables exported from a DLL is slightly painful and
potentially error-prone on Windows, so let's try get rid of them now
when we can. Starting with these.
2010-09-08 21:31:33 +03:00
Javier Jardón
b654afcb48
gtk/gtkwindow.c: Use gtk_size_request_get_size() instead gtk_widget_get_requisition()
2010-09-08 19:40:51 +02:00
Tristan Van Berkom
9934007420
Completely removed requisition cache from GtkWidget instance structure.
...
Since we have a new mechanism for requesting sizes: GtkSizeRequestIface;
it makes no sense to maintain this cache on the GtkWidget structure...
removing the requisition cache however does not break the old "size-request"
signal which is there for backwards compatability reasons.
In any case widget->requisition should not have been accessed,
gtk_widget_get_child_requisition() would have been the correct way
to consult the cache.
This commit also deprecates the newly added gtk_widget_get_requisition()
API and makes it fallback on gtk_size_request_get_size().
2010-09-08 18:50:24 +02:00
Javier Jardón
bc366cef52
gtknotebook: Do not mention deprecated API
2010-09-08 17:46:11 +02:00
Javier Jardón
4a5e0a35b9
gtksocket: Remove mention to gtk_socket_steal() deprecated function
2010-09-08 17:14:37 +02:00
Colin Walters
319bc22c5c
gtk.symbols: Update expected ABI
2010-09-07 14:17:10 -04:00
John (J5) Palmieri
c78a23bdca
add annotations for tranfer and scope so that methods are exported by GI
2010-09-07 13:50:40 -04:00
John (J5) Palmieri
eeaf576316
add array annotation to gtk_builder_add_objects_from_string
2010-09-07 12:06:29 -04:00
John (J5) Palmieri
8a210673fb
add gtk_radio_button_join_group method for bindings
...
* this mirrors the committed change for gtk_radio_action_join_group in
commit 85b53969b2
* 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
GtkRadioButton objects and not with the list of objects that gets
modified in the library
https://bugzilla.gnome.org/show_bug.cgi?id=628935
2010-09-07 10:41:40 -04:00
Tristan Van Berkom
278957a5a4
Removed x/y/x_set/y_set from GtkWidgetAuxInfo
...
These members of GtkWidgetAuxData can no longer be set after
the removal of deprecated gtk_widget_set_uposition(), now removed
these members completely and removed the access to them from
gtk_widget_size_allocate().
2010-09-07 16:21:44 +09:00
Tristan Van Berkom
d5278b5994
Removed _gtk_window_reposition()
...
_gtk_window_reposition() was only some extra confusing code, internally
it only calls the public API gtk_window_move()... replaced calls to
_gtk_window_reposition() with direct calls to gtk_window_move() and
removed the redundant internal API (probably there only for some historical
reason).
2010-09-07 15:45:15 +09:00
Havoc Pennington
c50db9c208
Use a bitfield for Widget::private_flags, ::state, ::saved_state
...
This recovers 10 bits, since state and saved_state as uint8 both
wasted 5 bits. Now we can add 10 more flags.
Also, a possible future patch could just do 1-bit bitfields
for the private flags instead of using manual bit twiddling.
https://bugzilla.gnome.org/show_bug.cgi?id=628884
2010-09-07 00:13:11 -04:00
Matthias Clasen
3c5f9fd1a2
Remove use of ::has-separator property
2010-09-06 00:26:17 -04:00
Matthias Clasen
2f966e8418
Remove some unused enums
...
The GtkAnchorType and GtkVisibility enums are not used anywhere,
so remove them.
2010-09-05 23:55:47 -04:00
Havoc Pennington
88a90b8abb
Warn if a widget requests minimum size > natural size
...
Since this makes no sense and there's no reason we should
have to check for it elsewhere just in case some widget is
busted.
https://bugzilla.gnome.org/show_bug.cgi?id=628808
2010-09-05 21:46:22 -04:00
Havoc Pennington
d7d940c71e
Add more "reserved for expansion" fields to GtkWidgetClass
...
Only 3 were left. 3.x cycle may need more.
https://bugzilla.gnome.org/show_bug.cgi?id=628807
2010-09-05 21:42:35 -04:00
Murray Cumming
08ddea5069
GtkStatusIcon: Remove get/set_blinking() declarations from header.
...
This was apparently forgotten in
commit 18b47b6cd0
.
2010-09-04 13:18:09 +02:00
Benjamin Otte
d8f3a162c8
style: Use gtk_widget_get_state() for the entry background
...
New code sets the entry background to GTK_STATE_ACTIVE when it has focus
and the active color in the default theme looks rather bad.
2010-09-03 17:14:17 +02:00
Benjamin Otte
78ccc74879
entry: Use the same state for the flat box of text area and icons
2010-09-03 17:01:06 +02:00
Benjamin Otte
9c2eca5b06
range: Unused variable
2010-09-03 13:39:10 +02:00
Benjamin Otte
3685db091d
window: Use brackets to silence gcc
2010-09-03 13:38:55 +02:00
Matthias Clasen
18b47b6cd0
Remove blinking from status icons
...
This feature was just a bad idea.
2010-09-02 09:37:06 -04:00
Matthias Clasen
d433a60611
Remove separators from dialogs
...
It seems more reasonable to remove this feature than to keep fighting
off every separator that pops up by accident in a dialog.
2010-09-02 09:14:20 -04:00
Matthias Clasen
ece148eec0
Remove ::state-hint use
...
This use of the property was overlooked when it was removed.
We now always behave as if state-hint == TRUE.
2010-09-02 08:59:27 -04:00
Fridrich Štrba
31b709d08a
Export one needed symbol
2010-09-02 10:24:34 +02:00
Tristan Van Berkom
68568cff66
Enhanced/Simplified GtkWrapBox api as per Havoc's comments.
...
Made an enum GtkWrapBoxPacking for the expand/fill horizontal/vertical
boolean options... changed xpadding/ypadding to be horizontal-padding
and vertical-padding for a more consistent api and better readablility.
2010-09-02 15:36:36 +09:00
Tristan Van Berkom
c9ccc7551b
Some api changes for GtkWrapBox
...
Ammended documentation for GTK_WRAP_BOX_SPREAD_EVEN and renamed
GTK_WRAP_BOX_SPREAD_BEGIN -> GTK_WRAP_BOX_SPREAD_START.
2010-09-02 14:22:55 +09:00
Tristan Van Berkom
f2279d5e51
Fixed GtkNotebook to not consult GtkWidget->requisition directly
...
GtkNotebook was filling widget->requisition directly at "size-request"
time instead of filling in the *requsition argument, also (more importantly)
at size_allocate time GtkNotebook was consulting the action widget's
widget->requisition directly instead of safely calling
gtk_widget_get_child_requisition(). This commit closes bgo #628068 .
2010-09-02 13:50:27 +09:00
Matthias Clasen
6b5672c199
Remove now unused GtkProgressBarOrientation enum
2010-09-01 23:30:21 -04:00
Matthias Clasen
0ff6aedca0
Convert GtkCellRendererProgress to a GtkOrientable
...
And add an inverted property to it, too.
2010-09-01 23:27:00 -04:00
Matthias Clasen
4230f7998b
Make GtkProgressBar implement GtkOrientable
...
This also means that gtk_progress_bar_[sg]et_orientation are
gone.
2010-09-01 23:25:22 -04:00
Matthias Clasen
c3a19a4a14
Split the GtkProgressBar::orientation property
...
We splict the orientation property into a GtkOrientation and a
'inverted' boolean, the same way that GtkRange is set up.
2010-09-01 23:24:20 -04:00
Matthias Clasen
e4af3782d3
Rename GtkIconView::orientation property
...
Rename the ::orientation property of GtkIconView to item-orientation,
which is both clearer and avoids the conflict with the orientation
property of GtkOrientable implementations.
2010-09-01 23:03:48 -04:00
Matthias Clasen
1956cf8d28
Remove GtkRange::activate-slider
...
This was a style property to let theme engines 'opt-in' to more
correct behaviour while maintaining compatibility with existing
themes. GTK+ 3 engines are expected to handle the more correct
behaviour.
2010-09-01 22:09:44 -04:00
Matthias Clasen
d28af9cbb9
Remove GtkRange::stepper-position-details
...
This was a style property to let theme engines 'opt-in' to more
correct behaviour while maintaining compatibility with existing
themes. GTK+ 3 engines are expected to handle the more correct
behaviour.
2010-09-01 21:48:44 -04:00
Matthias Clasen
658f99b8ee
Remove GtkRange::trough-side-details
...
This was a style property to let theme engines 'opt-in' to more
correct behaviour while maintaining compatibility with existing
themes. GTK+ 3 engines are expected to handle the more correct
behaviour.
2010-09-01 21:30:47 -04:00
Matthias Clasen
095fb1afe4
Remove GtkTreeView::row-ending-details
...
This was a style property to let theme engines 'opt-in' to more
correct behaviour while maintaining compatibility with existing
themes. GTK+ 3 engines are expected to handle the more correct
behaviour.
2010-09-01 20:58:39 -04:00
Matthias Clasen
399580f9e1
Remove GtkEntry::state-hint
...
This was a style property to let theme engines 'opt-in' to more
correct behaviour while maintaining compatibility with existing
themes. GTK+ 3 engines are expected to handle the more correct
behaviour.
2010-09-01 20:21:21 -04:00
Matthias Clasen
15ea566813
Wrap box assimilation
...
Some coding style cleanups, rename Priv to Private, add docs
2010-09-01 20:03:30 -04:00
Matthias Clasen
7670b13d19
Update GtkButtonBox docs
2010-09-01 19:15:59 -04:00
Javier Jardón
6e5d65c9af
gtkscale: move documentation to inline comments
2010-09-01 20:37:39 +02:00
Javier Jardón
5484211c90
gtktexttagtable: move documentation to inline comments
2010-09-01 20:37:39 +02:00
Javier Jardón
7eadf45888
gtktypeutils: move documentation to inline comments
2010-09-01 20:37:39 +02:00
Javier Jardón
a47e5483b6
gtkimcontextsimple: move documentation to inline comments
2010-09-01 20:37:39 +02:00
Javier Jardón
3a752e03a8
gtkimmulticontext: move documentation to inline comments
2010-09-01 20:37:39 +02:00
Colin Walters
787df491f3
Add correct namespace prefix to ColorSelectionPrivate
...
gobject-introspection is now more strict about garbage in public headers.
2010-09-01 13:16:37 -04:00
Carl-Anton Ingmarsson
38fad43129
docs: Further fix GtkStock documentation
...
Some icons were left out from the
commit 9688665334
https://bugzilla.gnome.org/show_bug.cgi?id=628308
Signed-off-by: Javier Jardón <jjardon@gnome.org>
2010-09-01 17:43:59 +02:00
Stefan Kost
9074f74c6f
container: use priv in last commit
...
container->focus_child to container->priv->focus_child
2010-09-01 17:33:33 +03:00
Stefan Kost
94420f7110
widget: more details on gtk_widget_grab_focus docs
...
Tell that widget needs to be mapped and realized.
2010-09-01 16:59:00 +03:00
Stefan Kost
267a2156d8
container: clarify the docs
...
Hightlight more that focus_child is a container internal thing and suggest
what application developers most likely were looking for instead.
2010-09-01 16:59:00 +03:00
Stefan Kost
b00b1c33a3
container: don't leak the focus_child ref count
...
gtk_conatiner_set_focus_child() takes a ref. Release the ref in _destroy().
Fixes #414712 .
2010-09-01 16:59:00 +03:00
Matthias Clasen
9688665334
Fix GtkStock documentation
...
After the big icon rename, all the links in the docs have to
be updated, and we need to copy the right icons.
2010-09-01 00:14:45 -04:00
Colin Walters
b04b1b2e84
introspection: Update to new scanner API
...
* Add --warn-all
* Drop unnecessary of --strip-prefix; for GdkX11, use --symbol-prefix
https://bugzilla.gnome.org/show_bug.cgi?id=628160
2010-08-31 16:21:08 -04:00
Javier Jardón
213f8e2f1b
gtk/gtkwindow: use accessor functions to access GtkWidget
2010-08-31 02:51:36 +02:00
Javier Jardón
1a980d0be6
gtk/gtkplug.c: Use accessor functions to access GtkWindow
2010-08-31 02:51:36 +02:00
Javier Jardón
304b1a1f56
Added _gtk_widget_get_wmclass() internal function
...
Needed by GtkPlug
2010-08-31 02:51:36 +02:00
Javier Jardón
cc06f3dde6
GtkScrolledWindow: move public members to private structure
2010-08-31 01:34:02 +02:00
Tor Lillqvist
4491bdbb9d
Drop Win32 DLL ABI compatibility cruft
...
No need for that any longer as we are changing DLL name.
2010-08-30 14:57:48 +03:00
Tristan Van Berkom
972f617b77
Fixed GtkToolPalette realize() vfunc.
...
It seems with latest GSEAL work for widget->window access a
call to gtk_widget_set_window() was missed (added the window
assignment and now the palette shows up in Glade again).
2010-08-30 18:25:14 +09:00
Philip Withnall
ba158a24fe
Miscellaneous property string fixes
2010-08-29 19:00:14 +01:00
Javier Jardón
f84707d6f9
Add gtk_calendar_day_is_marked() function
...
The marked state of calendar day is not accessible
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=627028
2010-08-29 19:14:24 +02:00
Daiki Ueno
6afa615690
Fix typo in GtkIMContextClass doc.
2010-08-29 19:01:30 +02:00
Tor Lillqvist
87bf99dcc5
Fix Win32 build
2010-08-29 12:40:56 +03:00
Matthias Clasen
8d36170b8d
Remove deprecated GTK_SELECTION_EXTENDED selection mode
2010-08-28 22:42:59 -04:00
Matthias Clasen
29aa3818a4
Remove deprecated text and text_length field in GtkEntry
...
These fields have been superseded by GtkEntryBuffer.
2010-08-28 22:27:36 -04:00
Matthias Clasen
af8539bf11
Move deprectated menu enumerations to a private header
...
The GtkSubmenuDirection and GtkSubmenuPlacement enumerations
have been deprecated as public API for a while, but are still used
internally in the menu code. Move them to a private header. This
also prevents to generation of GObject boilerplate for these enums.
2010-08-28 21:24:11 -04:00
Matthias Clasen
00438fea3d
Declare the GtkWidget::window-dragging style property as readonly
...
This is how we generally declare style properties, and declaring
this one r/w was just an oversight.
2010-08-28 20:08:14 -04:00
Matthias Clasen
5d6b21e7b2
Remove long-deprecated page-horizontally signal
...
This signal has been superseded by GTK_MOVEMENT_HORIZONTAL_PAGES
long ago. This breaks the GtkTextView ABI.
2010-08-28 19:26:42 -04:00
Matthias Clasen
d2d344a531
Remove a workaround for old toolbar api
...
The old, deprecated toolbar api has been removed, so this workaround
is no longer necessary.
2010-08-28 19:11:23 -04:00
Matthias Clasen
6dd4f32f37
Remove deprecated GTK_CALENDAR_WEEK_START_MONDAY option
...
This has been deprecated and ignored for a long time.
2010-08-28 19:09:21 -04:00
Matthias Clasen
d45d970144
Remove deprecated 'shadow' properties in GtkFrame and GtkHandleBox
2010-08-28 17:20:53 -04:00
Tristan Van Berkom
67194ed77b
Fixed debug build for GTK_PLUG (plug)->socket_window direct accesses.
2010-08-28 16:19:16 +09:00
Tristan Van Berkom
deaa351630
Added initial revision of GtkWrapBox container widget and test case.
2010-08-28 16:01:59 +09:00
Javier Jardón
2a2f7c0993
gtk/gtkwidget.c: Use accessor functions to access GtkWindow
2010-08-28 03:40:47 +02:00
Javier Jardón
e8184f2a46
GtkPlug: move public members to private structures
2010-08-27 23:12:12 +02:00
Javier Jardón
af8efa0b46
Use accessor functions to access GtkPlug
2010-08-27 23:12:12 +02:00
Javier Jardón
1e5d7c0225
Use GtkFooPrivate instead GtkFooPriv
2010-08-27 04:48:23 +02:00
Javier Jardón
c6a44d8494
gtk/gtkseparator: Do not use GET_PRIVATE macro all the time
...
Use a private pointer instead
2010-08-26 18:00:09 +02:00
Javier Jardón
8d983a4547
gtk/gtkfilesystem: Do not use GET_PRIVATE macro all the time
...
Use a private pointer instead
2010-08-26 15:58:20 +02:00
Javier Jardón
1b77e36a59
gtk/gtksizerequest.c: Use G_DEFINE_INTERFACE macro
2010-08-26 00:33:56 +02:00
Javier Jardón
523ea1c656
gtk/gtktoolshell.c: Use G_DEFINE_INTERFACE macro
2010-08-26 00:33:56 +02:00
Javier Jardón
c0b8104232
gtk/gtkcellsizerequest.c: Use G_DEFINE_INTERFACE macro
2010-08-26 00:33:56 +02:00
Javier Jardón
24fedeccac
gtk/gtkcelllayout.c: Use G_DEFINE_INTERFACE macro
2010-08-26 00:33:56 +02:00
Javier Jardón
208e548ab1
gtk/gtkrecentchooser.c: Use G_DEFINE_INTERFACE macro
2010-08-26 00:33:56 +02:00
Javier Jardón
c1476c951e
gtk/gtkfilechooser.c: Use G_DEFINE_INTERFACE macro
2010-08-26 00:33:56 +02:00
Matthias Clasen
3e4e2b233b
Fix trivial doc typo
...
Pointed out in bug 627912.
2010-08-25 18:17:43 -04:00
Javier Jardón
45e2176683
Use G_DEFINE_INTERFACE macro in gtkactivatable
...
https://bugzilla.gnome.org/show_bug.cgi?id=605186
2010-08-25 15:06:40 +02:00
Matthias Clasen
1f1b404194
Document that the GTK_STOCK_FILE label is new
2010-08-25 00:46:47 -04:00
Matthias Clasen
586bbc9b13
Make the initial focus in dialogs work as intended
...
We had code that tried to prevent selecting the text in the label
if we end up focusing a label, but it didn't take effect, because
we were moving the focus into the label again afterwards.
2010-08-25 00:43:16 -04:00
Matthias Clasen
e1143c2d45
Make empty buttonboxes work again
...
There was some less than careful / nvis_children.
2010-08-25 00:29:27 -04:00
Matthias Clasen
06c2777d88
Make builtin rc consistent
...
I removed the default label style a few days ago, so it should
no longer be referenced either.
2010-08-25 00:28:23 -04:00
Matthias Clasen
2766cd14ad
Remove depth restriction from gtk_combo_box_set_active_iter docs
...
While it may not work perfectly in menu mode, it works fine for
list mode. Bug 627843.
2010-08-24 21:51:17 -04:00
Sergey Orlov
a676f9dada
bgo#614006 - GtkFileSystemModel - Make sure to generate node IDs are valid for new files
...
When a file was inserted during the period that the editable row was
active, the node IDs would not get updated correctly.
Signed-off-by: Federico Mena Quintero <federico@novell.com>
2010-08-24 17:09:37 -05:00
Javier Jardón
c05f344c0a
Use gtk_window_has_group() to know if the window has an explicit window group.
...
gtk_window_get_group() never returns NULL; if the window isn't in a group,
a default window group is returned instead. Use gtk_window_has_group() instead.
This fixes some previous commits to use accessors to access GtkWindow.
Reported by Philip Withnall in bug
https://bugzilla.gnome.org/show_bug.cgi?id=627828
2010-08-24 16:16:42 +02:00
Javier Jardón
f4f607690d
GtkRange: move public members to private structure
2010-08-23 20:48:03 +02:00
Javier Jardón
ff445e2b79
Use accessor functions to access GtkRange
2010-08-23 20:47:52 +02:00
Javier Jardón
27ec5cd556
gtkscalebutton: use accessor functions to access GtkRange
2010-08-23 20:47:45 +02:00
Javier Jardón
a64869db9e
gtkscale: use accessor functions to access GtkRange
2010-08-23 20:47:38 +02:00
Javier Jardón
f300aefa7e
Added _gtk_range_set_steppers () internal function
...
It's needed by gtkscrollbar
2010-08-23 20:47:30 +02:00
Javier Jardón
1814ea6abd
Added _gtk_range_set_round_digits() insternal function
...
It's needed by gtkscale
2010-08-23 20:47:23 +02:00
Javier Jardón
d38bf4825a
gtkrange: Add some checks to gtk_range_set_slider_size_fixed()
...
Recalculate layout only if the range is already mapped and
adjustment is not NULL.
2010-08-23 20:47:16 +02:00
Javier Jardón
65a28efc15
gtk/gtkprintunixdialog.c: Use accessor functions to access GtkWindow
2010-08-23 20:19:44 +02:00
Javier Jardón
f05acd707d
gtk/gtktreeview.c: Use accessor functions to access GtkWindow
2010-08-23 20:19:38 +02:00
Javier Jardón
31d22d3083
gtk/gtksocket.c: Use accessor functions to access GtkWindow
2010-08-23 20:19:31 +02:00
Javier Jardón
97cbe801c1
gtk/gtkrecentchooserdefault.c: Use accessor functions to access GtkWindow
2010-08-23 20:19:24 +02:00
Javier Jardón
fb4661be6d
gtk/gtkprintoperation.c: Use accessor functions to access GtkWindow
2010-08-23 20:19:18 +02:00
Javier Jardón
54b8b51f43
gtk/gtkpaned.c: Use accessor functions to access GtkWindow
2010-08-23 20:19:11 +02:00
Javier Jardón
f91e5e2ac9
gtk/gtknotebook.c: Use accessor functions to access GtkWindow
2010-08-23 20:19:03 +02:00
Javier Jardón
991eaa7580
gtk/gtklabel.c: Use accessor functions to access GtkWindow
2010-08-23 20:18:55 +02:00
Javier Jardón
e00ffe3872
gtk/gtkfontsel.c: Use accessor functions to access GtkWindow
2010-08-23 20:18:48 +02:00
Javier Jardón
7325c67570
gtk/gtkfilechooserdefault.c: Use accessor functions to access GtkWindow
2010-08-23 20:18:41 +02:00
Javier Jardón
64fca99a89
gtk/gtkfilechooserbutton.c: Use accessor functions to access GtkWindow
2010-08-23 20:18:34 +02:00
Javier Jardón
65266d971e
gtk/gtkentry.c: Use accessor functions to access GtkWindow
2010-08-23 20:18:27 +02:00
Javier Jardón
50aec80efb
gtk/gtkdnd.c: Use accessor functions to access GtkWindow
2010-08-23 20:18:20 +02:00
Javier Jardón
014fc1f73a
gtk/gtkdialog.c: Use accessor functions to access GtkWindow
2010-08-23 20:18:10 +02:00
Javier Jardón
595b27e22d
gtk/gtkcontainer.c: Use accessor functions to access GtkWindow
2010-08-23 20:18:03 +02:00
Javier Jardón
1fe89643a5
gtk/gtkcolorsel.c: Use accessor functions to access GtkWindow
2010-08-23 20:17:56 +02:00
Javier Jardón
e5ed2c02a3
Revert from "edit-preferences" to "gtk-preferences"
...
There is not a icon named "edit-preferences" in the spec
http://standards.freedesktop.org/icon-naming-spec/icon-naming-spec-latest.html
2010-08-23 18:18:05 +02:00
Tor Lillqvist
56f71f0123
Fix Win32 build
...
Builds now, except for the ms-windows theme engine. It doesn't really
work, though.
2010-08-23 18:55:54 +03:00
Javier Jardón
29a758d4c2
The correct icon name is "dialog-information", not "dialog-info"
...
Spec here:
http://standards.freedesktop.org/icon-naming-spec/icon-naming-spec-latest.html
2010-08-23 17:47:28 +02:00
Benjamin Otte
8856bfc60e
directfb: Remove
...
As announced by email and on IRC, this backend is removed from GTK 3.
It has been broken for over a year with no one fixing it.
2010-08-23 12:44:58 +02:00
Benjamin Otte
7eabb8fd3c
container: suggest parentheses around assignment used as truth value
2010-08-23 12:37:22 +02:00
Matthias Clasen
b415d2f79b
Fix a translation problem in the about dialog
...
The license preamble needs to be translated with the GTK+ domain,
not the applications. Bug 627643.
2010-08-22 19:05:35 -04:00
Javier Jardón
ab93613037
gtk/gtk.symbols: Add gtk_cell_view_get_desired_height_for_width_of_row()
2010-08-22 23:35:27 +02:00
Javier Jardón
f3d6aa8bf3
gtk/gtktrayicon-x11.c: Use accessor functions to access GtkWidget
2010-08-22 22:56:17 +02:00
Javier Jardón
04fd195b9b
gtk/gtksocket-x11.c: Use accessor functions to access GtkWidget
2010-08-22 22:56:17 +02:00
Javier Jardón
f25ad7899a
gtk/gtkplug-x11.c: Use accessor functions to access GtkWidget
2010-08-22 22:56:17 +02:00
Javier Jardón
0a1130dcb9
gtk/gtkprintunixdialog.c: Use accessor functions to access GtkWidget
2010-08-22 22:56:17 +02:00
Javier Jardón
07d3f20202
gtk/gtkdnd.c: Use accessor functions to access GtkWidget
2010-08-22 22:56:16 +02:00
Javier Jardón
b99348e443
gtk/gtkaboutdialog.c: use accessor functions to access GtkWidget
2010-08-22 22:56:16 +02:00
Javier Jardón
091335fcb4
gtk/gtkalignment.c: use accessor functions to access GtkWidget
2010-08-22 22:56:16 +02:00
Javier Jardón
2201b2abb6
gtk/gtkassistant.c: use accessor functions to access GtkWidget
2010-08-22 22:56:16 +02:00
Javier Jardón
b05e897453
gtk/gtkbbox.c: use accessor functions to access GtkWidget
2010-08-22 22:56:16 +02:00
Javier Jardón
d9b459dd64
gtk/gtkbox.c: use accessor functions to access GtkWidget
2010-08-22 22:56:16 +02:00
Javier Jardón
6cad69e32a
gtk/gtkbutton.c: use accessor functions to access GtkWidget
2010-08-22 22:56:15 +02:00
Javier Jardón
1b1845863a
gtk/gtkcalendar.c: use accessor functions to access GtkWidget
2010-08-22 22:56:15 +02:00
Javier Jardón
c6b86761d6
gtk/gtkcellrendereraccel.c: use accessor functions to access GtkWidget
2010-08-22 22:56:15 +02:00
Javier Jardón
7b5656b492
gtk/gtkcellrendererpixbuf.c: use accessor functions to access GtkWidget
2010-08-22 22:56:15 +02:00
Javier Jardón
4a17e27a1e
gtk/gtkcellrendererprogress.c: use accessor functions to access GtkWidget
2010-08-22 22:56:15 +02:00
Javier Jardón
cc70f342d0
gtk/gtkcellrendererspinner.c: use accessor functions to access GtkWidget
2010-08-22 22:56:15 +02:00
Javier Jardón
aad72e59fa
gtk/gtkcellrenderertext.c: use accessor functions to access GtkWidget
2010-08-22 22:56:14 +02:00
Javier Jardón
dd61c2bdea
gtk/gtkcellrenderertoggle.c: use accessor functions to access GtkWidget
2010-08-22 22:56:14 +02:00
Javier Jardón
e9915fc8d6
gtk/gtkcellview.c: use accessor functions to access GtkWidget
2010-08-22 22:56:14 +02:00
Javier Jardón
aa63485b87
gtk/gtkcheckbutton.c: use accessor functions to access GtkWidget
2010-08-22 22:56:14 +02:00
Javier Jardón
1e3448f222
gtk/gtkcheckmenuitem.c: use accessor functions to access GtkWidget
2010-08-22 22:56:14 +02:00
Javier Jardón
0baa3feb4b
gtk/gtkcolorbutton.c: use accessor functions to access GtkWidget
2010-08-22 22:56:14 +02:00
Javier Jardón
e9b85cf100
gtk/gtkcolorsel.c: use accessor functions to access GtkWidget
2010-08-22 22:56:13 +02:00
Javier Jardón
42a0a8143b
gtk/gtkcombobox.c: use accessor functions to access GtkWidget
2010-08-22 22:56:13 +02:00
Javier Jardón
3a89cc150c
gtk/gtkcontainer.c: use accessor functions to access GtkWidget
2010-08-22 22:56:13 +02:00
Javier Jardón
83372be93e
gtk/gtkcontainer.c: use accessor functions to access GtkWidget
2010-08-22 22:56:13 +02:00
Javier Jardón
4def73b386
gtk/gtkdialog.c: use accessor functions to access GtkWidget
2010-08-22 22:56:13 +02:00
Javier Jardón
379fc17fa9
gtk/gtkdrawingarea.c: use accessor functions to access GtkWidget
2010-08-22 22:56:12 +02:00
Javier Jardón
4ddff2691b
gtk/gtkentry.c: use accessor functions to access GtkWidget
2010-08-22 22:56:12 +02:00
Javier Jardón
325a00e40d
gtk/gtkentrycompletion.c: use accessor functions to access GtkWidget
2010-08-22 22:56:12 +02:00
Javier Jardón
7764ee564c
gtk/gtkeventbox.c: use accessor functions to access GtkWidget
2010-08-22 22:56:12 +02:00
Javier Jardón
f11207c33e
gtk/gtkexpander.c: use accessor functions to access GtkWidget
2010-08-22 22:56:12 +02:00
Javier Jardón
b62b834eb5
gtk/gtkfilechooserdefault.c: use accessor functions to access GtkWidget
2010-08-22 22:56:12 +02:00
Javier Jardón
7f8aaf04da
gtk/gtkfilechooserentry.c: use accessor functions to access GtkWidget
2010-08-22 22:56:11 +02:00
Javier Jardón
fe2815026b
gtk/gtkfixed.c: use accessor functions to access GtkWidget
2010-08-22 22:56:11 +02:00
Javier Jardón
2758329204
gtk/gtkframe.c: use accessor functions to access GtkWidget
2010-08-22 22:56:11 +02:00
Javier Jardón
effdde9471
gtk/gtkhsv.c: use accessor functions to access GtkWidget
2010-08-22 22:56:11 +02:00
Javier Jardón
90ee7ca493
gtk/gtkimagemenuitem.c: use accessor functions to access GtkWidget
2010-08-22 22:56:11 +02:00
Javier Jardón
37d62149bb
gtk/gtkinfobar.c: use accessor functions to access GtkWidget
2010-08-22 22:56:10 +02:00
Javier Jardón
0a3431e8f6
gtk/gtkinvisible.c: use accessor functions to access GtkWidget
2010-08-22 22:56:10 +02:00
Javier Jardón
84297150e8
gtk/gtkitem.c: use accessor functions to access GtkWidget
2010-08-22 22:56:10 +02:00
Javier Jardón
69b6dbdb08
gtk/gtklabel.c: use accessor functions to access GtkWidget
2010-08-22 22:56:10 +02:00
Javier Jardón
26f21cf0e9
gtk/gtklayout.c: use accessor functions to access GtkWidget
2010-08-22 22:56:10 +02:00
Javier Jardón
00152ff835
gtk/gtklinkbutton.c: use accessor functions to access GtkWidget
2010-08-22 22:56:10 +02:00
Javier Jardón
1783b227e8
gtk/gtkmain.c: use accessor functions to access GtkWidget
2010-08-22 22:56:09 +02:00
Javier Jardón
7587ee2dde
gtk/gtkmenubar.c: use accessor functions to access GtkWidget
2010-08-22 22:56:09 +02:00
Javier Jardón
4d928459d3
gtk/gtkmenuitem.c: use accessor functions to access GtkWidget
2010-08-22 22:56:09 +02:00
Javier Jardón
03842616fb
gtk/gtkmenushell.c: use accessor functions to access GtkWidget
2010-08-22 22:56:09 +02:00
Javier Jardón
298b3643aa
gtk/gtkmenutoolbutton.c: use accessor functions to access GtkWidget
2010-08-22 22:56:09 +02:00
Javier Jardón
593b32c6ab
gtk/gtkmessagedialog.c: use accessor functions to access GtkWidget
2010-08-22 21:25:26 +02:00
Javier Jardón
ce977a1a33
gtk/gtkmnemonichash.c: use accessor functions to access GtkWidget
2010-08-22 21:25:26 +02:00
Javier Jardón
f8ac83bc07
gtk/gtkoffscreenwindow.c: use accessor functions to access GtkWidget
2010-08-22 21:25:26 +02:00
Javier Jardón
e49c130018
gtk/gtkpaned.c: use accessor functions to access GtkWidget
2010-08-22 21:25:26 +02:00
Javier Jardón
d854499f4a
gtk/gtkplug.c: use accessor functions to access GtkWidget
2010-08-22 21:25:26 +02:00
Javier Jardón
6b7efdf8a1
gtk/gtkprogressbar.c: use accessor functions to access GtkWidget
2010-08-22 21:25:25 +02:00
Javier Jardón
d52eb49529
gtk/gtkradiobutton.c: use accessor functions to access GtkWidget
2010-08-22 21:25:25 +02:00
Javier Jardón
c6f4e71a31
gtk/gtkrange.c: use accessor functions to access GtkWidget
2010-08-22 21:25:25 +02:00
Javier Jardón
c35fa9bc5a
gtk/gtkrecentchooserdefault.c: use accessor functions to access GtkWidget
2010-08-22 21:25:25 +02:00
Javier Jardón
dbd395a7ac
gtk/gtkscale.c: use accessor functions to access GtkWidget
2010-08-22 21:25:25 +02:00
Javier Jardón
41fcf40648
gtk/gtkscalebutton.c: use accessor functions to access GtkWidget
2010-08-22 21:25:25 +02:00
Javier Jardón
482637a41e
gtk/gtkscrolledwindow.c: use accessor functions to access GtkWidget
2010-08-22 21:25:25 +02:00
Javier Jardón
804ad0dd88
gtk/gtksizegroup.c: use accessor functions to access GtkWidget
2010-08-22 21:25:25 +02:00
Javier Jardón
4870f2ec30
gtk/gtkselection.c: use accessor functions to access GtkWidget
2010-08-22 21:25:24 +02:00
Javier Jardón
ab27b01fb9
gtk/gtkseparatortoolitem.c: use accessor functions to access GtkWidget
2010-08-22 21:25:24 +02:00
Javier Jardón
551fa5c8df
gtk/gtksocket.c: use accessor functions to access GtkWidget
2010-08-22 21:25:24 +02:00
Javier Jardón
91a49bac5a
gtk/gtkspinner.c: use accessor functions to access GtkWidget
2010-08-22 21:25:24 +02:00
Javier Jardón
4847b9a940
gtk/gtkstatusbar.c: use accessor functions to access GtkWidget
2010-08-22 21:25:24 +02:00
Javier Jardón
f43610e110
gtk/gtkstatusicon.c: use accessor functions to access GtkWidget
2010-08-22 21:25:24 +02:00
Javier Jardón
bf1f03ad5d
gtk/gtkstyle.c: use accessor functions to access GtkWidget
2010-08-22 21:25:24 +02:00
Javier Jardón
c9dd25bd11
gtk/gtktable.c: use accessor functions to access GtkWidget
2010-08-22 21:25:24 +02:00
Javier Jardón
c4b452a22c
gtk/gtktearoffmenuitem.c: use accessor functions to access GtkWidget
2010-08-22 21:25:23 +02:00
Javier Jardón
c6dcef5089
gtk/gtktestutils.c: use accessor functions to access GtkWidget
2010-08-22 21:25:23 +02:00
Javier Jardón
82f521b514
gtk/gtktextdisplay.c: use accessor functions to access GtkWidget
2010-08-22 21:25:23 +02:00
Javier Jardón
063454f630
gtk/gtktextutil.c: use accessor functions to access GtkWidget
2010-08-22 21:25:23 +02:00
Javier Jardón
7fd15c82bf
gtk/gtktoolbar.c: use accessor functions to access GtkWidget
2010-08-22 21:25:23 +02:00
Javier Jardón
7e753a9a86
gtk/gtktoolbutton.c: use accessor functions to access GtkWidget
2010-08-22 21:25:23 +02:00
Javier Jardón
5e2c943742
gtk/gtktoolitem.c: use accessor functions to access GtkWidget
2010-08-22 21:25:23 +02:00
Javier Jardón
1f9eb57338
gtk/gtktoolitemgroup.c: use accessor functions to access GtkWidget
2010-08-22 21:25:23 +02:00
Javier Jardón
34e63dcd46
gtk/gtktoolpalette.c: use accessor functions to access GtkWidget
2010-08-22 21:25:23 +02:00
Javier Jardón
3f101bb08c
gtk/gtktooltip.c: use accessor functions to access GtkWidget
2010-08-22 21:25:22 +02:00
Javier Jardón
1c6b3f53a0
gtk/gtktreeviewcolumn.c: use accessor functions to access GtkWidget
2010-08-22 21:25:22 +02:00
Javier Jardón
a44969e877
gtk/gtkuimanager.c: use accessor functions to access GtkWidget
2010-08-22 21:25:22 +02:00
Javier Jardón
ae47b7925a
gtk/gtkviewport: use accessor functions to access GtkWidget
2010-08-22 21:25:22 +02:00
Javier Jardón
e3be606a1c
gtk/gtkwin32embedwidget: use accessor functions to access GtkWidget
2010-08-22 21:25:22 +02:00
Javier Jardón
7b4cf7587a
gtk/gtkwindow-decorate: use accessor functions to access GtkWidget
2010-08-22 21:25:22 +02:00
Javier Jardón
7d9c4b71a9
gtk/tests/builder.c: Use accessor functions to access GtkWidget
2010-08-22 18:33:10 +02:00
Javier Jardón
46e65a9164
gtk/tests/testing.c: Use accessor functions to access GtkWidget
2010-08-22 18:33:04 +02:00
Javier Jardón
6f74ff20a2
gtk/tests/treeview-scrolling.c: Use accessor functions to acccess GtkWidget
2010-08-22 18:32:56 +02:00
Philip Withnall
5fa4a05ccc
Miscellaneous string fixes
...
Mostly capitalisation fixes. Closes: bgo#528257
2010-08-22 15:06:45 +01:00
Philip Withnall
12e83244b1
Bug 528257 — File selector and stock string problems
...
Fix some stock item strings. Helps: bgo#528257
2010-08-22 12:24:00 +01:00
Matthias Clasen
fe1a39b1f2
Make button boxes semi-homogeneous
...
If a child is too large (> 1.5 the average), let it have its own
size. The old behaviour of fully homogeneous button boxes can still
be had by setting the homogeneous property to TRUE. Bug 84188.
2010-08-22 00:33:37 -04:00
Philip Withnall
df5ade16ab
GtkFontSelection: don't notify the non-existent "font" property
...
The "font" property was removed in 418d84f311
.
Closes: bgo#627580
2010-08-22 02:47:00 +01:00
Tristan Van Berkom
804c800979
Fixed oversized menus allocated offscreen
...
Removed the old toplevel window size-request signal and
do the clamping in gtk_menu_get_height_for_width() instead,
also make sure to invalidate the size before doing a new
request just after invoking the delegate menu position func.
2010-08-20 21:18:13 -04:00
Tristan Van Berkom
10ceb9da68
Fixed GtkMenuItem to not access the menu->requisition but get the minimum size request instead.
2010-08-20 21:18:13 -04:00
Tristan Van Berkom
005e8a6c2f
Changed combo box's menu position function to use child menu
...
item's allocation instead of a complex calculation to guess
it's height for width.
2010-08-20 19:26:10 -04:00
Tristan Van Berkom
af7a187919
Added GtkCellRendererText::max-width-chars property
...
Added a property to limit the minimum/natural size request
of a text cell renderer.
2010-08-20 19:26:09 -04:00