Cosimo Cecchi
cbc37d3ecd
Don't mention FSF address
...
Use the website instead.
https://bugzilla.gnome.org/show_bug.cgi?id=721518
2014-02-17 14:41:43 -08:00
Daniel Mustieles
e314fbcc99
Updated FSF's address
2014-01-31 14:13:48 +01:00
Alexander Larsson
c3b2b0a022
EelEditableLabel: Render background
...
Without this the rename widget background is always transparent, which
makes it very hard to read on e.g. the desktop with a background
image.
2013-11-06 10:23:58 +01:00
Alexander Larsson
481cf68948
Fix rename entry position
...
We need to not modify the cairo_t when we propagate up to the parent class
as this affects where GtkLayout draws the child widgets.
https://bugzilla.gnome.org/show_bug.cgi?id=705464
2013-11-04 16:50:48 +01:00
Cosimo Cecchi
4edfee8c40
eel: don't use deprecated GtkStock and GtkImageMenuItem
2013-08-13 12:34:51 +02:00
Cosimo Cecchi
f4ced15684
Remove extraneous separator from editable label context menu
2013-08-03 15:30:20 +02:00
Srinivasa Ragavan
fabea85329
Store the correct current_item if it has changed. It is incorrect to
...
ignore the new current item just because the mouse is down. It is
later used for right click.
Fixes bgo #704289 .
2013-07-17 19:30:47 +05:30
Andrés G. Aragoneses
9473dd41c1
build: stop using INCLUDES, deprecated by automake 1.7
...
We already depend on automake 1.9, so using the replacement of
INCLUDES (AM_CPPFLAGS) won't hurt, especially now that it is
a warning shown by default since automake 1.13, as evidenced by
this build log of mine:
Makefile.am: installing './INSTALL'
eel/Makefile.am:5: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS')
eel/Makefile.am: installing './depcomp'
parallel-tests: installing './test-driver'
libnautilus-extension/Makefile.am:7: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS')
libnautilus-private/Makefile.am:5: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS')
nautilus-sendto-extension/Makefile.am:3: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS')
src/Makefile.am:13: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS')
test/Makefile.am:3: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS')
Signed-off-by: Alexander Larsson <alexl@redhat.com>
2013-06-18 11:30:31 +02:00
Cosimo Cecchi
7965944d6b
editable-label: remove multicontext menuitems
...
They have been removed from stock GtkEntry as well, and this function is
now deprecated.
2013-06-17 17:06:57 -07:00
Rui Matos
670875d76e
eel-editable-label: Fix string length on retrieve-surrounding handler
...
https://bugzilla.gnome.org/show_bug.cgi?id=696532
2013-03-25 13:31:18 -04:00
Cosimo Cecchi
d486af277f
eel-canvas: fix double tap with touchscreen devices
...
Code here is not doing what the comment (and the symmetric part in
the RELEASE case) says.
https://bugzilla.gnome.org/show_bug.cgi?id=688281
2013-03-08 15:25:40 -05:00
William Jon McCann
447d2ad694
eel: use G_APP_INFO_CREATE_NEEDS_TERMINAL to run command in terminal
2013-02-15 14:28:16 -05:00
Cosimo Cecchi
ae16296bbc
eel: remove unused eel_gtk_tree_view_set_activate_on_single_click
2013-01-22 20:36:47 -05:00
William Jon McCann
d721a8f206
Normalize signal names
...
https://bugzilla.gnome.org/show_bug.cgi?id=692234
2013-01-22 10:47:54 -05:00
Cosimo Cecchi
6a7d30d1d9
eel: remove more unused code
2013-01-03 19:36:21 +01:00
Cosimo Cecchi
0dfa2ba20f
eel-canvas: use GtkContainerAccessible for EelCanvasAccessible
...
Removes tons of boilerplate code not needed anymore.
2013-01-03 19:36:21 +01:00
Cosimo Cecchi
06d561a92c
eel: remove unused code
2013-01-03 19:36:21 +01:00
Cosimo Cecchi
640b5be9a1
editable-label: derive from GtkWidgetAccessible directly
...
Now that it's publicly exported by GTK, derive our accessible class from
GtkWidgetAccessible as a normal GObject.
2013-01-03 19:36:21 +01:00
Cosimo Cecchi
c6a1bf5fa5
build: use GNOME_MAINTAINER_MODE_DEFINES
...
Instead of defining our own set of deprecation cflags.
2012-10-23 20:04:03 -04:00
Cosimo Cecchi
f73fc7fc61
eel: remove unused code
2012-10-23 16:56:35 -04:00
Cosimo Cecchi
61e2affb01
all: don't use eel_g_str_list_copy()
...
Use g_list_copy_deep() instead.
2012-10-23 16:18:33 -04:00
Cosimo Cecchi
7af24a892c
all: don't use eel_g_object_list_copy()
...
Use g_list_copy_deep() instead.
2012-10-23 16:13:58 -04:00
Cosimo Cecchi
d5c4c3c0f3
editable-label: add an input-only window for events
...
Add another input-only child to the parent GdkWindow's for events and
imcontext. Since we will be painted in a GtkLayout, using only one
input-only window won't work well with scrolling, but this way we can
ensure that whatever GdkWindow the XIM engine will try to ensure native,
it won't be our (floating) drawing window.
https://bugzilla.gnome.org/show_bug.cgi?id=686053
2012-10-17 23:15:29 -04:00
Cosimo Cecchi
f149927a48
Revert "editable-label: don't use a input-output window"
...
This reverts commit b67360316c
.
It breaks scrolling, as explained in
https://bugzilla.gnome.org/show_bug.cgi?id=686322
2012-10-17 16:16:20 -04:00
Cosimo Cecchi
b67360316c
editable-label: don't use a input-output window
...
Use the same behavior of GtkEntry i.e. create an input only GdkWindow
for the text area. This avoids the text area becoming black when it's
used together with the XIM module.
https://bugzilla.gnome.org/show_bug.cgi?id=686053
2012-10-15 12:57:11 -04:00
William Jon McCann
0ab374ea0b
Use git.mk
2012-09-17 18:07:25 -04:00
Cosimo Cecchi
a4ecbd076f
Remove unnecessary gdk_threads_enter/leave calls
...
Since we don't ever call gdk_threads_init()
2012-08-30 08:48:03 -04:00
Pavel Vasin
5f5bea72af
eel: fix leaked path string
...
https://bugzilla.gnome.org/show_bug.cgi?id=682603
2012-08-24 18:41:34 +02:00
Pavel Vasin
60217c642c
eel: fix GtkTreePath leak
...
https://bugzilla.gnome.org/show_bug.cgi?id=682603
2012-08-24 18:41:28 +02:00
William Jon McCann
216e50f40e
Make getting extension more robust
...
Ensure the basename and extension have at least one char each.
2012-08-22 14:22:12 -04:00
William Jon McCann
3935384e7f
Add a utf8 test to eel-string
2012-08-14 09:45:21 -04:00
Cosimo Cecchi
195e7ee00d
eel: don't use GDK_THREADS macros
...
Use the function equivalents.
2012-07-31 17:08:27 +02:00
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
Cosimo Cecchi
46b297a523
eel: remove unused method
2011-02-17 11:25:19 -05:00
Cosimo Cecchi
fbabd8e4f1
editable-label: chain up in style_updated()
2011-02-08 09:38:48 -05:00
Cosimo Cecchi
a293b96241
eel: remove unused eel-canvas-util
2011-02-01 12:35:55 -05:00
Cosimo Cecchi
8853b7bf92
Move EelRectCanvasItem to its own object in libnautilus-private/
...
eel-canvas-rect-ellipse has quite some unused code that make it hard to
modify.
2011-02-01 11:47:52 -05:00
Cosimo Cecchi
c1fa2a49e0
eel: remove eel_g_settings_add_auto_* functions
2011-01-30 17:31:29 -05:00
Cosimo Cecchi
6d079cc40a
editable-label: fix some drawing regressions
...
Also, remove the copy/pasted gtkpango code again, as we can have a
better rendering without it.
2011-01-25 09:21:07 -05:00
Cosimo Cecchi
d4230de866
all: silence new warnings from GCC 4.6
...
GCC 4.6 introduced a new warning about variables declared and
initialized, but not really used in the function body. Remove all of
these occurrences to build cleanly.
2011-01-25 09:21:07 -05:00
Cosimo Cecchi
484c9a1bac
eel: remove eel-gdk-pixbuf-extensions
2011-01-20 14:35:16 +01:00
Cosimo Cecchi
129d90ebcd
all: remove unused includes of eel-gdk-pixbuf-extensions
2011-01-20 14:34:44 +01:00
Cosimo Cecchi
f58a70a92a
eel: remove unused eel_pixbuf_render()
2011-01-20 12:57:43 +01:00
Cosimo Cecchi
2a1fbaf839
canvas: fix an ACTIVE -> NORMAL typo from GtkStyleContext conversion
2011-01-19 19:44:48 +01:00
Cosimo Cecchi
8f15b28dd7
eel: plug some leaks in gsettings helpers
2011-01-18 02:20:02 +01:00
Cosimo Cecchi
bd151c8174
general: don't use deprecated gdk_app_launch_context_new()
2010-12-26 16:20:00 +01:00
Cosimo Cecchi
2ff006dd58
canvas: don't use deprecated GDK grab API
2010-12-26 16:18:53 +01:00
Cosimo Cecchi
13b6a5a50d
eel: don't use gdk_spawn_ API
2010-12-22 17:00:54 +01:00
Cosimo Cecchi
74a8f78e2a
general: don't use gdk_cursor_unref()
2010-12-22 17:00:53 +01:00
Colin Walters
9403df1b54
Fix cairo-gobject.h include
...
$ pkg-config --cflags cairo-gobject
-pthread -I/src/build/jhbuild/include/cairo
$ ls /src/build/jhbuild/include/cairo/cairo-gobject.h
/src/build/jhbuild/include/cairo/cairo-gobject.h
2010-12-17 15:21:30 -05:00
Cosimo Cecchi
ef8544bec8
editable-label: use gtk_style_context_get() to query standard props
...
Also, fix a leak.
2010-12-13 21:25:47 +01:00