2f3ffd5fde
treeview: Fix comparison to catch all cases
...
Otherwise, we could sometimes fail to update the cursor node when the
right row was deleted.
Also, I'd like to file a formal complaint that this node/tree
differentiation makes writing comparisons too complicated.
https://bugzilla.gnome.org/show_bug.cgi?id=668169
2012-01-24 17:55:14 +01:00
080f8740f2
GtkRecentManager: guess mime-type from filename when file doesn't exist
2012-01-24 13:59:12 +01:00
d0393d7376
Typofix in documentation
2012-01-24 13:52:53 +01:00
4c2e53a468
Silence a compiler warning
2012-01-24 00:41:26 -05:00
5c10f8ce8c
Pedantic spelling fix
...
Its 'theming', not 'themeing'.
2012-01-23 16:48:02 -05:00
1326466309
Render background of a GtkImage
...
Useful to e.g. style the bg color of a symbolic icon
2012-01-23 21:03:05 +01:00
31e89b44da
Fix gtkmisc padding calculation
...
Actually sum css padding and gtkmisc padding as intended in the previous
patch.
2012-01-23 21:03:05 +01:00
880daf8bb2
GtkApplication: change the accel prefix we use
...
GtkApplication adds to the global accel map using the prefix <Actions>
which is also used by GtkAction. This causes GtkApplicationWindow to
try to parse GtkAction-added accels as if they were its own (which
fails).
Switch to a different namespace -- <GAction>/.
https://bugzilla.gnome.org/show_bug.cgi?id=668367
2012-01-23 11:17:07 -05:00
e34589ddea
Factor out _gtk_misc_get_padding_and_border
...
The new semi-private function will allow to implement support for css
padding and border in widgets inheriting from GtkMisc.
Use the new function for GtkLabel, GtkArrow and GtkImage.
2012-01-22 13:36:47 +01:00
a9614a39a4
gtkmenuitem: Silence a compiler warning
2012-01-21 10:29:07 -05:00
5df87d06d4
progressbar: Tidy up the gtk-doc comments a little
2012-01-21 10:05:10 +00:00
835e37f08f
GtkApplicationWindow: Improve app menu label
...
When we are showing the app menu in process, use the application
name, if it has been set. Otherwise, we still fall back to
"Application".
2012-01-20 20:06:25 -05:00
0c514dc7dd
Correct an introspection annotation
...
Mistake pointed out in bug 668265.
2012-01-20 19:46:53 -05:00
691a94214a
Fix doc syntax
2012-01-20 08:17:39 -05:00
284ff06ef6
GtkApplication: fix !x11 build
...
Since we moved the menu models to GTK+, we need to deal with
them on all platforms, even if we don't do anything special
with them on win32.
2012-01-20 08:16:35 -05:00
d80bad037f
Fix builddir != srcdir build issue
2012-01-20 13:48:33 +01:00
681871dd9e
GtkApplicationWindow: Fix resize grip positioning
...
Based on a patch by Carlos Garcia Campos, bug 668248
2012-01-20 01:01:08 -05:00
4b7ec2be82
main: fix a compilation warning
2012-01-19 13:51:32 -05:00
dbabff0846
a11y: Invoke key snooper directly
...
Gets around the deprecated function warnings.
2012-01-19 10:32:21 +01:00
637e6688da
notebook: fixup previous commit
...
Oops, I hit push too early.
2012-01-18 16:14:31 -05:00
70cf23a729
notebook: don't force ACTIVE state flag on the label for active tab
...
This is just wrong, since it's not the tab label being active, but the
tab itself.
2012-01-18 16:13:25 -05:00
ba9546ff32
Don't call set_application() in gtk_window_realize
...
This call has no effect and with the newly-added restrictions it's
violating the set-application-after-realized rule.
https://bugzilla.gnome.org/show_bug.cgi?id=668203
2012-01-18 14:53:08 -05:00
60317cbf1a
move menus over from GLib
...
App menu and menubar are now properties of GtkApplication and their bus
location is exported using X window properties.
https://bugzilla.gnome.org/show_bug.cgi?id=668118
2012-01-18 13:40:05 -05:00
ed8e7d1793
Revert "a11y: Remove keysnooping support"
...
This reverts commit 0c8ecba7dc .
The change broke Orca completely, and we need a proper fix first.
So we have to live with the bugs intorduced by this until then.
2012-01-18 18:33:11 +01:00
1839caa7b7
GtkScale Remove an unused variable
2012-01-18 11:06:33 -05:00
9770184643
css: Fix memleak in shadow parsing
2012-01-18 10:46:46 +01:00
345d865ac6
GtkScale: Fix late setting of marks
2012-01-18 00:58:38 -05:00
85fcd50b3f
Revert "set the G_PARAM_CONSTRUCT flag on the GtkWindow:application property"
...
This reverts commit d4fe912879 .
This patch caused some unanticipated compatibility issues.
2012-01-17 10:56:30 -05:00
3e6b37726a
Remove a check that broke the color chooser a11y dump
...
With the visible check, the opacity slider ended up without
a labeled-by, which is sad.
2012-01-16 21:05:01 -05:00
57126ae56b
GtkScale: Always chain up in notify
...
Pointed out by Stefan Sauer.
2012-01-16 18:05:44 -05:00
85da4ca5bd
gtk.symbols: updated
2012-01-16 19:45:27 +01:00
8b183af57f
build: Add missing files to EXTRA_DIST
2012-01-16 19:27:23 +01:00
6f9cc94fae
cssprovider: Improve error handling for import errors
...
We don't want to include the whitespace after an import statement.
Because people tend to add newlines after @import, we report the wrong
lines for failed imports. And that's bad.
2012-01-16 18:44:43 +01:00
a213b0b33e
image: Fix gcc warnings
2012-01-16 18:39:52 +01:00
1b0231b743
css: Don't import CSS too early
...
First, finish parsing the import rule including the semicolon. Then try
to actually import.
test: css/parser/at-invalid-01.css
2012-01-16 18:34:41 +01:00
4653c7017f
css: Fix memleak
...
https://bugzilla.gnome.org/show_bug.cgi?id=667910
2012-01-16 18:34:41 +01:00
608637b562
Trivial doc fix
...
Use GLib consistently capitalized in the docs.
2012-01-16 14:49:38 +00:00
c6e253564c
Add missing cursors
2012-01-16 14:36:18 +01:00
e46971306a
Ensure we can load images via resource:// uris from CSS
2012-01-16 14:19:19 +01:00
6afeb8d355
Move fallback dnd cursors to resources
2012-01-16 14:19:19 +01:00
622b78c000
Add GtkImage constructors from resources
...
Atm you can't read back the resource path like
you can with filenames. Maybe we should add that.
2012-01-16 14:19:18 +01:00
1a36414da7
Access win32 css as resource, not custom generated C code
2012-01-16 14:19:18 +01:00
4f0cc6572b
Add Gtk resource file with the default CSS file
2012-01-16 14:19:16 +01:00
739ab8548d
Add gtk_ui_manager_add_ui_from_resource
...
This is a helper function to easily add ui from resource files.
2012-01-16 13:59:58 +01:00
c72a76c754
Add resource support for GtkBuilder
...
There are new calls to load ui files from resources, and
you can now read pixbufs by using relative paths in a ui
file read from a resource, or by using absolute resource:/// uris.
2012-01-16 13:59:58 +01:00
cf172a5873
Revert "GtkNotebook: fix crash when DnD tabs between windows"
...
This reverts commit eeb9de80e1 .
2012-01-15 18:54:05 -05:00
eb4a685691
GtkScale: Fix marks for inverted scales
...
Problem pointed out by Stefan Sauer in bug 667598. The solution
here is different from his patch. We always draw marks in increasing
direction, and flip the marks and stop positions to match.
2012-01-15 14:13:10 -05:00
800e605cb3
GtkScale: remove an unused argument
...
All callers were passing 1 for 'match', so just get rid of it.
Patch provided by Stefan Sauer, in bug 667590.
2012-01-15 14:13:10 -05:00
9bedf0128f
scale: use a GList instead of a GSList
...
The range widget can be inverted, this will help us to handle that case.
2012-01-15 14:13:10 -05:00
b9b23f4f18
GtkRange: fix resize-grip overlap handling
...
We only want to shrink the scrollbar allocation by the actual
overlap, not always by the full size of the resize grip.
2012-01-14 20:35:19 -05:00