Commit graph

183 commits

Author SHA1 Message Date
Christian Dywan
fb2e4eea77 Use same clear icon handling in findbar and panels 2012-01-14 00:45:01 +01:00
Christian Dywan
c8b19b2eeb Avoid copying of strings and making tiny allocations 2011-12-11 02:57:04 +01:00
Christian Dywan
e4963aa324 Introduce midori_array_query to unify bookmark queries
This ensures querying is consistently quoted and ordered.
2011-11-23 00:23:41 +01: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
3071da6711 Use g_format_size with GLib 2.30.0 2011-10-10 21:53:00 +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
Paweł Forysiuk
6e51e7014c Make Copy Link Location copy the original URI 2011-09-14 21:48:18 +02:00
Paweł Forysiuk
1e8ca187c3 Sort bookmarks in the panel by title rather than URI 2011-08-17 23:04:54 +02:00
Christian Dywan
761ef8c4e6 Fix hiding of the empty extension list 2011-08-04 23:41:01 +02:00
Paweł Forysiuk
e4d4ec26fb Always NULL-check database before using it
If the database is broken in whatever way the pointer is
unset. A good next step would be to give more user-friendly
feedback than the current rough dialog.
2011-07-30 20:11:45 +02:00
André Stösel
c277857ea4 Only sensitize preferences of active extensions 2011-07-24 12:40:48 +02:00
Paweł Forysiuk
46de9f7767 Remove further support for WebKitGTK+ < 1.1.14 2011-06-09 00:45:34 +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
Paweł Forysiuk
bbfa7f6030 Fix GCC 4.6 warnings about set but unused variables 2011-04-29 04:03:33 +02:00
Tomasz Szatkowski
5d372c116d History panel buttons sensitive with selection
Fixes: https://bugs.launchpad.net/midori/+bug/711482
2011-04-17 22:56:30 +02:00
Tomasz Szatkowski
7c08b7cce5 Bookmark panel buttons sensitive with selection
Related to: https://bugs.launchpad.net/midori/+bug/711482
2011-04-17 22:53:03 +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
Tomasz Szatkowski
ee9ce9bddf Bookmark edit and delete sensitivity on cursor change 2011-03-18 01:55:22 +01:00
Paweł Forysiuk
74549eff9d Handle NULL desc in midori_bookmarks_insert_item_db 2011-02-17 20:18:18 +01:00
Paweł Forysiuk
2e8d6558d0 Use KATZE_ARRAY_FOREACH_ITEM_L for export 2011-01-22 21:17:08 +01:00
Christian Dywan
59e924fb9a Correct invalid folder condition once more 2011-01-19 22:29:26 +01:00
Christian Dywan
84beea9108 Add KatzeArray::update and call it after import
This new function and according signal allow one
update of the treeview after importing directly
into the database.
2011-01-19 21:58:26 +01:00
Christian Dywan
f0d2c49355 Fix invalid bookmark warning and move into insertion 2011-01-19 21:34:39 +01:00
Paweł Forysiuk
535053a3e6 Separate bookmark insertion from array callback 2011-01-18 17:49:57 +01:00
Christian Dywan
03b146386e Don't test PrivateBrowsing and AddDesktopShortcut 2011-01-16 14:05:23 +01:00
Christian Dywan
745506c965 Require minimum size of bookmark panel 2010-12-11 19:49:05 +01:00
Christian Dywan
b604b177bb Use foreach with copied list for importing bookmarks
The new macro KATZE_ARRAY_FOREACH_ITEM_L is added, taking a
list that must be freed afterwards. It copies the list to
not enter infinite recursion if items are removed or appended.
2010-12-05 23:34:17 +01:00
Christian Dywan
57c30ff319 Protect against unset meta string folder 2010-11-30 18:15:33 +01:00
Christian Dywan
d69e92b76a Automatically resize panel columns after changes 2010-11-24 19:10:53 +01:00
Christian Dywan
765cdfeb27 Select date for all history queries, even filtered
Deleting requires a date to work.
2010-11-24 00:37:01 +01:00
Christian Dywan
8ad224c9a8 Add bookmarks through array and update the panel 2010-11-22 03:49:52 +01:00
Christian Dywan
93c483c904 Make Delete key in bookmark panel the same as menu item 2010-11-22 03:49:52 +01:00
Christian Dywan
6246987ba8 Clear history through array and update the panel 2010-11-22 03:49:51 +01:00
Christian Dywan
343badcc58 Remove Console panel in favour of the Inspector 2010-10-05 21:43:33 +02: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
1b80f16bf4 Remove browser-count, midori_panel_set_compact, console toolbar 2010-09-07 22:24:11 +02:00
Christian Dywan
802c1eb462 Always allocate and free formatted dates in history panel 2010-09-06 03:03:07 +02:00
Christian Dywan
c808e9ce43 Enable copy menu item in transfer context menu 2010-09-01 23:14:37 +02:00
Christian Dywan
a7452bd0b5 Use KatzeArray* to remove and monitor deleted bookmarks
The panel and the bookmarkbar need to monitor the removal of
bookmarks, and there can be multiple windows, so the database
should only be used to remove in one central place.
2010-08-10 23:46:49 +02:00
Christian Dywan
71549af089 Disconnect insertion when MidoriHistory finalizes 2010-08-10 22:58:11 +02:00
Peter de Ridder
05065e521d Decrement n after clearing individual transfer items 2010-08-07 15:20:09 +02:00
Christian Dywan
34d7a8033b Use KatzeArray* to signal new items to MidoriHistory 2010-07-31 01:42:14 +02:00
Christian Dywan
5b640c7f46 Store address of bookmarks for tooltip as a string in the model 2010-07-31 01:21:50 +02:00
Alexander Butenko
9e3e3fc491 Update bookmark for export from sqlite database 2010-07-23 22:04:43 +02:00
Alexander Butenko
5e250cc70d Store 'description' property of a bookmark 2010-07-23 22:04:20 +02:00
Alexander Butenko
d78efc0863 Duplicate day name for history panel folder names 2010-07-23 21:49:16 +02:00