William Jon McCann
b1c13443f8
Make dialogs modal
2012-07-16 14:22:18 -04:00
William Jon McCann
ce64cbc6bf
Add a Recent files place
...
https://bugzilla.gnome.org/show_bug.cgi?id=325824
2012-07-14 06:59:35 -04:00
Cosimo Cecchi
91a887f916
a11y: add missing prototype
2012-06-08 12:07:38 -04:00
Cosimo Cecchi
6c5baeb762
a11y: fix accessibility implementation for NautilusIconContainer
...
Clean up a11y code and make sure inheritance for
EelCanvasAccessible->NautilusIconContainerAccessible and for
EelCanvasItemAccessible->NautilusIconCanvasItemAccessible work properly.
This makes the ATK state machinery in EelCanvasItemAccessible work
again, which fixes
https://bugzilla.gnome.org/show_bug.cgi?id=677509
2012-06-07 23:50:34 -04:00
Cosimo Cecchi
d9fafc1f0f
a11y: remove now unused code
...
eel_accessibility_create_derived_gtype() is now unused.
2012-06-07 14:50:37 -04:00
Cosimo Cecchi
f2c748dc06
a11y: make sure not to loop while looking for parent get_accessible
...
If the final class does not override the get_accessible method, it will
inherit it from the parent class; what we're interested in is the first
class for which get_accessible is != from our class get_accessible.
2012-06-07 14:46:31 -04:00
Cosimo Cecchi
ccdd920501
editable-label: fix accessibility support
...
Use the previously introduced function to create a suitable
GtkAccessible implementation.
https://bugzilla.gnome.org/show_bug.cgi?id=672498
2012-06-07 14:08:57 -04:00
Cosimo Cecchi
a9777929c4
a11y: add a method to create a derived GtkWidgetAccessible type
...
For EelEditableLabel, we need to create an object derived from the
accessible type of the parent class; since that will be a
GtkWidgetAccessible, which is private, we can't just subclass it using
the regular GObject mechanisms.
This functions creates a derived GType by peeking at the parent
accessible class and type.
https://bugzilla.gnome.org/show_bug.cgi?id=672498
2012-06-07 14:07:47 -04:00
Cosimo Cecchi
c00eb306ee
all: fix GCC pointer signedness warnings
...
New cycle, new set of warnings triggered by glibc/GCC.
2012-05-31 14:56:28 -04:00
Cosimo Cecchi
6cb7a11268
trivial: remove other ChangeLog files
2012-05-30 17:04:12 -04:00
Cosimo Cecchi
377349ba19
editable-label: don't use deprecated gtk_draw_insertion_cursor()
...
Replace the calls with gtk_render_insertion_cursor()
2012-04-30 10:43:29 -04:00
Cosimo Cecchi
845d3fc93c
editable-label: fix selection color in backdrop state
...
Don't set the ACTIVE flag if we don't have focus, it just doesn't make
sense.
2012-04-24 12:22:05 -04:00
Cosimo Cecchi
2cf25e2a64
all: trivial cleanups
2012-04-24 11:48:20 -04:00
Cosimo Cecchi
ac772679b3
eel: remove more unused code
2012-04-11 12:19:00 -04:00
Cosimo Cecchi
0e5bc91c5a
eel: remove unused eel_strdup_strftime()
...
And there was much rejoice.
2012-04-11 12:14:41 -04:00
Cosimo Cecchi
9de34580ae
eel: remove unused code
...
All these functions are now unused and can be removed.
2012-04-11 12:14:41 -04:00
Cosimo Cecchi
4396a25f9a
all: use g_str_has_prefix()
...
Instead of the eel helper.
2012-04-11 11:36:42 -04:00
Cosimo Cecchi
f9a02d23fb
all: don't use eel_round()
...
Just use floor().
2012-04-11 11:36:42 -04:00
Cosimo Cecchi
13982305a2
all: don't use eel_get_system_time()
...
Use g_get_monotonic_time() instead.
2012-04-11 11:36:41 -04:00
Nelson Benitez Leon
3deb33d449
eel-canvas: ignore extra mouse button events
...
Ignore button press/release events for mouse buttons greater
than 5 so allowing forward and backward mouse buttons to work
over icons.
Part of bug 660006
Signed-off-by: Nelson Benitez Leon <nbenitezl@gmail.com>
2012-04-04 16:21:37 +02:00
Cosimo Cecchi
ba281e27b8
eel: delete unused code
...
We don't use EelDPoint/EelIPoint anymore; other functions here are just
unused.
2012-03-16 18:00:44 -04:00
Cosimo Cecchi
0d46b0620b
all: remove eel_g_hash_table_new_free_at_exit()
...
Especially when references can be owned by non-resident modules, this is
just too dangerous.
https://bugzilla.gnome.org/show_bug.cgi?id=670989
2012-03-07 21:04:51 -05:00
Cosimo Cecchi
3da42acd7a
build: link eel and libnautilus-private to libm
2012-02-20 18:28:58 +01:00
Carlos Garnacho
8c778211e5
eel: Queue resizes on the canvas as elements change visibility
...
Not queueing resizes may play oddly with the size request caches in
GTK+, resulting in gtk_widget_get_preferred_width/height returning
0 even after the canvas was populated.
https://bugzilla.gnome.org/show_bug.cgi?id=667831
2012-01-16 11:04:07 -05:00
Cosimo Cecchi
33ca9cd5b0
eel: remove unused eel_accessibility_set_name/description
2011-12-08 10:39:22 -05:00
Cosimo Cecchi
45ee835907
eel-string: don't segfault in eel_str_replace_substring for NULL strings
...
Just check if the strings are != NULL before calling strlen() on them.
2011-10-25 13:19:17 -04:00
Cosimo Cecchi
a816e00ef7
all: don't use deprecated GDK pointer methods
...
Use the new GdkDevice methods instead.
2011-10-18 11:28:08 -04:00
Cosimo Cecchi
e54ace0a55
editable-label: use GTK_STYLE_CLASS_ENTRY
...
Because that's what it is actually...
2011-10-17 18:56:03 -04:00
Cosimo Cecchi
b143b95f20
editable-label: use gtk_render_frame() instead of hardcoding a stroke
...
This allows the stroke to use rounded corners and border images, among
other things.
2011-10-17 18:46:35 -04:00
Cosimo Cecchi
f9383acb37
editable-label: don't hardcode black for the insertion cursor
...
Use the theme foreground/text color instead.
2011-10-17 18:45:35 -04:00
Cosimo Cecchi
3f95c46dff
editable-label: remove useless code
...
No need to call _set_background() on the editable label widget.
2011-10-17 18:43:32 -04:00
Cosimo Cecchi
8b87a3e86e
editable-label: make sure to size_request the padding set on the label
...
And not the alignment, which is an offset inside the allocated size.
2011-10-17 18:42:41 -04:00
Cosimo Cecchi
428b468e8e
all: remove offset_x/offset_y parameters from eel_pop_up_context_menu()
...
They're unused now.
2011-10-05 15:08:05 -04:00
Federico Mena Quintero
7b290a2b2f
Remove stale 'offset' in eel_pop_up_context_menu()
...
Also, fix the fallback timestamp for the menu popup.
Signed-off-by: Federico Mena Quintero <federico@gnome.org>
2011-10-05 08:08:10 -05:00
Cosimo Cecchi
61699ef56e
eel: remove unused eel_gdk_rgba_is_dark()
2011-10-05 12:30:09 -04:00
Cosimo Cecchi
bcc62bec90
eel-string: remove unused code
2011-10-05 12:30:09 -04:00
Cosimo Cecchi
3daaaf4a9e
all: don't use eel_strcmp()
2011-10-05 12:30:09 -04:00
Cosimo Cecchi
96254fec43
eel: remove unused eel-gtk-macros.h file
2011-10-05 12:30:09 -04:00
Mike Gorse
b11c8a6947
Fix accessibility for gtk 3.2, and send object:state-changed:selected
...
The code to derive the EelCanvasAccessible class no longer works as of
gtk+ 3.1.9. Currently the recommended behavior is to derive from
GtkAccessible.
Also, canvas items should send object:state-changed:selected events when
selected and unselected; otherwise AT-SPI will not update its cache.
https://bugzilla.gnome.org/show_bug.cgi?id=650897
2011-09-19 13:32:23 -04:00
Cosimo Cecchi
22707fdc46
eel: remove unused eel_cairo_draw_layout_with_drop_shadows()
2011-09-07 14:38:33 -04:00
Cosimo Cecchi
2160de6924
a11y: remove some unused code
2011-07-14 10:58:59 -04:00
Cosimo Cecchi
34bbbc5786
all: remove some unneeded includes
2011-07-01 15:49:20 -04:00
Cosimo Cecchi
5c69502773
all: use g_cclosure_marshal_generic() instead of generating marshallers
2011-07-01 12:52:09 -04:00
Javier Jardón
a8443f64b6
eel: Use 'const' instead G_CONST_RETURN
2011-06-09 17:56:59 +01:00
Cosimo Cecchi
e3f055c886
eel-string: don't use deprecated gatomic API
2011-06-03 17:42:09 -04:00
Alexander Larsson
9669b91d70
Update all .gitignore files
2011-05-04 16:48:34 +02:00
Alexander Larsson
c7c860a264
Make sure we free custom accessibility objects
...
Custom accessibility objects, such as NautilusIconContainerAccessible
need to be freed when their corresponding widget/object dies, right
now we're not unreferencing the accessible, so its always leaked.
2011-03-28 12:38:44 +02:00
Alexander Larsson
1d48f02ea1
Add custom foreach to eel_g_hash_table_new_free_at_exit
...
This can be used to get some sort of printout for leaks in non-string
hashtables.
2011-03-25 14:35:43 +01:00
Cosimo Cecchi
c250b57023
Properly strip extensions when placing the duplication string
...
We use a similar matching filter to the one we use when renaming. It's
not ideal (mimetypes are hardcoded, and probably some are missing), but
at least we're consistent.
https://bugzilla.gnome.org/show_bug.cgi?id=351290
2011-03-21 15:03:43 -04:00
Cosimo Cecchi
d2c3410117
editable-label: only clear the selection if we change to insensitive
...
This is borrowed from GtkEntry, and should properly fix
https://bugzilla.gnome.org/show_bug.cgi?id=642766
2011-02-24 13:06:45 -05:00