aboutsummaryrefslogtreecommitdiffstats
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* ephy-notebook: remove full title tooltip on each tabXan Lopez2012-01-241-6/+0
| | | | It's pretty annoying and hardly useful.
* ephy-location-controller: lose lock tooltip propertyXan Lopez2012-01-241-37/+0
|
* ephy-window: lose security state tooltipsXan Lopez2012-01-241-29/+4
|
* ephy-window: we don't do tooltips anymore, remove support code for thatXan Lopez2012-01-241-212/+40
|
* ephy-window: remove toplevel actions that do not exist anymoreXan Lopez2012-01-241-5/+0
|
* Make the user visible name Web in more placesJon McCann2012-01-241-5/+5
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=666587
* ephy-window: remove unneeded includeXan Lopez2012-01-241-1/+0
|
* ephy-window: call sync_tab_is_blank on new tabsDiego Escalante Urrelo2012-01-241-0/+1
|
* ephy-window: sync page actions with is-blank propertyDiego Escalante Urrelo2012-01-241-1/+97
| | | | | | | | Add ::is-blank property to EphyWebView and update EphyWindow to sync some of the page menu actions with it. There's no point in enabling save/reload/bookmark/etc on about:blank. https://bugzilla.gnome.org/show_bug.cgi?id=668105
* ephy-window: pass non-web schemas to gtk_show_uriDiego Escalante Urrelo2012-01-241-2/+15
| | | | | | | Handle every non-web scheme in policy_decision_required_cb with gtk_show_uri. This enables xmpp:, apt: and similar links to work. https://bugzilla.gnome.org/show_bug.cgi?id=551857
* ephy-action-helper: document flags APIDiego Escalante Urrelo2012-01-241-0/+14
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=668510
* ephy-window: remove leftover from the editable toolbar ancient pastXan Lopez2012-01-231-6/+0
|
* ephy-window: remove leftovers from when EphyWindow managed the progress barXan Lopez2012-01-231-4/+0
|
* Remove the "Open Frame" functionalityXan Lopez2012-01-233-39/+3
| | | | | It's been #if 0-ed and broken forever too. If someone really wants it it should probably go into an extension.
* ephy-window: remove unused codeXan Lopez2012-01-221-4/+0
|
* ephy-window: also remove the statusbar tips for tool itemsXan Lopez2012-01-221-135/+0
|
* ephy-window: remove menu statusbar helper messagesXan Lopez2012-01-221-45/+2
| | | | | | They are not that helpful and are a bit distracting. https://bugzilla.gnome.org/show_bug.cgi?id=668191
* Remove mailto: specific menusXan Lopez2012-01-222-43/+0
| | | | | They have been dead/#if zeroed for a long time without any bugs opened about it, so I can guess they were not used a lot in their day.
* ephy-window: we don't have a menu anymore, so the menudock widget is not neededXan Lopez2012-01-221-8/+1
|
* ephy-window: update comments a bit in window actionsXan Lopez2012-01-221-15/+15
| | | | In particular, don't mention the menus anymore, since they do not exist.
* window-commands.h: remove duplicate and obsolete stuff, reformat a bitXan Lopez2012-01-221-113/+81
|
* ephy-window: make ephy_window_get_find_toolbar privateXan Lopez2012-01-213-2/+3
| | | | | Surely this is not interesting for anyone outside Epiphany? It's not used in extensions.
* Make ephy_window_get_ui_manager return a GtkUIManager, not a GObjectXan Lopez2012-01-215-15/+15
| | | | | No clue why it was doing that, but seems pointless. I wish I could make it private but it's used all over the place.
* ephy-window: remove "add-widget" callback from GtkUIManagerXan Lopez2012-01-211-11/+0
| | | | | We don't add widgets to our UI directly from the UI manager, so it's useless.
* ephy-window: make ephy_window_set_location privateXan Lopez2012-01-212-3/+4
| | | | | Setting the EphyWindow's location string directly is the kind of crack that has to be private.
* Be a bit more strict about header includesXan Lopez2012-01-204-1/+4
|
* ephy-window: do not include <string.h> just for strcmpXan Lopez2012-01-201-2/+1
|
* ephy-window: and remove three more forward declarationsXan Lopez2012-01-201-183/+174
| | | | The remaining one kinda makes sense, so leave it alone.
* ephy-window: remove unused includeXan Lopez2012-01-201-1/+0
|
* ephy-window: reorder a few methods to get rid of forward declarationsXan Lopez2012-01-201-142/+134
|
* ephy-window: remove duplicated methodXan Lopez2012-01-201-15/+2
| | | | | ephy_window_set_location and _ephy_window_set_location were identical. Remove the latter.
* More private method cleanupsXan Lopez2012-01-204-21/+19
| | | | | Move another method to ephy-private.h, and stop exporting another one that is only used internally in EphyWindow.
* Add a ephy-private.h headerXan Lopez2012-01-206-9/+48
| | | | | | This should hold methods needed by Epiphany internally but that we do not want to export. Only a couple of them so far, but we should probably add a lot more.
* ephy-window: remove redundant includesXan Lopez2012-01-201-2/+0
|
* ephy-window: missing annotationXan Lopez2012-01-202-0/+9
|
* location-controller: remove references to "proxy"Cosimo Cecchi2012-01-201-7/+7
| | | | | | | We're not a GtkAction anymore, so referencing "proxy" in the code is a bit misleading. https://bugzilla.gnome.org/show_bug.cgi?id=668305
* location-controller: use the right signal data to unblock signalCosimo Cecchi2012-01-201-2/+1
| | | | | | | | | We were using priv->proxy, which is a leftover from when this was a GtkAction, and is actually always NULL. Use the right pointer instead. Fix location entry failing to properly update the address when switching tabs. https://bugzilla.gnome.org/show_bug.cgi?id=668305
* ephy-shell: pass active window to the about dialogDiego Escalante Urrelo2012-01-201-1/+7
| | | | | | So it can be modal. https://bugzilla.gnome.org/show_bug.cgi?id=668113
* Rename EphyLocationAction -> EphyLocationControllerCosimo Cecchi2012-01-207-264/+263
| | | | | | Since it's not a GtkAction anymore. https://bugzilla.gnome.org/show_bug.cgi?id=668206
* location-action: don't make this a GtkAction anymoreCosimo Cecchi2012-01-206-212/+201
| | | | | | | It doesn't really make sense in a world where the location action is only used on a fixed toolbar, and complicates the code a lot. https://bugzilla.gnome.org/show_bug.cgi?id=668206
* entry: make EphyLocationEntry a GtkEntryCosimo Cecchi2012-01-204-106/+36
| | | | | | | | Instead of a GtkToolItem. A future commit will move the code in EphyLocationAction not to be a GtkAction, which is why this was a GtkToolItem in the first place. https://bugzilla.gnome.org/show_bug.cgi?id=668206
* ephy-window: annotate return value of a methodXan Lopez2012-01-201-0/+9
|
* ephy-toolbar: set the MENUBAR style classXan Lopez2012-01-191-0/+5
| | | | That way we can drag the app using the toolbar itself.
* ephy-window: hide our titlebar when maximizedXan Lopez2012-01-191-0/+3
|
* Remove Print Setup item from the super menu and embed it into print dialogCarlos Garcia Campos2012-01-184-34/+0
|
* ephy-home-action: remove a lot of unused codeXan Lopez2012-01-181-148/+9
|
* Remove Print Preview item from the super menuXan Lopez2012-01-184-22/+0
| | | | | It's already accessible from the Print dialog itself, so there's really no need to duplicate it.
* ephy-page-menu-action: do not query the action proxies during disposeXan Lopez2012-01-181-9/+5
| | | | | That was a bad idea. Just store the proxy used for the visibility hack in the private data too.
* ephy-find-toolbar: reorder includesXan Lopez2012-01-171-3/+3
|
* ephy-window: fix binding for Find PreviousXan Lopez2012-01-171-1/+1
| | | | If the binding uses Shift we need to put the letter in uppercase.
* Remove Find Next/Previous from page menuXan Lopez2012-01-171-0/+3
| | | | | The actions are already in the find toolbar, which is accessible from the menu, so there's no need to have them there.
* ephy-page-menu-action: disconnect the visible handler on disposeXan Lopez2012-01-171-0/+10
|
* ephy-page-menu-action: set the DROPDOWN type hint on the page menuCosimo Cecchi2012-01-171-0/+4
| | | | | So that the WM will use shadows on it as if it was generated from a menubar.
* ephy-page-menu-action: set the style class in the button, not the menuXan Lopez2012-01-171-12/+12
|
* ephy-page-menu-action: hang on to our menuXan Lopez2012-01-171-2/+14
|
* ephy-page-menu: set a style class when our menu is visibleXan Lopez2012-01-173-29/+61
| | | | To aid with styling.
* ephy-toolbar: set a name for the page menu buttonXan Lopez2012-01-171-0/+1
| | | | To aid styling.
* Move the nautilus floating bar to lib/widgetsXan Lopez2012-01-173-466/+0
| | | | And fix a couple of warnings.
* floating-bar: import NautilisFloatingBar into EpiphanyCosimo Cecchi2012-01-173-0/+466
| | | | Yay for sharing code. It also helps theming.
* ephy-notebook: use symbolic icon for close buttonXan Lopez2012-01-171-1/+2
|
* ephy-page-menu: fix warningXan Lopez2012-01-171-1/+1
|
* ephy-combined-stop-reload-action: object orientation is hard, let's go shoppingXan Lopez2012-01-172-5/+5
|
* ephy-page-menu: activate on button pressXan Lopez2012-01-171-16/+41
| | | | Requested by the Design Team.
* Back/Forward actions do need to have a label setXan Lopez2012-01-172-0/+4
| | | | | Since they are used in context menus too. Re-add those and force the toolbar buttons to be image-only.
* ephy-window: forgot thisXan Lopez2012-01-171-1/+0
|
* Refactor GtkActions with attached EphyWindowsXan Lopez2012-01-1713-215/+190
| | | | | Make a GtkAction subclass that only holds an EphyWindow and nothing else, and use it throughout. Allows us to kill some duplicated code.
* ephy-window: add extra bindings for zoom in/outXan Lopez2012-01-171-1/+5
| | | | They are not in any menu either atm.
* ephy-navigation-history-action: make sure embed is focused after navigationXan Lopez2012-01-171-0/+2
| | | | The focus was staying in the proxy buttons, that's not OK.
* ephy-toolbar: set a style class to the location+reload comboXan Lopez2012-01-171-0/+2
| | | | This way it's easier to access from the theme.
* ephy-toolbar: use normal GtkButtons for the toolbarXan Lopez2012-01-172-20/+25
| | | | It's harder to get the theming right with GtkToolButtons :/
* Stop using GtkUIManager to create the toolbarXan Lopez2012-01-177-13/+289
| | | | Otherwise it's difficult to get the right layout for theming.
* window-commands: update copyright yearXan Lopez2012-01-151-1/+1
|
* Make the visible name of the application 'Web'Xan Lopez2012-01-141-4/+4
| | | | | | | Before we had 'Epiphany' in some places and 'GNOME Web Browser' in others, try to be consistent and use just 'Web'. https://bugzilla.gnome.org/show_bug.cgi?id=666587
* ephy-window: drop the PRIMARY_TOOLBAR styleXan Lopez2012-01-141-3/+0
| | | | Requested by Lapo. Now we need to fix up the theme.
* ephy-window: use the emblem icon for the page menuXan Lopez2012-01-141-1/+1
| | | | It's a bit more understandable than send-to.
* ephy-window: make fullscreen an extra bindingXan Lopez2012-01-141-0/+2
| | | | | Otherwise it won't work since it's not in any menu at the moment. That should change.
* ephy-window: do not track application windows too muchXan Lopez2012-01-141-2/+0
| | | | | We already pass the app to the window constructor, so no need to do this again in _init ().
* ephy-window: remove some dead codeXan Lopez2012-01-141-29/+1
|
* ephy-window: add temporary extra binding for PageMenuXan Lopez2012-01-141-0/+4
| | | | The default one is not working for some reason...
* ephy-window: simplify the chrome visibility logicXan Lopez2012-01-141-9/+3
| | | | There's no difference between fullscreen and non fullscreen atm.
* ephy-page-menu-action: try to use the actual activate event when possibleXan Lopez2012-01-141-1/+12
| | | | Otherwise fallback to faking it as before.
* ephy-window: pass the application to the constructorXan Lopez2012-01-141-1/+4
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=667628
* ephy-window: remove some memubar leftoversXan Lopez2012-01-141-52/+4
|
* Drop menubar and create an actions menu button in the toolbarXan Lopez2012-01-146-54/+170
| | | | | | Similar to Chrome's wrench menu, but used only (in the future) for page-related actions. For now we have mechanically moved most stuff there, now we need to start removing them one by one when appropriate.
* Use the new Shell global menu for global actionsXan Lopez2012-01-146-149/+140
| | | | And remove them from the existing menubar.
* ephy-window: make sure to hide all chrome in application modeXan Lopez2012-01-111-1/+5
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=667634
* Add mnemonics for password/recovery infobarsJiro Matsuzawa2012-01-061-2/+2
| | | | | | | | | 'Store password' and 'Session recovery' infobars had no mnemonics in their buttons. Bug #667238 Signed-off-by: Diego Escalante Urrelo <descalante@igalia.com>
* ephy-navigation-history-action: remove some dead codeXan Lopez2012-01-031-7/+0
|
* make g_setenv() calls early enough during startupClaudio Saavedra2012-01-021-12/+12
| | | | | | | | g_setenv() and getenv() are not thread-safe, so we need to make sure that g_setenv() call in main is done earlier than anything that can trigger a getenv() call. https://bugzilla.gnome.org/show_bug.cgi?id=659145
* ephy-home-action: remove dead codeXan Lopez2012-01-021-7/+0
|
* ephy-window: remove GoHome action, it's not used (I hope!)Xan Lopez2012-01-021-18/+0
|
* Revert "Remove EphyHomeAction, it's unused"Xan Lopez2012-01-024-0/+341
| | | | | | This reverts commit 9c12735e12a9106cdc68d9555a491642ea791e62. Turns out it was used :D
* Remove EphyHomeAction, it's unusedXan Lopez2012-01-024-341/+0
|
* Remove EphyGoAction, it's unusedXan Lopez2012-01-024-154/+0
|
* Fake middle clicks without gtk_button_{press,release}, which are deprecatedXan Lopez2012-01-024-33/+49
| | | | | | | | | | | | | | Factor the logic that fakes clicks from a middle click in EphyMiddleClick(Tool)Button by forwarding a left click to GTK+ when we receive a middle click. Since ephy_gui_is_middle_click stops working in this case, add the minimal logic in EphyLinkAction to make it work again (basically, cache the button that activated the action inside the action itself). The EphyMiddleClickable(Tool)Button classes were written by Alexandre Mazari. https://bugzilla.gnome.org/show_bug.cgi?id=628364
* ephy-link-action: we don't have menu tool buttons that need to react to ↵Xan Lopez2012-01-011-16/+2
| | | | middle click anymore
* ephy-session: use GTK's method to get the content areaXan Lopez2012-01-011-1/+1
| | | | Now we can remove our internal implementation.
* ephy-combined-stop-reload-action: add type checksXan Lopez2011-12-311-1/+5
| | | | This is a public function after all.
* ephy-combined-stop-reload-action: make sure we always set the initial stateXan Lopez2011-12-311-7/+8
| | | | | | Since we were only checking the loading status, and it's FALSE by default, the action would be empty until it was set to loading = TRUE at least once.
* ephy-window: set statusbar cid on notebook's page-addedXan Lopez2011-12-311-6/+6
| | | | | | | In some cases tabs can be added to the window without going through the EmbedContainer add method (for instance, with DnD of tabs between windows). Being that the case, set the CID for the statusbar on notebook's page-added handler, which is always called.
* ephy-notebook: remove unused methodXan Lopez2011-12-302-15/+0
|
* ephy-location-action: reorder includesXan Lopez2011-12-231-5/+4
|
* Remove option to hide toolbarsXan Lopez2011-12-202-77/+0
| | | | We don't want this either for 3.4, remove it.
* Remove the "Hide menubar" optionXan Lopez2011-12-201-21/+0
| | | | The menubar will be gone for 3.4, so this will be useless.
* Remove NavigationUpXan Lopez2011-12-205-160/+0
| | | | It's not used anymore.
* Use symbolic icons in the toolbarXan Lopez2011-12-202-6/+5
|
* ephy-combined-stop-reload-action: include fixesXan Lopez2011-12-201-2/+1
|
* Combine the Reload and Stop toolbar buttons into oneClaudio Saavedra2011-12-184-0/+239
| | | | | | | | Add a combined action that toggles itself between the two states and instantiate it from the window. Replace the Reload and Stop buttons with the combined one in the default toolbar description. https://bugzilla.gnome.org/show_bug.cgi?id=657655
* ephy-session: do not store "ephy-about" URIsXan Lopez2011-12-151-0/+7
| | | | | | Store them as "about:" instead, which is the proper kind for loading. https://bugzilla.gnome.org/show_bug.cgi?id=666206
* ephy-session: reorder includesXan Lopez2011-12-151-7/+4
|
* window-commands: reorder includesXan Lopez2011-12-151-21/+21
|
* ephy-notebook: reorder includesXan Lopez2011-12-151-8/+8
|
* ephy-shell: correct bogus logic in warning messageXan Lopez2011-12-151-7/+9
| | | | We were warning in way too many more cases than intended.
* ephy-topic-action: another tiny leftoverXan Lopez2011-12-151-1/+0
|
* ephy-bookmark-action: kill unused code related to toolbar itemsXan Lopez2011-12-151-385/+19
|
* ephy-topic-action: kill unused code related to toolbar itemsXan Lopez2011-12-151-228/+2
|
* ephy-link-action: small cleanupsXan Lopez2011-12-151-13/+12
|
* ephy-related-action: remove, it's unusedXan Lopez2011-12-154-226/+0
|
* Remove last traces of the EggToolbar codeXan Lopez2011-12-156-450/+4
|
* ephy-bookmark-action: remove unused includesXan Lopez2011-12-151-7/+5
|
* Remove the topic/bookmark factory actionsXan Lopez2011-12-156-723/+0
| | | | They are unused now.
* Remove code to support bookmark/topic toolbarXan Lopez2011-12-154-538/+45
|
* Remove ephy_window_get_toolbarXan Lopez2011-12-143-21/+0
| | | | The only use in window-commands.c is not superfluous.
* Remove custom EphyToolbar in favor of a vanilla GtkToolbarXan Lopez2011-12-149-955/+459
| | | | | | | | | | | | | This allows us to stop using EggEditableToolbar here, we just load a normal toolbar from GtkUIManager in EphyWindow. The special toolbar actions and methods have been moved to EphyWindow too, mostly in a mechanical fashion (probably some simplifications are possible). The code in the bookmarks UI that depended on EphyToolbar has been #if zeroed instead of porting it, since it will go away in the near future too. https://bugzilla.gnome.org/show_bug.cgi?id=664483
* Use an overlay progress bar for the loading progress.Claudio Saavedra2011-12-141-70/+0
| | | | | | The theming was done by Lapo Calamandrei. https://bugzilla.gnome.org/show_bug.cgi?id=665470
* ephy-shell: add warning message about incorrect usage of ephy_shell_new_tab_fullXan Lopez2011-12-121-1/+2
|
* ephy-shell: fix weird spacing in LOG messagesXan Lopez2011-12-121-5/+5
|
* ephy-window: append new windows opened as tabs after current tabXan Lopez2011-12-121-3/+5
| | | | | To be consistent with our new default behavior, which is to append new tabs after their parent.
* ephy-window: remove superfluous headersXan Lopez2011-12-101-2/+0
|
* ephy-toolbar: reorder headersXan Lopez2011-12-061-8/+8
|
* ephy-window: remove obsolete commentXan Lopez2011-12-051-2/+0
|
* ephy-window: add global bindings for GoHistory and GoLocationXan Lopez2011-12-051-0/+3
|
* Remove "Go" menuXan Lopez2011-12-051-1/+0
| | | | Last of the toplevel menus without equivalent in the new design.
* Remove last traces of dummy certificate managerXan Lopez2011-12-053-26/+0
| | | | | | There was no implementation, so it was just polluting the codebase. In the future we probably want a non-optional implementation in the "Page details" section, using the soup/glib-network APIs.
* ephy-window: fix accidentally reversed tab bindingsXan Lopez2011-12-051-4/+4
|
* ephy-window: remove the tabs menuXan Lopez2011-12-054-615/+7
| | | | | | It is not present in the new design. The Alt+<num> accelerators are dying with it, but it will be pretty easy to bring them back if needed.
* Remove history dropdown menus from action buttonsXan Lopez2011-12-055-430/+2
| | | | | They are not commonly used and are not present in the new design, so we can get rid of them.
* prefs-dialog: fix compiler warningsXan Lopez2011-12-041-1/+1
|
* Remove homepage preference from GSettingsXan Lopez2011-12-042-7/+3
| | | | | | | | Hardcode it to be "about:blank". The final step could be completely remove the rest of the code, but it might be useful for the future Overview page (if we consider it the new "homepage"). https://bugzilla.gnome.org/show_bug.cgi?id=665469
* Remove UI to define a homepageXan Lopez2011-12-041-64/+11
| | | | | | Later we can remove all the internals to implement the feature. https://bugzilla.gnome.org/show_bug.cgi?id=665469
* Remove toolbar editorXan Lopez2011-12-036-474/+0
| | | | | | | The UI is gone, but the infrastructure still persists (EggToolbarModel, etc). Further cleanups are possible. https://bugzilla.gnome.org/show_bug.cgi?id=664260
* ephy-window: small cleanups, mostly code reorg.Xan Lopez2011-12-011-137/+129
|
* Don't ever show tabs when in application modeClaudio Saavedra2011-11-231-5/+8
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=663668
* Remove some deprecated GTK+ callsClaudio Saavedra2011-11-221-4/+7
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=664120
* Use GNetworkMonitor to monitor network statusXan Lopez2011-11-162-38/+14
| | | | | | We can now get rid of the NetworkManager custom code. https://bugzilla.gnome.org/show_bug.cgi?id=664096
* Remove g_thread_init callsXan Lopez2011-11-061-3/+0
| | | | They are not needed anymore.
* Show Webkit versionJuan A. Suarez Romero2011-11-021-1/+4
| | | | Shows which WebKit version is powering Epiphany.
* e-bookmark-properties: port to GtkGridDiego Escalante Urrelo2011-10-111-15/+19
| | | | | | GtkTable is deprecated. Bug #661347
* pdm-dialog: port cookie properties to GtkGridDiego Escalante Urrelo2011-10-111-91/+36
| | | | | | | Build the Cookie Properties dialog with GtkBuilder instead of handcraft from the past. Bug #661347
* Fixed Bug 660749. Call gtk_label_set_use_markup for the child of manual_buttonJiro Matsuzawa2011-10-071-0/+1
|
* fix string formatFunda Wang2011-09-281-2/+2
|
* Don't crash when network manager is not availableIonut Biru2011-09-271-4/+5
| | | | | | https://bugzilla.gnome.org/show_bug.cgi?id=659103 Signed-off-by: Ionut Biru <ibiru@archlinux.org>
* ephy-shell: chain to parent ::startup methodXan Lopez2011-09-171-0/+2
|
* ephy-shell: remove unused includesXan Lopez2011-09-111-4/+0
|
* ephy-shell: do not resume session in web app modeXan Lopez2011-09-111-5/+6
| | | | | | | | | | Session resume will ask to resume the session (opened pages, etc) if the previous instance crashed. We don't really want this in web app mode, so skip it. Note that this is not exactly the same than loading the session, which just restores the previous window sizes and states. We do want that, but the terminology here could be more clear. https://bugzilla.gnome.org/show_bug.cgi?id=658739
* ephy-shell: sort includes and remove duplicatesXan Lopez2011-09-111-29/+26
|
* ephy-main: sort includes (and remove duplicates!)Xan Lopez2011-09-111-14/+9
|
* ephy-window: disable unwanted actions in application modeXan Lopez2011-09-091-3/+36
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=657624
* ephy-toolbar: undo this hackXan Lopez2011-09-091-7/+4
| | | | We'll do things properly now.
* Display a notification if the web application saving failsClaudio Saavedra2011-09-061-9/+13
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=658060
* Ask the user for confirmation before overwriting web applicationsClaudio Saavedra2011-09-061-35/+87
| | | | | | | Show a confirmation dialog and, in case the user confirms, delete the old application before saving a new one. https://bugzilla.gnome.org/show_bug.cgi?id=658060
* Use EphyFileChooser filters usefullyDiego Escalante Urrelo2011-09-052-2/+2
| | | | | | | Don't use the filters combobox when it's not really needed nor meaningful. Specially for save dialogs. Bug #655713
* ephy-window: hide some irrelevant context menu actions when in app modeXan Lopez2011-09-041-0/+12
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=657624
* ephy-bookmarks-ui: we need to include the EphyNode headerXan Lopez2011-09-041-1/+2
| | | | | | Since it's used in the header file itself. This was working just because other files including this also were including ephy-node.h before.
* ephy-window: sort includesXan Lopez2011-09-041-28/+28
|
* ephy-web-app-utils: move the web app creation code hereXan Lopez2011-09-041-3/+4
|
* ephy-web-app-utils: rename ephy_delete_web_application to ↵Xan Lopez2011-09-031-1/+1
| | | | | | ephy_web_application_delete You know, use namespaces correctly and all that.
* Add --delete--application command line option to delete WebAppsXan Lopez2011-09-021-0/+16
| | | | | | Plus the necessary code to implement some sort of UI to do this for the 3.2 time frame. Hopefully for 3.4 we'll have a GNOME-wide system to deal with applications.
* EphyWindow: Fix location entry's load progressClaudio Saavedra2011-09-021-12/+24
| | | | | | | | The caching of the GtkEntry was broken, since the toolbar items are destroyed on switching to/from fullscreen. Update the cache right after toolbar is rebuilt. https://bugzilla.gnome.org/show_bug.cgi?id=657936
* ephy-window: same hack to allow ephy to launch itself from app modeXan Lopez2011-08-301-0/+4
|
* window-commands: make 'Enter' activate the default responseXan Lopez2011-08-301-0/+1
| | | | Which creates the corresponding Web App.
* Show a notification when the newly created web-app is ready to be usedXan Lopez2011-08-292-2/+39
| | | | | This will probably go away in 3.4 when the new dash design is introduced, but for now it's the best we have.
* ephy-window: sandbox app-mode instances to the app domainXan Lopez2011-08-291-0/+39
| | | | | If the user tries to navigate to other domain spawn a new process with "gvfs-open" and the requested URI.
* ephy-main: more parameter sanity checkXan Lopez2011-08-291-0/+5
| | | | | Using private profile and app mode at the same time does not make sense.
* ephy-toolbar: disable New Window and New Tab actionsXan Lopez2011-08-291-4/+11
| | | | | We should refactor EphyWindow so that all these UI bits are not even present in app mode, but for now this will do.
* Add basic support for Web ApplicationsXan Lopez2011-08-295-26/+241
| | | | | | | | Allow to save any page as a "Web Application". A new .desktop file will be created, and added to the Shell as a new application. It will launch epiphany in application mode, with its own private profile (inheriting some data from the main profile, like the relevant domain cookies) and in a new process.
* Use line-wrap in GtkInfoBar labelsDiego Escalante Urrelo2011-08-131-0/+1
| | | | | | | Otherwise we can end up with fixed width windows that exceed the display size when long sentences are displayed. Bug #649164
* e-bookmarks-editor: don't set directoryDiego Escalante Urrelo2011-08-121-3/+0
| | | | | | | | | GTK+ new UX behavior says we shouldn't set the file chooser directory, recent directories should be listed (automatically) instead. Signed-off-by: Xan Lopez <xan@gnome.org> Bug #655508
* e-window: use a css file for widget stylingAlexandre Mazari2011-07-302-18/+23
| | | | | | | | | | | | Replace local styling (used for the tab close button and embed's status frame) by a global css sheet loaded at window construction. This allows tweaking style properties without rebuilding. The css file is installed in $(pkgdatadir)/epiphany.css. Signed-off-by: Diego Escalante Urrelo <descalante@igalia.com> Bug #644805
* Don't use g_list_length() to check for empty listsClaudio Saavedra2011-07-232-2/+2
| | | | An empty list is simply NULL.
* Fixed a typoPriit Laes2011-07-181-1/+1
|
* Remove leftover from Gecko eraPriit Laes2011-07-181-1/+0
|
* ephy-window: clear finished downloads when closing the downloads barDiego Escalante Urrelo2011-07-171-0/+22
| | | | | | | | | | | When a download finishes but you don't 'activate' it (open or browsing) the widget stays alive on the downloads-bar, worse, if open or browse actions fail, the download can't be removed from the bar. This commit clears finished downloads from the downloads-bar when it is closed (with the X button). Hiding it will *not* trigger this cleanup. Bug #653918
* src: clean leftover NetworkManager varsDiego Escalante Urrelo2011-07-171-2/+0
| | | | Bug #653695
* Don't bypass g-ir-scanner's --pkg, especially when that's already passed.Jasper Lievisse Adriaanse2011-07-141-1/+0
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=653031
* window-commands: make get_suggested_title a separate functionXan Lopez2011-07-051-21/+29
| | | | We'll reuse it in the future.
* ephy-window: remove unused resize idle handler idXan Lopez2011-07-051-7/+0
|
* Open a new window in the primary instance when remoting without URIsClaudio Saavedra2011-07-011-3/+13
|
* Delete trailing whitespaces in ephy-shell.cClaudio Saavedra2011-07-011-63/+63
|
* ephy-shell: use new HACKING styleXan Lopez2011-06-302-832/+770
|
* Add an --application-mode flag and global modeXan Lopez2011-06-302-7/+23
| | | | | | | | | For now it's pretty much like a private instance, but: - A profile directory *must* be passed - Global passwords and cookies are accessed. In the future we'll likely restrict cookies to the ones for the web application domain, which we'll copy from the main cookies file.
* Use an enum for the global mode of the applicationXan Lopez2011-06-304-7/+9
| | | | In preparation to add a new mode for WebApps.
* ephy-window: do not set the app for the window twiceXan Lopez2011-06-301-2/+0
| | | | We already call gtk_application_add_window
* ephy-shell: set GApplication flags in constructed vmethodXan Lopez2011-06-301-6/+17
| | | | Cleaner than doing it in the constructor.
* ephy-shell: do not ref the shell more than neededXan Lopez2011-06-301-2/+0
| | | | | We already guarantee that the app will stay up by adding the windows to the GtkApplication, so stop reffing the shell in these callbacks.
* Use GtkApplication's window tracking for EphyWindow tooXan Lopez2011-06-301-1/+1
| | | | | | | | Instead of our own home-grown system. I think we should subclass window_added in GtkApplication and do there the session & state stuff and get rid of ephy_session_add_window and ephy_state_add_window.
* Always use the EphyEmbedShell to know if we are a private instanceXan Lopez2011-06-301-1/+1
| | | | We can now get rid of the EphyFileHelpers method.
* Merge EphyApplication into Ephy(Embed)ShellXan Lopez2011-06-308-598/+363
| | | | | | | | | | | We want to use EphyApplication from embed/ too, so instead of following the EphyEmbedShell/EphyShell pattern just fold the code into the Shell itself. This makes sense since both classes have basically the same function, and we can easily leave the non-embed code in EphyShell and move to EphyEmbedShell the bits we want to be global. The better name would be EphyCoreApplication/EphyApplication for the resulting object, but we can do this later.
* ephy-application: use our private instance propertyXan Lopez2011-06-292-2/+18
| | | | | | Instead of relying on ephy-file-helpers global method. Down the road we want to do this everywhere, but first we need some refactoring to be able to use EphyApplication outside of src/.
* ephy-application: set G_APPLICATION_NON_UNIQUE inside the objectXan Lopez2011-06-292-9/+6
| | | | Based on the private-instance paramater.
* ephy-application: add a private-instance propertyXan Lopez2011-06-294-4/+62
| | | | | It does not do much at the moment, but we pass the information from ephy-main.c to the app.
* ephy-window: do not assume there's always a location entryXan Lopez2011-06-291-3/+7
| | | | It won't be the case in web app mode.
* Require an EphyApplication parameter when creating an EphyShellXan Lopez2011-06-293-6/+10
| | | | We'll want to create our own in main(), this prepares us for that.
* ephy-main: use new indentation styleXan Lopez2011-06-291-336/+321
|
* ephy-application: format prototypesXan Lopez2011-06-291-11/+11
|
* ephy-window: the move tab actions should not depend on wrap-aroundXan Lopez2011-06-291-12/+9
| | | | They do not make sense on the first/last tab.
* Added ephy-application.h to the list of exported headers.Sergio Villar Senin2011-06-281-1/+1
| | | | | | | We are currently exporting ephy-shell which has a dependency on ephy-application. Fixes bug #653562
* Respect gtk-keynav-wrap-around in the global change-page handlerXan Lopez2011-06-282-30/+29
| | | | | | | We have a global-handler for Ctrl+Page{Up,Down} that is used in some situations (basically, when the notebook is not focused). It does not respect the wrap-around GtkSetting though, so the final experience can be inconsistent.
* Silent a warningClaudio Saavedra2011-06-281-1/+1
|
* Mark string parameters in ephy_session_queue_command() as constClaudio Saavedra2011-06-273-5/+5
| | | | | | | ephy_session_queue_command() doesn't take over the strings it receives, so mark these as const for clarity. https://bugzilla.gnome.org/show_bug.cgi?id=622903
* Ensure startup_context is not NULL before freeing itClaudio Saavedra2011-06-271-1/+4
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=622903
* Drop all dbus-glib codeClaudio Saavedra2011-06-275-825/+3
| | | | | | | We still need to provide equivalent ways to activate epiphany, but we will use GActions instead. https://bugzilla.gnome.org/show_bug.cgi?id=622903
* popup-commands: make 'Use picture as background' work againXan Lopez2011-06-251-22/+7
| | | | | | Things are done differently in GNOME3. Bug #647604
* Use NM_STATE_CONNECTED_GLOBAL instead of the compat #defineXan Lopez2011-06-241-1/+1
|
* Copy&paste a few NM defines/enums we need at compile timeXan Lopez2011-06-241-1/+1
| | | | | This way we don't need a compile-time dependency on NetworkManager, since we use it through the DBus APIs.
* Require NetworkManagerXan Lopez2011-06-242-30/+6
| | | | It's not optional in GNOME 3
* Implement GtkApplication based activation and uniquenessClaudio Saavedra2011-06-248-250/+537
| | | | | | | | | | | | | | | | | | | | This replaces the existing dbus-glib activation and uniqueness code. The changes are kept to the minimum necessary to make all the features work, but there are still some optimizations possible (like doing most of the initialization in ephy_application_startup() when we know we are not remoting). These changes are left for later to avoid making this patch huge. Command-line parameter parsing is done in the main method and parameters are passed to the application through a EphyApplicationStartupContext structure, which is later passed as a GVariant to the primare instance. This way we avoid moving the GOption code out of the place where it's intended to run: in the main() method. Based in work by Alexandre Mazari. https://bugzilla.gnome.org/show_bug.cgi?id=637334
* Use a gdbus-codegen generated GDBusProxy to monitor NM stateClaudio Saavedra2011-06-244-463/+41
| | | | | | | | | | Get rid of the EphyNetMonitor code and instead generate a GDBusProxy subclass that monitors the StateChanged signal and State property in org.gnome.NetworkManager. This proxy exports these features as standard GObject signal and property, respectively, so we can use it directly through the relevant accessors. https://bugzilla.gnome.org/show_bug.cgi?id=622903
* Use the generic marshaler throughoutXan Lopez2011-06-145-9/+4
| | | | Just enough to get rid of ephy-marshal.h
* Tweak the "Hide Menubar" UI options slightly.Martin Robinson2011-06-141-7/+5
| | | | | | Remove the menubar visibility options from the content context menu and adds them to the chrome context menu. Invert the meaning of the option and update the option text.
* ephy-window: do not do spell check for the empty stringXan Lopez2011-06-101-1/+1
|
* Use GtkOrientable interface instead of deprecated V/H widgetsClaudio Saavedra2011-06-0911-21/+21
| | | | | | | | | | Gtk[HV]Box, Gtk[HV]Separator, Gtk[HV]Paned are deprecated in GTK+ 3.2, so let's use the GtkOrientable interface instead. GtkBox is likely to dissapear soon too, so a migration to GtkGrid might be necessary at some point. https://bugzilla.gnome.org/show_bug.cgi?id=652201
* ephy-window: fix warningXan Lopez2011-06-091-1/+1
|
* Add suggestions to correct misspellings to the context menuXan Lopez2011-06-093-3/+104
| | | | | | When the user right-clicks on a misspelled word a number of possible corrections will be offered by Epiphany. Selecting one of them will replace the misspelled word by the suggestion.
* Move the save/load accelerators methods to the ephy file utilitiesClaudio Saavedra2011-06-091-39/+2
| | | | | | Second patch in an attempt to clean up ephy-main.c https://bugzilla.gnome.org/show_bug.cgi?id=652119
* Add ephy_string_commandline_args_to_uris() to ephy string utilitiesClaudio Saavedra2011-06-091-56/+12
| | | | | | | This is the first patch in an attempt to simplify epiphany's main() method, which is quite bulky by now. https://bugzilla.gnome.org/show_bug.cgi?id=652119
* Tweak style for close buttons in notebooks removing paddings and bordersMario Sanchez Prada2011-06-061-1/+5
| | | | | | | Set to zero 'default-border', 'default-outside-border', 'inner-border' and 'padding' for the GtkButton, following the lead of GEdit. Bug #648116
* Add optional spell checking, enabled by defaultXan Lopez2011-05-231-0/+3
| | | | | | | Depends on WebKitGTK+ being built with spell check support, otherwise it won't do anything. Based on a patch by Diego Escalante.
* Stop propagating the "secure" boolean to the location actionXan Lopez2011-05-224-29/+1
| | | | | It was only used to figure out whether to paint the entry background yellow, so we don't need it anymore.
* ephy-location-entry: do not use a yellow background for secure sitesXan Lopez2011-05-221-15/+0
| | | | | Adds unneeded clutter to the entry, we'll just rely on a visible symbolic lock icon when needed.
* ephy-extensions-manager: plug leakXan Lopez2011-05-061-0/+1
|
* ephy-home-action: plug leakXan Lopez2011-05-061-0/+1
|
* Be smarter about tab groupingXan Lopez2011-05-013-6/+10
| | | | | | The previous patch was simply grouping new tabs in the current window always, which is too much. For instance, we don't want to group Ctrl+T.
* ephy-bookmark-action: fix warningXan Lopez2011-04-271-2/+0
|
* Think McFly, think!Xan Lopez2011-04-211-0/+3
|
* Remove a few GCC 4.6.0 warningsXan Lopez2011-04-214-16/+3
|
* Add a preference to force internal view-sourceDiego Escalante Urrelo2011-04-191-13/+31
| | | | | | | | | | | Using the view-source feature provided by WebKitGTK+ can be handier than opening gedit or the default text/html application in your system. This adds "internal-view-source" to org.gnome.Epiphany to force the internal-viewer always. Based on Ole Laursen's patch. Bug #597156
* Open new tabs to the right of the current one even for location entryDanilo Ĺ egan2011-04-191-1/+1
| | | | | | Ctrl+Enter actions. Bug #647976
* Only unset the value after we are done with the string for 'Save Link As...'Gustavo Noronha Silva2011-04-181-1/+2
| | | | | | | | We get the string from the GValue without making a copy, so we cannot unset it before we are done using the string, otherwise we may end up with our string pointing to garbage. Bug #646724
* Add UI options to hide the menubarXan Lopez2011-04-181-1/+29
| | | | | In the future Web-app like windows will have this hidden by default, but for now we can also add an option to hide it elsewhere.
* Do not save state for popup windowsGustavo Noronha Silva2011-04-181-1/+5
| | | | Bug #580951
* Mark windows with modified chrome as popups and only allow resizing for themGustavo Noronha Silva2011-04-181-5/+10
| | | | | | | | | | A window with non-modified chrome will potentially be used as a normal window for browsing - there's no reason why it should be different from existing windows when it comes to resize policy. With this change we consider windows with modified chrome as popups and only set a default size on creation for popup windows. Bug #612155
* popup-commands: also group tabs opened through the context menuXan Lopez2011-04-171-1/+2
|
* Move overlay statusbar to EphyEmbedXan Lopez2011-04-161-12/+14
| | | | | It's where it belongs, and it will make things easier for the following patches in this area.
* Update copyright for 2011.Xan Lopez2011-04-051-1/+1
|
* Fix warning in ephy-session.c.Gustavo Noronha Silva2011-03-121-1/+1
|
* Open requested URI in new tab when a crashed session existsGustavo Noronha Silva2011-03-121-9/+23
| | | | | | | | | | When you ask Epiphany to load a new URI but a crashed session exists, the session was being completely discarded in favour of the new URI. This change causes the URI to be loaded in a new tab in the background while still presenting the user with the option to recover the session. Bug #625116
* Unset resume_window when the session has been resumedGustavo Noronha Silva2011-03-121-0/+1
| | | | | | | | The resume_window private variable is used to track whether a resume has already been done. This causes tabs to be reused after the session has been restored when new tabs should have been created. Bug #625116
* Do not include removed headerGustavo Noronha Silva2011-03-121-1/+0
| | | | | Building epiphany extensions was failing because epiphany.h sitll included a header that is not longer present in Epiphany.
* ephy-window: set visibility for fixed toolbar after setting the modelXan Lopez2011-03-101-2/+2
| | | | | We need to do the same when leaving Fullscreen mode, otherwise the fixed toolbar remains visibile...