summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Add code for dynamic changesMatthias Clasen2011-12-191-0/+98
| | | | | Add and remove items and actions - we don't update the menus properly yet.
* Add some todosMatthias Clasen2011-12-191-0/+13
|
* Some GMenu test codeMatthias Clasen2011-12-192-1/+732
| | | | This is some test code for constructing GtkMenus from GMenus.
* Updated Spanish translationDaniel Mustieles2011-12-191-51/+53
|
* a11y: emit entry signals immediatelyBenjamin Otte2011-12-192-49/+11
| | | | | | | We want to emit signals when stuff happens, not sometime later. That way we can also catch the correct text that was deleted. https://bugzilla.gnome.org/show_bug.cgi?id=659445
* x11: Avoid spurious focus events on grabsBenjamin Otte2011-12-193-0/+9
| | | | | | | | | | | We want to avoid handling focus events for the private focus window, otherwise the keyboard grab taken by for example buttons will cause a spurious FOCUS_OUT/FOCUS_IN on the toplevel. The code that did this seems to have been lost in the XI2 transition for GTK3. https://bugzilla.gnome.org/show_bug.cgi?id=657578
* x11: Unify focus handling codeBenjamin Otte2011-12-193-218/+114
| | | | | | | This code was essentially copy-pasted in two locations, so unify them in the same place. https://bugzilla.gnome.org/show_bug.cgi?id=657578
* a11y: implement widget_(un)set in ContainerCellBenjamin Otte2011-12-191-0/+32
|
* a11y: Make GtkCellAccessible a GtkAccessibleBenjamin Otte2011-12-193-26/+14
|
* tests: Avoid deprecation warningBenjamin Otte2011-12-191-0/+2
|
* accessible: Deprecate gtk_accessible_connect_widget_destroyed()Benjamin Otte2011-12-192-0/+4
| | | | | That was an abomination. Also, if people called it twice, you got even mor signal handlers!
* widget: Set widget in accessible's constructorBenjamin Otte2011-12-192-4/+3
| | | | No need to add t manually later.
* a11y: Don't connect_destroyed anymoreBenjamin Otte2011-12-191-1/+0
| | | | It's not used now that set_widget() does the right thing.
* iconview: Simplify adjustment monitoring for accessibleBenjamin Otte2011-12-193-118/+10
|
* a11y: Remove widget_destroyed callBenjamin Otte2011-12-191-22/+0
| | | | GtkAccessible does all of that for us now.
* a11y: Use widget_unset vfunc in treeviewBenjamin Otte2011-12-191-21/+4
|
* accessible: Ensure we unset the widget when finalizingBenjamin Otte2011-12-191-0/+11
|
* widget: Unref accessibleBenjamin Otte2011-12-191-1/+4
|
* a11y: Fix crash in notebookBenjamin Otte2011-12-191-13/+2
| | | | | When the accessible was disposed before the notebook it referenced, the weak ref could still trigger. This works around it.
* widget: Unset self from accessibleBenjamin Otte2011-12-191-4/+7
|
* widget: Unset widget on accessiblesBenjamin Otte2011-12-191-0/+5
|
* accesible: Manage the DEFUNCT stateBenjamin Otte2011-12-191-0/+18
| | | | A GtkAccessible with a NULL widget is defunct, there's no way around it.
* iconview: Split out iconview accessibleBenjamin Otte2011-12-196-1830/+1928
|
* accessible: Use set_widget() in destroy notifyBenjamin Otte2011-12-191-1/+8
| | | | We don't want to bypass the unset_widget call.
* API: accessible: Add widget_set and widget_unset vfuncsBenjamin Otte2011-12-192-2/+22
| | | | | | | | | | | | | I expect them to be used a lot, so this approach seems better than requiring signals that connect to "notify::widget". Also, we can't use regular functions (like dispose or constructed), becaiuse those assume that (un)setting of the widget only happens once and with the current design (a puble set_widget() function) we can't really guarantee that. Also, I split them into two separate functions as one function is part of construction and the other part of destruction of the object. And it doesn't sound like a good idea to have that both be part of one function.
* accessible: At an important note to the docsBenjamin Otte2011-12-191-1/+5
| | | | | | I wanted to use weak refs to ensure this instead, but it's a performance problem when used in the treeview and each and every cell adds a weak ref to the treeview.
* accessible: Check the widgeyt actually changed when settingBenjamin Otte2011-12-191-1/+8
|
* accessible: Make widget a propertyBenjamin Otte2011-12-191-0/+59
|
* treeview: Only set focus column in setter functionBenjamin Otte2011-12-191-7/+7
| | | | | Single point of entry. It's actually going to become more complicated with a11y now.
* a11y: Simplify codeBenjamin Otte2011-12-191-54/+25
| | | | | Use peek_cell() instead of a custom find_cell() function that duplicates loads of functionality.
* Tell gtk-doc about G_GNUC_WARN_UNUSED_RESULTMatthias Clasen2011-12-191-1/+2
|
* Reduce gtk-doc warningsMatthias Clasen2011-12-191-0/+92
|
* Fix parameter name mismatchMatthias Clasen2011-12-181-1/+1
|
* Use the workarea when placing popupsMatthias Clasen2011-12-1816-25/+23
| | | | | This uses the new workarea API to avoid placing popups underneath panels, docks, etc.
* Add gdk_screen_get_monitor_workareaMatthias Clasen2011-12-1810-8/+160
| | | | | | | | | | | | The function returns the part of a monitors area that should be used for positioning popups, menus, etc. The only non-trivial implementation atm is in the X backend, all the other backends just return the full monitor area. The X implementation is currently suboptimal, since it requires roundtrips to collect the necessary information. It should be changed to monitor the properties for changes, when XFixes allows to monitor individual properties. https://bugzilla.gnome.org/show_bug.cgi?id=641999
* Updated Spanish translationDaniel Mustieles2011-12-181-11/+19
|
* gdk,xi2: Make more resilient about not yet known devicesCarlos Garnacho2011-12-181-3/+12
| | | | | | | Dealing with disabled devices may turn into hierarchy/device changed events on device IDs with no backing GdkDevice yet, so protect against that. The device attachment will be handled correctly when the device is enabled later.
* textlayout: cleanupIgnacio Casal Quinteiro2011-12-181-49/+47
| | | | Use g_clear_object, move unrefs to dispose and reorganize code
* Use gtk_text_layout_get_iter_at_linePaolo Borelli2011-12-181-21/+11
| | | | | We already have a gtk_text_layout_get_iter_at_line wrapper that takes care of getting the btree from the layout, we may as well use it.
* Remove useless get_iter_at_line calls.Paolo Borelli2011-12-181-14/+1
| | | | | No need to call _gtk_text_btree_get_iter_at_line right before calling totally_invisible_line, since it is the first thing it does itself.
* [l10n] Updated Kazakh translationBaurzhan Muftakhidinov2011-12-171-812/+1025
|
* Updated POTFILES.inPiotr Drąg2011-12-172-0/+2
|
* tests: Add a test for latest commitRui Matos2011-12-171-0/+20
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=666392
* widget: Flip the sensitive flag even if the state doesn't changeRui Matos2011-12-171-8/+4
| | | | | | | | | | | | | Even if we can't change our sensitivity because the parent is insensitive we should still flip the sensitive flag. Otherwise, with and insensitive parent, child.set_sensitive(True) ... parent.set_sensitive(True) would result in child still being insensitive. https://bugzilla.gnome.org/show_bug.cgi?id=666392
* filechooserentry: Catch tab key earlierBenjamin Otte2011-12-161-27/+21
| | | | | | | | | | | | | Instead of in the key_press handler, use a signal handler. The signal handler runs before the default handler, and before other signal handlers. In particular it runs before the signal handler installed via gtk_entry_set_completion() which pops down the entry completion, and we don't want that to happen. The code does not change the code of the handler in any significant way, it just refacotrs it to not call the parent anymore. https://bugzilla.gnome.org/show_bug.cgi?id=663573
* filechooserentry: Do inline completion only when opening filesBenjamin Otte2011-12-161-2/+28
| | | | | | | When saving files, using <tab> is required. We don't want the UI randomly changing filenames from below us. https://bugzilla.gnome.org/show_bug.cgi?id=663573
* filechooserentry: Remove unused enumBenjamin Otte2011-12-161-6/+0
|
* filechooserentry: Allow NULL as base folder againBenjamin Otte2011-12-161-11/+16
| | | | | | | | This was removed previously, but is necessary to support the case where no base folder is in use, which should cause an error. This can be experienced in save mode in the recent files list. https://bugzilla.gnome.org/show_bug.cgi?id=663573
* filechooserentry: Don't show files when selecting directoryBenjamin Otte2011-12-161-0/+8
| | | | | We don't want to complete on files when they're not supposed to be selectable.
* filechooserentry: Remove beep functionBenjamin Otte2011-12-161-8/+2
| | | | | There's only 2 places left where we potentially beep. We can call gtk_widget_error_bell() directly there.