Commit Graph

25550 Commits

Author SHA1 Message Date
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
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
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
5e8e4429c7 Fixing GtkCellView PROP_CELL_AREA_CONTEXT property id
... and renaming some internal variables.
2011-01-04 23:37:06 +09:00
988200800c Added gtk_cell_view_new_with_context(). 2011-01-04 23:37:06 +09:00
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
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
7352a166b6 Formatting fixes and whitespace cleanups 2011-01-04 02:21:38 -05:00
32bfc980c1 Remove pack property altogether 2011-01-04 02:06:03 -05:00
723fedef8b Remove pack consideration from tab drawing 2011-01-04 02:03:03 -05:00
4ea886aea1 Don't consider pack when allocating tabs 2011-01-04 01:57:22 -05:00
f9d6bc6cca Drop pack consideration from gtk_notebook_search_page 2011-01-04 01:39:18 -05:00
a7bb193377 Drop internal function to find page position 2011-01-04 01:36:09 -05:00
f838ecf9f0 Remove pack consideration from tab dnd 2011-01-04 01:35:52 -05:00
88501d527d Remove pack consideration from tab reordering 2011-01-04 01:23:05 -05:00
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
08a99e9ab3 Remove the deprecated GtkNotebook:tab-pack child property 2011-01-04 00:57:34 -05:00
98b140e7b5 Don't use GtkNotebook:tab-pack in testnotebookdnd 2011-01-04 00:55:50 -05:00
c874bba0e1 GtkNotebook: fix reference to no-longer-exiting function in docs 2011-01-03 22:55:38 -05:00
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
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
7266d0f11f Make GtkPathBar use ::style-updated 2011-01-04 03:06:27 +01:00
c3b5b3531c GtkPaned: Remove unneeded call 2011-01-04 03:06:26 +01:00
f9a5c14ac0 Make GtkOffscreenWindow use GtkStyleContext 2011-01-04 03:06:26 +01:00
7e2dea1dff GtkNotebook: remove unneeded call 2011-01-04 03:06:25 +01:00
61691117dc GtkMisc: Remove unneeded calls 2011-01-04 03:06:24 +01:00
905604550a Make GtkMessageDialog use GtkStyleContext 2011-01-04 03:06:24 +01:00
166b709c7f Make GtkLinkButton use ::style-updated 2011-01-04 03:06:23 +01:00
80e115331c GtkInvisible: Avoid chaining up in ::style-updated 2011-01-04 03:06:22 +01:00
7b3de2d552 Make GtkHandleBox size request code use GtkStyleContext for padding 2011-01-04 03:06:22 +01:00
b062a583d3 Make GtkFixed use GtkStyleContext 2011-01-04 03:06:21 +01:00
14a5c0b9ff Make GtkFileChooser use GtkStyleContext 2011-01-04 03:06:21 +01:00
8e18c2cfd2 Make GtkFileChooserButton use ::style-updated 2011-01-04 03:06:21 +01:00
96d8f85dcc Make DnD code use GtkStyleContext for the highlight rectangle. 2011-01-04 03:06:20 +01:00
e02cbf4770 Make GtkEntryCompletion use GtkStyleContext 2011-01-04 03:06:20 +01:00
e4c509837f GtkEntry: get font description from GtkStyleContext 2011-01-04 03:06:20 +01:00
55145e0e4e GtkEntry: Remove unneeded calls 2011-01-04 03:06:19 +01:00
c180edd80c Make GtkDrawingArea use GtkStyleContext 2011-01-04 03:06:19 +01:00
552c4c78f6 GtkExpander: remove unneeded call 2011-01-04 03:06:19 +01:00
6c21f3d8e6 Remove unneeded/deprecated call from size requisition code 2011-01-04 03:06:19 +01:00
c296d11ac3 GtkToolItem: Remove unneeded call 2011-01-04 03:06:19 +01:00
be0ebc9f5a Make GtkDialog use ::style-updated 2011-01-04 03:06:18 +01:00
99791d183c Make GtkCellView use GtkStateFlags 2011-01-04 03:06:18 +01:00
554e649a68 Make GtkTooltip use GtkStyleContext 2011-01-04 03:06:17 +01:00
41389cb435 Make GtkWin32EmbedWidget use GtkStyleContext 2011-01-04 03:06:17 +01:00
665a94e0f3 Make GtkPlug use GtkStyleContext 2011-01-04 03:06:15 +01:00
81eb953206 Make GtkRecentChooser use GtkStyleContext 2011-01-04 03:06:14 +01:00
732730425a GtkSeparatorToolItem: remove unneeded call 2011-01-04 03:06:13 +01:00
ddd12f3f19 Make GtkSocket use GtkStyleContext 2011-01-04 03:06:12 +01:00
cb21085187 GtkSwitch: remove deprecated call. 2011-01-04 03:06:11 +01:00