Commit graph

85 commits

Author SHA1 Message Date
Christian Dywan
24b0916d62 Remove invisible dummy row when expanding, and add it when collapsing 2010-02-10 19:52:11 +01:00
Christian Dywan
94aebbf1fe Render dummy history items as separators
Until we find a better way this should reduce confusion about
'empty' folders appearing.
2010-02-04 00:17:51 +01:00
Alexander Butenko
a90dc507ff Make the Delete key delete history entries again 2010-02-03 22:15:49 +01:00
Alexander Butenko
1a236a3800 Clear the history folders on collapse, repopulate on expand 2010-02-03 22:13:00 +01:00
Christian Dywan
ae1ea1214b Only query the current time once when populating the history 2010-02-03 18:42:58 +01:00
Christian Dywan
bee4615d10 Render history dates directly without age column or render callback
Resurrect sokoke_days_between for calculating age in days.
2010-02-03 01:39:13 +01:00
Alexander Butenko
3848becaa6 Re-implement history panel based on sqlite queries 2010-02-02 21:10:03 +01:00
Alexander Butenko
11ff993ecd Strip trailing whitespace from console messages 2010-01-13 06:56:12 +01: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
7f0141d657 Do not run scripts or styles on blank or special pages 2010-01-08 00:16:55 +01:00
Christian Dywan
578f74a308 Merge compat.h into sokoke and remove gtk_show_uri implementation 2010-01-01 23:24:03 +01:00
Alexander Butenko
eddb3ef557 Only monitor actually existing user script/ style folders 2009-12-21 23:40:29 +01:00
Christian Dywan
1c45254f23 Always prepend history items to the top of the history panel 2009-12-05 20:22:51 +01:00
Christian Dywan
718d832537 Add 'Import bookmarks' button into the bookmark panel 2009-12-02 23:11:59 +01:00
Christian Dywan
ffee6e3850 Open bookmarks from the panel as apps or internal consistently 2009-11-26 23:16:07 +01:00
Christian Dywan
9eefb25bb6 Refactor loading cached page icon into katze_load_cached_icon
The function is optimized for loading icons and independant from
a KatzeNet instance.
2009-11-17 23:22:08 +01:00
Christian Dywan
fd7d778e0c Remove sokoke_widget_popup and replace all call sites 2009-11-15 18:21:59 +01:00
Christian Dywan
247848c6a9 Simplify javascript used in the Netscape plugins panel a little 2009-11-13 18:40:17 +01:00
Christian Dywan
ca2e2be632 Show the actual paths when clicking the "Add" button in the userscript panel 2009-11-04 19:29:29 +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
461511c216 Don't assert on future dates, but accept it and show a warning.
On a mobile phone it's not that uncommon to accidentally reset the
system clock by removing the battery. So instead of crashing
a warning is displayed.
2009-10-30 21:10:20 +01:00
Christian Dywan
2ff14cf64d Fix a leaked URI string when injecting user scripts 2009-10-04 00:02:23 +02:00
Christian Dywan
ba1084d236 Merge userstyles into the userscript panel 2009-09-22 23:50:31 +02:00
Adrian Bunk
e5812d0478 Don't connect to a monitor that wasn't created in the first place 2009-09-15 21:04:29 +02: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
Christian Dywan
0da785e94c Disconnect bookmark folder signals, for bookmarkbar and panel
This would lead to crashes when opening and closing windows and
attempting to add bookmarks afterwards.
2009-08-19 23:51:59 +02:00
Christian Dywan
a5a473eaad Label the buttons to clear transfers correctly "Clear All" 2009-08-11 17:23:30 +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
3f88bdb528 Compute the available Netscape plugins via JavaScript
Using JavaScript avoids dealing with formatting issues and is
better if plugins are not installed in the default folder.
2009-07-10 17:58:49 +01:00
Christian Dywan
7ca6944fc3 Resolve MidoriBookmarkStore warnings 2009-06-18 23:54:30 +02:00
Christian Dywan
881140c9c9 Include midori-bookmark-store.h in MidoriBookmarks 2009-06-10 22:04:22 +02:00
Christian Dywan
3179a538a9 Add the boilerplate for MidoriBookmarkStore 2009-06-09 02:59:29 +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
9f89df5358 Implement Open, Open folder and Copy destination in transfer panel 2009-06-09 01:10:08 +02:00
Christian Dywan
dfee0e5d14 Implement tick marks in Addons (User styles and -scripts) as well 2009-06-07 17:31:24 +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
Enrico Tröger
dced22f179 Use midori_app_add_browser in panels to create new windows
This fixes a crash due to change of the signal signature.
2009-05-31 03:34:13 +02:00
Christian Dywan
f95254cd04 Improve reference counting in the history panel
This does not fully solve it but should avoid warnings caused
by invalid objects.
2009-05-26 08:20:52 +02:00
Christian Dywan
9e5d50a7a5 Don't use gettext inside of ngettext 2009-05-25 18:10:47 +02:00
Christian Dywan
38a7e023f9 Transfer panel Clear should only remove cancelled and finished items 2009-05-24 01:01:38 +02:00
Christian Dywan
63bce11e1a Redraw extensions treeview when activating/ deactivating 2009-05-24 00:07:17 +02:00
Christian Dywan
8deacc7a9d Basic support for @-moz-document in user styles
This is not completely correct but a good start. Basically
@-moz-document is recognized, "url-prefix" is respected, not
"domain" however. Namespaces are ignored. Document blocks
are not fully honored, instead all style rules apply to all
prefixes specified in any block in the file.
2009-05-20 01:20:34 +02:00
Christian Dywan
396c477f2d Disconnect history panel when finalizing
There's a small hack now which prevents the disconnect function
from releasing the references. Our reference handling is flawed
and needs to be investigated before we can fix that for good.
2009-05-15 20:08:06 +02:00
Christian Dywan
2715ec2438 Use ngettext to render %d days ago 2009-05-10 15:42:12 +02:00
Enrico Tröger
606c629fa5 Use midori_browser_get_for_widget in the bookmark panel
This fixes opening bookmarks in the current tab.
2009-05-03 21:11:20 +02:00
Christian Dywan
b81e815427 Skip files that are not shared libraries in the Plugins panel 2009-04-25 23:10:43 +02:00
Christian Dywan
080bbd7eb5 Make transfer panel properly detachable 2009-04-25 16:19:11 +02:00