Tristan Van Berkom
6d8dfd5546
Fixed GtkCellView to not clear the layout when disposing
...
The layout belongs the underlying area which may be shared across
views and treemenus, let the cells be destroyed when the area is finally
destroyed.
2011-01-04 23:37:06 +09:00
Tristan Van Berkom
53bdca9dae
Adding more "small" submenus to testtreemenu
2011-01-04 23:37:06 +09:00
Tristan Van Berkom
1cacae9cc4
Fixed trailing ';' on if statement in gtkmenuitem.c
2011-01-04 23:37:06 +09:00
Tristan Van Berkom
aef55bb629
Added submenus to tests/testtreemenu
2011-01-04 23:37:06 +09:00
Tristan Van Berkom
963db86d23
Fixed GtkTreeMenu to not infinitely recurse when building submenus.
...
GtkTreeMenu needs to only populate it's submenus when set_root()
is called, we were populating it when the model is set which cause
the tree to be infinitely populated as the root is NULL by default.
Also call gtk_menu_set_reserve_toggle_thingy (FALSE) to not reserve
space for the toggle size.
2011-01-04 23:37:06 +09:00
Tristan Van Berkom
c690402446
Fixed GtkMenuItem to reserve the actual arrow size and spacing
...
GtkMenuItem was reserving arrow size based on it's requested height,
now base the submenu arrow size on the actual arrow size and spacing.
2011-01-04 23:37:06 +09:00
Tristan Van Berkom
26c3f1a26d
Adding GtkTreeMenu class.
...
Added GtkTreeMenu class to automatically render
a GtkTreeModel into a GtkMenu hierarchy (will be
used by GtkComboBox for its dropdown menus). Included
an accompanying testcase tests/testtreemenu
2011-01-04 23:37:06 +09:00
Tristan Van Berkom
f15a589651
Added gtk_menu_item_set/get_reserve_indicator.
...
This is needed by GtkTreeMenu to ensure that child menu items
reserve space for the submenu indicator even if they dont have
submenus... in this way we ensure the same size of all cell
areas in the menu items at allocation/request time.
2011-01-04 23:37:06 +09:00
Tristan Van Berkom
5e8e4429c7
Fixing GtkCellView PROP_CELL_AREA_CONTEXT property id
...
... and renaming some internal variables.
2011-01-04 23:37:06 +09:00
Tristan Van Berkom
988200800c
Added gtk_cell_view_new_with_context().
2011-01-04 23:37:06 +09:00
Tristan Van Berkom
b70589b6a4
Reimplemented GtkCellView using an internal GtkCellArea.
...
Added construct GtkCellArea and GtkCellAreaContext properties,
the context property allows putting multiple cellviews into the
same size request context.
2011-01-04 23:37:05 +09:00
Tristan Van Berkom
58cdd6d38e
Removed GtkMenuItem->show_submenu_indicator flag
...
The show_submenu_indicator flag was explicitly set in various
places from GtkMenu/GtkMenuBar at request times, since the
GtkMenuItem already checks the parent type for GTK_IS_MENU_BAR()
in various places, removed this flag in favor of just checking
the parent type (only in the interest of better readable code).
2011-01-04 23:37:05 +09:00
Matthias Clasen
7352a166b6
Formatting fixes and whitespace cleanups
2011-01-04 02:21:38 -05:00
Matthias Clasen
32bfc980c1
Remove pack property altogether
2011-01-04 02:06:03 -05:00
Matthias Clasen
723fedef8b
Remove pack consideration from tab drawing
2011-01-04 02:03:03 -05:00
Matthias Clasen
4ea886aea1
Don't consider pack when allocating tabs
2011-01-04 01:57:22 -05:00
Matthias Clasen
f9d6bc6cca
Drop pack consideration from gtk_notebook_search_page
2011-01-04 01:39:18 -05:00
Matthias Clasen
a7bb193377
Drop internal function to find page position
2011-01-04 01:36:09 -05:00
Matthias Clasen
f838ecf9f0
Remove pack consideration from tab dnd
2011-01-04 01:35:52 -05:00
Matthias Clasen
88501d527d
Remove pack consideration from tab reordering
2011-01-04 01:23:05 -05:00
Matthias Clasen
03b37a2e54
Remove pack arguments from some internal functions
...
This removes pack from gtk_notebook_{set,query}_tab_label_packing.
2011-01-04 01:11:28 -05:00
Matthias Clasen
08a99e9ab3
Remove the deprecated GtkNotebook:tab-pack child property
2011-01-04 00:57:34 -05:00
Matthias Clasen
98b140e7b5
Don't use GtkNotebook:tab-pack in testnotebookdnd
2011-01-04 00:55:50 -05:00
Matthias Clasen
c874bba0e1
GtkNotebook: fix reference to no-longer-exiting function in docs
2011-01-03 22:55:38 -05:00
Matthias Clasen
72b69ae2ed
Don't use page_size in GtkSpinButton
...
It ought to be 0 anyway, but don't use it.
This puts bug 307963 to rest.
2011-01-03 21:51:58 -05:00
Matthias Clasen
a975d62071
Rename gtk-update-icon-cache and gtk-builder-convert back
...
In bug 635207, it was pointed out that it is a bad idea to
rename these tools purely in the name of parallel-installability,
since it forces dependencies to make a choice between running
gtk-update-icon-cache and gtk-update-icon-cache-3.0 (or both ?!).
So, we rename these utilities back to their un-suffixed names
and rely on distributors to resolve the conflict between GTK+ 2.x
and GTK+ 3.0 packages, which can be done e.g. by dropping the
utilities from the gtk3 packages and add a gtk3 -> gtk2 dependency.
2011-01-03 21:35:23 -05:00
Carlos Garnacho
7266d0f11f
Make GtkPathBar use ::style-updated
2011-01-04 03:06:27 +01:00
Carlos Garnacho
c3b5b3531c
GtkPaned: Remove unneeded call
2011-01-04 03:06:26 +01:00
Carlos Garnacho
f9a5c14ac0
Make GtkOffscreenWindow use GtkStyleContext
2011-01-04 03:06:26 +01:00
Carlos Garnacho
7e2dea1dff
GtkNotebook: remove unneeded call
2011-01-04 03:06:25 +01:00
Carlos Garnacho
61691117dc
GtkMisc: Remove unneeded calls
2011-01-04 03:06:24 +01:00
Carlos Garnacho
905604550a
Make GtkMessageDialog use GtkStyleContext
2011-01-04 03:06:24 +01:00
Carlos Garnacho
166b709c7f
Make GtkLinkButton use ::style-updated
2011-01-04 03:06:23 +01:00
Carlos Garnacho
80e115331c
GtkInvisible: Avoid chaining up in ::style-updated
2011-01-04 03:06:22 +01:00
Carlos Garnacho
7b3de2d552
Make GtkHandleBox size request code use GtkStyleContext for padding
2011-01-04 03:06:22 +01:00
Carlos Garnacho
b062a583d3
Make GtkFixed use GtkStyleContext
2011-01-04 03:06:21 +01:00
Carlos Garnacho
14a5c0b9ff
Make GtkFileChooser use GtkStyleContext
2011-01-04 03:06:21 +01:00
Carlos Garnacho
8e18c2cfd2
Make GtkFileChooserButton use ::style-updated
2011-01-04 03:06:21 +01:00
Carlos Garnacho
96d8f85dcc
Make DnD code use GtkStyleContext for the highlight rectangle.
2011-01-04 03:06:20 +01:00
Carlos Garnacho
e02cbf4770
Make GtkEntryCompletion use GtkStyleContext
2011-01-04 03:06:20 +01:00
Carlos Garnacho
e4c509837f
GtkEntry: get font description from GtkStyleContext
2011-01-04 03:06:20 +01:00
Carlos Garnacho
55145e0e4e
GtkEntry: Remove unneeded calls
2011-01-04 03:06:19 +01:00
Carlos Garnacho
c180edd80c
Make GtkDrawingArea use GtkStyleContext
2011-01-04 03:06:19 +01:00
Carlos Garnacho
552c4c78f6
GtkExpander: remove unneeded call
2011-01-04 03:06:19 +01:00
Carlos Garnacho
6c21f3d8e6
Remove unneeded/deprecated call from size requisition code
2011-01-04 03:06:19 +01:00
Carlos Garnacho
c296d11ac3
GtkToolItem: Remove unneeded call
2011-01-04 03:06:19 +01:00
Carlos Garnacho
be0ebc9f5a
Make GtkDialog use ::style-updated
2011-01-04 03:06:18 +01:00
Carlos Garnacho
99791d183c
Make GtkCellView use GtkStateFlags
2011-01-04 03:06:18 +01:00
Carlos Garnacho
554e649a68
Make GtkTooltip use GtkStyleContext
2011-01-04 03:06:17 +01:00
Carlos Garnacho
41389cb435
Make GtkWin32EmbedWidget use GtkStyleContext
2011-01-04 03:06:17 +01:00