Commit graph

177 commits

Author SHA1 Message Date
Christian Dywan
a7b982eff0 Let preference notebook fill and expand, for proper resizing 2010-01-24 11:06:10 +01:00
Can Erkin Acar
b7fd68c173 Don't leak temporary icon filename and don't free icon URI too early 2010-01-19 06:09:05 +01:00
Christian Dywan
07d4964e90 Add G_GNUC_CONST to all Katze type functions 2010-01-17 18:14:48 +01:00
Christian Dywan
15658145b2 Build katze, core and panels as one, and allow non-progressive build
This simplifies the build and possibly helps with linking problems
on some platforms. The 'progressive' option allows building
without an intermediate static library except for unit tests.
2010-01-01 18:20:08 +01:00
Christian Dywan
b1ee80d55e Implement katze_utf8_stristr, katze_collfold and use in completion
Evidently normalizing any whole string is too slow for completion,
so we need to even out case and composition while iterating through
the strings.

The decompositing version of katze_utf8_stristr is disabled, since
it is too slow, and an ascii only version is used, for now.

A unit test 'compare' is added that solely measures performance of
katze_collfold and katze_utf8_stristr.
2009-12-28 23:59:54 +01:00
Alexander Butenko
045cc81b45 Use g_access instead of g_file_test consistently 2009-12-19 11:28:46 +01:00
Alexander Butenko
670ee72e3f Use g_access instead of g_file_test in katze_mkdir_with_parents 2009-12-18 21:21:56 +01:00
Christian Dywan
2733ae4f2e Connect to button press on folder menu items 2009-12-13 15:41:47 +01:00
Christian Dywan
185ff3e338 Only directly open bookmark proxy if has a URI 2009-12-12 00:04:55 +01:00
Christian Dywan
ee4776244e Support meta-data-changed::key in KatzeItem 2009-12-11 23:45:11 +01:00
Christian Dywan
9c40d3b5ba Handle Empty menu item in bookmarks and not in KatzeArrayAction 2009-12-05 23:58:40 +01:00
Christian Dywan
1fa2c95bf4 Implement reverse ordering for use in Trash and RecentlyVisited actions 2009-12-05 21:33:19 +01:00
Christian Dywan
88778948ea Double check meta values before trying to convert to a long 2009-11-30 19:52:42 +01:00
Christian Dywan
2f18605656 Be sure to disconnect item notification when the proxy is destroyed 2009-11-30 19:47:41 +01:00
Christian Dywan
dd196dc942 Emit the bookmark proxy signal instead of connecting a new handler 2009-11-30 19:36:16 +01:00
Christian Dywan
a589c2a5bc Align app proxy icons, catch missing icons and respect should show 2009-11-29 14:09:29 +01:00
Christian Dywan
84f8207c51 Include config.h in KatzeArrayAction 2009-11-29 14:09:28 +01:00
Christian Dywan
35789798b1 Adjust input mode of numeric property proxies on Hildon 2009-11-29 14:09:28 +01:00
Christian Dywan
04ebfb4733 Position array menu freely to avoid a GTK+ bug on Hildon 2009-11-29 14:09:28 +01:00
Christian Dywan
1d68dc9fb7 Implement and optimize for portrait mode support for Fremantle
Listen to accelerometer movement.
Hide tool items in portrait mode.
Omit Homepage and View Source from app menu.
Include Compact Add, View Source and Fullscreen in context menu.
Hide buttons in portrait mode in preferences.
2009-11-29 14:09:28 +01:00
Christian Dywan
ea7c5f9de4 Only take bookmark button for a bookmark if it's a single item 2009-11-24 23:51:21 +01:00
Christian Dywan
3b573328cc Only show bookmarks in the toolbar which are marked as such 2009-11-23 20:46:00 +01:00
Christian Dywan
54b96f86c9 Align preference labels homogeneously across categories 2009-11-22 15:31:53 +01:00
Christian Dywan
28c5919b0d Presumably 'sans-serif' font is really 'sans'
We want to avoid an empty font combo box.
2009-11-22 05:12:13 +01:00
Christian Dywan
77897bc173 Guard GTK+ 2.12 tooltip API in katze_property_label function 2009-11-18 19:02:42 +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
d3e5d1af23 Connect overflow toolbar bookmark items for nested folder menus 2009-11-17 19:18:14 +01:00
Christian Dywan
7d3b68d797 Set tool button labels to "" to avoid a regression in GTK+ 2009-11-16 23:46:03 +01:00
Christian Dywan
8471e76f6a Follow up preferences refactoring for Mac OSX build 2009-11-16 23:33:32 +01:00
Christian Dywan
e98731de8a Re-implement g_icon_to_string for Glib 2.20, second attempt 2009-11-16 23:32:02 +01:00
Christian Dywan
8f8a7634e0 Copy g_icon_to_string_tokenized for GIO < 2.20 and include gio.h 2009-11-16 17:52:03 +01:00
Christian Dywan
e686b8655b Remove unused function katze_preferences_add_option 2009-11-13 23:20:38 +01:00
Christian Dywan
c41d293b9a Show custom identification/ encoding in tooltip and prefill the entry 2009-11-10 00:36:48 +01:00
Christian Dywan
1c0d18bc06 Implement enumeration proxies with custom entries as well 2009-11-03 18:01:22 +01:00
Christian Dywan
ab4fb18487 Provide an entry for "custom" options in preference proxies 2009-11-03 01:51:21 +01:00
Christian Dywan
219872aa8f Recognize custom commands with "application" preference proxies
Entering commands isn't possible yet but existing commands are
preserved and shown in the combo box.
2009-11-02 22:02:16 +01:00
Christian Dywan
e29e7f62d2 Fix the size of hildon picker buttons to have the correct height 2009-10-31 05:03:20 +01:00
Christian Dywan
8b27f16590 Never span check or picker buttons, only indent them 2009-10-29 00:04:02 +01:00
Christian Dywan
c541a75ae1 Omit property labels if the proxy would have it included already
Picker buttons in Hildon contain the label.
2009-10-28 23:57:27 +01:00
Christian Dywan
6a297dd4b3 Introduce MIDORI_TOUCHSCREEN and katze_widget_has_touchscreen_mode 2009-10-28 21:07:13 +01:00
Christian Dywan
cba3abdce9 Generate Hildon picker button or check button proxies as needed 2009-10-27 23:49:12 +01:00
Christian Dywan
0c3609ac14 Don't span preferences from different categories 2009-10-27 23:47:11 +01:00
Christian Dywan
55d735fcf6 Layout preferences with a scrolled and no tabs on Hildon 2009-10-25 19:48:12 +01:00
Christian Dywan
ef67f2539a Don't shadow type variable in katze_property_proxy 2009-10-22 23:27:58 +02:00
Alexander Butenko
90a4acfc6e Check the non-existence of folders before creating them 2009-10-20 18:24:24 +02:00
Christian Dywan
cef6532429 Refactor MidoriPreferences into KatzePreferences base class
The goal is to get rid of detailed table setups in favour of
automatic alignment with few hints as well as abstracting away
the exact layout to allow reimplementing it in a different form.
2009-10-19 23:15:44 +02:00
Christian Dywan
47c5f15684 Implement combos for choosing applications 2009-10-18 17:25:13 +02:00
Christian Dywan
3fec0a0265 Adjust katze_(foo_)assign to work inside one-line if's 2009-10-16 20:41:35 +02:00
Christian Dywan
c64a4334f6 Only setup drag scrolling events if touchscreen mode is set
We assume that touchscreen mode is ususally always set or never set,
so we can avoid the overhead.
2009-10-15 23:47:00 +02:00
Christian Dywan
41385a9e5e Implement katze_array_find_uri for finding duplicates 2009-10-02 21:27:31 +02:00