Commit graph

98 commits

Author SHA1 Message Date
Paweł Forysiuk
bf026bd905 Check if path is absolute before building exec_path 2012-08-03 21:07:28 +02:00
Christian Dywan
1ea3c81643 Warn if executing a non-existing action remotely 2012-07-21 00:35:05 +02:00
Christian Dywan
5998b6b0ea Consolidate debugging in midori_debug()/ MIDORI_DEBUG 2012-07-19 21:14:09 +02:00
Christian Dywan
81543161df Move GTK+3 built-in CSS to gtk3.css 2012-07-15 00:13:43 +02:00
Niels Avonds
6f47ae75fc Use bookmark/ folder-new in bookmark panel
Fixes: https://bugs.launchpad.net/midori/+bug/940536
2012-07-11 18:41:18 +02:00
Christian Dywan
c236e4da9e Drop compatibility layer for legacy icon names
Fixes: https://bugs.launchpad.net/midori/+bug/988231
2012-07-11 18:04:59 +02:00
Christian Dywan
708d74038f One parent less to get resources in the build folder 2012-07-02 20:50:01 +02:00
Paweł Forysiuk
fa364f5e71 MidoriApp: midori_app_get_lib_path should fallback to LIBDIR 2012-06-11 23:08:48 +02:00
Paweł Forysiuk
b9b6f512ce MidoriApp: Add missing include for g_access 2012-06-11 23:08:48 +02:00
Christian Dywan
4a1e547cdb Resolve symlink before looking for exec path 2012-06-11 23:08:48 +02:00
Christian Dywan
25d8b8ddfc Find extensions in runtime lib path
Setting MIDORI_EXTENSION_PATH is no longer needed.
2012-06-01 00:57:49 +02:00
Christian Dywan
4a4887b511 Find res in executable or build folder
We can drop the versioned filename.
2012-06-01 00:57:49 +02:00
Christian Dywan
bc967c5563 On X11 display name :0 is equivalent to :0.0
Fixes: https://bugs.launchpad.net/midori/+bug/874719
2012-05-12 03:21:01 +02:00
Christian Dywan
5aa526d106 Show app instance name in about:version 2012-03-18 14:14:09 +01:00
Christian Dywan
4f180216a1 Fix declaration and deprecation warnings 2012-03-06 01:12:20 +01:00
Christian Dywan
3464afd167 Get rid of the unused accel group in the app 2012-01-24 23:57:40 +01:00
Christian Dywan
556546320b Don't encode config hash in app name for socket 2012-01-10 01:42:37 +01:00
Christian Dywan
b874009e00 Escape and unescape for unique and never otherwise
Also don't bother to apply magic when receiving the command,
it was already applied before.
2011-12-11 03:27:02 +01:00
Paweł Forysiuk
75c5f57f91 Attach Win32 console to stdout if not redirected 2011-11-28 20:42:08 +01:00
Christian Dywan
acc556e384 Don't initialize app name property
Otherwise lazy name generation is not triggered.
2011-11-16 02:08:29 +01:00
Christian Dywan
77796803c5 Work around G_CONST_RETURN use in unique.h 2011-11-15 18:34:19 +01:00
Christian Dywan
56818ca944 Replace slash (/) appearing in the display name 2011-11-09 23:03:35 +01:00
Christian Dywan
58066e7dcc Move naming logic into initialization of MidoriApp 2011-11-08 22:09:49 +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
Christian Dywan
a25c34e280 Support res directly in sokoke_find_data_filename
One allocation less each time, less fragmentation.
2011-10-29 01:16:08 +02:00
Christian Dywan
6bceb5a10a Merge thread setup, stock items, argv, i18n into MidoriApp 2011-10-28 22:49:10 +02:00
Christian Dywan
a49c6e8ad7 Switch to already open tab of external URI if possible 2011-09-22 00:26:49 +02:00
Christian Dywan
00f848b27c Use the same preference for new and external pages
Fixes: https://bugs.launchpad.net/midori/+bug/704903
2011-04-26 01:26:10 +02:00
Paweł Forysiuk
9c48997a26 Use speeddial property to store GKeyFile with speeddial entries 2011-03-22 23:01:59 +01:00
Samuli Suominen
26873b0f97 Conditionally support libnotify 0.7 API
Fixes: https://bugs.launchpad.net/midori/+bug/710352
2011-01-31 01:48:08 +01:00
Christian Dywan
fb3fb594a9 Eliminate 'send' flag from midori_app_send_notification
The declaration is misplaced and the logic actually makes
no sense.
2010-10-14 21:14:28 +02:00
Christian Dywan
ca2582c5e3 Don't declare command in callback as UniqueCommand
Since we're using a custom command it is in fact not part of
the enumeration and thus some compilers complain.
2010-10-14 21:11:01 +02:00
Christian Dywan
d34da1c500 Remove pointless FIXME and TODO comments from Midori classes 2010-09-12 20:23:39 +02:00
Christian Dywan
1b80f16bf4 Remove browser-count, midori_panel_set_compact, console toolbar 2010-09-07 22:24:11 +02:00
Christian Dywan
64b6f6ce6d Implement midori_app_get_browser in MidoriApp 2010-04-27 22:34:26 +02:00
Christian Dywan
102810842f Expose browsers in MidoriApp as GList 2010-04-25 23:39:00 +02:00
Christian Dywan
3682b7755e Clarify MidoriApp signal documentation 2010-03-19 20:16:48 +01:00
André Stösel
283005e217 Implement and use sokoke_recursive_fork_protection
As Midori may call external tools to open URIs it cannot handle,
and at the same time Midori is commonly the default browser,
this can end in recursion when the external tool also calls Midori.

See the description of sokoke_recursive_fork_protection().
2010-03-12 23:31:14 +01:00
Alexander Butenko
f3f53db4d7 Fallback to the first browser if one is closed
We need to keep one browser as the default for commands
and opening files externally.
2010-02-22 19:03:45 +01:00
Christian Dywan
713091134f Handle search engines in MidoriBrowser and simplify sokoke_magic_uri 2010-02-10 19:52:12 +01:00
Alexander Butenko
4854cfab5d Use notify-send only as a fallback if libnotify is not available 2010-01-25 21:44:26 +01:00
Christian Dywan
b7d09f38bb Handle window raising without the help of unique 2010-01-06 23:40:46 +01:00
Christian Dywan
311a5a8a1b Store searches with tokens in the completion as a distinct item
Currently searches won't be stored persistently in the database.
2010-01-01 22:47:24 +01:00
Christian Dywan
a94cf71700 Turn libnotify into a build-time dependency, mind notify-send
libnotify support is decided at build-time now, to avoid so name
issues. notify-send is still optional at runtime as a fallback.
2009-12-15 00:03:28 +01:00
Christian Dywan
e04a078de4 Check for libnotify.so.1 and libenchant.so.1 explicitly
Some distributions only install versioned libraries by default
while the generic files reside in development packages. This is
because later versions may break ABI, so we explicitly use
the supported version.
2009-12-14 18:54:32 +01:00
Christian Dywan
9adf9458b0 Support executing multiple passed commands one after another 2009-12-07 20:52:32 +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
974ba431d8 Only connect input output channel if socket was successfully created 2009-11-19 23:34:13 +01:00
Peter de Ridder
6658afb885 Replace a '\' in the display name with a '_'
On Windows, display names can contain backslashes which results
in an error in the socket implementation.
2009-11-19 22:56:46 +01:00
Christian Dywan
0f156fa932 Implement MidoriApp based on libOsso application interface 2009-11-10 22:01:54 +01:00