Commit graph

1117 commits

Author SHA1 Message Date
Ignacio Casal Quinteiro
325c1306d9 Fix for api breaks in libgit2-glib 2013-02-13 12:42:20 +01:00
Emanuele Aina
3728aeb721 egg-list-box: Bump the GTK+ required version due to gtk-a11y.h
The accessible implementation in 7c64979439 includes the gtk/gtk-a11y.h
header which is only available since GTK+ 3.7.6.

https://bugzilla.gnome.org/show_bug.cgi?id=693521
2013-02-10 13:19:11 -05:00
Matthias Clasen
d42491be7b Add properties to EggListBox
This makes the widget more useful in glade.
https://bugzilla.gnome.org/show_bug.cgi?id=689711
2013-02-10 13:02:09 -05:00
William Jon McCann
d9f158678d flow-box: add basic keynav 2013-02-10 07:52:25 -05:00
William Jon McCann
93fea12498 flow-box: add prelight 2013-02-09 21:00:06 -05:00
William Jon McCann
589e8984d0 flow-box: select child on button release 2013-02-09 16:21:07 -05:00
William Jon McCann
2d3d54c72b flow-box: properly initialize max children per line 2013-02-09 16:20:58 -05:00
William Jon McCann
3ba63de212 flow-box: add more error checking 2013-02-09 16:20:38 -05:00
William Jon McCann
2955ae7090 flow-box: add pc file 2013-02-09 11:33:40 -05:00
William Jon McCann
584e308e6c flow-box: use wink instead of sad 2013-02-09 10:14:55 -05:00
William Jon McCann
658540b2d7 flow-box: add basic selection support 2013-02-09 10:02:59 -05:00
William Jon McCann
ee1e2fdbee Add EggFlowBox
Derived from EggWrapBox originally written by
Tristan Van Berkom <tristanvb@openismus.com>
2013-02-08 17:07:38 -05:00
Matthias Clasen
4155378482 Avoid double emission of active-descentant-changed
egg_list_box_update_selected already calls egg_list_box_update_cursor,
so no need to call the two in a row. This was harmless, but it now
causes extra emissions of a11y signals.
https://bugzilla.gnome.org/show_bug.cgi?id=692258
2013-02-05 06:23:07 -05:00
Matthias Clasen
42012f6ffd Improve a11y implementation
Set the role to ATK_ROLE_LIST_BOX, and add the state
ATK_STATE_MANAGES_DESCENDANTS.
2013-02-04 06:27:46 -05:00
Matthias Clasen
7c64979439 A minimal accessible implementation
To inform ATs about what is going on, implement AtkSelection,
and also emit ::active-descendant-changed. This seems enough
to make orca read 'filler' for each row (unless the row happens
to be just a label, in which case, it reads the label).
https://bugzilla.gnome.org/show_bug.cgi?id=692258
2013-01-29 00:26:45 -05:00
Matthias Clasen
ebcc7ed3bd Improve keynav some more
The previous commit made it so that arrow up/down can leave the
list box when the last child is reached. But it did not work for
Page up/down, due to the way the code was written. With this
commit, all up/down key bindings can leave the widget.
2013-01-22 22:14:49 -05:00
Matthias Clasen
98b0a39efe Improve keynav
Using gtk_widget_keynav_failed() instead of hardcoding
gtk_widget_error_bell() gives applications a chance to override
keynav handling. We will make use of this in the power panel
to 'link' arrow keynav across multiple list boxes.

https://bugzilla.gnome.org/show_bug.cgi?id=692275
2013-01-22 06:02:25 -05:00
Jasper St. Pierre
f6ed22716b egg-list-box: Remove redundant check
A ChildInfo's widget should never be NULL.

https://bugzilla.gnome.org/show_bug.cgi?id=691979
2013-01-17 19:07:30 -05:00
Jasper St. Pierre
f72c0e70d2 egg-list-box: Move refiltered behavior to be a signal
If we want to show a widget when there are no children left after
a refilter, we need a hook to be able to calculate that. Adding
a signal allows us to run handlers before and after the refiltering
is done.

https://bugzilla.gnome.org/show_bug.cgi?id=691979
2013-01-17 19:07:30 -05:00
Jasper St. Pierre
a2b8fcd146 egg-list-box: Fix indentation
https://bugzilla.gnome.org/show_bug.cgi?id=691979
2013-01-17 19:07:30 -05:00
Bastien Nocera
33c2f9634a build: Fix libtool related warning
warning: 'libegglistbox.la': linking libtool libraries using a non-POSIX
archiver requires 'AM_PROG_AR' in 'configure.ac'

So add it before LT_INIT so it can be used by libtool
2013-01-15 11:03:18 +01:00
Cosimo Cecchi
706210c4e1 egg-list-box: translate motion-notify events for child windows
When a motion event is received relative to a child window, translate
the y coordinate of the event relative to our own window, since that's what
we need to fetch the correct child.

https://bugzilla.gnome.org/show_bug.cgi?id=691181
2013-01-08 10:42:38 -05:00
Rafael Ferreira
89c4f65b6d Updated Brazilian Portuguese translation 2012-12-22 11:47:11 -02:00
Cosimo Cecchi
f74b6a0c71 egg-list-box: make sure to offset the foucs ring by focus_pad
This is what all other GTK widgets usually do; not doing so here
eventually results in the separator being drawn on top of the focus
ring.
We already allocate and request space for it elsewhere in the code.
2012-12-20 16:35:28 +01:00
Jasper St. Pierre
fcd530543c Update INSTALL
More recent versions of autoconf/automake emit a different
updated message.
2012-12-12 05:01:16 -05:00
Alexander Larsson
bb1b6ef425 focus: Don't change selection on focus in
We can pick different default initial focus depending on the tab direction
when focus goes into the widget, but we should always start with the
currently selected row if any.

https://bugzilla.gnome.org/show_bug.cgi?id=689060
2012-12-10 16:48:31 +01:00
Alexander Larsson
83bdd9a3a2 Add selection on-start testcase from #689060 2012-12-10 16:46:37 +01:00
Daniel Mustieles
8aa17a50ee Updated Spanish translation 2012-11-09 12:49:59 +01:00
Xavier Claessens
2e49eaf2dc Use a pixbuf cache
https://bugzilla.gnome.org/show_bug.cgi?id=687911
2012-11-09 10:16:53 +01:00
Xavier Claessens
d53ce490a7 Add big contact list test case
Focus in/out this window used to take a lot of CPU. See
https://bugzilla.gnome.org/show_bug.cgi?id=687911

The dummy row widget code is copied from empathy-roster-contact.c to
make the test more realistic.
2012-11-09 10:16:47 +01:00
Matej Urbančič
40d1caaa2a Updated Slovenian translation 2012-11-02 22:07:33 +01:00
Piotr Drąg
c4f7636411 Updated Polish translation 2012-11-02 19:40:37 +01:00
Piotr Drąg
c54aa7c695 Updated POTFILES.in and POTFILES.skip
We really need vala (and js) support in intltools.
2012-11-02 19:36:59 +01:00
Jesse van den Kieboom
f11fc36524 Only get setting to orientation of panel, not set 2012-11-02 17:16:55 +01:00
Jesse van den Kieboom
04abe8daab Bind orientation correctly from preferences 2012-11-02 17:16:39 +01:00
Jesse van den Kieboom
e35c202963 Added interface preferences pane 2012-11-02 17:02:29 +01:00
Jesse van den Kieboom
57fd5bd7e7 Bind orientation to panel orientation 2012-11-02 17:02:29 +01:00
Jesse van den Kieboom
de95b0f3d5 Use Gitg.UI.from_builder 2012-11-02 17:02:29 +01:00
Jesse van den Kieboom
af7a4e72ac Better naming of settings 2012-11-02 17:02:29 +01:00
Fran Diéguez
016cde5d68 Updated Galician translations 2012-10-31 11:11:09 +01:00
Jesse van den Kieboom
7a5df2e1c1 Fix progress measurement 2012-10-30 23:51:43 +01:00
Jesse van den Kieboom
ed36ac2eeb Remove debug print of font size 2012-10-30 23:11:47 +01:00
Jesse van den Kieboom
9f77f18923 Transform diff json to html in a web worker 2012-10-30 22:21:41 +01:00
Jesse van den Kieboom
629a457efd Correctly calculate font size in pixels instead of points 2012-10-30 22:21:10 +01:00
Jesse van den Kieboom
7a2c43a6e2 Allow requesting partial diff information using query parameter 2012-10-30 22:20:57 +01:00
Ignacio Casal Quinteiro
6335fc5305 Depend on python 3.2.3 2012-10-30 14:14:44 +01:00
Jesse van den Kieboom
c121850399 Make sure passed action is never null 2012-10-30 11:13:26 +01:00
Jesse van den Kieboom
1f714c8874 Set url scheme handler for gitg in desktop file 2012-10-30 11:11:33 +01:00
Jesse van den Kieboom
58c79792e8 Do not pass gir command line arguments to valadoc 2012-10-30 11:11:33 +01:00
Jesse van den Kieboom
ea3c4bb8d5 Update documentation 2012-10-30 11:11:33 +01:00