Commit graph

14 commits

Author SHA1 Message Date
Christian Dywan
4b33fd2c7d Avoid GTK+3 #ifdef and #define GTK_DIALOG_DESTROY_WITH_PARENT 2011-10-26 20:07:11 +02:00
Lucas Baudin
b5aad2d176 Allow building with GTK+3
Fixes: https://bugs.launchpad.net/midori/+bug/861351
2011-10-07 20:24:02 +02:00
Christian Dywan
912637025c Use distinct labels for Refresh actions in shortcut editor 2011-02-20 04:13:30 +01:00
Christian Dywan
40dc38fd21 Implement and use KATZE_ARRAY_FOREACH_ITEM
Iterating an array by a GList is considerably faster than
continuously retrieving items, however it is also a lot
more complicated. So the new macro takes care of that and
uses a new semi-private function to avoid copying the list.

Note that the macro can't be nested, which basically isn't
useful in practise anyway.
2010-09-12 00:59:24 +02:00
Enrico Tröger
9183f8e16d Connect callbacks for gtk_widget_destroy where signature differs
Apparently dependent on architecture and compiler, mismatching
callback signatures can cause segmentation faults.
2009-12-29 23:49:10 +01:00
Christian Dywan
af4d68b6b0 Sort shortcuts in the shortcut editor by name 2009-12-07 23:47:26 +01:00
Christian Dywan
0b81c7323d Store shortcuts statically to avoid flipping None values 2009-12-05 01:28:58 +01:00
Christian Dywan
d0215c4032 Support keyboard hotkeys that GTK+ considers invalid
We re-implement the usual key handling by overriding the key press
handler, emulating the according steps but leaving out the
validation that normally rejects certain combinations.

Single key hotkeys work unless an entry is focussed, in which case
the entry receives the input, and Control+Tab works as well.

The shortcuts extension is adjusted to accept any hotkeys.
2009-11-04 14:31:16 +01:00
Christian Dywan
43e6542702 Implement MidoriBrowser::populate-tool-menu and adjust extensions
Extensions used to look for the menu and append items manually.
In order to show Tools in the Compact menu a proper signal
is needed.

Adblock, Shortcuts and Toolbar Editor are ported to the new API.
2009-07-25 03:05:52 +02:00
Daniel P. Fore
4103dc48ea Improve the wording of a few English strings and use colons 2009-07-22 23:53:29 +02:00
Christian Dywan
4135b1ffe8 Use katze_strip_mnemonics in Shortcuts 2009-07-17 21:30:40 +02:00
Christian Dywan
42ab4b3848 Render unset shortcuts as "None" instead if "Deactivated" 2009-06-20 20:36:16 +02:00
Christian Dywan
7a6686ef71 Strip underscores from action labels in shortcuts extension 2009-06-20 20:30:03 +02:00
Christian Dywan
565ea61ba6 Add Shortcuts extension to edit keyboard shortcuts 2009-06-11 15:42:54 +02:00