Commit graph

17 commits

Author SHA1 Message Date
Christian Dywan 63d7df5a0a Remove bogus widget_destroyed callback in Shortcuts
Fixes: https://bugs.launchpad.net/midori/+bug/933082
2012-02-19 18:45:56 +01:00
Christian Dywan c5e6b7a020 Show mismatching build version suffix for extensions
MIDORI_VERSION_SUFFIX resolves to a string that needs to be
added to each extension's version at build time. If it is
different than the running Midori's, it is shown in the
extension list.
2011-11-08 01:53:53 +01:00
Christian Dywan 8fff7d8fd3 sokoke, gtk3-compat, gtkiconentry, stock join midori-platform.h
Also introduce #define MIDORI_MODULE_PREFIX.

Fixes: https://bugs.launchpad.net/midori/+bug/884395
2011-10-31 22:18:06 +01:00
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