Commit graph

32 commits

Author SHA1 Message Date
Christian Dywan
4073c14546 Optimize extension loading at startup
Only load modules in the list of active extensions and
get the remaining extensions when showing the dialog.
2012-07-08 20:12:39 +02:00
Christian Dywan
a0a0325db4 Rewrite Midori.Viewable in Vala 2012-05-27 16:30:09 +02:00
Christian Dywan
d9c4bb15c0 Remove obsolete MidoriLocationAction and panel boilerplate 2011-11-09 22:06:11 +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
Paweł Forysiuk
20e84c53c9 Fix typo in midori extension column name 2011-10-30 14:09:12 +01:00
Christian Dywan
77428fe44c Introduce Midori.URI to unitfy all URI logic
sokoke_hostname_from_uri, sokoke_search_uri,
sokoke_hostname_to_ascii and sokoke_unescape_uri_string
are merged into Midori.URI.
midori-core.h is the official API header for Vala now.
2011-10-21 01:00:13 +02:00
Christian Dywan
761ef8c4e6 Fix hiding of the empty extension list 2011-08-04 23:41:01 +02:00
André Stösel
c277857ea4 Only sensitize preferences of active extensions 2011-07-24 12:40:48 +02:00
André Stösel
6120fa1e49 Add new signal for extension preferences
If the "preferences" property is TRUE and the signal
is implemented, a button is shown next to the extension
and the callback is invoked on click.
2011-06-07 21:02:09 +02:00
Christian Dywan
201808f9df Reflect sensitivity of extension in the icon 2011-04-17 22:33:56 +02:00
Christian Dywan
ed6ed71239 Embed extensions into preferences dialogue
MidoriBrowser gains the show-preferences signal which
gives API users a chance to add preferences.

katze_preferences_add_category now returns a box to
allow freely packing a widget into the page.

The extension panel is packed into the preferences now
rather than being appended as a proper panel.

Motivation is consistency here, such as with Gedit or
Emerillon and also the aspect that extensions often
really do tweak behaviour like preferences do.

Spacing and icons are added for visual consistency.
2011-04-14 03:29:50 +02:00
Christian Dywan
d69e92b76a Automatically resize panel columns after changes 2010-11-24 19:10:53 +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
Christian Dywan
dfddd7ce0a Leave panel icon styles to the system settings 2010-05-13 16:53:19 +02:00
Christian Dywan
2611a24803 Remove unused extension panel popup logic 2010-05-06 23:41:07 +02:00
Christian Dywan
a8d3d0955f Remove empty button from the Extensions panel 2010-01-08 01:44:48 +01:00
Christian Dywan
cbebda0db4 Remove Plugins panel, instead add Netscape plugins to Extensions
Netscape Plugins cannot actually be activated or deactivated
at the moment.
2010-01-08 00:16:56 +01:00
Christian Dywan
fd7d778e0c Remove sokoke_widget_popup and replace all call sites 2009-11-15 18:21:59 +01:00
Christian Dywan
ec9ea0233e Hide Extensions panel if no extensions are available at all. 2009-10-30 21:43:42 +01:00
Christian Dywan
39e47ac3b7 Disable extensions that are unavailable on the system
Extensions can be unavailable on a particular platform or a system
lacking a build-time requirement. Let's handle this more cleanly
and reflect it in the Extensions panel.
2009-09-10 02:07:27 +02:00
Enrico Tröger
e6ecea4194 Sort the list of extensions in the side panel 2009-07-18 15:25:15 +02:00
Christian Dywan
1873dfe631 Popup Extensions menu on button release, not press
Although menus should open on button press, we have to use
release if we want the treeview selection to be correct.
2009-06-09 01:11:42 +02:00
Christian Dywan
e2795eff54 Implement togglable ticks in the extensions panel
Whether an extension is active or not is now reflected by a tick
mark that can be toggled with a mouse. Double clicking and
pressing space do the same. The buttons are thusly removed.
While we are at it, we also listen for status changes that might be
coming from a different window.
Sensitivity does no longer relate to activation status.
2009-06-07 16:59:51 +02:00
Przemek Sitek
ee6d2a1f6d Emphasize extension names by rendering them bold 2009-06-05 23:58:26 +02:00
Przemek Sitek
5a748a36ad Implement a context menu for extensions in the extension panel 2009-06-05 23:55:00 +02:00
Christian Dywan
63bce11e1a Redraw extensions treeview when activating/ deactivating 2009-05-24 00:07:17 +02:00
Christian Dywan
e3ce454b78 Render disabled extensions as insensitive in the panel 2009-04-22 20:00:04 +02:00
Christian Dywan
74cccb0aae Add tooltips to Enable and Disable buttons 2009-03-10 19:35:11 +01:00
Matthias Kruk
7ff1a016f4 Implement activating and deactivating extensions in the panel 2009-02-28 01:59:06 +01:00
Christian Dywan
7d3ac8fa37 Move {sokoke,katze}_tree_view_get_selected_iter proper 2009-01-28 01:08:51 +01:00
Christian Dywan
4e1deaee05 Optimizations in main and MidoriApp 2008-12-30 03:00:08 +01:00
Christian Dywan
e4f401c7e7 Implement new Extensions panel, in the new folder extensions 2008-12-04 01:44:33 +01:00