aboutsummaryrefslogtreecommitdiffstats
path: root/lib/widgets
Commit message (Collapse)AuthorAgeFilesLines
* Port downloads to WebKit2Carlos Garcia Campos2012-06-271-21/+91
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=678612
* embed: Move about handlers to a new fileCarlos Garcia Campos2012-06-261-1/+1
| | | | | Leaving in ephy-request-about only the code specific to the soup feature implementation.
* ephy-download-widget: add get_destination_basename_from_download() helper ↵Carlos Garcia Campos2012-06-261-11/+26
| | | | function
* ephy-download-widget: add ephy_download_widget_download_finished()Carlos Garcia Campos2012-06-252-23/+33
| | | | | It makes easier to check whether download finished, and it's compatible with WebKit2.
* Initial WebKit2 portCarlos Garcia Campos2012-06-213-0/+70
| | | | It builds and basic functionality works.
* ephy-location-entry: make it possible to hide the faviconClaudio Saavedra2012-06-202-3/+42
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=678405
* ephy-download-widget: Show bytes downloaded when the total size is unknownCarlos Garcia Campos2012-06-141-20/+54
|
* ephy-download-widget: Check the icon has changed before updating the imageCarlos Garcia Campos2012-06-131-3/+6
|
* ephy-download-widget: Don't leak the GIconCarlos Garcia Campos2012-06-131-5/+17
|
* ephy-location-entry: make parameters actual propertiesClaudio Saavedra2012-06-051-0/+112
| | | | | | So that they are bindable. https://bugzilla.gnome.org/show_bug.cgi?id=675804
* e-location-entry: make aligment pixel-perfectDiego Escalante Urrelo2012-03-311-0/+59
| | | | | | | | | | | Align the elements of the GtkEntryCompletion popup with those in the location entry. The code comes with a detailed comment and a scheme of how the aligment is done now. Because of the unhandled pixels of GtkEntryCompletion, this code might need an update if anything in GTK+ or Adwaita changes. https://bugzilla.gnome.org/show_bug.cgi?id=672927
* e-location-entry: dim URL in completion rowsDiego Escalante Urrelo2012-03-311-2/+2
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=672927
* e-location-entry: redundant ellipsize-setDiego Escalante Urrelo2012-03-311-4/+1
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=672927
* e-location-entry: make bookmark icon follow-stateDiego Escalante Urrelo2012-03-311-0/+1
| | | | | | | Makes the symbolic-icon of the completion rows change its color accordingly to the selection state. With Adwaita: black -> white. https://bugzilla.gnome.org/show_bug.cgi?id=672927
* ephy-hosts-store: listen to favicon changes in the wk databaseClaudio Saavedra2012-03-271-2/+66
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=672525
* download-widget: use the "linked" style classCosimo Cecchi2012-03-271-0/+4
| | | | | | | Link the glow and the menu buttons together by using a "linked" style class on the box containing them. https://bugzilla.gnome.org/show_bug.cgi?id=672712
* ephy-hosts-store: -1 is not a valid insertion positionClaudio Saavedra2012-03-211-1/+1
|
* ephy-history-window: add back the faviconsClaudio Saavedra2012-03-213-5/+74
| | | | | | | | Use the new webkit favicon database for favicons here. This might not work perfectly, but that's a webkitgtk issue, see https://bugs.webkit.org/show_bug.cgi?id=81665 https://bugzilla.gnome.org/show_bug.cgi?id=672480
* floating-bar: set a max-width to the labelCosimo Cecchi2012-03-141-1/+2
| | | | | | | | We don't want the floating bar to extend without boundaries in the available size, since some hyperlinks can be very long (and make the bar cover the whole screen). https://bugzilla.gnome.org/show_bug.cgi?id=671520
* ephy-history-view: add row-middle-clicked signalClaudio Saavedra2012-03-132-0/+74
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=671635
* ephy-history-window: plug a couple of leaksClaudio Saavedra2012-03-082-2/+2
|
* ephy-hosts-view: ensure "all hosts" is selected by defaultClaudio Saavedra2012-03-081-14/+28
| | | | | | If no host can be selected, always select the "all hosts" row. https://bugzilla.gnome.org/show_bug.cgi?id=671575
* ephy-host-store: add a clear() methodClaudio Saavedra2012-03-082-0/+14
| | | | | | | This adds always a default item "All sites" which, when selected, will show all urls in all hosts. https://bugzilla.gnome.org/show_bug.cgi?id=671575
* ephy-history-view: remove unneeded unselect_all()Claudio Saavedra2012-03-081-2/+1
| | | | | This breaks selection in _BROWSE mode, and we don't really need it anyway.
* ephy-hosts-view: add a method to select a given hostClaudio Saavedra2012-03-082-0/+34
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=671559
* ephy-hosts-store: sort the model by URLClaudio Saavedra2012-03-071-0/+3
| | | | | This puts "Others" to the beginning of the list and the rest alphanumerically sorted.
* ephy-history-view: properly handle button-press-eventClaudio Saavedra2012-03-071-8/+6
| | | | | So that it doesn't trigger a double-click in the first press. Use a handler instead of connecting to the signal.
* Move the host and urls views from embed to lib/widgetsXan Lopez2012-03-0711-0/+790
| | | | | Since that's their natural place. Also create a base class to hold the common code they share.
* Hook the new history to the URL entryXan Lopez2012-03-071-177/+20
| | | | | We now fetch the history from the SQL backend using a service thread, and merge the results with our old bookmark data.
* ephy-search-entry: use symbolic clear iconDiego Escalante Urrelo2012-02-081-3/+7
| | | | | | Instead of gtk+ stock icon, use the symbolic version. Respects LTR/RTL. https://bugzilla.gnome.org/show_bug.cgi?id=669131
* Get rid of EPHY_STOCK_EPHYXan Lopez2012-01-272-2/+0
| | | | | | In 99% of the cases we were using it for gtk_window_set_icon_name, which does nothing in GNOME 3. In the couple of valid use cases, just use "web-browser" directly.
* Remove EPHY_STOCK_BOOKMARKXan Lopez2012-01-271-1/+1
| | | | | Use the symbolic icon for the completion entry, I'm sure Lapo will approve.
* Remove all the lock stock iconsXan Lopez2012-01-271-0/+4
| | | | | | At this point we were only using the #defines in EphyLocationEntry to decide which symbolic icon to use, so keep that and delete everything else.
* entry: make EphyLocationEntry a GtkEntryCosimo Cecchi2012-01-202-72/+41
| | | | | | | | 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
* Move the nautilus floating bar to lib/widgetsXan Lopez2012-01-173-3/+469
| | | | And fix a couple of warnings.
* ephy-middle-clickable-tool-button: remove, it's unused nowXan Lopez2012-01-173-103/+0
|
* Fake middle clicks without gtk_button_{press,release}, which are deprecatedXan Lopez2012-01-025-0/+229
| | | | | | | | | | | | | | 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
* e-download-widget: update icon every 10%Diego Escalante Urrelo2011-12-211-0/+7
| | | | | | | | | | | In some cases trying to get the content-type of a download right at the start of the transfer won't give us useful information. To handle this case we query for the content-type and a proper icon every 10%, hoping that GIO/Soup will make a smarter guess. This is an arbitrary number that hopes to work with most cases. Bug #662059
* e-download-widget: use GIcon instead of GdkPixbufDiego Escalante Urrelo2011-12-211-19/+5
| | | | | | | GtkImage works fine with GIcon, this saves us some lines of code and allocating a GdkPixbuf. Bug #662059
* e-download: add ephy_download_get_content_typeDiego Escalante Urrelo2011-12-211-9/+5
| | | | | | | | | | This new API gets the content-type of a download using GIO, or Soup if GIO is still not available for the download. GIO is our first option since its local guesses are more reliable. Soup can be cheated by servers or confused by still too incomplete downloads. Bug #662059
* ephy-zoom-control: remove, there are no zoom toolbar items anymoreXan Lopez2011-12-154-375/+4
|
* Remove last traces of the EggToolbar codeXan Lopez2011-12-151-27/+0
|
* Use a GtkOverlay for the statusbar instead of shipping GeditOverlayClaudio Saavedra2011-12-147-1440/+1
| | | | | | | Instead of escaping the cursor, we align the overlay at the opposite side of the window. This is consistent with nautilus. https://bugzilla.gnome.org/show_bug.cgi?id=653996
* Remove some deprecated GTK+ callsClaudio Saavedra2011-11-222-4/+10
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=664120
* ephy-location-entry: remove unused includeXan Lopez2011-09-111-1/+0
|
* Use g_markup_printf_escaped when printing urisDiego Escalante Urrelo2011-08-131-5/+2
| | | | | | | This covers GtkInfoBar in ephy-web-view.c, ephy-download-widget.c and also tooltips and labels in ephy-download-widget.c Bug #649164
* ephy-download-widget: unescape tooltipsDiego Escalante Urrelo2011-07-171-1/+4
| | | | | | | In ae374ca97044684d6a33bb11ae8bccac06a85b9f we forgot about the tooltip. Bug #653690
* ephy-location-entry: use new channel-{secure,insecure} symbolic iconsXan Lopez2011-07-071-2/+2
| | | | Bug #650789
* Use the generic marshaler throughoutXan Lopez2011-06-143-7/+4
| | | | Just enough to get rid of ephy-marshal.h
* gedit-overlay: prevent underallocation warningsXan Lopez2011-06-101-2/+12
| | | | This is somewhat hacky, but we'll switch to GtkOverlay soon anyway.
* gedit-overlay: fix compiler warningXan Lopez2011-06-101-1/+1
|
* Use GtkOrientable interface instead of deprecated V/H widgetsClaudio Saavedra2011-06-093-4/+8
| | | | | | | | | | 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
* Added about:plugins support.Sergio Villar Senin2011-06-011-3/+14
| | | | | | We are now able to show a page with the list of installed plugins. Bug #575498
* ephy-location-entry: handle gracefully first callXan Lopez2011-05-221-3/+3
| | | | | The set_stock_id method is called initially with NULL to set things up.
* ephy-location-entry: use symbolic icons for security stateXan Lopez2011-05-221-12/+28
| | | | | The code should probably be cleaned up to stop using the stock-id defines, which don't make much sense anymore.
* ephy-location-entry: do not use a yellow background for secure sitesXan Lopez2011-05-222-119/+0
| | | | | Adds unneeded clutter to the entry, we'll just rely on a visible symbolic lock icon when needed.
* ephy-overlay-escaping-child: fix warningsXan Lopez2011-04-271-3/+8
|
* Slide out the status overlay when the mouse pointer goes close by.Alexandre Mazari2011-04-264-2/+367
| | | | | | | | | This introduces a GeditOverlayChild subclass, listening to parent overlay mouse events to define the escaping policy. The distance from which the widget "escapes" the mouse pointer can be set at construction time. https://bugzilla.gnome.org/show_bug.cgi?id=643909
* Remove a few GCC 4.6.0 warningsXan Lopez2011-04-212-6/+0
|
* Import latest version of Gedit's overlay code.Alexandre Mazari2011-04-193-95/+169
|
* ephy-download-widget: unescape displayed filenamesDiego Escalante Urrelo2011-03-081-4/+9
| | | | Avoid having %20 and similar things in the widget labels.
* ephy-download-widget: new widgetDiego Escalante Urrelo2011-03-085-0/+983
| | | | | | | | 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
* Small cleanup in widget's Makefile.amXan Lopez2011-02-271-2/+1
|
* Sync with upstream GeditOverlayXan Lopez2011-02-264-107/+21
|
* ephy-location-entry: add DNS prefetchingSergio Villar Senin2011-02-251-5/+54
| | | | | | | | Proactively perform DNS lookups when the user sets the cursor over an autocompleted entry in the location bar. This way the prefetching is likely to already have been resolved by the time the user actually clicks on the entry. https://bugzilla.gnome.org/show_bug.cgi?id=606087
* gedit-overlay-child: sync visible property of container and childXan Lopez2011-02-211-1/+8
| | | | | That way user can hide the inner widget and the overlay child container will be hidden automatically.
* gedit-overlay: sync with upstreamXan Lopez2011-02-201-0/+7
|
* gedit-overlay: always proxy main widget size requestXan Lopez2011-02-161-26/+4
| | | | | | | We don't want for the children to be able to overflow the main widget, it makes sense to keep them contained in the overlay. Bug #642451
* Sync with latest GeditOverlay codeXan Lopez2011-02-163-298/+51
| | | | And adapt to the new API.
* Sync with latest GeditOverlayXan Lopez2011-02-161-19/+12
|
* gedit-overlay: Fix a crash when overlay is detroyedCarlos Garcia Campos2011-02-121-6/+8
|
* Forgot these filesXan Lopez2011-02-122-0/+497
|
* Sync with upstream GeditOverlay codeXan Lopez2011-02-127-468/+243
|
* Port floating statusbar to gedit's overlay widgetXan Lopez2011-02-115-1/+1060
| | | | | | | | | | Works correctly in framed pages, and fixes a few bugs along the way (not to mention it should be more efficient since it does not redraw needlessly). The gedit code has been modified to get rid of the animation stuff we don't really need atm; we have coordinated with the gedit developers and hopefully both versions will be in sync again really soon.
* Use the new GTK_STATE_FLAG_NORMAL flagDiego Escalante Urrelo2011-01-111-5/+5
| | | | | | | 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-location-entry: GdkRGBA colors are doublesDiego Escalante Urrelo2011-01-111-2/+2
| | | | Bug #636501
* ephy-node-view: don't use gdk_cursor_unrefXan Lopez2010-12-221-1/+1
| | | | | It's deprecated since GdkCursor is a GObject now. The stuff in egg/ still needs fixing, but we'll just sync from upstream.
* Port to gtk+ master's GtkStyleContextDiego Escalante Urrelo2010-12-151-48/+52
| | | | | | | 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
* introspection: fix wrong and missing annotationsDiego Escalante Urrelo2010-12-091-10/+10
| | | | Bug #636790
* EphyLocationAction: fix potential leakJonathon Jongsma2010-12-091-0/+1
| | | | | | Free the lock_stock_id before setting a new one. https://bugzilla.gnome.org/show_bug.cgi?id=636742
* Spinner changesXan Lopez2010-10-246-1484/+0
| | | | | | | | | | | | | | 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
* ephy-node-view: use new GtkScrollable APIsXan Lopez2010-10-241-1/+1
|
* Use the new GtkComboText APIsMatthias Classen2010-10-212-6/+6
| | | | Signed-off-by: Xan Lopez <xan@gnome.org>
* Revert "Port to GtkSpinner"Xan Lopez2010-10-103-26/+1065
| | | | | | This reverts commit 98811918bc8c5065eb4b21feb35c9f4def67341f. Accidentally committed.
* Port to GtkSpinnerXan Lopez2010-10-093-1065/+26
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=598442
* ephy-spinner: fix spinner drawingXan Lopez2010-10-091-8/+1
| | | | Was using a no longer calculated rect for the drawing coordinates.
* Adapt to latest changes in the GTK+ drawing modelXan Lopez2010-10-052-36/+24
| | | | | Mostly moving from ::expose-event to ::draw, and adapting to the changes in the paint functions.
* Update for latest GTK+ 3.x release.Xan Lopez2010-09-112-9/+9
|
* lib/widgets: use cairo_fill() instead of cairo_paint()Carlos Garcia Campos2010-08-251-1/+1
|
* lib/widgets: use cairo for drawing widgetsDiego Escalante Urrelo2010-08-222-55/+45
| | | | | | Drop deprecated gdk_* drawing functions. Bug #627450
* Use accessor functions when possibleXan Lopez2010-06-131-1/+1
|
* ephy-location-entry: reenable favicons in completionDiego Escalante Urrelo2010-04-211-7/+0
| | | | | | | | | | | | | | | Favicons in the completion popup were hidden because of an ugly flashing. It turns out it is caused by gtk_entry_set_icon_from_* functions. They queue a resize if the GtkEntry is visible, hence we see this ugly flash which is actually the completion obeying to the resize. The side effect is that when you start typying a new address in the location entry, the favicon of the current location will still be displayed. The previous behaviour was to set a 'text/html' icon when the user edited the location entry. Note that such icon will disappear as soon as you activate the location entry. Bug #616345
* Use only GTK+ single includesJavier Jardón2010-04-061-1/+1
|
* Use accessor functions instead direct accessJavier Jardón2010-02-112-3/+3
| | | | | | | 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
* ephy-location-entry: disable favicons in entry for releaseXan Lopez2010-01-251-0/+5
|
* Show again favicon column in URL completion dropdownXan Lopez2010-01-151-2/+0
|
* Make EphyLocationEntry store a copy of the lock-stock-idXan Lopez2010-01-151-1/+2
| | | | | | | Otherwise we rely on the ordering of the property notifications to get a proper id instead of garbage (!). Bug #606995
* Remove redundant parameters in location-set APIDiego Escalante Urrelo2009-12-052-17/+8
| | | | | | | | | | | EphyLocationEntry, EphyLocationAction and EphyToolbar take an @adress and @typed_address parameter, while both are useful we only end up using one so we can easily decide which one to use in ephy-window.c instead of carrying both around until ephy-location-entry.c Bonus: make ephy_location_entry_set_location accept NULL as @address safely. Bug #603651
* docs: ephy-location-actionDiego Escalante Urrelo2009-12-031-6/+3
| | | | Bug #503852
* docs: ephy-tree-model-nodeDiego Escalante Urrelo2009-12-032-4/+65
| | | | Bug #503852
* docs: ephy-tree-model-sortDiego Escalante Urrelo2009-12-032-4/+36
| | | | | | Also disable incomplete documentation. Bug #503852
* docs: ephy-node-viewDiego Escalante Urrelo2009-12-032-23/+205
| | | | Bug #503852
* ephy-node-view: fix some really weird indentationDiego Escalante Urrelo2009-12-031-131/+131
|
* docs: ephy-zoom-actionDiego Escalante Urrelo2009-12-031-0/+34
|
* docs: ephy-spinnerDiego Escalante Urrelo2009-12-032-2/+11
|
* docs: ephy-zoom-controlDiego Escalante Urrelo2009-12-031-2/+19
|
* docs: ephy-location-entryDiego Escalante Urrelo2009-12-031-0/+43
| | | | bonus nitpick in ephy-zoom (just a line break)
* docs: ephy-search-entryDiego Escalante Urrelo2009-12-032-1/+19
|
* GTK+ 2.17.11 is now the required versionJavier Jardón2009-09-223-28/+37
| | | | | | | | | | | | | | | I've used all the GTK+ 2.17.11 api available, still missing: GTK_WIDGET_REALIZED (GTK_WIDGET ()) GTK_WIDGET_MAPPED (GTK_WIDGET ()) GTK_ENTRY->im_context GTK_STATUSBAR->frame GTK_STATUSBAR->label GTK_MESSAGE_DIALOG->label https://bugzilla.gnome.org/show_bug.cgi?id=595791 Signed-off-by: Xan Lopez <xan@gnome.org>
* Make the location action responsible of the modelXan Lopez2009-08-151-1/+0
| | | | | It does not make sense for the location entry to unref the model it gets as parameter.
* Add again the spinner.Xan Lopez2009-08-103-0/+179
| | | | | | | | | We need some indication in the UI of network activity when there are no tabs opened and the progress bar hasn't appeared yet in the URL entry. Re-add the spinner for now, we'll think of a better solution later. Bug #585035
* Performance: Set a fixed width on autosized cell rendererBenjamin Otte2009-07-131-0/+10
| | | | | | | | | | | | The text cell renderer in use by the url autocompletion is the only renderer that expands. As the width of the entry completion is known in advance (as big as the entry you are completing on), we can set a fixed width. Since the height of the cell renderer is hardcoded, too, the complete size of the cell renderer is known in advance and Gtk skips layouting the text to compute the size. This is a noticable performance improvement, expecially when the completion contains lots of visible entries.
* don't free title string twiceBenjamin Otte2009-07-081-1/+1
| | | | | When the url is NULL, the title was freed twice - once after giving to the GValue via ctext, once with g_free().
* ephy-location-entry: remove useless definesDiego Escalante Urrelo2009-03-271-4/+0
| | | | svn path=/trunk/; revision=8944
* ephy-location-entry: #if 0 the favicon column in completion.Xan Lopez2009-03-091-10/+10
| | | | | | | It makes the text in the completion jump like crazy, so disable until we figure out what's going on. svn path=/trunk/; revision=8866
* ephy-location-entry: use g_object_connect for mass signal connection.Xan Lopez2009-03-091-17/+12
| | | | svn path=/trunk/; revision=8865
* ephy-zoom-control: release references in dispose, not finalize.Xan Lopez2009-02-231-5/+9
| | | | svn path=/trunk/; revision=8809
* ephy-zoom-control: use G_DEFINE_TYPE, remove unneeded includes.Xan Lopez2009-02-231-37/+4
| | | | svn path=/trunk/; revision=8808
* ephy-zoom-action: use G_DEFINE_TYPE, remove unneeded includes.Xan Lopez2009-02-231-37/+5
| | | | svn path=/trunk/; revision=8807
* ephy-search-entry: remove unneeded/redundant includes.Xan Lopez2009-02-231-2/+0
| | | | svn path=/trunk/; revision=8806
* ephy-location-entry: fix security icon visibility.Xan Lopez2009-02-231-3/+8
| | | | | | | | | GtkEntry has no distinction between the visibility of the icons and the icon to be used, meaning that the way to make them invisible is to unset them. Keep a private boolean with the visibility status so we can update our icon type without altering its visibility. svn path=/trunk/; revision=8802
* Remove EphyIconEntry leftovers.Xan Lopez2009-01-221-64/+0
| | | | svn path=/trunk/; revision=8715
* Avoid adding problematic search terms with spacesGustavo Noronha Silva2009-01-201-4/+9
| | | | | | | Adding spaces to the end of the location bar was adding bad search terms. This fixes it. svn path=/trunk/; revision=8709
* Handle end of line correctly on location bar searchGustavo Noronha Silva2009-01-201-2/+12
| | | | | | | This change fixes the last character of the last search term being cut off by special casing the end of the line. svn path=/trunk/; revision=8708
* Implement multiple keyword-based AND-search for the location barGustavo Noronha Silva2009-01-202-32/+121
| | | | | | Bug #568101 svn path=/trunk/; revision=8706
* Remove $Id$ marker from source files.Xan Lopez2009-01-1616-16/+0
| | | | svn path=/trunk/; revision=8695
* Fix indentation of previous commits.Xan Lopez2009-01-161-20/+20
| | | | svn path=/trunk/; revision=8694
* Include a bookmark indication in the woohoo barDiego Escalante Urrelo2009-01-161-1/+41
| | | | | | | If the result shown in the row is a bookmark, the epiphany bookmark icon will be drawn to the right of it. svn path=/trunk/; revision=8693
* Turn the location bar into the woohoo barDiego Escalante Urrelo2009-01-161-34/+75
| | | | | | | | Enhance the completion popup by showing a two line cell containing the favicon, the title of the page and the url. On top of this, there's a bookmark indication patch. svn path=/trunk/; revision=8692
* Adapt to the modified GTK+ API.Cosimo Cecchi2009-01-022-2/+2
| | | | svn path=/trunk/; revision=8659
* Use connect_after when connecting to drag-begin so we can override theXan Lopez2009-01-011-2/+2
| | | | | | pixmap that GtkEntry sets in DnD. svn path=/trunk/; revision=8658
* Delete EphyIconEntry, it's unused.Xan Lopez2008-12-313-459/+0
| | | | svn path=/trunk/; revision=8655
* Port EphySearchEntry to use GtkEntry.Xan Lopez2008-12-312-21/+45
| | | | | | | Also fold into the widget the 'clear' icon instead of creating it twice outside. svn path=/trunk/; revision=8653
* ephy-search-entry: use G_DEFINE_TYPE.Xan Lopez2008-12-311-32/+1
| | | | svn path=/trunk/; revision=8652
* ephy-location-entry: port to use GtkEntry instead of EphyIconEntry.Xan Lopez2008-12-311-151/+153
| | | | svn path=/trunk/; revision=8649
* ephy-location-entry: remove $Id$ marker.Xan Lopez2008-12-311-1/+0
| | | | svn path=/trunk/; revision=8648
* ephy-location-entry: use G_DEFINE_TYPEXan Lopez2008-12-311-34/+4
| | | | svn path=/trunk/; revision=8647
* Update documentation for lib/widgets/ephy-spinner.cDiego Escalante Urrelo2008-11-301-83/+86
| | | | svn path=/trunk/; revision=8623
* Document lib/widgets/ephy-zoom-control.cDiego Escalante Urrelo2008-11-301-0/+17
| | | | svn path=/trunk/; revision=8622
* Minor nitpick in the .h filesDiego Escalante Urrelo2008-09-292-9/+9
| | | | svn path=/trunk/; revision=8565
* Correctly mark doc comments for parsingDiego Escalante Urrelo2008-09-291-4/+4
| | | | svn path=/trunk/; revision=8563
* Update docs for ephy-icon-entryDiego Escalante Urrelo2008-09-291-4/+12
| | | | svn path=/trunk/; revision=8559
* Sync argument names in ephy-location-entry and update docsDiego Escalante Urrelo2008-09-292-27/+56
| | | | | | | | | There were inconsistencies between the .h file and the .c file. Now all the arguments are named 'entry'. Also add documentation for ephy_location_entry_set_match_func and ephy_location_entry_set_completion. svn path=/trunk/; revision=8557
* Document lib/widgets/ephy-location-entry.cDiego Escalante Urrelo2008-09-291-0/+133
| | | | svn path=/trunk/; revision=8556
* Document lib/widgets/ephy-icon-entry.cDiego Escalante Urrelo2008-09-292-0/+33
| | | | | | | | | Functions ephy_icon_entry_pack_widget and ephy_icon_entry_get_entry. Not sure how to extract that to proper gtk-docs and stuff. Document lib/widgets/ephy-search-entry.c svn path=/trunk/; revision=8555
* Remove useless ephy-node #includeDiego Escalante Urrelo2008-09-291-2/+0
| | | | svn path=/trunk/; revision=8550
* Revert special handling of double click in the LocationEntry; bug #426349.Loic Minier2008-09-031-14/+0
| | | | svn path=/trunk/; revision=8452
* Port the location bar to use GRegex.Diego Escalante Urrelo2008-08-152-10/+51
| | | | | | | | | | | | | | Use a simple regex matching the input text, implements the same behaviour of the current bar, plus: - substring suggestions (closes: #151932) - unicode support (closes: #343906) - diacritics in topic keywords (closes: #328162) - completion on history items titles (closes: #534218) Also, of course, closes: #517960 - port the url bar to GRegex. svn path=/trunk/; revision=8419
* Remove the sort_func for the location entry.Diego Escalante Urrelo2008-08-141-20/+5
| | | | | | | It is not really needed, since the values in comparison are simple numbers that don't need any thought on top. svn path=/trunk/; revision=8416
* Make the order in which we name the cols consistent.Diego Escalante Urrelo2008-08-142-6/+6
| | | | | | | Just a minor reordering of *_col variables, no code changed. svn path=/trunk/; revision=8414
* Remove an unneeded cast to pointer.Diego Escalante Urrelo2008-08-141-3/+6
| | | | | | | | There's an uneeded GUINT_TO_POINTER in gtk_cell_layout_set_cell_data_func for extracell_data_func. We can use the le pointer to get the cols we want. svn path=/trunk/; revision=8412
* Do not do single includes in lib/widgets/, bug #536090Diego Escalante Urrelo2008-06-0417-55/+15
| | | | svn path=/trunk/; revision=8268
* Add epiphany.h. Only allow including epiphany.h; all other headers are privateChristian Persch2008-04-129-0/+36
| | | | svn path=/trunk/; revision=8211
* Make the extra column pack-end so that when we hide it when it's empty, the ↵Christian Persch2008-03-311-2/+2
| | | | | | other column expands. This makes bookmarks take up all the space instead of being truncated at the half. svn path=/trunk/; revision=8173
* Remove the ephy-spinner from the toolbar.c, there's enough feebackXan Lopez2008-03-283-179/+0
| | | | | | with the spinners in the tabs and the progress bar. (#524809) svn path=/trunk/; revision=8166
* Add Undo/Redo commands to the location entry, both in the context menuCosimo Cecchi2008-02-152-12/+98
| | | | | | and linked to the main window commands. Bug #171179. svn path=/trunk/; revision=7945
* Popup the completion dropdown menu when we're focusing the location barCosimo Cecchi2008-02-021-0/+15
| | | | | | with the cursor at the end of entry and we press down. Bug #340572. svn path=/trunk/; revision=7908
* Catch bookmarks and history in EphyLocationActionPrivate, it's smarter.Diego Escalante Urrelo2007-12-272-3/+5
| | | | | | | Fixes bug #505777. svn path=/trunk/; revision=7828
* Moves the completion_func from lib/widgets/ephy-location-entry.c toDiego Escalante Urrelo2007-12-262-101/+16
| | | | | | | | | | | src/ephy-location-action.c. Adds a function to set the completion_func in lib/widgets/ephy-location-entry.c|h. Part of bug #392979. svn path=/trunk/; revision=7821
* Add "node-middle-clicked" signal to EphyNodeView.Cosimo Cecchi2007-12-082-0/+38
| | | | | | Part of bug #385037. svn path=/trunk/; revision=7762
* Adds a EPHY_NODE_VIEW_ELLIPSIZED flag and make history window andCosimo Cecchi2007-11-192-1/+8
| | | | | | | bookmarks editor views use it to display address and title columns. Fix bug #132808. svn path=/trunk/; revision=7719
* Fix a bug in EphyNodeView which caused weird problems when setting columnsCosimo Cecchi2007-11-191-0/+5
| | | | | | | | as resizable; thanks to Kristian Rietveld for finding out the cause. Make history window columns resizable and bookmarks editor columns resizable and sortable. Part of bug #132808. svn path=/trunk/; revision=7718
* Changes g_value_set_string to g_value_take_string to avoid a leak. Also add theDiego Escalante Urrelo2007-09-301-1/+4
| | | | | | | g_value_unset calls for text and visible vars on extracell_data_func. svn path=/trunk/; revision=7509
* Make the location entry completion cells smarter, now bookmarks take the fullDiego Escalante Urrelo2007-09-301-3/+35
| | | | | | | | | | | width of the popup. Also make the extracell (titles of history entries) align to the left so it's less messy and easier to browse a lot of entries with similar titles. Almost-fixes bug #419475. svn path=/trunk/; revision=7508
* Add a somewhat tricky fix for url titles not visible on the completionDiego Escalante Urrelo2007-09-191-30/+37
| | | | | | | | | | | | | | | | | 2007-09-18 Diego Escalante Urrelo <diegoe@gnome.org> * lib/widgets/ephy-location-entry.c: Add a somewhat tricky fix for url titles not visible on the completion popup of the location entry when using a dark theme (like Darkilouche). We are using GTK_STATE_INSENSITIVE, rationale on the bug report. Fixes bug #446898. Also replaced some spaces for tabs. svn path=/trunk/; revision=7474
* Modifies the EphySearchEntry to inherit from EphyIconEntry instead ofCosimo Cecchi2007-09-102-8/+16
| | | | | | | | | | | | | | | | | | 2007-09-09 Cosimo Cecchi <cosimoc@svn.gnome.org> * lib/widgets/ephy-search-entry.c: (ephy_search_entry_get_type), (ephy_search_entry_timeout_cb), (ephy_search_entry_changed_cb), (ephy_search_entry_init), (ephy_search_entry_clear): * lib/widgets/ephy-search-entry.h: * src/bookmarks/ephy-bookmarks-editor.c: (search_entry_clear_cb), (build_search_box): Modifies the EphySearchEntry to inherit from EphyIconEntry instead of GtkEntry, to have icons on it. Adds a cleaner icon in the search entry of Bookmarks Editor. Fixes bug #463469. svn path=/trunk/; revision=7358
* Fixes bad state syncing when adding zoom controls to the toolbar. FixesCosimo Cecchi2007-09-091-0/+4
| | | | | | | | | | | | 2007-09-09 Cosimo Cecchi <cosimoc@svn.gnome.org> * lib/widgets/ephy-zoom-action.c: (connect_proxy): Fixes bad state syncing when adding zoom controls to the toolbar. Fixes bug #338005. Patch by Cyril Brulebois. svn path=/trunk/; revision=7355
* Make cursor be at the end of the URL when selecting entries from theDiego Escalante Urrelo2007-08-191-0/+1
| | | | | | | | | | | | 2007-08-19 Diego Escalante Urrelo <diegoe@gnome.org> * lib/widgets/ephy-location-entry.c: Make cursor be at the end of the URL when selecting entries from the completion popup. Fixes bug #466344. svn path=/trunk/; revision=7283
* Remove gtk version check since we now depend on 2.11.Christian Persch2007-07-101-5/+0
| | | | | | | | | | | 2007-07-10 Christian Persch <chpe@gnome.org> * lib/widgets/ephy-location-entry.c: (cursor_on_match_cb), (ephy_location_entry_set_completion): Remove gtk version check since we now depend on 2.11. svn path=/trunk/; revision=7138
* Port to new tooltips API.Christian Persch2007-07-102-28/+3
| | | | | | | | | | | | | 2007-07-10 Christian Persch <chpe@gnome.org> * lib/widgets/ephy-location-entry.c: (ephy_location_entry_finalize), (ephy_location_entry_class_init), (ephy_location_entry_construct_contents), (ephy_location_entry_init), (ephy_location_entry_set_lock_tooltip): Port to new tooltips API. svn path=/trunk/; revision=7137
* Port to new tooltips API.Christian Persch2007-07-102-63/+4
| | | | | | | | | | | 2007-07-10 Christian Persch <chpe@gnome.org> * lib/widgets/ephy-zoom-action.c: (ephy_zoom_action_class_init): * lib/widgets/ephy-zoom-control.c: (ephy_zoom_control_class_init): Port to new tooltips API. svn path=/trunk/; revision=7136
* Adds some prefixes to web_prefixes for ftp sites. Bug #422114.Diego Escalante Urrelo2007-06-011-1/+5
| | | | | | | | | | | 2007-05-31 Diego Escalante Urrelo <diegoe@gnome.org> * lib/widgets/ephy-location-entry.c: Adds some prefixes to web_prefixes for ftp sites. Bug #422114. svn path=/trunk/; revision=7062
* Copy the items on the completion list as the user moves through them. TheXan Lopez2007-05-022-2/+36
| | | | | | | | | | | | | | | | * lib/widgets/ephy-location-entry.c: * lib/widgets/ephy-location-entry.h: * src/ephy-completion-model.c: * src/ephy-completion-model.h: * src/ephy-location-action.c: Copy the items on the completion list as the user moves through them. The original input can be restored pressing Esc. The tentative completion can be made definitive pressing Left or Right. Fixes #409291, #102528 svn path=/trunk/; revision=7020
* Correct FSF address. Bug #409075, patch by John Millikin.RELEASE_2_18_0GNOME_2_18_BRANCHPOINTChristian Persch2007-03-1222-26/+26
| | | | | | | | | | 2007-03-11 Christian Persch <chpe@gnome.org> * *: Correct FSF address. Bug #409075, patch by John Millikin. svn path=/trunk/; revision=6952
* Workaround/semi-fix for bug #351814. The real cause of the problem is theDiego Escalante Urrelo2007-01-091-6/+11
| | | | | | | | | | | | | | | 2007-01-08 Diego Escalante Urrelo <diegoe@svn.gnome.org> * src/bookmarks/ephy-bookmarks-editor.c: * lib/widgets/ephy-node-view.c: Workaround/semi-fix for bug #351814. The real cause of the problem is the user_data that is never set on a GtkTreeIter, so the Ephy implementation of the tree makes it to have a stamp of 0 being that way an invalid iter. Patch by Diego Escalante Urrelo. svn path=/trunk/; revision=6796
* .cvsignore files are obsoleteChristian Persch2006-12-301-7/+0
| | | | svn path=/trunk/; revision=6768
* Show favicons in location entry drop-down. Bug #112748, patch by DiegoChristian Persch2006-12-182-3/+15
| | | | | | | | | | | | | | | | 2006-12-18 Christian Persch <chpe@cvs.gnome.org> * lib/widgets/ephy-location-entry.c: (ephy_location_entry_set_completion): * lib/widgets/ephy-location-entry.h: * src/ephy-completion-model.c: (ephy_completion_model_get_column_type), (init_favicon_col), (ephy_completion_model_get_value): * src/ephy-completion-model.h: * src/ephy-location-action.c: (connect_proxy): Show favicons in location entry drop-down. Bug #112748, patch by Diego Escalante Urrelo.
* List title and URL in location entry drop-down. Bug #169550, patch byChristian Persch2006-12-182-3/+25
| | | | | | | | | | | | | | | | 2006-12-17 Christian Persch <chpe@cvs.gnome.org> * lib/widgets/ephy-location-entry.c: (ephy_location_entry_set_completion): * lib/widgets/ephy-location-entry.h: * src/ephy-completion-model.c: (ephy_completion_model_get_column_type), (ephy_completion_model_get_value): * src/ephy-completion-model.h: * src/ephy-location-action.c: (connect_proxy): List title and URL in location entry drop-down. Bug #169550, patch by Diego Escalante Urrelo.
* Fix secure location bar colouring with dark themes. Bug #347343, patch byChristian Persch2006-12-181-2/+2
| | | | | | | | | | 2006-12-17 Christian Persch <chpe@cvs.gnome.org> * lib/widgets/ephy-location-entry.c: (ephy_location_entry_style_set): Fix secure location bar colouring with dark themes. Bug #347343, patch by Diego Escalante Urrelo.
* embed/ephy-encodings.c embed/ephy-favicon-cache.c embed/ephy-history.cBjörn Lindqvist2006-12-171-7/+3
| | | | | | | | | | | | | | | | | | 2006-12-17 Björn Lindqvist <bjourne@gmail.com> * embed/ephy-encodings.c * embed/ephy-favicon-cache.c * embed/ephy-history.c * embed/mozilla/GlobalHistory.cpp * lib/ephy-state.c * lib/widgets/ephy-node-view.c * src/ephy-tab.c * src/bookmarks/ephy-bookmarks.c Refactor lots of code by using the function ephy_node_set_property_XXX() instead of ephy_node_set_property(). Also, add emacs mode headers to touched files. Bug #381546.
* Use a define for the default window icon. Bug #385872.Christian Persch2006-12-153-2/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2006-12-15 Christian Persch <chpe@cvs.gnome.org> * embed/mozilla/ContentHandler.cpp: * embed/mozilla/GeckoPrintService.cpp: * embed/mozilla/GtkNSSClientAuthDialogs.cpp: * embed/mozilla/GtkNSSDialogs.cpp: * embed/mozilla/GtkNSSKeyPairDialogs.cpp: * embed/mozilla/GtkNSSSecurityWarningDialogs.cpp: * lib/ephy-file-chooser.c: (ephy_file_chooser_constructor): * lib/ephy-gui.c: (ephy_gui_check_location_writable): * lib/ephy-module.c: * lib/ephy-password-dialog.c: (ephy_password_dialog_constructor): * lib/ephy-spell-check.c: * lib/ephy-stock-icons.h: * lib/widgets/.cvsignore: * lib/widgets/ephy-spinner-tool-item.c: (ephy_spinner_tool_item_toolbar_reconfigured): * lib/widgets/testspinner.c: * plugins/desktop-file/plugin.cpp: * src/bookmarks/ephy-bookmarks.c: (redirect_cb): * src/ephy-history-window.c: (confirmation_dialog_construct): * src/ephy-main.c: (main): * src/ephy-session.c: (confirm_shutdown_cb), (session_command_autoresume): * src/ephy-shell.c: (ephy_shell_add_sidebar_cb): * src/ephy-toolbar-editor.c: (ephy_toolbar_editor_constructor): * src/ephy-window.c: (construct_confirm_close_dialog): * src/pdm-dialog.c: (pdm_dialog_init): * src/window-commands.c: (window_cmd_help_about): Use a define for the default window icon. Bug #385872. * lib/ephy-module.c: The symbol can be NULL even though the symbol lookup succeeded.
* Fix typoChristian Persch2006-12-051-2/+2
|
* Version 2.17.3.Christian Persch2006-12-051-60/+28
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2006-12-04 Christian Persch <chpe@cvs.gnome.org> * configure.ac: Version 2.17.3. * embed/mozilla/GtkNSSDialogs.cpp: Use NULL for gtk_label_new instead of "". * lib/ephy-print-utils.c: (ephy_print_utils_page_setup_new_from_key_file): Fix possible invalid free. * lib/widgets/ephy-spinner.c: (ephy_spinner_images_unref), (ephy_spinner_images_load), (ephy_spinner_load_images), (ephy_spinner_expose), (bump_spinner_frame_cb), (ephy_spinner_start), (ephy_spinner_stop): Fix compliance with icon theme spec by skipping the first frame in the animation when in spinning mode. Bug #382207. Try the "process-working" icon first and fall back to "gnome-spinner" when it's not available. * m4/gecko.m4: Updated. 2006-12-04 Luca Ferretti <elle.uca@libero.it>
* Lower the priority of the spinner animation so that the animation does notBenjamin Berg2006-11-181-3/+5
| | | | | | | | 2006-11-17 Benjamin Berg <benjamin@sipsolutions.net> * lib/widgets/ephy-spinner.c: (ephy_spinner_start): Lower the priority of the spinner animation so that the animation does not stop page loading. Fixes bug #374623.
* A lib/widgets/ephy-spinner-tool-item.c: AChristian Persch2006-10-181-0/+2
| | | | | | | | | | | | | | | 2006-10-17 Christian Persch <chpe@cvs.gnome.org> * lib/widgets/Makefile.am: A lib/widgets/ephy-spinner-tool-item.c: A lib/widgets/ephy-spinner-tool-item.h: * lib/widgets/testspinner.c: (change_toolbar_style_cb), (change_toolbar_icon_size_cb), (spin_toolbar_spinner_cb), (main): * src/ephy-toolbar.c: (ephy_toolbar_update_spinner), (ephy_toolbar_constructor): Add EphySpinnerToolItem which encapsulates a spinner and automatically adapts its size to toolbar style changes, and use it in EphyToolbar.
* A lib/widgets/ephy-spinner-tool-item.c: AChristian Persch2006-10-183-4/+282
| | | | | | | | | | | | | | | 2006-10-17 Christian Persch <chpe@cvs.gnome.org> * lib/widgets/Makefile.am: A lib/widgets/ephy-spinner-tool-item.c: A lib/widgets/ephy-spinner-tool-item.h: * lib/widgets/testspinner.c: (change_toolbar_style_cb), (change_toolbar_icon_size_cb), (spin_toolbar_spinner_cb), (main): * src/ephy-toolbar.c: (ephy_toolbar_update_spinner), (ephy_toolbar_constructor): Add EphySpinnerToolItem which encapsulates a spinner and automatically adapts its size to toolbar style changes, and use it in EphyToolbar.
* Fix a crash after failing to get the spinner animation or rest icons.Christian Persch2006-10-182-18/+14
| | | | | | | | | | | | 2006-10-17 Christian Persch <chpe@cvs.gnome.org> * lib/widgets/ephy-spinner.c: (ephy_spinner_images_load), (ephy_spinner_cache_get_images), (ephy_spinner_get_type), (ephy_spinner_init), (ephy_spinner_new): * lib/widgets/ephy-spinner.h: Fix a crash after failing to get the spinner animation or rest icons. Derive EphySpinner from GtkWidget not GtkEventBox.
* Fix compile warnings.Christian Persch2006-10-012-5/+4
| | | | | | | | | | 2006-10-01 Christian Persch <chpe@cvs.gnome.org> * lib/widgets/ephy-spinner.c: (ephy_spinner_images_load), (ephy_spinner_cache_get_images), (bump_spinner_frame_cb): * lib/widgets/testspinner.c: (add_spinner), (main): Fix compile warnings.
* Fix compile warnings.Christian Persch2006-10-011-6/+1
| | | | | | | | | | 2006-10-01 Christian Persch <chpe@cvs.gnome.org> * lib/widgets/ephy-spinner.c: (ephy_spinner_images_load), (ephy_spinner_cache_get_images), (bump_spinner_frame_cb): * lib/widgets/testspinner.c: (add_spinner), (main): Fix compile warnings.
* Simplify code and save some memory.Christian Persch2006-09-301-104/+111
| | | | | | | | | | | | | | | 2006-09-29 Christian Persch <chpe@cvs.gnome.org> * lib/widgets/ephy-spinner.c: (ephy_spinner_images_ref), (ephy_spinner_images_unref), (ephy_spinner_cache_data_unload), (ephy_spinner_images_load), (ephy_spinner_cache_get_images), (ephy_spinner_load_images), (ephy_spinner_unload_images), (ephy_spinner_init), (ephy_spinner_expose), (bump_spinner_frame_cb), (ephy_spinner_start), (ephy_spinner_remove_update_callback), (ephy_spinner_stop), (ephy_spinner_size_request): Simplify code and save some memory.
* Fix spinner with new g-i-t. Fixes bug #330415. Fix a crash when failing toChristian Persch2006-09-302-164/+172
| | | | | | | | | | | | | | | | 2006-09-29 Christian Persch <chpe@cvs.gnome.org> * lib/widgets/ephy-spinner.c: (ephy_spinner_images_free), (ephy_spinner_cache_data_unload), (scale_to_size), (ephy_spinner_images_load), (ephy_spinner_cache_data_new), (ephy_spinner_cache_data_free), (ephy_spinner_cache_get_images), (ephy_spinner_cache_finalize), (ephy_spinner_cache_class_init), (ephy_spinner_cache_ref), (ephy_spinner_init), (ephy_spinner_set_size), (ephy_spinner_size_request): * lib/widgets/testspinner.c: Fix spinner with new g-i-t. Fixes bug #330415. Fix a crash when failing to load some icon data, Gedit bug #357456.
* Clicking favicon in the location bar selects URL. Fix bug #349557.Jean-François Rameau2006-09-141-0/+29
| | | | | | | | | 2006-09-13 Jean-François Rameau <jframeau@cvs.gnome.org> * lib/widgets/ephy-location-entry.c: (ephy_location_entry_construct_contents), (icon_button_press_event_cb): Clicking favicon in the location bar selects URL. Fix bug #349557.
* Use UTF-8 copyright symbolChristian Persch2006-09-1320-30/+30
|
* Remove some unnecessary static data.Christian Persch2006-09-079-12/+12
| | | | | | | | 2006-09-06 Christian Persch <chpe@cvs.gnome.org> * *.c *.cpp: Remove some unnecessary static data.
* Improve the a11y theme check.Christian Persch2006-08-081-2/+2
| | | | | | | | 2006-08-07 Christian Persch <chpe@cvs.gnome.org> * lib/widgets/ephy-location-entry.c: Improve the a11y theme check.
* Reset IM context before activation. Bug #348478, patch by Nguyễn TháiChristian Persch2006-07-251-0/+1
| | | | | | | | | 2006-07-24 Christian Persch <chpe@cvs.gnome.org> * lib/widgets/ephy-location-entry.c: (match_selected_cb): Reset IM context before activation. Bug #348478, patch by Nguyễn Thái Ngọc Duy.
* When resetting the entry also emit user-changed, to restore the originalChristian Persch2006-07-201-5/+18
| | | | | | | | | | | 2006-07-20 Christian Persch <chpe@cvs.gnome.org> * lib/widgets/ephy-location-entry.c: (entry_key_press_cb), (entry_activate_after_cb), (action_activated_after_cb), (ephy_location_entry_reset_internal), (ephy_location_entry_reset): When resetting the entry also emit user-changed, to restore the original URI in the tab's property. Bug #345934.
* Work around bug #346662 by not changing selection while removing theChristian Persch2006-07-111-0/+15
| | | | | | | | | | 2006-07-10 Christian Persch <chpe@cvs.gnome.org> * lib/widgets/ephy-node-view.c: (ephy_node_view_selection_changed_cb), (ephy_node_view_remove): Work around bug #346662 by not changing selection while removing the nodes. Fixes crash with gtk 2.10.
* Fix middle-click and ctrl-enter in the location entry autocompletionChristian Persch2006-07-111-5/+61
| | | | | | | | | | | | | | 2006-07-10 Christian Persch <chpe@cvs.gnome.org> * lib/widgets/ephy-location-entry.c: (entry_key_press_cb), (entry_key_press_after_cb), (entry_activate_after_cb), (match_selected_cb), (action_activated_after_cb), (ephy_location_entry_construct_contents), (ephy_location_entry_set_completion): * src/ephy-location-action.c: (action_activated_cb): Fix middle-click and ctrl-enter in the location entry autocompletion drop-down. Bug #345934, based on a patch by johannes@sipsolutions.net.
* Improve next-token logic for bookmark completion. Fixes #339167 (hopefullyWouter Bolsterlee2006-06-051-2/+2
| | | | | | | | 2006-06-05 Wouter Bolsterlee <uws+gnome@xs4all.nl> * lib/widgets/ephy-location-entry.c: (keyword_match): Improve next-token logic for bookmark completion. Fixes #339167 (hopefully for real this time).
* Make bookmark search ignore special characters (bug 339167)Frederic Peters2006-05-301-1/+1
|
* #337140: Replace fallback favicon with more semantically correct 'text-html'Tommi Komulainen2006-04-151-3/+7
| | | | | | | | 2006-04-15 Tommi Komulainen <tommi.komulainen@iki.fi> * lib/widgets/ephy-location-entry.c (update_favicon): Replace 'stock-new' fallback favicon with more semantically correct 'text-html' It also looks better with Tango icon theme. Bug #337140
* Use g_object_ref_sink().Christian Persch2006-03-292-4/+2
| | | | | | | | | | | | | | 2006-03-28 Christian Persch <chpe@cvs.gnome.org> * embed/mozilla/EphyPromptService.cpp: * lib/egg/egg-editable-toolbar.c: (egg_editable_toolbar_set_fixed): * lib/widgets/ephy-location-entry.c: (ephy_location_entry_init): * lib/widgets/ephy-zoom-control.c: (ephy_zoom_control_init): * src/ephy-fullscreen-popup.c: (ephy_fullscreen_popup_constructor): * src/ephy-notebook.c: (ephy_notebook_init): * src/ephy-statusbar.c: (ephy_statusbar_init): Use g_object_ref_sink().
* Add a convenience function to get current event data.Christian Persch2006-01-301-2/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2006-01-29 Christian Persch <chpe@cvs.gnome.org> * lib/ephy-gui.c: (ephy_gui_get_current_event): * lib/ephy-gui.h: Add a convenience function to get current event data. * src/ephy-link.c: (ephy_link_open), (ephy_link_flags_from_current_event): * src/ephy-link.h: Add a convenience function to translate the current event into EphyLinkFlags. * src/ephy-go-action.c: (ephy_go_action_get_type): * src/ephy-go-action.h: Make this an EphyLinkAction. * lib/widgets/ephy-location-entry.c: (entry_key_press_cb): * src/ephy-home-action.c: (ephy_home_action_activate): * src/ephy-location-action.c: (entry_activate_cb): * src/ephy-tab.c: (open_link_in_new), (ephy_tab_dom_mouse_click_cb): * src/window-commands.c: (window_cmd_load_location): Fix link activation to respect ctrl and shift modifiers. Part of bug #310814. 2006-01-29 Christian Persch <chpe@cvs.gnome.org>
* When updating the address bar, always update the address state, sometimesCrispin Flowerday2006-01-231-0/+3
| | | | | | | | | | 2006-01-22 Crispin Flowerday <gnome@flowerday.cx> * lib/widgets/ephy-location-entry.c (ephy_location_entry_set_location): When updating the address bar, always update the address state, sometimes it isn't updated if the text in the GtkEntry isn't altered (and hence the 'changed' signal isn't called.
* When adding a column that can be sorted on, re-create the sort model, soCrispin Flowerday2006-01-181-0/+8
| | | | | | | | | | 2006-01-17 Crispin Flowerday <gnome@flowerday.cx> * lib/widgets/ephy-node-view.c (ephy_node_view_add_column): When adding a column that can be sorted on, re-create the sort model, so that it sets up the sort method correctly. Fixes bug #320686
* lib/ephy-file-helpers.c lib/widgets/ephy-location-entry.cCrispin Flowerday2005-11-111-1/+0
| | | | | | | | | | | 2005-11-10 Crispin Flowerday <gnome@flowerday.cx> * lib/ephy-file-helpers.c * lib/widgets/ephy-location-entry.c * src/ephy-session.c * src/bookmarks/ephy-bookmarks-import.c: Remove some unused variables
* More static strings.Christian Persch2005-11-081-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | 2005-11-08 Christian Persch <chpe@cvs.gnome.org> * embed/ephy-embed-single.c: (ephy_embed_single_iface_init): * lib/egg/eggstatusicon.c: (egg_status_icon_class_init): * lib/egg/eggtrayicon.c: (egg_tray_icon_class_init): * lib/widgets/ephy-location-entry.c: (ephy_location_entry_class_init): * src/bookmarks/ephy-bookmark-action.c: (ephy_bookmark_action_class_init): * src/bookmarks/ephy-topic-action.c: (ephy_topic_action_class_init): * src/ephy-find-toolbar.c: (ephy_find_toolbar_class_init): * src/ephy-fullscreen-popup.c: (ephy_fullscreen_popup_class_init): * src/ephy-location-action.c: (ephy_location_action_class_init): * src/ephy-python-extension.c: (ephy_python_extension_class_init): * src/ephy-session.c: (ephy_session_class_init): * src/ephy-tab.c: (ephy_tab_class_init): * src/ephy-toolbar-editor.c: (ephy_toolbar_editor_class_init): * src/ephy-toolbar.c: (ephy_toolbar_class_init): * src/ppview-toolbar.c: (ppview_toolbar_class_init): More static strings.
* Mark strings in param specs as static.Christian Persch2005-11-084-5/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2005-11-08 Christian Persch <chpe@cvs.gnome.org> * embed/ephy-embed-dialog.c: (ephy_embed_dialog_class_init): * embed/ephy-embed-persist.c: (ephy_embed_persist_class_init): * embed/ephy-history.c: (ephy_history_class_init): * embed/mozilla/mozilla-download.cpp: * lib/egg/egg-editable-toolbar.c: (egg_editable_toolbar_class_init): * lib/egg/egg-toolbar-editor.c: (egg_toolbar_editor_class_init): * lib/egg/eggstatusicon.c: (egg_status_icon_class_init): * lib/egg/eggtraymanager.c: (egg_tray_manager_class_init): * lib/ephy-dialog.c: (ephy_dialog_class_init): * lib/ephy-file-chooser.c: (ephy_file_chooser_class_init): * lib/ephy-node-db.c: (ephy_node_db_class_init): * lib/widgets/ephy-node-view.c: (ephy_node_view_class_init): * lib/widgets/ephy-tree-model-node.c: (ephy_tree_model_node_class_init): * lib/widgets/ephy-zoom-action.c: (ephy_zoom_action_class_init): * lib/widgets/ephy-zoom-control.c: (ephy_zoom_control_class_init): * src/bookmarks/ephy-bookmark-action.c: (ephy_bookmark_action_class_init): * src/bookmarks/ephy-bookmark-properties.c: (ephy_bookmark_properties_class_init): * src/bookmarks/ephy-bookmarks-editor.c: (ephy_bookmarks_editor_class_init): * src/bookmarks/ephy-new-bookmark.c: (ephy_new_bookmark_class_init): * src/bookmarks/ephy-topic-action.c: (ephy_topic_action_class_init): * src/bookmarks/ephy-topics-selector.c: (ephy_topics_selector_class_init): * src/ephy-encoding-menu.c: (ephy_encoding_menu_class_init): * src/ephy-history-window.c: (ephy_history_window_class_init): * src/ephy-location-action.c: (ephy_location_action_class_init): * src/ephy-navigation-action.c: (ephy_navigation_action_class_init): * src/ephy-notebook.c: (ephy_notebook_class_init): * src/ephy-tab.c: (ephy_tab_class_init): * src/ephy-tabs-menu.c: (ephy_tabs_menu_class_init): * src/ephy-window.c: (ephy_window_class_init): Mark strings in param specs as static.
* Simplify the drag icon code.Christian Persch2005-11-031-109/+21
| | | | | | | | | 2005-11-03 Christian Persch <chpe@cvs.gnome.org> * lib/widgets/ephy-location-entry.c: (favicon_drag_begin_cb), (ephy_location_entry_construct_contents): Simplify the drag icon code.
* Show drag icon with page title + URL when dragging from the drag handle.Christian Persch2005-11-031-0/+238
| | | | | | | | | | | | 2005-11-02 Christian Persch <chpe@cvs.gnome.org> * lib/widgets/ephy-location-entry.c: (favicon_create_drag_pixmap), (favicon_button_press_event_cb), (favicon_button_release_event_cb), (favicon_motion_notify_event_cb), (ephy_location_entry_construct_contents): Show drag icon with page title + URL when dragging from the drag handle.
* Skip spinner update when we're not loaded. Should fix bug #320079.Christian Persch2005-10-291-7/+11
| | | | | | | | | | 2005-10-29 Christian Persch <chpe@cvs.gnome.org> * lib/widgets/ephy-spinner.c: (bump_spinner_frame_cb), (ephy_spinner_start): Skip spinner update when we're not loaded. Should fix bug #320079.
* Ensure the images are loaded before starting to spin. Should fix crashesChristian Persch2005-10-091-7/+16
| | | | | | | | | * lib/widgets/ephy-spinner.c: (ephy_spinner_start), (ephy_spinner_dispose), (ephy_spinner_finalize), (ephy_spinner_class_init): Ensure the images are loaded before starting to spin. Should fix crashes on start/new tab.
* Add style properties for 'secure-[bg|fg]-color', and apply them when theChristian Persch2005-10-072-0/+106
| | | | | | | | | | | | | | | | | | | | | | | | | | | 2005-10-06 Christian Persch <chpe@cvs.gnome.org> * lib/widgets/ephy-location-entry.c: (ephy_location_entry_style_set), (ephy_location_entry_class_init), (ephy_location_entry_set_favicon), (ephy_location_entry_set_secure): * lib/widgets/ephy-location-entry.h: Add style properties for 'secure-[bg|fg]-color', and apply them when the entry is in 'secure' mode. Reset the IM context before emitting the 'activate' signal. * src/ephy-location-action.c: (sync_secure), (connect_proxy), (ephy_location_action_set_property), (ephy_location_action_get_property), (ephy_location_action_class_init): * src/ephy-toolbar.c: (ephy_toolbar_set_security_state), (ephy_toolbar_init): * src/ephy-toolbar.h: * src/ephy-window.c: (sync_chromes_visibility), (sync_tab_security): Set the location entry's 'secure' property on secure sites, and also always show the lock for secure sites.
* Remove unused code.Christian Persch2005-10-021-1/+3
| | | | | | | | 2005-10-02 Christian Persch <chpe@cvs.gnome.org> * lib/widget/ephy-spinner.c: Remove unused code.
* Don't include config.h here.Christian Persch2005-10-023-56/+362
| | | | | | | | | | | | | | | | | | | | | | | 2005-10-02 Christian Persch <chpe@cvs.gnome.org> * lib/ephy-debug.h: Don't include config.h here. * lib/widgets/ephy-spinner.c: (ephy_spinner_cache_data_unload), (ephy_spinner_cache_data_load), (ephy_spinner_cache_data_new), (ephy_spinner_cache_data_free), (ephy_spinner_cache_get_images), (ephy_spinner_cache_init), (ephy_spinner_cache_finalize), (ephy_spinner_load_images), (ephy_spinner_init), (bump_spinner_frame_cb), (ephy_spinner_start), (ephy_spinner_set_timeout), (ephy_spinner_finalize), (ephy_spinner_screen_changed), (ephy_spinner_class_init): Make spinner multihead safe. * lib/widgets/testspinner.c: Add a tiny spinner test program.
* Don't spin unmapped spinners. Slightly decrease the frequency. Might helpChristian Persch2005-10-021-4/+45
| | | | | | | | | | | 2005-10-01 Christian Persch <chpe@cvs.gnome.org> * lib/widgets/ephy-spinner.c: (ephy_spinner_init), (ephy_spinner_start), (ephy_spinner_stop), (ephy_spinner_map), (ephy_spinner_unmap), (ephy_spinner_class_init): Don't spin unmapped spinners. Slightly decrease the frequency. Might help with bug #315232.
* Reset the IM context before activating the entry.Christian Persch2005-10-012-5/+10
| | | | | | | | | | | | | 2005-10-01 Christian Persch <chpe@cvs.gnome.org> * lib/widgets/ephy-location-entry.c: (entry_key_press_cb): Reset the IM context before activating the entry. * lib/widgets/ephy-node-view.c: (ephy_node_view_key_press_cb): * src/ephy-find-toolbar.c: (tab_search_key_press_cb): Add GDK_ISO_Enter to recognised keyvals.
* Version 1.9.Christian Persch2005-08-291-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | 2005-08-28 Christian Persch <chpe@cvs.gnome.org> * ChangeLog-20050828: * Makefile.am: * autogen.sh: * configure.ac: * data/Makefile.am: * data/epiphany-1.10.pc.in: * data/epiphany-1.8.pc.in: * doc/reference/Makefile.am: * embed/Makefile.am: * embed/mozilla/Makefile.am: * lib/Makefile.am: * lib/egg/Makefile.am: * lib/ephy-dbus.c: (session_filter_func), (system_filter_func), (ephy_dbus_connect_to_session_bus), (ephy_dbus_disconnect_bus): * lib/widgets/Makefile.am: * src/Makefile.am: * src/bookmarks/Makefile.am: Version 1.9.
* Add switch to disable focus fix, and to disable PSM. Error out if PSMChristian Persch2005-08-082-0/+10
| | | | | | | | | | | | | | | | | | | 2005-08-07 Christian Persch <chpe@cvs.gnome.org> * configure.ac: Add switch to disable focus fix, and to disable PSM. Error out if PSM isn't found but --disable-psm not given. Should prevent accidental compilation without PSM. * lib/widgets/ephy-icon-entry.c: (ephy_icon_entry_get_entry): * lib/widgets/ephy-icon-entry.h: Add ephy_icon_entry_get_entry. * src/epiphany.defs: Updated python bindings.
* No need to add focus_width to borders anymore. Now we get the same heightChristian Persch2005-08-031-6/+0
| | | | | | | | | 2005-08-03 Christian Persch <chpe@cvs.gnome.org> * lib/widgets/ephy-icon-entry.c: (ephy_icon_entry_get_borders): No need to add focus_width to borders anymore. Now we get the same height as a normal entry.
* Use the entry's style's [xy]thickness, not our own. Fixes rendering withChristian Persch2005-08-031-25/+33
| | | | | | | | | | 2005-08-03 Christian Persch <chpe@cvs.gnome.org> * lib/widgets/ephy-icon-entry.c: (ephy_icon_entry_get_borders), (ephy_icon_entry_size_allocate): Use the entry's style's [xy]thickness, not our own. Fixes rendering with current Clearlooks engine.
* A lib/widgets/testiconentry.c: A lib/widgets/ephy-icon-entry.c: AChristian Persch2005-08-035-92/+524
| | | | | | | | | | | | | | | | | | | | | | | | | | | 2005-08-03 Christian Persch <chpe@cvs.gnome.org> * lib/widgets/Makefile.am: A lib/widgets/testiconentry.c: A lib/widgets/ephy-icon-entry.c: A lib/widgets/ephy-icon-entry.h: New widget, looks like a GtkEntry with icons inside. * lib/widgets/ephy-location-entry.c: (ephy_location_entry_set_tooltip), (update_address_state), (match_selected_cb), (entry_clear_activate_cb), (entry_populate_popup_cb), (ephy_location_entry_construct_contents), (ephy_location_entry_set_completion), (ephy_location_entry_set_location), (ephy_location_entry_get_location), (ephy_location_entry_reset), (ephy_location_entry_activate), (ephy_location_entry_get_entry), (ephy_location_entry_set_show_lock): Use EphyIconEntry. Fixes location entry drawing with new GNOME default theme (Clearlooks), and should also fix drawing with all themes, except those which draw inside-focus on entries even when the entry has no frame.
* Fix location entry favicon updating.Christian Persch2005-08-011-1/+3
| | | | | | | | 2005-07-31 Christian Persch <chpe@cvs.gnome.org> * lib/widgets/ephy-location-entry.c: Fix location entry favicon updating.
* Fix ESC behaviour to always stop, and to reset the location entry whenChristian Persch2005-07-262-44/+155
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2005-07-24 Christian Persch <chpe@cvs.gnome.org> * data/ui/epiphany-ui.xml: * lib/widgets/ephy-location-entry.c: (ephy_location_entry_finalize), (update_address_state), (update_favicon), (editable_changed_cb), (entry_button_press_cb), (match_selected_cb), (entry_key_press_cb), (ephy_location_entry_construct_contents), (ephy_location_entry_set_location), (ephy_location_entry_reset), (ephy_location_entry_set_favicon): * lib/widgets/ephy-location-entry.h: * src/ephy-location-action.c: (entry_activate_cb), (user_changed_cb), (sync_address), (connect_proxy), (ephy_location_action_set_property), (ephy_location_action_finalize), (ephy_location_action_set_address): * src/ephy-location-action.h: * src/ephy-lockdown.c: (update_location_editable): * src/ephy-tab.c: (ephy_tab_get_typed_address): * src/ephy-toolbar.c: (ephy_toolbar_set_location): * src/ephy-toolbar.h: * src/ephy-window.c: (ephy_window_key_press_event), (sync_tab_address), (ephy_window_set_active_tab), (modal_alert_cb): * src/epiphany.defs: * src/window-commands.c: (window_cmd_view_stop): Fix ESC behaviour to always stop, and to reset the location entry when it's focused only. Reset the location entry favicon to the stock icon when the address shown is != the tab's address. When switching tab, preserve the selection if it was owned by the location entry. Fixes bug #155824.
* Check all selected nodes if they allow dragging.Christian Persch2005-07-121-1/+39
| | | | | | | | | | | | | | | | | | | 2005-07-11 Christian Persch <chpe@cvs.gnome.org> * lib/widgets/ephy-node-view.c: (check_node_is_drag_source), (can_drag_selection), (button_release_cb), (motion_notify_cb): Check all selected nodes if they allow dragging. * src/bookmarks/ephy-bookmarks-editor.c: (ephy_bookmarks_editor_update_menu), (key_pressed_cb): Don't allow to delete or rename local sites, or to put them on the bookmarks bar. * src/bookmarks/ephy-bookmarks.c: (ephy_bookmarks_init): Fix capitalisation.
* Implement a way to disallow dragging from resp. dropping on certain nodes.Christian Persch2005-07-111-12/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2005-07-10 Christian Persch <chpe@cvs.gnome.org> * lib/ephy-node-common.h: * lib/ephy-node.c: (ephy_node_new_with_id), (ephy_node_signal_disconnect), (ephy_node_set_is_drag_source), (ephy_node_get_is_drag_source), (ephy_node_set_is_drag_dest), (ephy_node_get_is_drag_dest): * lib/ephy-node.h: * lib/widgets/ephy-node-view.c: (drag_motion_cb), (drag_data_received_cb): Implement a way to disallow dragging from resp. dropping on certain nodes. * src/bookmarks/ephy-bookmarks-editor.c: (ephy_bookmarks_editor_update_menu): * src/bookmarks/ephy-bookmarks.c: (save_filter), (save_filter_local), (ephy_bookmarks_save), (update_bookmark_keywords), (bookmark_is_categorized), (resolve_cb), (browse_cb), (ephy_local_bookmarks_init), (ephy_local_bookmarks_stop), (ephy_bookmarks_init), (ephy_bookmarks_finalize), (ephy_bookmarks_get_topic_uri), (ephy_bookmarks_find_keyword), (ephy_bookmarks_get_favorites), (ephy_bookmarks_get_local): * src/bookmarks/ephy-bookmarks.h: Implement "Local Sites" topic, filled with zeroconf-discovered bookmarks. Patch by Bastien Nocera, fixes bug #144969.
* Uppercase letters shouldn't breaks history autocompletion. Fix BugJean-François Rameau2005-07-101-2/+2
| | | | | | | | | 2005-07-09 Jean-François Rameau <jframeau@cvs.gnome.org> * lib/widgets/ephy-location-entry.c: (completion_func): Uppercase letters shouldn't breaks history autocompletion. Fix Bug #308236.
* More constification.Christian Persch2005-04-193-7/+6
| | | | | | | | | | | | | | | | | | | | | | | 2005-04-19 Christian Persch <chpe@cvs.gnome.org> * lib/egg/egg-editable-toolbar.c: (create_dock): * lib/egg/egg-toolbar-editor.c: (editor_create_item), (update_editor_sheet): * lib/ephy-file-helpers.c: (ephy_file): * lib/widgets/ephy-location-entry.c: (ephy_location_entry_construct_contents): * lib/widgets/ephy-node-view.c: (ephy_node_view_enable_drag_dest), (ephy_node_view_enable_drag_source): * lib/widgets/ephy-node-view.h: * src/ephy-encoding-menu.c: (ephy_encoding_menu_set_window): * src/ephy-history-window.c: (ephy_history_window_construct): * src/ephy-main.c: * src/ephy-notebook.c: (ephy_notebook_init), (ephy_notebook_add_tab): * src/ppview-toolbar.c: * src/window-commands.c: (window_cmd_help_about): More constification.
* Restore original URL when pressing ESC. Fixes bug #171179.Christian Persch2005-04-112-0/+34
| | | | | | | | | | | | 2005-04-10 Christian Persch <chpe@cvs.gnome.org> * lib/widgets/ephy-location-entry.c: (entry_key_press_cb), (ephy_location_entry_construct_contents), (ephy_location_entry_get_location), (ephy_location_entry_restore_location): * lib/widgets/ephy-location-entry.h: Restore original URL when pressing ESC. Fixes bug #171179.
* Remove custom search, and use gtktreeview typeaheadfind. Fixes bugChristian Persch2005-03-141-18/+9
| | | | | | | | | | | | 2005-03-14 Christian Persch <chpe@cvs.gnome.org> * lib/ephy-gui.c: (ephy_gui_is_middle_click): * lib/ephy-gui.h: * lib/widgets/ephy-node-view.c: (ephy_node_view_key_press_cb), (ephy_node_view_add_column), (ephy_node_view_init): Remove custom search, and use gtktreeview typeaheadfind. Fixes bug #118107.
* Don't set the lock icon as drag source. Actually emit the lock-clickedChristian Persch2005-02-062-14/+31
| | | | | | | | | | | | | | | | | | | 2005-02-06 Christian Persch <chpe@cvs.gnome.org> * lib/widgets/ephy-location-entry.c: (ephy_location_entry_class_init), (lock_button_press_event_cb), (ephy_location_entry_construct_contents): Don't set the lock icon as drag source. Actually emit the lock-clicked signal when pressed. * lib/widgets/ephy-location-entry.h: * src/ephy-location-action.c: (lock_clicked_cb), (connect_proxy), (ephy_location_action_class_init): * src/ephy-location-action.h: * src/ephy-toolbar.c: (lock_clicked_cb), (ephy_toolbar_set_window): Actually forward the lock-clicked signal to the toolbar.
* Set "Clear" context menu entry insensitive in lockdown mode. Fixes bugChristian Persch2005-02-021-0/+3
| | | | | | | | | 2005-02-01 Christian Persch <chpe@cvs.gnome.org> * lib/widgets/ephy-location-entry.c: (entry_populate_popup_cb): Set "Clear" context menu entry insensitive in lockdown mode. Fixes bug #165540.
* Add ; to all LOG statements, and adapt ephy-debug.h for non-GNUC-varargsChristian Persch2005-01-294-10/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2005-01-28 Christian Persch <chpe@cvs.gnome.org> * doc/reference/tmpl/ephy-embed.sgml: * embed/ephy-embed-persist.c: (ephy_embed_persist_init), (ephy_embed_persist_finalize): * embed/ephy-embed-shell.c: (ephy_embed_shell_finalize): * embed/ephy-encodings.c: (ephy_encodings_finalize), (ephy_encodings_init): * embed/ephy-favicon-cache.c: (ephy_favicon_cache_finalize), (favicon_download_completed_cb), (favicon_download_cancelled_cb), (ephy_favicon_cache_download), (ephy_favicon_cache_get): * embed/ephy-history.c: (ephy_history_set_enabled), (ephy_history_save), (ephy_history_finalize), (ephy_history_host_visited), (ephy_history_set_page_title), (ephy_history_set_icon), (ephy_history_clear): * embed/mozilla/ContentHandler.cpp: * embed/mozilla/EphyBrowser.cpp: * embed/mozilla/EphyContentPolicy.cpp: * embed/mozilla/EphyHeaderSniffer.cpp: * embed/mozilla/EphyHistoryListener.cpp: * embed/mozilla/EphySidebar.cpp: * embed/mozilla/EphySingle.cpp: * embed/mozilla/FilePicker.cpp: * embed/mozilla/GtkNSSClientAuthDialogs.cpp: * embed/mozilla/GtkNSSKeyPairDialogs.cpp: * embed/mozilla/MozDownload.cpp: * embed/mozilla/PrintingPromptService.cpp: * embed/mozilla/mozilla-download.cpp: * embed/mozilla/mozilla-embed-event.cpp: * lib/ephy-dbus.c: (session_filter_func), (system_filter_func), (ephy_dbus_connect_to_system_bus), (ephy_dbus_connect_to_session_bus), (path_message_func), (ephy_dbus_startup), (ephy_dbus_shutdown), (ephy_dbus_init), (ephy_dbus_finalize): * lib/ephy-debug.h: * lib/ephy-file-chooser.c: (ephy_file_chooser_finalize): * lib/ephy-file-helpers.c: (ephy_file_helpers_shutdown): * lib/ephy-langs.c: (load_iso_entries): * lib/ephy-module.c: (ephy_module_load), (ephy_module_unload), (ephy_module_new_object), (ephy_module_init), (ephy_module_finalize): * lib/ephy-node-db.c: (ephy_node_db_load_from_file), (ephy_node_db_write_to_xml_valist): * lib/ephy-shlib-loader.c: (ephy_shlib_loader_init), (ephy_shlib_loader_finalize): * lib/widgets/ephy-location-entry.c: (entry_style_set_cb), (entry_realize_cb), (ephy_location_entry_construct_contents), (ephy_location_entry_init): * lib/widgets/ephy-spinner.c: (ephy_spinner_cache_load), (ephy_spinner_cache_get_images), (ephy_spinner_cache_init), (ephy_spinner_cache_finalize): * lib/widgets/ephy-tree-model-node.c: (ephy_tree_model_node_update_node): * lib/widgets/ephy-tree-model-sort.c: (each_property_get_data_binder): * src/bookmarks/ephy-bookmark-action.c: (create_tool_item), (connect_proxy), (ephy_bookmark_action_finalize): * src/bookmarks/ephy-bookmark-properties.c: (ephy_bookmark_properties_set_bookmark), (set_window_icon): * src/bookmarks/ephy-bookmarks-editor.c: (ephy_bookmarks_editor_update_menu), (provide_favicon): * src/bookmarks/ephy-bookmarks-export.c: (ephy_bookmarks_export_rdf), (ephy_bookmarks_export_mozilla): * src/bookmarks/ephy-bookmarks-import.c: (ephy_bookmarks_import): * src/bookmarks/ephy-bookmarks-menu.c: (ephy_bookmarks_menu_rebuild), (do_update_cb), (bookmarks_tree_changed_cb), (topics_added_cb), (topics_removed_cb), (topic_child_changed_cb), (bookmark_added_cb), (bookmark_removed_cb), (activate_cb), (ephy_bookmarks_menu_finalize): * src/bookmarks/ephy-bookmarks.c: (ephy_bookmarks_get_toolbars_model), (ephy_bookmarks_save), (ephy_bookmarks_finalize), (ephy_bookmarks_find_keyword), (ephy_bookmarks_set_keyword), (ephy_bookmarks_unset_keyword): * src/bookmarks/ephy-bookmarksbar-model.c: (save_changes_idle), (load_toolbars), (ephy_bookmarksbar_model_init), (ephy_bookmarksbar_model_dispose), (ephy_bookmarksbar_model_finalize): * src/bookmarks/ephy-bookmarksbar.c: (ephy_bookmarksbar_action_request), (ephy_bookmarksbar_finalize): * src/bookmarks/ephy-favorites-menu.c: (ephy_favorites_menu_rebuild): * src/bookmarks/ephy-new-bookmark.c: (ephy_new_bookmark_set_title): * src/bookmarks/ephy-topic-action.c: (connect_proxy): * src/bookmarks/ephy-topics-selector.c: (ephy_topics_selector_set_bookmark): * src/ephy-encoding-menu.c: (add_action): * src/ephy-extensions-manager.c: (ephy_extensions_manager_load), (ephy_extensions_manager_unload), (ephy_extensions_manager_load_string), (get_loader_for_type), (load_extension), (unload_extension), (sync_loaded_extensions), (ephy_extensions_manager_load_dir), (ephy_extensions_manager_init), (ephy_extensions_manager_startup), (ephy_extensions_manager_finalize), (impl_attach_window), (impl_detach_window), (impl_attach_tab), (impl_detach_tab): * src/ephy-history-window.c: (setup_filters), (provide_favicon): * src/ephy-link.c: (ephy_link_open): * src/ephy-location-action.c: (user_changed_cb), (sync_address), (ephy_location_action_set_address): * src/ephy-navigation-action.c: (menu_activated_cb), (connect_proxy): * src/ephy-notebook.c: (ephy_notebook_finalize): * src/ephy-session.c: (window_focus_in_event_cb), (impl_attach_window), (impl_detach_window), (ephy_session_init), (ephy_session_dispose), (ephy_session_finalize), (ephy_session_autoresume), (ephy_session_close), (ephy_session_save), (ephy_session_load), (ephy_session_add_window), (ephy_session_remove_window): * src/ephy-shell.c: (save_yourself_cb), (die_cb), (ephy_shell_finalize), (ephy_shell_new_tab), (ephy_shell_get_toolbars_model), (toolwindow_show_cb), (toolwindow_hide_cb): * src/ephy-tab.c: (popups_manager_add), (popups_manager_add_window), (ephy_tab_get_popups_allowed), (popups_manager_show_all), (popups_manager_hide_all), (ephy_tab_finalize), (ephy_tab_address_cb), (ephy_tab_zoom_changed_cb), (ephy_tab_new_window_cb), (ephy_tab_visibility_cb), (ephy_tab_destroy_brsr_cb), (ephy_tab_size_to_cb), (ephy_tab_dom_mouse_click_cb), (ephy_tab_init): * src/ephy-tabs-menu.c: (ephy_tabs_menu_update): * src/ephy-toolbar.c: (sync_user_input_cb): * src/ephy-toolbars-model.c: (save_changes_idle), (ephy_toolbars_model_load): * src/ephy-window.c: (ephy_window_destroy), (show_embed_popup), (ephy_window_init), (ephy_window_finalize): * src/pdm-dialog.c: (pdm_dialog_cookies_construct), (cookie_added_cb), (cookie_changed_cb), (cookie_deleted_cb), (cookies_cleared_cb), (pdm_dialog_passwords_construct), (passwords_changed_cb): * src/prefs-dialog.c: (fonts_language_changed_cb): Add ; to all LOG statements, and adapt ephy-debug.h for non-GNUC-varargs case.
* Add proper _NETSCAPE_URL drag support, supplying the URL as well as theJorn Baayen2005-01-224-65/+97
| | | | | | | | | | | | | | | | | | | | | | | | | 2005-01-21 Jorn Baayen <jbaayen@gnome.org> * lib/widgets/ephy-node-view.c: (ephy_node_view_add_column), (ephy_node_view_enable_drag_source): * lib/widgets/ephy-node-view.h: * lib/widgets/ephy-tree-model-sort.c: (ephy_tree_model_sort_init), (ephy_tree_model_sort_multi_row_draggable), (ephy_tree_model_sort_set_base_drag_column_id), (ephy_tree_model_sort_set_extra_drag_column_id), (each_property_get_data_binder): * lib/widgets/ephy-tree-model-sort.h: * src/bookmarks/ephy-bookmark-action.c: (drag_data_get_cb): * src/bookmarks/ephy-bookmarks-editor.c: (ephy_bookmarks_editor_construct): * src/bookmarks/ephy-topics-selector.c: (ephy_topics_selector_constructor): * src/ephy-encoding-dialog.c: (ephy_encoding_dialog_init): * src/ephy-history-window.c: (ephy_history_window_construct): Add proper _NETSCAPE_URL drag support, supplying the URL as well as the title. As a side effect most data_columns in NodeViews have been obsoleted. Fixes #163937.
* Don't focus the combo on click.Christian Persch2005-01-151-0/+1
| | | | | | | | 2005-01-14 Christian Persch <chpe@cvs.gnome.org> * lib/widgets/ephy-zoom-control.c: (ephy_zoom_control_init): Don't focus the combo on click.
* Add GDK_ACTION_ASK, and prefer _NETSCAPE_URL over uri-list drag types.Jorn Baayen2005-01-142-5/+5
| | | | | | | | | | | | | | | | 2005-01-14 Jorn Baayen <jbaayen@gnome.org> * lib/widgets/ephy-location-entry.c: (ephy_location_entry_construct_contents): * lib/widgets/ephy-node-view.c: (motion_notify_cb): * src/bookmarks/ephy-bookmark-action.c: (drag_motion_cb): * src/bookmarks/ephy-bookmarks-editor.c: * src/ephy-history-window.c: Add GDK_ACTION_ASK, and prefer _NETSCAPE_URL over uri-list drag types. This is to match the new Nautilus _NETSCAPE_URL DnD behaviour. Fixes #163937.
* Add favicon and lock icon to the entry. Fixes bug #116482 and bug #149506.Christian Persch2005-01-142-12/+149
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 2005-01-14 Christian Persch <chpe@cvs.gnome.org> * lib/widgets/ephy-location-entry.c: (ephy_location_entry_set_tooltip), (ephy_location_entry_finalize), (ephy_location_entry_class_init), (modify_background), (entry_style_set_cb), (entry_realize_cb), (ephy_location_entry_construct_contents), (ephy_location_entry_init), (ephy_location_entry_set_favicon), (ephy_location_entry_set_show_lock), (ephy_location_entry_set_lock_stock), (ephy_location_entry_set_lock_tooltip): * lib/widgets/ephy-location-entry.h: * src/ephy-fullscreen-popup.c: (ephy_fullscreen_popup_constructor): * src/ephy-location-action.c: (sync_icon), (sync_lock_stock_id), (sync_lock_tooltip), (sync_show_lock), (connect_proxy), (ephy_location_action_set_property), (ephy_location_action_get_property), (ephy_location_action_class_init), (ephy_location_action_finalize): * src/ephy-toolbar.c: (ephy_toolbar_set_security_state), (ephy_toolbar_set_lock_visibility), (ephy_toolbar_constructor): * src/ephy-toolbar.h: * src/ephy-window.c: (sync_chromes_visibility): Add favicon and lock icon to the entry. Fixes bug #116482 and bug #149506. Change "Exit Fullscreen" to "Leave Fullscreen" as per HIG, part of bug #153270.
* Add Toolbar toggle to document context menu in fullscreen mode.Christian Persch2005-01-133-17/+19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2005-01-12 Christian Persch <chpe@cvs.gnome.org> * data/ui/epiphany-ui.xml: Add Toolbar toggle to document context menu in fullscreen mode. * lib/egg/egg-editable-toolbar.c: (set_fixed_style), (update_fixed), (egg_editable_toolbar_set_fixed): * lib/egg/egg-editable-toolbar.h: Changed to allow setting a toolbar as fixed, not just one item. * lib/widgets/ephy-search-entry.h: Add _ prefixed struct declarations. * po/POTFILES.in: Updated. * src/Makefile.am: A src/ephy-fullscreen-popup.c: A src/ephy-fullscreen-popup.h: * src/ephy-history-window.c: * src/ephy-shell.c: (ephy_shell_new_tab): A src/ephy-toolbar.c: A src/ephy-toolbar.h: * src/ephy-window.c: (destroy_fullscreen_popup), (ephy_window_destroy), (exit_fullscreen_clicked_cb), (get_toolbar_visibility), (sync_chromes_visibility), (ephy_window_fullscreen), (ephy_window_unfullscreen), (sync_tab_address), (sync_tab_icon), (sync_tab_navigation), (sync_tab_security), (sync_tab_load_status), (sync_tab_zoom), (show_embed_popup), (modal_alert_cb), (ephy_window_focus_in_event), (ephy_window_focus_out_event), (ephy_window_init), (ephy_window_activate_location): R src/toolbar.c: R src/toolbar.h: * src/window-commands.c: (window_cmd_load_location): Implemented in-toolbar exit button, and integrated status indicator in the exit fullscreen popup. Moved toolbar.[ch] to ephy-toolbar.[ch] for namespace correcness, and much-needed code cleanup.
* Make all structs prefixed by _.Christian Persch2005-01-0912-20/+20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2005-01-08 Christian Persch <chpe@cvs.gnome.org> * embed/ephy-cookie-manager.h: * embed/ephy-download.c: * embed/ephy-download.h: * embed/ephy-embed-dialog.c: * embed/ephy-embed-dialog.h: * embed/ephy-embed-persist.c: * embed/ephy-embed-persist.h: * embed/ephy-encodings.c: * embed/ephy-encodings.h: * embed/ephy-favicon-cache.c: * embed/ephy-favicon-cache.h: * embed/ephy-history.c: * embed/ephy-history.h: * embed/ephy-password-manager.h: * embed/ephy-permission-manager.h: * lib/ephy-file-chooser.c: * lib/ephy-file-chooser.h: * lib/ephy-node-db.c: * lib/ephy-node-db.h: * lib/ephy-node-filter.c: * lib/ephy-node-filter.h: * lib/ephy-node.c: * lib/ephy-node.h: * lib/widgets/ephy-node-view.c: * lib/widgets/ephy-node-view.h: * lib/widgets/ephy-search-entry.c: * lib/widgets/ephy-search-entry.h: * lib/widgets/ephy-spinner.c: * lib/widgets/ephy-spinner.h: * lib/widgets/ephy-tree-model-node.c: * lib/widgets/ephy-tree-model-node.h: * lib/widgets/ephy-tree-model-sort.c: * lib/widgets/ephy-tree-model-sort.h: * lib/widgets/ephy-zoom-action.c: * lib/widgets/ephy-zoom-action.h: * src/bookmarks/ephy-bookmark-properties.c: * src/bookmarks/ephy-bookmark-properties.h: * src/bookmarks/ephy-bookmarks-editor.c: * src/bookmarks/ephy-bookmarks-editor.h: * src/bookmarks/ephy-bookmarks.c: * src/bookmarks/ephy-bookmarks.h: * src/bookmarks/ephy-bookmarksbar-model.c: * src/bookmarks/ephy-bookmarksbar-model.h: * src/bookmarks/ephy-bookmarksbar.c: * src/bookmarks/ephy-bookmarksbar.h: * src/bookmarks/ephy-new-bookmark.c: * src/bookmarks/ephy-new-bookmark.h: * src/bookmarks/ephy-topics-selector.c: * src/bookmarks/ephy-topics-selector.h: * src/ephy-completion-model.c: * src/ephy-completion-model.h: * src/ephy-encoding-dialog.c: * src/ephy-encoding-dialog.h: * src/ephy-history-window.c: * src/ephy-history-window.h: Make all structs prefixed by _.
* Unify the location and favicon actions.Christian Persch2005-01-082-29/+138
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2005-01-08 Christian Persch <chpe@cvs.gnome.org> * data/ui/epiphany-toolbar.xml: * lib/ephy-marshal.list: * lib/ephy-signal-accumulator.c: (ephy_signal_accumulator_string): * lib/ephy-signal-accumulator.h: * lib/widgets/ephy-location-entry.c: (ephy_location_entry_set_tooltip), (ephy_location_entry_class_init), (editable_changed_cb), (each_url_get_data_binder), (favicon_drag_data_get_cb), (ephy_location_entry_construct_contents), (ephy_location_entry_activate), (ephy_location_entry_get_entry), (ephy_location_entry_get_image): * lib/widgets/ephy-location-entry.h: * src/Makefile.am: * src/ephy-favicon-action.c: * src/ephy-favicon-action.h: * src/ephy-location-action.c: (sync_address), (sync_editable), (sync_icon), (get_location_cb), (get_title_cb), (remove_completion_actions), (add_completion_actions), (connect_proxy), (disconnect_proxy), (ephy_location_action_set_property), (ephy_location_action_get_property), (ephy_location_action_class_init), (ephy_location_action_init), (ephy_location_action_finalize): * src/ephy-window.c: (sync_tab_icon): * src/toolbar.c: (toolbar_setup_actions), (toolbar_update_favicon): * src/toolbar.h: Unify the location and favicon actions. * src/window-commands.c: (window_cmd_help_about): Add translator comment to the translation-credits string.
* Use ngettext to get the Open in New Tab[s]/Window[s] label.Christian Persch2005-01-052-20/+0
| | | | | | | | | | | | | | 2005-01-04 Christian Persch <chpe@cvs.gnome.org> * lib/widgets/ephy-node-view.c: * lib/widgets/ephy-node-view.h: * src/bookmarks/ephy-bookmarks-editor.c: (ephy_bookmarks_editor_update_menu): * src/ephy-history-window.c: (ephy_history_window_update_menu): Use ngettext to get the Open in New Tab[s]/Window[s] label. 2005-01-04 Christian Persch <chpe@cvs.gnome.org>
* Small improvement.Christian Persch2004-12-161-2/+1
| | | | | | | | 2004-12-16 Christian Persch <chpe@cvs.gnome.org> * lib/widgets/ephy-location-entry.c: (entry_populate_popup_cb): Small improvement.
* Move Clear after Select All.Christian Persch2004-12-161-11/+20
| | | | | | | | 2004-12-16 Christian Persch <chpe@cvs.gnome.org> * lib/widgets/ephy-location-entry.c: (entry_populate_popup_cb): Move Clear after Select All.
* Add "Clear" to entry context menu. Fixes bug #118395.Christian Persch2004-12-161-0/+48
| | | | | | | | | | 2004-12-16 Christian Persch <chpe@cvs.gnome.org> * lib/widgets/ephy-location-entry.c: (entry_clear_activate_cb), (entry_populate_popup_cb), (ephy_location_entry_construct_contents): Add "Clear" to entry context menu. Fixes bug #118395.
* Get rid of ephy_string_[elide|double]_underscores(). Remove unnecessaryChristian Persch2004-12-141-2/+1
| | | | | | | | | | | | | | | | | | | | | | 2004-12-13 Christian Persch <chpe@cvs.gnome.org> * embed/ephy-encodings.c: (elide_underscores), (add_encoding): * embed/mozilla/FilePicker.cpp: * lib/ephy-dnd.c: * lib/ephy-node.c: * lib/ephy-string.c: (ephy_string_blank_chr): * lib/ephy-string.h: * lib/widgets/ephy-node-view.c: * src/ephy-encoding-menu.c: * src/ephy-notebook.c: * src/ephy-session.c: * src/ephy-statusbar.c: * src/ephy-tab.c: (ephy_tab_set_title): * src/ephy-tabs-menu.c: (connect_proxy_cb): * src/ppview-toolbar.c: Get rid of ephy_string_[elide|double]_underscores(). Remove unnecessary ephy-string.h includes.
* Add deprecated defines to AM_CPPFLAGS in maintainer-mode.Christian Persch2004-12-011-12/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 2004-12-01 Christian Persch <chpe@cvs.gnome.org> * configure.ac: Add deprecated defines to AM_CPPFLAGS in maintainer-mode. * doc/reference/Makefile.am: * embed/Makefile.am: * embed/mozilla/Makefile.am: * lib/Makefile.am: * lib/egg/Makefile.am: * lib/egg/eggintl.h: * lib/widgets/Makefile.am: * src/Makefile.am: * src/bookmarks/Makefile.am: INCLUDES is deprecated, use AM_CPPFLAGS and AM_CFLAGS instead. * lib/eel-gconf-extensions.c: (eel_gconf_client_get_global): Removed usage of deprecated gconf API. * src/ephy-main.c: (main): Removed usage of deprecated glade API.
* reviewed by: Christian Persch <chpe@cvs.gnome.org>Marco Pesenti Gritti2004-11-261-0/+1
| | | | | | | | | | | | | | | | | | 2004-11-25 Marco Pesenti Gritti <marco@gnome.org> reviewed by: Christian Persch <chpe@cvs.gnome.org> * embed/Makefile.am: * lib/widgets/Makefile.am: * src/Makefile.am: * src/bookmarks/Makefile.am: Fix build out of src directory. * src/window-commands.c: (editor_open_uri), (window_cmd_view_page_source): Rework the code to not use deprecated API.
* When popping up the context menu with keyboard, select the first menuChristian Persch2004-11-081-3/+8
| | | | | | | | | | | | | | 2004-11-07 Christian Persch <chpe@cvs.gnome.org> * lib/widgets/ephy-node-view.c: (ephy_node_view_popup): * src/bookmarks/ephy-bookmark-action.c: (show_context_menu), (popup_menu_cb), (button_press_cb): * src/bookmarks/ephy-topic-action.c: (button_toggled_cb), (show_context_menu), (popup_menu_cb), (button_press_cb): * src/ephy-window.c: (show_embed_popup): When popping up the context menu with keyboard, select the first menu item. Fixes bug #154907.
* Make tooltips on the zoom control also work on Ctrl-F1.Christian Persch2004-11-071-13/+44
| | | | | | | | | | 2004-11-07 Christian Persch <chpe@cvs.gnome.org> * lib/widgets/ephy-zoom-control.c: (ephy_zoom_control_init), (set_combo_tooltip), (combo_realized), (ephy_zoom_control_set_tooltip): Make tooltips on the zoom control also work on Ctrl-F1.