aboutsummaryrefslogtreecommitdiffstats
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* 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...
* ephy-window: hide fixed toolbar by defaultXan Lopez2011-03-101-0/+2
| | | | | EggEditableToolbar shows it by default, but we only want it visible in Fullscreen mode.
* Remove minimum font size setting from UIXan Lopez2011-03-101-3/+0
| | | | | | | | | This just breaks the layout from too many sites, and we can get reasonable readability through the new font size settings available and/or zooming. For those so inclined, the value can still be tweaked through the gsettings command line or dconf-editor. Bug #644247
* toolbar: make sure the first toolbar gets the 'primary-toolbar' classCosimo Cecchi2011-03-091-0/+2
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=644261
* ephy-window: retitle the show-downloads-bar itemDiego Escalante Urrelo2011-03-081-1/+1
|
* ephy-window: add new downloads UIDiego Escalante Urrelo2011-03-082-7/+178
| | | | | | | | | Downloads are shown per-window, imitating Chromium's bottom bar. If the window being closed has active downloads, a warning dialog will be shown just as when forms have been modified but not sent. An active download is any download that is not yet 100% complete. Bug #618443
* ephy-download-widget: new widgetDiego Escalante Urrelo2011-03-081-0/+2
| | | | | | | | A widget showing the progress of an EphyDownload and offering the default set of actions to take on it: Open, Browse to, Cancel. It keeps a ref to the EphyDownload its showing. Bug #618443
* ephy-download: add the new EphyDownload objectDiego Escalante Urrelo2011-03-087-106/+83
| | | | | | | | | | | | | | | | | EphyDownload is a wrapper object around WebKitDownload that handles common behavior in downloads: auto-destination, default action for the MIME type. It can be used to wrap a WebKitDownload coming from a WebKitView or to download a url: ephy_download_new_for_uri and ephy_download_new_for_download are provided. Its lifetime is not automagic like EphyEmbedPersist, so you have to unref it when you no longer need it. This new object replaces EphyEmbedPersist and enables us to use a single codepath for downloads in all Epiphany. Bug #618443
* ephy-file-helpers: only one downloads_dir functionDiego Escalante Urrelo2011-03-081-31/+3
| | | | | | | Remove all the ambiguity, we always throw downloads to the same place or the Desktop. Bug #618443
* ephy-window: make construct_confirm_close_dialog reusableDiego Escalante Urrelo2011-03-051-12/+16
| | | | Bug #618443
* popup-commands: indent fixDiego Escalante Urrelo2011-03-041-2/+2
| | | | Bug #618443
* prefs-dialog: use GtkBuildable id instead of nameDiego Escalante Urrelo2011-02-251-12/+7
| | | | | Using the widget name is error prone because Glade removes the name property of objects. This makes cookie configuration work again.
* Remove deprecated gtk_button_pressed/released usageAlexandre Mazari2011-02-242-2/+0
| | | | | | | | Remove useless calls to gtk_button_release. Those calls had no effect, since they were following calls to gtk_toggle_button_set_active (FALSE) doing implicit release. https://bugzilla.gnome.org/show_bug.cgi?id=628364
* ephy-window: append new tabs after parent by defaultXan Lopez2011-02-121-1/+1
| | | | | | I think this makes much more sense as a default behavior when opening a tab from an existing page, since it keeps logically related tabs together.
* ephy-window: missing g_list_freeDiego Escalante Urrelo2011-01-211-0/+1
|
* Use the new GTK_STATE_FLAG_NORMAL flagDiego Escalante Urrelo2011-01-111-1/+1
| | | | | | | Until 2.99.0 GtkStyleContext didn't have a "normal" flag, the closest thing was GTK_STATE_FLAG_ACTIVE, but it is not necessarily correct. Bug #636501
* ephy-bookmarks-editor: fix new topic selection bugVincas Dargis2011-01-111-0/+1
| | | | | | | | | | When the search entry is not empty and "New topic" is activated from the menu, the "All" topic will set for renaming instead of the new "Type a topic" node. This can cause serious data loss. Bug #518727 Signed-off-by: Diego Escalante Urrelo <descalante@igalia.com>
* The Soviet government has fallen!Xan Lopez2010-12-211-4/+4
|
* ephy-extensions-manager: fix g_variant_builder usageDiego Escalante Urrelo2010-12-161-2/+4
| | | | | | g_variant_builder_end is not needed at all. Bug #636740
* Port to gtk+ master's GtkStyleContextDiego Escalante Urrelo2010-12-153-15/+20
| | | | | | | Updates all our uses of GtkStyle stuff to the newer GtkStyleContext API. ephy-web-view porting done by Matthias Clasen <mclasen@redhat.com> Bug #636501
* prefs-dialog: enhance Fonts tab layoutDiego Escalante Urrelo2010-12-121-1/+1
| | | | | We need labels next to the buttons or after setting a custom font you won't know what setting are you configuring.
* ephy-web-view: use custom error pagesDiego Escalante Urrelo2010-12-111-74/+7
| | | | | | Show nice error pages instead of WebKitGTK+'s defaults. Bug #592667
* prefs: remove broken preferences from UIXan Lopez2010-12-091-6/+0
| | | | | | | Allow pages to use their own colors/fonts preferences have never really worked in WebKit. I'm not even sure we want this in the UI, but at the very least remove them until there's a setting in the engine to control this.
* Fix .gir generation for srcdir != builddirXan Lopez2010-12-091-1/+1
| | | | Add --includedir as needed. Diego, talk to me after class.
* ephy-web-view: make defines friendlier with introspectionDiego Escalante Urrelo2010-12-091-2/+2
| | | | | | Non prefixed names trigger lots of warnings, avoid them. Bug #636790
* ephy-bookmarks: remove unused BOOKMARKS_HIERARCHY_SEPDiego Escalante Urrelo2010-12-091-2/+0
| | | | Bug #636790
* introspection: separate Egg into another gir fileDiego Escalante Urrelo2010-12-091-8/+28
| | | | | | | | Don't mix up Epiphany and Egg prefixes into a single file. We now produce and install EphyEgg-version.gir and Epiphany-version.gir. Version being the Epiphany API version. Bug #636790
* introspection: fix wrong and missing annotationsDiego Escalante Urrelo2010-12-092-2/+25
| | | | Bug #636790
* prefs-dialog: new custom font selection UIDiego Escalante Urrelo2010-12-081-6/+29
| | | | | | | | Allow users to set custom sans, serif and monospace fonts if they don't want the defaults, which are the desktop wide settings in the org.gnome.desktop.interface schema. Bug #636761
* ephy-profile-migration: separate migration code into another binaryDiego Escalante Urrelo2010-12-072-7/+18
| | | | | | | | | | | The migration code is now in the ephy-profile-migrator binary, this means: - epiphany is not linking to NSS anymore - lib/ephy-profile-migration.c was split into: + lib/ephy-profile-migrator.c: the new ephy-profile-migrator binary + lib/ephy-profile-utils.c: convenience _ephy_profile_*_form_auth_data functions. - testing for migration is done without running ephy-profile-migrator Bug #636685
* window-commands: hackfest mooded epiphanyDiego Escalante Urrelo2010-12-061-4/+4
| | | | Party-approved-by: Comrade Xan
* window-commands: fix GtkAboutDialog property nameDiego Escalante Urrelo2010-12-061-1/+1
|
* Use gtk_paned_new() instead gtk_[h|v]paned_new()Javier Jardón2010-11-092-2/+2
|
* ephy-main: remove libnotify leftoverXan Lopez2010-11-061-4/+0
|
* Drop usage of deprecated size-request signalMatthias Classen2010-10-301-4/+21
| | | | Signed-off-by: Xan Lopez <xan@gnome.org>
* Remove libnotify dependencyXan Lopez2010-10-291-9/+0
| | | | | We are going to revamp the downloads UI to fit better in the Shell design, but for now we can just get rid of this.
* popup-commands: use the image name on Open imageDiego Escalante Urrelo2010-10-251-13/+16
| | | | | | Name the temp file "<original_name>.XXXXXX" instead of "viewimageXXXXXX.tmp". Bug #302986
* Always enable Web InspectorXan Lopez2010-10-242-10/+0
| | | | | I don't think it makes any sense to make this optional, much less to have a UI preference for it.
* Spinner changesXan Lopez2010-10-247-134/+3
| | | | | | | | | | | | | | We get rid of the spinner in the toolbar, since load information is already given by the floating status indicator inside the WebView. The only remaining spinner is the one in the tabs, which has been ported to use GtkSpinner. Get rid of EphySpinner. Fixes: https://bugzilla.gnome.org/show_bug.cgi?id=524809 (again) https://bugzilla.gnome.org/show_bug.cgi?id=598442
* Use the new GtkComboText APIsMatthias Classen2010-10-212-9/+9
| | | | Signed-off-by: Xan Lopez <xan@gnome.org>
* Plug g_file_new_for_path leaksXan Lopez2010-10-131-2/+6
|
* ephy-bookmarks: plug leakXan Lopez2010-10-121-0/+1
|
* ephy-extensions-manager: improve toggle load codeDiego Escalante Urrelo2010-10-111-10/+9
| | | | | | | g_variant_builder_end is not needed after using the builder with g_settings_set. Bug #631839
* ephy-extensions-manager: remove an always-true checkDiego Escalante Urrelo2010-10-111-2/+1
| | | | It's not really a needed check anyway.
* ephy-session: plug memory leaksXan Lopez2010-10-101-0/+3
|
* Revert "Port to GtkSpinner"Xan Lopez2010-10-103-8/+13
| | | | | | This reverts commit 98811918bc8c5065eb4b21feb35c9f4def67341f. Accidentally committed.
* ephy-extensions-manager: plug memory leakXan Lopez2010-10-101-0/+3
|
* Port to GtkSpinnerXan Lopez2010-10-093-13/+8
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=598442
* gsettings: port epiphany to gsettingsDiego Escalante Urrelo2010-10-0823-1101/+823
| | | | | | Adds our own schemas, a migration file and removes old gconf API and files. Bug #624485
* Use gtk_widget_get_preferred_size instead of gtk_widget_size_requestXan Lopez2010-10-051-1/+1
|
* Use gobject-introspection 0.9.5 syntaxXan Lopez2010-10-041-4/+6
|
* ephy-notebook: use set_group_name instead of set_groupXan Lopez2010-10-041-2/+2
| | | | The latter was removed.
* Update for latest GTK+ 3.x release.Xan Lopez2010-09-117-53/+53
|
* pdm-dialog: do not crash when clearing the passwords from prefs dialogXan Lopez2010-09-051-44/+41
| | | | | | | The code (wrongly) assumed we could only be called from withing the PDM dialog. Do some refactoring to make it more generic. Bug #606933
* GtkDialog separators are gone in GTK+ 3.xXan Lopez2010-09-054-5/+1
|
* pdm-dialog: use gtk_message_dialog_get_message_area instead of home-grown hackXan Lopez2010-09-011-18/+1
| | | | Yay.
* Adapt to GtkNotebook signal signature changesDiego Escalante Urrelo2010-07-154-5/+5
| | | | Bug #624421
* Defaults to ALL FILES on save_as dialogsJorge Kalmbach2010-07-091-1/+1
| | | | Bug #601312
* Bump GTK+ dependency to GTK+ 3.x branchXan Lopez2010-06-271-2/+2
| | | | | We require at least 2.90.4 to build, there is no support for the old 2.x versions anymore.
* popup-commands: remove unneeded includeXan Lopez2010-06-271-1/+0
|
* pdm-dialog: plug leakXan Lopez2010-06-131-2/+4
|
* pdm-dialog: nasty hack to compile with GSEAL enabledXan Lopez2010-06-131-2/+20
|
* Do not access im_context GtkEntry element directlyJavier Jardón2010-06-021-0/+4
| | | | | | Use gtk_entry_reset_im_context() instead. https://bugzilla.gnome.org/show_bug.cgi?id=595791
* ephy-location-action: don't request EXTRA_COLDiego Escalante Urrelo2010-05-291-2/+0
| | | | | | EXTRA_COL is never used in the match_func. Bug #616345
* Remove obsolete includeXan Lopez2010-05-191-1/+0
|
* Update copyright stringXan Lopez2010-05-191-1/+1
|
* ephy-find-toolbar: highlight matches on find_againDiego Escalante Urrelo2010-05-191-1/+10
| | | | | | | | Find next and Find previous where not highlighting matches when the find toolbar had been closed. We now trigger a highlight when the toolbar was hidden when the user requested to find again. Bug #611499
* ephy-find-toolbar: remove ephy_find_toolbar_find_againDiego Escalante Urrelo2010-05-191-12/+1
| | | | | | It's used only in one place. Bug #611499
* ephy-find-toolbar: rename EphyEmbedFindResult to EphyFindResultDiego Escalante Urrelo2010-05-191-18/+18
| | | | Bug #611499
* ephy-find-toolbar: simplify find next/prev functionsDiego Escalante Urrelo2010-05-191-35/+31
| | | | | | | Add EphyFindDirection enum and consolidate the code of ephy_find_toolbar_find_next() and ephy_find_toolbar_find_previous(). Bug #611499
* ephy-find-toolbar: remove useless ephy_find_toolbar_set_selectionDiego Escalante Urrelo2010-05-191-10/+2
| | | | Bug #611499
* Update the status message from within the EphyWebViewXan Lopez2010-05-191-24/+0
| | | | | There's no need anymore for the EphyWindow to do this, we can get rid of one extra roundtrip.
* Do not hardcode the statusbar context descriptionsXan Lopez2010-05-191-2/+2
| | | | | Define them in the EphyWebView header, since we'll need to create the context ids from multiple files.
* Avoid ending up with stuck URL-entry statusbar messagesXan Lopez2010-05-191-1/+7
| | | | | | | Turns out we can get two enter messages in a row followed by just one leave message, which will make the statusbar get stuck with a message forever. As a solution do not allow two enter messages to be processed unless we have gone through the corresponding leave message.
* Use a chromium-like status bar by defaultXan Lopez2010-05-196-458/+33
| | | | | | | | | | Get rid of our statusbar for good and switch to something like what Chromium uses, since it takes less vertical space. The only regression is that we lose the resize grip, but that should be re-added to GtkWindow soon. Bug #609713
* Do not create statusbar messages for navigation actionsXan Lopez2010-05-193-107/+1
| | | | They are not very useful and add clutter to the UI.
* Install introspection files in our own prefix, not g-i'sDan Winship2010-05-181-2/+2
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=618935
* ephy-embed-single: remove add_sidebar signalDiego Escalante Urrelo2010-05-141-41/+0
| | | | We removed the sidebar extension for 2.30.
* Remove popup state from the statusbarXan Lopez2010-05-133-116/+1
| | | | | The whole feature is kind of broken anyway. When we fix we'll figure out how to show it in the UI.
* ephy-statusbar: remove caret browsing indicatorXan Lopez2010-05-133-45/+0
| | | | | We now show a dialog before enabling the preference, which should be warning enough.
* Show a dialog when the user wants to enable caret browsingXan Lopez2010-05-131-0/+37
| | | | | | | Otherwise it's really simple to enable it by mistake and never notice you did, which can be very confusing. Bug #501666
* ephy-statusbar: remove lock-clicked signalXan Lopez2010-05-133-23/+0
| | | | It's unused now.
* Do not show the security status in the statusbarXan Lopez2010-05-123-54/+0
| | | | | It's already shown in the URL entry, so it's redundant. First step towards getting rid of the statusbar for good...
* Remove smooth scrolling pref from the UIXan Lopez2010-05-121-2/+0
| | | | | We'll add it back whenever we manage to add support for it in WebKitGTK+.
* ephy-session: fix thinko when restoring a multiple-window sessionXan Lopez2010-05-041-7/+9
| | | | | | We were trying to reuse the first EphyEmbed in each window, but only the first one will actually have one. Refactor the code to only attempt this on the first window.
* ephy-session: use an infobar to inform the user about session restorationXan Lopez2010-05-032-93/+196
| | | | Much nicer than a modal dialog that blocks the browser initialization.
* Move homepage loading code to EphyWebViewXan Lopez2010-05-031-25/+3
| | | | | | Create a method to make the EphyWebView load the homepage set by the user. This is in preparation for creating a signal for this action, which other code in Epiphany will need.
* Move helper function into ephy-embed-utils.cXan Lopez2010-05-031-16/+2
| | | | | | Make url_is_empty a helper function in embed/, since we'll be moving code from EphyShell into EphyEmbed that uses it and we don't want to duplicate it.
* Open URIs on new tab when middle-clicking on an history itemMario Sanchez Prada2010-04-221-9/+100
| | | | | | | | | Open the history element on a new tab while keeping the right context for the selected item with regard to the back and forward lists. Bug #611400 Signed-off-by: Xan Lopez <xan@gnome.org>
* Allow not copying history when creating a new embedMario Sanchez Prada2010-04-222-3/+6
| | | | | | | | Just added a new flag and check it before copying the history Bug #611400 Signed-off-by: Xan Lopez <xan@gnome.org>
* Change sensitiveness for history buttons when clearing the historyMario Sanchez Prada2010-04-203-5/+20
| | | | | | | | Connect to the 'cleared' signal and change the sensitivity flags Bug #539716 Signed-off-by: Xan Lopez <xan@gnome.org>
* Split EphyNavigationAction in one abstract class and two subclassesMario Sanchez Prada2010-04-208-437/+825
| | | | | | | | | | | | | | To ease understanding and further modification of the two different usages for the EphyNavigationAction class (Back/Forward and Up buttons), all the code there was split so the common one is kept in the superclass, delegating the more specific parts in the implementations of the subclasses: History (back/forward) and Up buttons. Also updated usage of this class in EphyToolbar. Bug #539716 Signed-off-by: Xan Lopez <xan@gnome.org>
* Send 'Referer' on headers sent for context menu HTTP downloadsMario Sanchez Prada2010-04-171-0/+1
| | | | | | | | | | Make sure the EphyEmbedPersist object is created specifying the EphyEmbed object, and create the network request inside of it using the URL from the associated web view as 'Referer' Bug #136292 Signed-off-by: Xan Lopez <xan@gnome.org>
* ephy-toolbar: fix leave-fullscreen item visibilityDiego Escalante Urrelo2010-04-141-0/+1
| | | | | | | | We were explicitely setting the separator and toolbar visibility but not the exit_button item. This meant the fixed_toolbar was shown but the exit_button remained hidden. Bug #611445
* Version the extensions dir with EPIPHANY_API_VERSIONXan Lopez2010-04-081-1/+1
| | | | | We were using our normal release version, which is not where they are installed.
* Duplicate strings to be used as url in the Up dropdown menuMario Sanchez Prada2010-04-071-1/+1
| | | | | | Bug #599156 Signed-off-by: Xan Lopez <xan@gnome.org>
* Improve page print implementationJose Millan Soto2010-04-071-1/+3
| | | | | | | | | Use the already existing functions we have for print preview also for printing; fixes a bunch of usability issues. Bug #609756 Signed-off-by: Xan Lopez <xan@gnome.org>
* ephy-window: fix button-press callback return valueDiego Escalante Urrelo2010-02-261-8/+4
| | | | | | | | Don't always return FALSE when is_middle_clickable or is_middle_click or middle_click_opens are FALSE. This can overwrite left_click + shift cases that are handled and hence should be TRUE. Bug #610844
* Correctly handle shit+click only in ephy-windowDiego Escalante Urrelo2010-02-261-0/+9
| | | | | | | | | | | If we handle shift+click in EphyWebView default handler then we will be preventing WebKit from getting *any* shift+click event, this breaks shift+click for extending selection. Removing that however makes shift+click browse to links just as click would do. The solution is to prevent policy_decision_required_cb to browse to the clicked link when it includes the shift modifier. Bug #610844
* Always use i18n'd Desktop and Downloads dir namesDiego Escalante Urrelo2010-02-241-2/+5
| | | | | | | | | | Otherwise preferences gets confused and also some other parts of our code put files where they shouldn't be. This was causing the default downloads destination to reset everytime the preferences dialog was opened and also causing some downloads (when "Open" is selected) to end up where they shouldn't. Bug #610721
* Change 'Enable Java' setting to 'Enable Plugins'Xan Lopez2010-02-201-1/+1
| | | | | There's really no way to completely disable Java support alone, and I think enabling/disabling plugins in general is much more useful.
* ephy-tabs-menu: show favicons instead of radiobuttons in the tabs menu.Olivier Tilloy2010-02-191-46/+29
| | | | | | Bug #405505 Signed-off-by: Xan Lopez <xan@gnome.org>
* Open links in new windows with control+shift+clickDiego Escalante Urrelo2010-02-171-6/+24
| | | | | | This should restore the old behaviour of modifiers completely. Bug #604950
* Random formatting fixesDiego Escalante Urrelo2010-02-172-6/+8
| | | | Too wide comments, some indentation.
* Remove legacy ALLOW_FIXUP flagsDiego Escalante Urrelo2010-02-156-14/+8
| | | | | | This were used by the gecko backend and nowadays are not used at all. Bug #608749
* Use accessor functions instead direct accessJavier Jardón2010-02-112-2/+2
| | | | | | | Substitute GTK_WIDGET_MAPPED() and GTK_WIDGET_REALIZED() GTK+ required version bumped to 2.19.5 https://bugzilla.gnome.org/show_bug.cgi?id=595791
* shift+control+click is not shift+clickDiego Escalante Urrelo2010-02-111-13/+18
| | | | Bug #604950
* Implemented print previewJose Millan Soto2010-02-097-563/+8
| | | | | | | | | | | | | | Created function ephy_web_view_show_print_preview, which replaces the old implementation of print preview, which was not working now. Preview is displayed in an external viewer, so print preview mode does no longer exist. All functions of the old implementation of print preview have been removed, PPViewToolbar was removed also. Also, as EphyWebView has no more a print preview mode, all functions which checked if a view was in print preview mode were modified. Bug #609021
* Clean uneeded EPHY_GET_WEBKIT_WEB_VIEW_FROM_EMBEDDiego Escalante Urrelo2010-02-024-6/+9
| | | | | | | We now have ephy_embed_get_web_view, EPHY_GET_WEBKIT_WEB_VIEW_FROM_EMBED plus EPHY_WEB_VIEW casts are useless. Bug #608749
* popup-commands: missing unrefDiego Escalante Urrelo2010-01-301-0/+1
| | | | Bug #600987
* ephy-bookmarks-import: check for possible NULL derefXan Lopez2010-01-281-1/+1
| | | | Spotted by Holger Freyther.
* extensions-manager: remove legacy XML format supportDiego Escalante Urrelo2010-01-261-134/+2
| | | | | | | This has been long gone and anything still using it probably doesn't work with the API changes in the last year anyway. Bug #607881
* extensions-manager: use GDir instead of direntDiego Escalante Urrelo2010-01-261-9/+16
| | | | Bug #607881
* ephy-window: assume windows are not popups by defaultXan Lopez2010-01-251-1/+1
| | | | | We need to refine our code to identify popups, meanwhile it's better to err on the benevolent side.
* Suggest Filename based on the mimetype and URI of the WebKitWebResourceJorge Kalmbach2010-01-231-1/+30
| | | | Bug #605479
* window-commands: remove an empty line from f007602Diego Escalante Urrelo2010-01-211-1/+1
| | | | Just a nitpick in Jorge's patch.