Commit graph

79 commits

Author SHA1 Message Date
Christian Dywan
fa3ab67cef Ellipsize panel treeviews instead of scrolling
Fixes: https://bugs.launchpad.net/midori/+bug/1020353
2012-08-03 21:45:16 +02:00
Christian Dywan
dfec166691 Use content view class for panel contents
Fixes: https://bugs.launchpad.net/midori/+bug/1026390
2012-07-28 11:13:37 +02:00
Christian Dywan
96f616a237 Use secondary toolbar class for panel title
Also introduce a utility function to make adding
the class more readable.

Fixes: https://bugs.launchpad.net/midori/+bug/1026384
2012-07-28 11:06:40 +02:00
Christian Dywan
d319d40416 Replace Panel in app menu with individual panels
So users will see "Bookmarks" and "History" and hopefully
that's more discoverable than "Sidepanel".
2012-07-05 20:34:09 +02:00
Paweł Forysiuk
cece70cc68 Drop panel detachment support code 2012-05-25 23:46:17 +02:00
Christian Dywan
0d2a6cd72f Sort out boxes and scrollables with GTK+ 3.2
There is only GtkBox, neither GtkHBox nor GtkVBox.

Constructors and defaults have changed, we need
to set "orientation" for vertical boxes.

The panel takes care of its pages, and the view
of itself.

gtk_container_add on GtkBox is different to GtkVBox
so we must use gtk_box_pack_start.

GtkScrollable exists as a proper interface now.
2011-11-20 22:14:30 +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
Lucas Baudin
b5aad2d176 Allow building with GTK+3
Fixes: https://bugs.launchpad.net/midori/+bug/861351
2011-10-07 20:24:02 +02:00
André Stösel
ec92c64dff Don't switch panels while destroying
Fixes: https://bugs.launchpad.net/midori/+bug/819688
2011-09-14 21:24:10 +02:00
Christian Dywan
bfc6a034ab Remove the according action when destroying panels
Fixes: https://bugs.launchpad.net/midori/+bug/699982
2011-07-21 18:18:58 +02:00
Christian Dywan
fb681fac09 Resurrect right-align button on the panel
The feature is in fact far more popular than one might think.
2011-03-13 16:50:51 +01:00
Christian Dywan
54971fd8ae Make sure minimized tabs show up in Tab Panel 2010-12-11 20:31:18 +01:00
Christian Dywan
e0c5bbedb3 Remove ability to hide operating controls 2010-12-11 20:18:04 +01:00
Christian Dywan
f3bde6eb58 Remove detach and right-align buttons from panel 2010-12-11 19:52:16 +01:00
Christian Dywan
cd783acee0 Don't use GTK_WIDGET_SET_FLAGS in browser and panel 2010-10-05 00:04:28 +02:00
Christian Dywan
1b80f16bf4 Remove browser-count, midori_panel_set_compact, console toolbar 2010-09-07 22:24:11 +02:00
Christian Dywan
6b54f9e8b5 Remove the obsolete MidoriPanel::menu property 2010-07-30 22:09:02 +02:00
Christian Dywan
a724d883b1 Synchronize browser and panel toolbar style 2010-07-30 22:09:02 +02:00
Christian Dywan
cfd00f7fe4 Don't hide panel if individual panel was already active
What might look like a little convenience for keyboard usage
is very awkward when using buttons or menu items.
2010-07-08 22:28:02 +02:00
Christian Dywan
e200f2cb3e Hide panel if a panel was activated that's already shown
Also default hotkeys for History And Transfers.
2010-06-21 22:47:52 +02:00
Christian Dywan
dfddd7ce0a Leave panel icon styles to the system settings 2010-05-13 16:53:19 +02:00
Christian Dywan
12b4859dc7 Use gtk_widget_get_visible rather than GTK_WIDGET_VISIBLE 2010-04-02 18:38:56 +02:00
Christian Dywan
7cf326a338 Always use Icons only for panel toolbar 2010-02-21 18:03:27 +01:00
Christian Dywan
3bcd5700e1 Prevent the panel buttons from shrinking below minimum width 2010-01-25 21:44:26 +01:00
Christian Dywan
f0bfc701d9 Correct panel toggle button tooltip to say 'Hide operating controls' 2010-01-24 11:04:17 +01:00
Christian Dywan
9db458ba9c Hide panel toolbooks when there is only a controls button in there 2010-01-08 01:43:33 +01:00
Christian Dywan
317eefa1c8 Prevent a recurive loop when toggling operating controls 2010-01-08 01:08:37 +01:00
Christian Dywan
a8cd1499ab Move panel icons to the bottom and always remove the labels
This is an attempt at simplifying the panel, in the hope
that it is still discoverable enough.
2010-01-08 00:16:56 +01:00
Christian Dywan
f4c7df59b4 Connect accelerators of implicitly created panel actions 2010-01-08 00:16:55 +01:00
Christian Dywan
578f74a308 Merge compat.h into sokoke and remove gtk_show_uri implementation 2010-01-01 23:24:03 +01:00
Christian Dywan
5a65ed6253 Optionally open panels in standalone windows by default 2009-11-29 14:09:29 +01:00
Christian Dywan
fd7d778e0c Remove sokoke_widget_popup and replace all call sites 2009-11-15 18:21:59 +01:00
Christian Dywan
f980d5ad91 Ellipsize long panel titles to keep the buttons visible 2009-11-08 14:39:46 +01:00
Christian Dywan
1b8def494d Create actions that can have hotkeys for all panel items
Bookmarks have Ctrl+B by default.
2009-11-01 19:11:28 +01:00
Christian Dywan
ec9ea0233e Hide Extensions panel if no extensions are available at all. 2009-10-30 21:43:42 +01:00
Christian Dywan
0f9865b56f Make detached panels normal Hildon windows on Hildon
The window should not be hidden from the task launcher and not be
transient either. Further more the toolbar needs to go to the bottom.
Last but not least, we don't need the option button.
2009-10-30 21:02:45 +01:00
Christian Dywan
7c1caed409 Wrap panel title callback in Hildon guards 2009-10-22 23:26:35 +02:00
Christian Dywan
136f5d981f Use "orientation" property of the toolbar instead of the function
The function is superseded with the introduction of the orientable
interface in new GTK+ releases, but the property is the same.
2009-10-03 23:59:57 +02:00
Christian Dywan
60d3def11c Use correct labels for panel align and detach buttons 2009-07-28 22:36:35 +02:00
Christian Dywan
ef785dd784 Implement Options menu via a button on the side panel
The new button is visible on all panels and pops up a menu, which
allows toggling the panel titles and the operating controls. A
new signal "populate-option-menu" makes it extendible.
2009-07-26 22:05:39 +02:00
Christian Dywan
43e6542702 Implement MidoriBrowser::populate-tool-menu and adjust extensions
Extensions used to look for the menu and append items manually.
In order to show Tools in the Compact menu a proper signal
is needed.

Adblock, Shortcuts and Toolbar Editor are ported to the new API.
2009-07-25 03:05:52 +02:00
Christian Dywan
ff8489da20 Put the Preferences menuitem in the Tools menu under Win32 2009-07-20 08:13:29 +02:00
Christian Dywan
191f153429 Don't know detached panel windows in the taskbar 2009-06-26 21:19:09 +02:00
Christian Dywan
f626465c56 Fix panel "page" notifications and save the last open panel 2009-06-23 01:05:38 +02:00
Christian Dywan
7fbe7f81b9 Improve panel Detach and Align button tooltips 2009-06-01 08:23:35 +02:00
Przemek Sitek
09f0940bac Actually flip the position of the panel knob when changing alignment 2009-05-31 00:22:23 +02:00
Enrico Tröger
186c2d708b Ensure destroyed panel widgets remove the scrolled window 2009-05-03 21:13:54 +02:00
Christian Dywan
62edfeb06e Disconnect panel toolitem destroy handler when detaching 2009-04-26 17:11:16 +02:00
Christian Dywan
bdf9c2c11d Fix label/ button on the panel when detaching and re-attaching 2009-04-26 16:57:23 +02:00
Christian Dywan
dafa435e47 Switch the current panel after detaching a panel 2009-04-25 23:33:09 +02:00