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
Christian Dywan
1e6c22d94a
Add more katze_object_get_foo functions
2008-11-18 23:06:02 +01:00
Christian Dywan
d60166aa02
Add katze_get_object
2008-11-18 01:57:33 +01:00
Enrico Tröger
c49ed67ab0
Correct usage of datatypes in a number of places
2008-11-16 01:04:12 +01:00
Christian Dywan
5c69e0269d
Implement KatzeNet as a generic URI loader
...
KatzeNet can from now on be used where
URIs are handled and one would have used
libSoup and/ or local file handling as
appropriate, whereas KatzeNet does both.
Since we are displaying icons in several
places KatzeNet also provides an icon
loader that saves us from doublicating
even more code.
All bookmarks and also history items have
icons now, since KatzeNet makes that
incredibly easy.
Search engines are also using favicons
now, and right now custom icons don't
work, we still need to fix that.
Note that only icons are cached, nothing
else and the code is known to have a
hidden, hard to reproduce crasher which
may appear when an icon is newly loaded.
2008-10-24 00:09:12 +02:00
Christian Dywan
a12f3d10e0
Hitting Return or Enter in a Preferences entry applies it
2008-10-16 20:36:42 +02:00
Christian Dywan
e1b828edf2
Finish refactoring the toolbar to use only actions
...
Finally the trash, which was the last item that
needed to be implemented as an action, is an
action, a KatzeArrayAction to be exact.
This simplifies more code and also makes Window
and RecentlyVisited generically implementable.
Incidentally this change also fixes a bug where
the browser tried to add a new tab when the last
one was closed, even while destroying itself.
Furthermore sokoke_image_menu_item_ellipsized
and sokoke_widget_popup were promoted to Katze.
We're still keeping the old functions for now.
2008-10-10 22:31:37 +02:00
Christian Dywan
4d4df1ed09
Make spin buttons smaller
2008-09-11 01:49:50 +02:00
Christian Dywan
970be0bc83
Sort the font combo by font name
2008-07-19 06:15:47 +02:00
Christian Dywan
74dcc3c4db
Fix file choosers for GTk+ < 2.12
2008-07-15 20:01:46 +02:00
Christian Dywan
13f8171e24
Add Zoom Stepping Value to Preferences
2008-06-08 18:42:39 +02:00
Christian Dywan
944defafeb
Use value-changed instead of changed for spin buttons
2008-05-07 19:25:43 +02:00