Alexander Larsson
0b26605ab0
css: Only keep around GtkCssSections if GTK_CSS_DEBUG env var set
...
These are used purely for CSS debugging, and was using over 100k just
starting up gtk3-demo.
2012-03-29 13:57:22 +02:00
Rob Bradford
13b2720308
build: Don't use Wayland GtkClipboard implementation if also building for X
...
Workaround for: https://bugzilla.gnome.org/show_bug.cgi?id=672358
2012-03-29 10:50:07 +01:00
Murray Cumming
c00cfda370
GtkApplication Docs: Add a hint.
...
gtk_application_set_app_menu(), gtk_application_set_menubar():
Mention that you probably want to call this in the startup signal
handler. If you do it earlier you will likely get a warning about
a missing D-Bus connection, because doing it earlier does not
make sense anyway.
2012-03-28 11:26:22 +02:00
Benjamin Otte
94dbefda1c
Fix for bug 672961 - Custom theme can crash apps with GtkEntryCompletion
2012-03-27 20:29:56 -04:00
Cosimo Cecchi
52bd5f2f1f
treeview: filter out invisible columns in get_path_for_child()
...
Since we check for !list->next (and !list->prev for RTL) to set the
GTK_REGION_LAST flag, we have to filter out invisible columns before
looping; if we don't do that we might end up assigning GTK_REGION_LAST
to an invisible column.
https://bugzilla.gnome.org/show_bug.cgi?id=672937
2012-03-27 12:39:20 -04:00
Matthias Clasen
8759575c0a
Revert "GtkMenuItem: Add since 3.2 tags for 2 signals."
...
This reverts commit c6e1024a86
.
2012-03-26 06:15:26 -04:00
Murray Cumming
c6e1024a86
GtkMenuItem: Add since 3.2 tags for 2 signals.
...
These signals were added in this commit in 2010-09:
http://git.gnome.org/browse/gtk+/commit/gtk/gtkmenuitem.c?id=3bd93e5bfd968d21cbcba15b952b254c41f204f9
2012-03-26 10:51:46 +02:00
Murray Cumming
0e171a28c9
GtkColorChooser docs: Fix small typos.
2012-03-26 10:51:46 +02:00
Murray Cumming
79758e3d98
Docs: GtkApplication: Hint about GtkActionMap
2012-03-26 10:51:46 +02:00
Matthias Clasen
ed17c74f58
grid: avoid a floating point exception
...
When a homogeneous grid has no visible children, we were
accidentally doing a division by zero. Instead, just bail
out early in this case, there is nothing to allocate anyway.
https://bugzilla.gnome.org/show_bug.cgi?id=672763
2012-03-24 17:19:46 -04:00
Jon McCann
482195d788
Ensure skipped row between sections has a nonzero height
...
https://bugzilla.gnome.org/show_bug.cgi?id=672587
2012-03-22 13:07:35 -04:00
Jon McCann
50a4fa5323
Reduce row spacing in about dialog credits
...
https://bugzilla.gnome.org/show_bug.cgi?id=672587
2012-03-22 13:07:35 -04:00
Cosimo Cecchi
295ed0033e
cellrendereraccel: don't translate Alt+Print to SysRq
...
We want to use Alt+Print for screenshot keybindings, so we have to avoid
translating it into SysRq, since that's what the keymap would dictate.
After talking with Owen, it sounds like doing this generically would be
a lot of work and quite hairy code, so hardcoding this should be OK.
https://bugzilla.gnome.org/show_bug.cgi?id=671006
2012-03-22 00:45:08 -04:00
Matthias Clasen
d718fd79b6
entry: Don't show a num lock warning
...
Hardware lies about num lock, and we have no way of knowing.
https://bugzilla.gnome.org/show_bug.cgi?id=658875
2012-03-22 00:16:12 -04:00
Chun-wei Fan
f32d8be6a5
gtk/gtkwin32theme.c: Remove C99ism
2012-03-21 23:28:43 +08:00
Alexander Larsson
ca9d826249
win32: Remove grippies on paned
...
Turns out win32 doesn't actually have these.
2012-03-20 12:58:21 +01:00
Alexander Larsson
51e0d80ad8
win32: Theme paned separator
2012-03-20 11:36:35 +01:00
Alexander Larsson
d43632fbdc
win32: More theme workaround on XP
2012-03-20 11:36:03 +01:00
Alexander Larsson
6e35ae8515
GtkPaned: Update orientation style classes
2012-03-20 11:35:39 +01:00
Matthias Clasen
ad1c0f7155
label: Don't use the selection too easily
...
When we are re-setting the same text for internal reasons
(e.g. when applying the mnemonics-visible change upon Alt press),
we should not needlessly loos the selection.
https://bugzilla.gnome.org/show_bug.cgi?id=671588
2012-03-20 01:05:05 -04:00
Benjamin Otte
c80436ac35
tests: Remove unused variables
2012-03-20 02:07:21 +01:00
Matthias Clasen
aba316207d
Undo the gtk_menu_popup_for_device rename-to annotation
2012-03-19 13:45:48 -04:00
Adrian Johnson
7a8e37edec
Make collate default to enabled
...
Fixes http://bugzilla.gnome.org/show_bug.cgi?id=671898
2012-03-19 13:00:33 +00:00
Matthias Clasen
d7cf9d7b84
combobox: Make scrolling work again
...
Select for scroll events, making it possible to use a scroll
wheel to change the combobox.
2012-03-19 07:08:01 -04:00
Matthias Clasen
c0431a7238
builder: Remove a questionable test
...
It doesn't really make sense to check properties of a cell renderer,
since those only get set when needed to render or size-allocate
a cell.
2012-03-18 22:56:44 -04:00
Benjamin Otte
6df7562570
tests: Remove deleted rows from cache
...
Otherwise the GNode pointer address that we use for indexing might get
reused for a new node and then we don't start out with a pristine
refcount.
2012-03-19 02:26:16 +01:00
Benjamin Otte
754bf5e3d8
treemodelfilter: Don't unref deleted rows
...
When we're fudging with child nodes of a deleted node, we don't want to
have them delete their parent - which is the deleted row.
2012-03-19 02:26:16 +01:00
Benjamin Otte
461803e407
gtk: Get gtkwidgetpath.h includes out of the public headers
...
and include them in the C files instead.
2012-03-19 02:26:16 +01:00
Benjamin Otte
47e44028e1
a11y: Add back the 'toggle' actions
...
This is a hack.
But as long as Orca cannot figure out if a cell is heckable, the best we
can do is support the old way of providing a "toggle" action.
https://bugzilla.gnome.org/show_bug.cgi?id=672367
https://bugzilla.gnome.org/show_bug.cgi?id=672368
https://bugzilla.gnome.org/show_bug.cgi?id=672369
2012-03-19 02:26:16 +01:00
Lionel Landwerlin
adf36e28d2
gtkbox: avoid warning when removing a widget with refcount of 1
...
If gtkbox is the only object having a reference on one of its child
and that we try to remove it from its container, we endup having a
warning when disconnecting a signal after having unparented the
widget.
Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@linux.intel.com>
https://bugzilla.gnome.org/show_bug.cgi?id=670176
2012-03-18 15:41:07 -04:00
Alexander Larsson
e65a2709a3
css: Support background-position property
2012-03-17 05:13:22 +01:00
Alexander Larsson
b874e6c3cf
css: Support GtkBackgroundPosition in cssvalue
2012-03-17 05:13:22 +01:00
Alexander Larsson
ca07559672
css: GtkBackgroundSize type
2012-03-17 05:13:22 +01:00
Benjamin Otte
f9727ee1bf
stylecontext: Get rid of unused parameter
...
It was always FALSE
2012-03-16 17:53:57 +01:00
Benjamin Otte
ae6ab3951c
docs: Add missing Since tag
2012-03-16 17:53:39 +01:00
Benjamin Otte
ccbcebdddf
iconview: Don't resize on size allocation
...
Let's see how much this breaks. But then, it also fixes things, so more
power to me!
https://bugzilla.gnome.org/show_bug.cgi?id=672173
2012-03-16 17:53:30 +01:00
Alexander Larsson
cb1a825cc3
win32: Theme statusbars
2012-03-16 16:44:24 +01:00
Alexander Larsson
30fb1e0256
win32: Theme paned separators
2012-03-16 14:31:32 +01:00
Alexander Larsson
0d307ab2fc
win32: Dim menubar text for non-active windows
2012-03-16 11:35:52 +01:00
Alexander Larsson
fff1af56ff
win32: Better color for separators
2012-03-16 11:05:20 +01:00
Alexander Larsson
a6d72dfec1
win32: Don't use separators in comboboxes
2012-03-16 11:05:00 +01:00
Alexander Larsson
eedf57f844
win32: Some theming of color selector
2012-03-16 10:49:21 +01:00
Alexander Larsson
6b35857e4d
win32: Fix typo in css
2012-03-15 21:25:36 +01:00
Alexander Larsson
59dc05d0c5
win32: Theme assistants
2012-03-15 21:12:38 +01:00
Alexander Larsson
3598756bee
win32: No frames around scrolled windows directly in tabs
2012-03-15 21:12:37 +01:00
Alexander Larsson
7e97dce946
win32: Fix listview checkbox prelight problems
...
We only support the preview state for checkboxes for GtkButton
because it gave problems when used in treeview where the prelight
state affects all checkboxes in the row.
2012-03-15 21:12:37 +01:00
Alexander Larsson
84b2d41a98
win32: Make spinner animate
2012-03-15 21:12:36 +01:00
Alexander Larsson
3b8cf23fbc
win32: Add borders around scrolled windows
2012-03-15 21:12:36 +01:00
Alexander Larsson
dc1510c53d
win32: Fix entry theming
2012-03-15 21:12:35 +01:00
Alexander Larsson
1e5a803614
win32: Support frameless entries in theme
2012-03-15 21:12:35 +01:00