Commit Graph

18010 Commits

Author SHA1 Message Date
Kristian Rietveld
2d9ed5af51 Remove broken logic in backwards walks in validate_visible_area()
In validate_visible_area() it was assumed that gtk_tree_path_prev()
would always return the correct path of the preceding node.  This is
obviously not true.  The if-clause has been removed so that we now
always use _gtk_tree_view_find_path() to get the path from the tree,
node.
2009-08-28 22:31:33 -04:00
Kristian Rietveld
f638cf711e Bug 528283 - Problems when using PageUp & PageDown to navigate...
Patch from Jonathan Matthew to make focus grabbing of page up/down,
home/end and left/right movements consistent with up/down.
2009-08-28 22:30:36 -04:00
Kristian Rietveld
d91a1650ac Bug 526149 - GtkCellRendererAccel editing conflicts with mnemonics
GtkCellRendererAccel also needs to acquire the GTK+ grab in addition to
a GDK keyboard grab.  With the GDK keyboard grab, KeyPress and
KeyRelease events are delivered as usual, although we only want to
receive them for our grab widget.
2009-08-28 22:30:16 -04:00
Kristian Rietveld
bd612ac56b Bug 478519 - GtkTooltip segfaults on NULL gdk-display-current-tooltip
Make the tooltip code a bit more robust for a case that only occurs when
GTK+ is used from a language binding.  It looks like this case appears
because the memory management / ref counting is handled differently in
some of the language bindings.  Instead of asserting, we will fail
silently.  Also fix a think-o in gtk_tooltip_start_delay().  Patch from
O. Andrieu.
2009-08-28 22:30:07 -04:00
Matthias Clasen
edbf79b956 Handle accelerators involving virtual modifiers better
The previous code would trigger on an unmodified 'S' key for a
'Super+S' accel. The current code avoids that at the cost of breaking
combinations like 'Mod4+Super+S' which are too exotic to worry about...
Bug 591526
2009-08-28 22:29:07 -04:00
Paolo Borelli
e755d10765 Bug 592003 - Shift+click should always modify selection
Shift-click inside an existing selection reduces the selection to the
range from the insert mark to the clicked point instead of removing the
selection. This makes GtkTextView more consistent with GtkEntry.
2009-08-28 22:28:56 -04:00
Paolo Borelli
b86984d913 Fix memory leaks when using add_objects 2009-08-28 22:28:37 -04:00
Paolo Borelli
8e871b7fc1 Fix memory leaks in unit tests 2009-08-28 22:28:27 -04:00
Paolo Borelli
370d008b20 Fix duplicated id detection in gtkbuilder
Fix memory handling of duplicated id hashtable and add unit test
2009-08-28 22:28:17 -04:00
Matthias Clasen
d5b92a3ec3 Don't return uninitialized pointers
This was giving me segfaults somewhere else.
2009-08-28 22:27:57 -04:00
Marek Kasik
2e4345ed50 Print when Enter pressed in certain GtkEntries of the print dialog
Print when Enter pressed in Name entry or Command Line entry in the
print dialog (#564695).
Add gtk_printer_option_set_activates_default() function and
gtk_printer_option_get_activates_default() function to control
behaviour of GtkPrinterOptionWidget.
2009-08-28 22:25:34 -04:00
Matthias Clasen
8b774172b5 Emit GtkAssistant::apply before computing the next step
This fixes bug 589745.
2009-08-28 22:20:55 -04:00
Pascal Terjan
2e06769e89 Update tooltip if no removable one is selected 2009-08-28 22:20:25 -04:00
Federico Mena Quintero
8bf0a0d652 bgo#161489 - In the file chooser, let the left/right arrow keys switch focus between the file list and shortcuts
Based on a patch by Christian Neumair <cneumair@gnome.org>

Signed-off-by: Federico Mena Quintero <federico@novell.com>
2009-08-28 22:18:07 -04:00
Federico Mena Quintero
a6bff7c9dd From the shortcuts pane, focus the GtkEntry and redirect unhandled keystrokes to it
This lets us do this:

1. click on a folder in the shortcuts pane
2. start typing a filename

Then, the typed filename will actually go to the filename entry, like
the user expects.  (Or to the search entry, in case the user clicked
on the Search shortcut.)

Also, removed the obsolete callback that made "/" and "~" typed in the
shortcuts pane bring up the location entry.

Signed-off-by: Federico Mena Quintero <federico@novell.com>
2009-08-28 22:17:56 -04:00
Federico Mena Quintero
513858248c bgo#534462: Disable interactive search in the file chooser's shortcuts pane
People often do this:
1. Bring up a SAVE dialog
2. Click on a folder in the shortcuts pane
3. Start typing a filename
4. Oops!  The interactive-search entry in the shortcuts pane appears.

With this, the shortcuts pane will not bring up the interactive-search entry.  Then it
will be clear that you are not typing in the right place.

Signed-off-by: Federico Mena Quintero <federico@novell.com>
2009-08-28 22:17:10 -04:00
Matthias Clasen
1337173a65 Fix issues with resize handles
The resize handles were not correctly redrawn and not positioned
correctly, initially.
2009-08-28 22:15:02 -04:00
Paolo Borelli
91a29ddbc8 Microoptimization in interactive search handling 2009-08-28 22:13:30 -04:00
Paolo Borelli
82df10f390 Bug 588943 – set correct selection before emitting cursor-changed when searching
Make sure the correct selection is set when emitting cursor-changed
during an interactive search
2009-08-28 22:13:10 -04:00
Matthias Clasen
b234d6a685 Fix a typo in the startup-id property definition
This was noticed in bug 588958.
2009-08-28 22:11:36 -04:00
Gil Forcada
3404ad89b9 Minor fix to Catalan translation 2009-08-24 20:15:12 +02:00
Carles Ferrando
c31cefc5a3 Updated Catalan (Valencian) translation 2009-08-24 20:13:20 +02:00
Gil Forcada
3f01bf8774 Minor fix to Catalan translation 2009-08-24 20:10:30 +02:00
Carles Ferrando
2d830a1285 Updated Catalan (Valencian) translation 2009-08-24 20:05:03 +02:00
Tor Lillqvist
2149a4e83b Update README.win32 2009-08-24 10:07:15 +03:00
Tor Lillqvist
1115251d60 Correct debugging output. 2009-08-24 10:04:12 +03:00
Antón Méixome
d7d400ff4d Updated Galician translation 2009-08-10 17:30:39 +02:00
Matthias Clasen
3349fd5beb Avoid warnings in atom conversion
Cave in and revert to silently converting GDK_NONE to None.
Fixes bug 580511.
2009-08-03 12:39:42 +01:00
Leonardo Ferreira Fontenelle
b095fd829d Updated Brazilian Portuguese translation.
This is a merge of some translation fixes recently pushed to master.
2009-08-02 01:41:31 -03:00
Bastien Nocera
d95bd8f509 Bug 589195 – gtktreeview.c warning
Fix compile-time warning by casting the widget properly.
2009-07-21 02:14:57 +01:00
Matthias Clasen
99d391eaf2 Fix versions 2009-07-18 01:29:10 -04:00
Matthias Clasen
1521671c8d Bump version 2009-07-18 01:13:17 -04:00
Matthias Clasen
0971f51d0d 2.16.5 2.16.5 2009-07-18 01:11:54 -04:00
Matthias Clasen
0012d67ab1 Remove accidentally merged use of new api 2009-07-18 00:23:10 -04:00
Matthias Clasen
1656c82f77 Updates 2009-07-18 00:10:00 -04:00
Matthias Clasen
6e73d995f2 Fix DND onto an empty icon view
This did not work due to a copy and paste bug from the time when
the treeview DND code was turned into iconview DND code. Fixes
bug 599484.
2009-07-18 00:04:29 -04:00
Matthias Clasen
af51f88055 Make suitable GtkAssistant buttons default
We grab the default to the apply, forward or close buttons, as
appropriate. Also, make sure that the logic for setting the focus
to the best place on page change is applied to the initial page.
2009-07-18 00:04:05 -04:00
Matthias Clasen
7e602acc8d Add a tooltip to the save folder combo
Add a tooltip that shows the full path of the current folder, to avoid
ambiguity. We only show the tooltip when the expander is collapsed to
avoid cluttering the full file chooser.
2009-07-18 00:03:49 -04:00
Matthias Clasen
2c341455d8 Fix some problems with prelighting of icons in entries 2009-07-18 00:02:16 -04:00
Sweta Kothari
a1650aa273 Updated Gujarati Translations 2009-07-15 05:41:22 -04:00
Rajesh Ranjan
7340c486b6 hindi update to remove one error in translation 2009-07-10 15:06:28 +05:30
Tristan Van Berkom
0bbe2ab4cb Accelerators failed for submenus (GNOME bug 582025)
gtk/gtkmenuitem.c: Override custom_tag_finished() for "accelerator" and search
the correct toplevel GtkWindow to attach accelerators to menu items.

gtk/gtkwidget.[ch]: Added _gtk_widget_buildable_finish_accelerator() to allow
subclasses to specify a toplevel window to associate with when parsing <accelerator>
tags
2009-07-07 04:11:12 -04:00
Matthias Clasen
ca665810ec Bump version 2009-07-01 18:32:17 -04:00
Matthias Clasen
927e7209a5 2.16.4 2.16.4 2009-07-01 18:30:04 -04:00
Matthias Clasen
41e79523a0 Updates 2009-07-01 16:57:35 -04:00
Matthias Clasen
b89b6f9c83 Make stock buttons have mnemonics again
We used to treat stock buttons as having an implicit use-underline.
A recent but fix lost that.
2009-07-01 15:12:14 -04:00
Matthias Clasen
00a5221cee Bump version 2009-06-28 01:13:12 -04:00
Matthias Clasen
2d7c26133a 2.16.3 2.16.3 2009-06-28 01:08:12 -04:00
Matthias Clasen
a00b21d2e4 Update for 2.16.3 2009-06-27 23:31:50 -04:00
Marco Túlio Gontijo e Silva
47b3f98340 Updated Brazilian Portuguese translation 2009-06-23 19:06:06 -03:00