Christian Dywan
b80b97b787
Require that the URI passed to katze_load_cached_icon be NULL
2010-09-15 04:10:54 +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
0cc46d6285
Don't leak the filename in katze_load_cached_icon
2010-09-06 03:03:07 +02:00
Alexander Butenko
672b7ab70a
Protect proxy combo box notifications against recursion
...
This can happen when switching between custom and other elements.
2010-08-24 23:50:47 +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
a49f1f7814
Introduce katze_bookmark_populate_tree_view() and rename ITEM_IS* macros
2010-07-01 23:37:13 +02:00
Christian Dywan
a25e4c5f0a
Add gtk_widget_get_window and fix gtk_dialog_get_content_area
2010-04-28 23:57:22 +02:00
Samuel Creshal
6ccfb136cd
Load cached icons from http and https
2010-03-13 20:08:40 +01:00
Christian Dywan
8c1e5e4305
Free text after proxy combo text change
2010-03-11 23:30:53 +01:00
Enrico Tröger
3583a07056
Declare widget allocation macros for GTK+ < 2.18 properly
2010-03-02 23:58:17 +01:00
Christian Dywan
20602673fe
Use allocation accessor in katze utils
2010-02-19 17:22:34 +01:00
Christian Dywan
fa66334289
Accessors instead of widget flag macros in Katze
2010-02-19 17:10:54 +01:00
Christian Dywan
cc6bb8fddb
Lookup icon size in relation to the according screen or widget
2010-01-29 22:43:39 +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
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
670ee72e3f
Use g_access instead of g_file_test in katze_mkdir_with_parents
2009-12-18 21:21:56 +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
35789798b1
Adjust input mode of numeric property proxies on Hildon
2009-11-29 14:09:28 +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
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
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
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
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
7a5329a1e0
Count font names added to the list, to fix font combo boxes
2009-09-29 00:08:22 +02:00
Christian Dywan
668f19c216
Only list variable-/ fixed-width fonts in either combo box
...
Optimize the code a little while we are at it.
2009-09-14 18:26:35 +02:00
Christian Dywan
25da412215
Add katze_strip_mnemonics (formerly known as elide_underscores)
2009-07-17 21:29:57 +02:00
Enrico Tröger
c182e4f788
Disconnect boolean and string property proxy callbacks on destroy
...
This fixes critical warnings seen when opening and closing
multiple windows, which led notification callbacks to be invoked
on invalid widgets.
2009-06-01 03:43:36 +02:00
Christian Dywan
ae945c4269
Create "toggle" property proxies as GtkCheckButton
2009-06-01 02:45:38 +02:00
Christian Dywan
44b1590100
Fix saving changes to the Download folder
2009-04-30 01:17:57 +02:00
Christian Dywan
ad82a73ab8
Show only image buttons in Statusbar Features in statusbar
2009-04-17 03:16:37 +02:00
Christian Dywan
7d3ac8fa37
Move {sokoke,katze}_tree_view_get_selected_iter proper
2009-01-28 01:08:51 +01:00
Christian Dywan
c5070bfcac
Correct documentation of katze_object_get_string and _get_enum
2009-01-23 21:41:15 +01:00
Enrico Tröger
3520fff923
Fix signal prototypes and translation typos
2009-01-12 21:17:38 +01:00
Nick Schermer
b6e33e5399
Implement 'full' debug-level and fix according warnings
2009-01-09 23:56:00 +01:00
Christian Dywan
94cb65d6ad
Make proxies for string and boolean properties truly synchronous
2008-12-09 01:23:35 +01:00
Christian Dywan
8da012bac1
Use blurb as tooltip in katze_property_proxy
2008-12-01 23:39:19 +01:00
Christian Dywan
5806954562
Add katze_object_has_property
2008-12-01 23:33:47 +01:00
Enrico Tröger
417493caa3
Don't use grep in sokoke_get_desktop and fix memory leaks
2008-11-29 00:16:57 +01:00