Commit graph

31 commits

Author SHA1 Message Date
Christian Dywan
48368e9951 Add and use midori_browser_(page_num/n_pages) API
To hide the GtkNotebook as an implementation detail.
2012-03-14 21:02:16 +01:00
Christian Dywan
c5e6b7a020 Show mismatching build version suffix for extensions
MIDORI_VERSION_SUFFIX resolves to a string that needs to be
added to each extension's version at build time. If it is
different than the running Midori's, it is shown in the
extension list.
2011-11-08 01:53:53 +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
bac3dc1842 Introduce MIDORI_EVENT_CONTEXT_MENU in midori-platform.h
The new header contains all state and event handling.
2011-09-21 23:04:20 +02:00
Christian Dywan
cd4cd3f52e Make Tab Panel use the correct foreground colours
In particular when used in combination with Colorful Tabs.
2011-04-25 17:56:56 +02:00
Alexander Friesen
f237c30e06 Add MidoriBrowser::move-tab and use it in Tab Panel 2011-03-07 22:56:20 +01:00
Christian Dywan
54971fd8ae Make sure minimized tabs show up in Tab Panel 2010-12-11 20:31:18 +01:00
Christian Dywan
ed6d44df5f Use function to access browser settings an panel 2010-11-01 16:47:32 +01:00
Christian Dywan
2cf3c2f5b0 Fix removal of tabs from Tab Panel treeview 2010-10-05 21:43:34 +02:00
Christian Dywan
5a0fc37d2f Don't use the deprecated GTK_IN_DESTRUCTION flag
As a workaround, the browser now sets its own flag.
2010-10-05 00:04:28 +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
233ff2602d Switch to Tab Panel after activating it for the first time 2010-08-23 19:38:11 +02:00
Christian Dywan
6496dd5403 Update tab panel colours in icon callback
Since Colorful Tabs now updates colors in the icon callback,
we also need to update in the icon callback.
2010-03-22 22:34:03 +01:00
Christian Dywan
0211fc6f9b Use tab label colours in the tab panel, even if they are colourful
Tabs in the panel look a little more like tabs now. And as a side
effect, colours from the Colourful Tabs extension will be used.
2009-11-20 03:37:43 +01:00
Christian Dywan
fd7d778e0c Remove sokoke_widget_popup and replace all call sites 2009-11-15 18:21:59 +01:00
Christian Dywan
0e0ce115f9 Update tab panel selection when tabs are switched, opened or closed
A convenince function tab_panel_get_iter_for_view is introduced
to make finding the right iter easier.
2009-09-29 20:50:04 +02:00
Christian Dywan
b77fdd45cf Support minimizing in tab panel, improve treeview updating
We now differentiate minimized views by inserting a toolitem in the toolbar
instead of a row in the tree model. This needed quite a bit of refactoring
including notifications of icon and title, which we use to update the
tree model as well now. Models are also per-browser now.
2009-08-18 20:49:41 +02:00
Christian Dywan
a905219267 Show close icons in the tab panel, if enabled 2009-07-28 01:25:46 +02:00
Christian Dywan
2f3204f61a Manually setup the tab panel tooltip 2009-07-27 23:41:36 +02:00
Christian Dywan
d0d0b3bba7 Ellipsize titles and show tooltips in the tab panel 2009-07-27 03:40:38 +02:00
Christian Dywan
a32bd1e39a Don't indent tab panel rows, we don't have expanders 2009-07-26 21:49:42 +02:00
Christian Dywan
c1fe050cd3 Insert tabs in the Tab Panel the same order as the notebook 2009-06-29 21:55:05 +02:00
Christian Dywan
e1d385d3ab Use the new public tab menu in the Tab Panel extension 2009-06-27 23:53:33 +02:00
Christian Dywan
1d8a7728a6 Use URI instead of the view itself to open tabs in new windows 2009-06-23 00:10:12 +02:00
Christian Dywan
7b36d4dd58 Close tabs in the Tab Panel with a middle click 2009-06-23 00:04:07 +02:00
Christian Dywan
f66e86a4fb Switch tabs in the Tab Panel with a single left click 2009-06-22 23:58:25 +02:00
Christian Dywan
e3c5aa9277 Use show-tabs in Tab Panel to hide the ordinary tabs 2009-06-22 23:51:24 +02:00
Christian Dywan
7860357ed2 Remove views from the tab panel as they are removed from the browser 2009-06-22 23:13:23 +02:00
Christian Dywan
75e3dae39a Implement a tree view of open tabs in the Tab Panel 2009-06-21 19:30:51 +02:00
Christian Dywan
f38fb44048 Hide the default tab labels when Tab Panel is active 2009-06-20 23:31:57 +02:00
Christian Dywan
1e28cd3b14 Refactor Tab Panel into a single file 2009-06-20 23:28:02 +02:00