aboutsummaryrefslogtreecommitdiffstats
path: root/src/ephy-window.c
Commit message (Collapse)AuthorAgeFilesLines
* 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
* 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-171-2/+3
| | | | Too wide comments, some indentation.
* Remove legacy ALLOW_FIXUP flagsDiego Escalante Urrelo2010-02-151-4/+0
| | | | | | This were used by the gecko backend and nowadays are not used at all. Bug #608749
* shift+control+click is not shift+clickDiego Escalante Urrelo2010-02-111-13/+18
| | | | Bug #604950
* Implemented print previewJose Millan Soto2010-02-091-113/+4
| | | | | | | | | | | | | | 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-021-1/+1
| | | | | | | We now have ephy_embed_get_web_view, EPHY_GET_WEBKIT_WEB_VIEW_FROM_EMBED plus EPHY_WEB_VIEW casts are useless. Bug #608749
* 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.
* Miscellaneous nitpick fixesDiego Escalante Urrelo2010-01-121-1/+1
|
* Rename EphyWebView::ge-new-window to EphyWebView::new-windowXan Lopez2010-01-091-1/+1
|
* Emit again EphyWebView::ge-new-window when requiredXan Lopez2010-01-091-8/+8
|
* Reimplement window.closeXan Lopez2009-12-261-12/+12
| | | | | | | | We consider all windows opened by the web page without user intervention as popups, and allow them to be closed in the same way if the page so requests. Bug #599009
* Restore download on shift-click functionalityGustavo Noronha Silva2009-12-181-25/+20
|
* Make EphyEmbed inherit from GtkVBox instead of GtkScrolledWindowGustavo Noronha Silva2009-12-171-16/+16
|
* Let web pages handle mouse clicks before doing our own handlingGustavo Noronha Silva2009-12-141-1/+6
| | | | | | | This allows applications to provide their own context menus, and perform their own handling for right-click events. Bug #603326
* Remove redundant parameters in location-set APIDiego Escalante Urrelo2009-12-051-4/+7
| | | | | | | | | | | 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-windowDiego Escalante Urrelo2009-12-031-2/+9
| | | | | | | Also make _ephy_window_set_context_event and _ephy_window_unset_context_event static since noone was using those. Bug #503852
* Add GObject introspection annotations to many *_get_* functionsIain Nicol2009-11-181-6/+6
| | | | | | Partial fix for bug #599757. Signed-off-by: Xan Lopez <xan@gnome.org>
* Provide the Inspect Element menu item againGustavo Noronha Silva2009-10-301-0/+9
| | | | | | | WebKit now provides API to start the web inspector, so we can restore the menu item. Bug #599473
* Refactor EphyShell lifetime trackingXan Lopez2009-10-241-11/+1
| | | | | | | | | Stop having each EphyWindow ref the shell, and instead have the shell track all the newly created EphyWindows. When the last one is gone, quit the GTK+ mainloop. This is simpler and avoids potential reference cycles (see bug #573551). Bug #599348
* Unref EphyShell on EphyWindow's dispose methodXan Lopez2009-10-231-2/+10
| | | | | | This way we can break ref cycles that can happen when using Seed extensions. Bug #573551
* Pass mailto: URI to gtk_show_uri()Frédéric Péters2009-10-191-0/+8
| | | | | | (Part of) Bug #584537 Signed-off-by: Xan Lopez <xan@gnome.org>
* ephy-window.c: workaround bug in WebKit progress notificationXan Lopez2009-09-241-4/+11
| | | | | | | LOAD_FINISHED is notified before progress 100% completed, which makes it very hard to rely on those signals to figure out if a page is still loading or not when syncing progress in a tab. Try to workaround this as best as possible.
* GTK+ 2.17.11 is now the required versionJavier Jardón2009-09-221-5/+12
| | | | | | | | | | | | | | | 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>
* Bring back epiphany context menuXan Lopez2009-09-201-52/+51
| | | | | | | | | | | | | There's a few items (like email link) and actions (like bookmark link) missing or not working because of missing information in the WebKitHitTestResult object, but most of the stuff is working. For some reason the g-ir-scanner is not picking up the correct type name for WebKitHitTestResult (it uses WebKitHitTestResult instead of WebKit.HitTestResult), so the introspection support is broken unless that error is fixed manually. Looking into that ... Bug #562617
* ephy-window.c: do not leak hit test resultXan Lopez2009-09-201-0/+1
|
* ephy-window.c: reimplement middle-click clipboard to open linkXan Lopez2009-09-191-58/+26
| | | | Uses the new WebKitHitTestResult APIs landed in WebKitGTK+ r48505.
* Get rid of EphyCommandManagerXan Lopez2009-09-101-11/+8
| | | | It was just another useless abstraction at this point.
* ephy-window: make <ctrl>KP_0 an alias to <ctrl>0Diego Escalante Urrelo2009-09-051-0/+1
| | | | Bug 573624 - Reset font size with ctrl+0 from num block
* Rename ephy_web_view_get_load_status to ephy_web_view_is_loadingXan Lopez2009-08-251-2/+2
| | | | | Much more clear, and avoids confusions with the WebKitWebView function with similar name.
* Add again the spinner.Xan Lopez2009-08-101-0/+2
| | | | | | | | | 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
* Use g_hash_table_remove_all() to remove all itemsBenjamin Otte2009-07-311-7/+1
|
* ephy-embed-prefs.h: remove duplicated defineXan Lopez2009-07-251-2/+2
|
* ephy-window.c: can't use pspec to figure out if we should sync progress.Xan Lopez2009-06-171-6/+5
| | | | | Since it breaks syncing when switching between loading tabs. Need to do this properly and wait for webkit bug #26409.
* Move the get_title_composite function to EphyWebView.Xan Lopez2009-06-161-1/+1
|
* ephy-window.c: remove debug message.Xan Lopez2009-06-161-1/+0
|
* ephy-window.c: adapt to API change in WebKitGTK+.Xan Lopez2009-06-161-1/+2
| | | | Progress from the WebView goes from 0.0 to 1.0 now.
* ephy-window.c: remove unused variable.Xan Lopez2009-06-141-2/+0
|
* Use WebKitWebView::load-status instead of our own solution.Xan Lopez2009-06-141-3/+6
|
* ephy-window.c: a different hack to not show progress when loading about:blank.Xan Lopez2009-06-141-1/+11
|
* Get rid of redundant 'load-progress' property in EphyWebView.Xan Lopez2009-06-141-11/+3
| | | | | | | | | We now use WebKitWebView's 'progress' property directly. The "opening about:blank blinks the entry" bug is back because for some reason a) webkit reports a 10% progress for that URL b) get_uri reports NULL until 100% is loaded for only that page, so blacklisting by URI is not possible either.
* Remove Python support.Xan Lopez2009-06-061-8/+0
| | | | | The supported language for extensions other than C/C++ is now JavaScript through Seed.
* ephy-window.c: silence warning.Xan Lopez2009-06-061-1/+1
|
* Get rid of EphyEmbedFactory.Xan Lopez2009-06-061-2/+1
| | | | It's useless now, since there's only one backend.
* Move all methods, signals and properties from EphyEmbed and EphyBaseEmbed to ↵Xan Lopez2009-06-051-140/+146
| | | | | | | EphyWebView. Those two embed classes are pretty much dummy leftovers, so it should be easier to remove them now.
* Move load_url method to EphyWebView.Xan Lopez2009-06-031-2/+2
|
* Move method to copy history between embeds/views to EphyWebView from EphyEmbed.Xan Lopez2009-05-311-5/+4
| | | | Just part of the gradual progress to get rid of the Embed interface.
* Remove LoadFlagsGustavo Noronha Silva2009-05-301-11/+1
| | | | | | They were used, it seems, to decide whether to allow Gecko to "fix" the URL. WebKit has no such facility, and we are already doing our own handling of URI normalization.
* Fix missing HTTP information when opening links in new tabsGustavo Noronha Silva2009-05-301-7/+7
| | | | | | | | | | Bug #120341 This changeset reworks ephy_shell_new_tab_full (and its callers) to use a WebKitNetworkRequest instead of an URL when handling openning links in new tabs. This gains us the advantage of feeding the new WebView with the same WebKitNetworkRequest WebKit would use to navigate to the new address.
* ephy-window: declare variables only if needed.Xan Lopez2009-04-241-8/+7
|
* ephy-window: ignore chrome flags when opening new page in a tab.Xan Lopez2009-04-241-24/+33
| | | | | If we are forcing the creating of the new page in a tab ignore whatever chrome flags the new window would try to set.
* ephy-window: use new-window-policy-decision-requested signal.Xan Lopez2009-03-251-10/+29
| | | | | | | | | | | | | Patch by Alejandro G. Castro. Allows to open links with target=_blank in a new tab by clicking with the middle button. Requires WebKitGTK+ r41969. Fixes #573357. svn path=/trunk/; revision=8938
* ephy-window: try with a bigger z-index...Xan Lopez2009-03-191-1/+1
| | | | svn path=/trunk/; revision=8922
* ephy-window: nasty hack to try to get the link-message on top of everything.Xan Lopez2009-03-191-0/+1
| | | | | | Mmm, maybe I should use an actual GTK+ window after all :) svn path=/trunk/; revision=8921
* ephy-window: implement translucent link-message statusbar.Xan Lopez2009-03-191-3/+100
| | | | | | | | 'Inspired' from Chrome, will show the link-message in a translucent floating div on the bottom left corner of the web view if the normal statusbar is hidden. svn path=/trunk/; revision=8920
* ephy-window: do not make code conditional on Gecko version.Xan Lopez2009-02-231-8/+4
| | | | svn path=/trunk/; revision=8801
* ephy-window: do not show progress for pages that load very quickly (eg, ↵Xan Lopez2009-02-191-1/+9
| | | | | | about:blank). svn path=/trunk/; revision=8792
* Add option to open new windows in tabs.Xan Lopez2009-02-161-3/+19
| | | | | | | | | | | Only available as a gconf key for now, /apps/epiphany/general/open_new_windows_in_tab. Patch by Alejandro G. Castro. Bug #571593 svn path=/trunk/; revision=8783
* Use gtk_activatable_get_related_action instead of the deprecated ↵Xan Lopez2009-02-081-2/+2
| | | | | | gtk_widget_get_action. svn path=/trunk/; revision=8771
* Do not use 'gtk-action' object data to get the associated GtkAction for a ↵Xan Lopez2009-01-241-2/+2
| | | | | | | | widget. It's an implementation detail and will go away soon. Use documented APIs instead. svn path=/trunk/; revision=8723
* ephy-window: do not set load progress on already loaded pages.Xan Lopez2009-01-211-2/+8
| | | | | | Avoids setting the load progress to 100% when switching tabs. svn path=/trunk/; revision=8712
* ephy-window: remove entry clear timeout without chaining finalize.Xan Lopez2009-01-051-3/+3
| | | | svn path=/trunk/; revision=8666
* ephy-window: g_object_get takes a gpointer as first argument.Xan Lopez2009-01-041-7/+6
| | | | svn path=/trunk/; revision=8665
* ephy-window: also open in new tab for ctrl+click.Xan Lopez2009-01-041-1/+5
| | | | svn path=/trunk/; revision=8664
* Remove progress from statusbar now that we show it in the location entry.Xan Lopez2008-12-311-3/+0
| | | | svn path=/trunk/; revision=8651
* ephy-window: draw progress inside the location entry.Xan Lopez2008-12-311-0/+42
| | | | svn path=/trunk/; revision=8650
* Open links in new tab with middle click.Xan Lopez2008-12-211-0/+42
| | | | | | Bug #518338 svn path=/trunk/; revision=8639
* Implement chrome visibility control in popupsDiego Escalante Urrelo2008-12-031-4/+32
| | | | | | | | Fixes bug #562714. Fullscreen, scrollbar and location bar left out for security/usability. Location bar might be enabled later with something ala-firefox. svn path=/trunk/; revision=8629
* ephy-window: connect web view to web-view-ready signal when it's created.Xan Lopez2008-12-011-7/+7
| | | | | | | | Otherwise we rely on the view to be in the active tab in order for us to be listening to the signal. That's the case right now, but could change if we implement "always open in new tab" functionality. svn path=/trunk/; revision=8628
* ephy-window: use new webkit API to create windows on request.Xan Lopez2008-11-301-0/+52
| | | | svn path=/trunk/; revision=8620
* window: zoom in/out with ctrl+scroll-{up,down}Xan Lopez2008-11-301-0/+30
| | | | | | | | | We connect to the scroll-event of the view directly because GtkScrolledWindow eats all the GdkEventScroll it gets without checking the modifier keys mask, making it impossible to set-up our own handler for scroll-event. svn path=/trunk/; revision=8619
* Remove libgnome and libgnomeui dependency, using EggSMClient instead of ↵Christian Persch2008-09-251-1/+0
| | | | | | GnomeClient. svn path=/trunk/; revision=8541
* embed: remove ephy_embed_close.Xan Lopez2008-07-031-1/+1
| | | | | | Just destroy the embed widget. svn path=/trunk/; revision=8332
* embed: remove ephy_embed_{set,get}_zoom.Xan Lopez2008-07-011-2/+5
| | | | | | Set zoom-level on the WebKitWebView directly. svn path=/trunk/; revision=8327
* embed: remove ge-zoom-changed and zoom property.Xan Lopez2008-07-011-11/+25
| | | | | | Use zoom-level property in WebKit directly. svn path=/trunk/; revision=8326
* embed: remove ephy_embed_get_{next,previous}_history_item.Xan Lopez2008-06-301-12/+12
| | | | | | Use WebKit APIs directly. svn path=/trunk/; revision=8312
* Reimplement tabs detaching and tabs DND.Christian Persch2008-06-131-0/+42
| | | | svn path=/trunk/; revision=8278
* Do not do single includes for GTK+, bug #536090Diego Escalante Urrelo2008-06-041-6/+0
| | | | svn path=/trunk/; revision=8265
* Remove the ephy-spinner from the toolbar.c, there's enough feebackXan Lopez2008-03-281-2/+0
| | | | | | with the spinners in the tabs and the progress bar. (#524809) svn path=/trunk/; revision=8166
* Remove cruftChristian Persch2008-02-271-1/+1
| | | | svn path=/trunk/; revision=7990
* Add Undo/Redo commands to the location entry, both in the context menuCosimo Cecchi2008-02-151-3/+24
| | | | | | and linked to the main window commands. Bug #171179. svn path=/trunk/; revision=7945
* GConf option to disable messagebox about unsubmitted form data. (#516170)Xan Lopez2008-02-151-6/+11
| | | | | | | | | Left undocumented on schema because we are in string freeze, will document for 2.24. Patch by Jake Nelson svn path=/trunk/; revision=7944
* HIG fixes for menu. Bug #483312, patch by Luca Ferretti.Cosimo Cecchi2008-01-291-1/+1
| | | | | | | HIG fixes for menu. Bug #483312, patch by Luca Ferretti. svn path=/trunk/; revision=7897
* Drop gnome-vfs dependency. Now Epiphany depends on glib >= 2.15.1.Cosimo Cecchi2008-01-141-9/+3
| | | | | | | Also, optional Zeroconf support depends on Avahi >= 0.6.22. Bug #507152. svn path=/trunk/; revision=7858
* Port ephy-window.c to the new API, remove old API.Xan Lopez2007-12-301-11/+11
| | | | | | Closes bug #506005 svn path=/trunk/; revision=7836
* Remove a trailing whitespace.Diego Escalante Urrelo2007-12-261-1/+1
| | | | svn path=/trunk/; revision=7822
* Readd "Add to Bookmark" entry to the document context menu.Cosimo Cecchi2007-12-191-0/+5
| | | | | | Bug #332968. svn path=/trunk/; revision=7786
* Move size-to code to the gecko backend.Xan Lopez2007-11-181-74/+1
| | | | | | Last part of bug #490672 svn path=/trunk/; revision=7713
* Put visibility property into EphyBaseEmbed, we need it for popups.Xan Lopez2007-11-181-0/+19
| | | | svn path=/trunk/; revision=7712
* Rename EphyEmbedContainer implementations in EphyWindow.Xan Lopez2007-11-171-35/+36
| | | | | | | Do not use the ephy_window prefix for them, it's confusing. Also, save the function call for get_active_child. svn path=/trunk/; revision=7710
* Move print-preview property to EphyEmbedContainer interface.Xan Lopez2007-11-171-53/+50
| | | | | | | | Also make it read-only and make the setter in EphyWindow semi-private for now (should be removed eventually, making the window be notified from the embed of the status). svn path=/trunk/; revision=7709
* Add type checkings in the EmbedContainer interface, not in the implementations.Xan Lopez2007-11-171-23/+2
| | | | svn path=/trunk/; revision=7706
* Return the new tab's position.Christian Persch2007-11-171-4/+2
| | | | svn path=/trunk/; revision=7704
* Move active-tab property to the embed-container interface.Xan Lopez2007-11-171-11/+9
| | | | | | | Rename it to active-child and fix a bug in the set_property function in EphyWindow, where the wrong function was being called for this property. svn path=/trunk/; revision=7703
* Unbreak the build...Xan Lopez2007-11-171-4/+4
| | | | svn path=/trunk/; revision=7702
* Make EphyEmbedContainer add_child method return the child's new position ↵Xan Lopez2007-11-171-1/+3
| | | | | | inside the container. svn path=/trunk/; revision=7700
* Rename ephy_embed_container_jump_to_child to ↵Xan Lopez2007-11-161-5/+5
| | | | | | ephy_embed_container_set_active_child. svn path=/trunk/; revision=7699
* Port EphyWindow to the new interface.Xan Lopez2007-11-161-203/+193
| | | | svn path=/trunk/; revision=7693
* Use G_DEFINE_TYPE for EphyWindow.Xan Lopez2007-11-161-54/+15
| | | | svn path=/trunk/; revision=7691
* Don't connect to destroy-browser, we do nothing in the cb and it's ↵Xan Lopez2007-11-131-12/+0
| | | | | | GtkMozEmbed specific. svn path=/trunk/; revision=7679
* Move "address_has_web_scheme" to ephy-embed-utils.Cosimo Cecchi2007-11-051-20/+2
| | | | svn path=/trunk/; revision=7622
* Moved dom_mouse_click from EphyTab to EphyWindow.Cosimo Cecchi2007-11-051-0/+205
| | | | | | This also makes Modifiers+Click shortcuts work again. svn path=/trunk/; revision=7621
* Use -1 as tab size hereChristian Persch2007-10-281-2/+2
| | | | svn path=/trunk/; revision=7609
* Can't use an interface type in property registrationChristian Persch2007-10-281-1/+1
| | | | svn path=/trunk/; revision=7607
* Remove EphyTab.Christian Persch2007-10-281-176/+121
| | | | svn path=/trunk/; revision=7590
* Move popups-allowed and hidden-popup-count from EphyTab to EphyEmbed.Xan Lopez2007-10-271-16/+13
| | | | | | Popup management is non-working now, see bug #490672 svn path=/trunk/; revision=7575
* Fix more issues left with the refactoring.Xan Lopez2007-10-261-1/+1
| | | | | | | | | | Fix double free in link_message property. Fix title by connecting to embed and not to tab in EphyWindow. Fix progress by passing the correct parameter to update_embed_from_net_state. Also use the link_message parsing function in utils. svn path=/trunk/; revision=7566
* Fix the remaining breakage.Xan Lopez2007-10-261-1/+1
| | | | | | | | Implement get_icon and get_icon_address. Fix status-message canonical name. Properly assign private pointer in MozillaEmbed (...) svn path=/trunk/; revision=7565
* Port src/ to the new properties in EphyEmbed.Xan Lopez2007-10-261-36/+37
| | | | svn path=/trunk/; revision=7564
* Change ephy_embed_get_title to return const char*.Xan Lopez2007-10-261-1/+1
| | | | | | Also replace all ephy_tab_get_title by ephy_embed_get_title. svn path=/trunk/; revision=7559
* Move navigation property from EphyTab to EphyEmbed.Xan Lopez2007-10-221-17/+13
| | | | svn path=/trunk/; revision=7549
* Move load-status from EphyTab to EphyEmbed.Xan Lopez2007-10-221-11/+11
| | | | svn path=/trunk/; revision=7547
* Move load-progress from EphyTab to EphyEmbedXan Lopez2007-10-221-10/+10
| | | | svn path=/trunk/; revision=7544
* Move zoom from EphyTab to EphyEmbed.Xan Lopez2007-10-211-13/+13
| | | | svn path=/trunk/; revision=7542
* Move document-type property from EphyTab to EphyEmbed.Xan Lopez2007-10-211-14/+17
| | | | svn path=/trunk/; revision=7541
* Tabify mozilla-embed.cpp and make it use G_DEFINE_*.Xan Lopez2007-10-211-2/+0
| | | | | | Also, remove one extra ephy_tab_get_embed from EphyWindow. svn path=/trunk/; revision=7540
* Add security-level property to embed and fix EphyWindow.Xan Lopez2007-10-211-10/+11
| | | | svn path=/trunk/; revision=7539
* Completely remove usage of visibility signal from src/Xan Lopez2007-10-201-33/+0
| | | | svn path=/trunk/; revision=7537
* Remove ellipses from View -> Page Security Information, as it does not require Cosimo Cecchi2007-10-051-1/+1
| | | | | | | further user interaction to complete. Fix for bug #483312. One-liner by Michael Monreal. svn path=/trunk/; revision=7516
* Makes tooltips for Back and Forward buttons display the titles of relativeCosimo Cecchi2007-09-101-0/+30
| | | | | | | | | | | | | | 2007-09-10 Cosimo Cecchi <cosimoc@svn.gnome.org> * src/ephy-toolbar.c: (ephy_toolbar_set_navigation_tooltips): * src/ephy-toolbar.h: * src/ephy-window.c: (sync_tab_navigation): Makes tooltips for Back and Forward buttons display the titles of relative pages. Fixes bug #341400. Patch by Cyril Brulebois. svn path=/trunk/; revision=7364
* Remove "Add bookmark" and "Save as" from the document context menu. PatchDiego Escalante Urrelo2007-08-031-5/+0
| | | | | | | | | | | | | | 2007-08-02 Diego Escalante Urrelo <diegoe@gnome.org> * data/ui/epiphany-ui.xml: * src/ephy-window.c: * src/ephy-lockdown.c: Remove "Add bookmark" and "Save as" from the document context menu. Patch by Cosimo Cecchi. Part of bug #332968. svn path=/trunk/; revision=7239
* Make "Customise toolbars" insensitive when toolbars are hidden. Patch byDiego Escalante Urrelo2007-07-271-3/+9
| | | | | | | | | | | | 2007-07-26 Diego Escalante Urrelo <diegoe@gnome.org> * src/ephy-window.c: Make "Customise toolbars" insensitive when toolbars are hidden. Patch by René Stadler. Fixes bug #164227. svn path=/trunk/; revision=7205
* Remove some icons from the context menu, and use better ones for some menuWouter Bolsterlee2007-07-211-5/+5
| | | | | | | | | | | | | | 2007-07-21 Wouter Bolsterlee <wbolster@svn.gnome.org> * lib/ephy-stock-icons.c: (ephy_stock_icons_init): * lib/ephy-stock-icons.h: * src/ephy-window.c: Remove some icons from the context menu, and use better ones for some menu items. Reported by Andreas Nilsson. Patch by Cosimo Cecchi. Fixes bug #410223. svn path=/trunk/; revision=7191
* Kill EPHY_STOCK_DOWNLOAD and add STOCK_DOWNLOAD, using "emblem-download"Luca Ferretti2007-07-101-1/+1
| | | | | | | | | | | | | | | | | | | | 2007-07-10 Luca Ferretti <elle.uca@libero.it> * embed/downloader-view.c: (show_status_icon), (downloader_view_build_ui): * embed/mozilla/ContentHandler.cpp: * lib/ephy-stock-icons.c: (ephy_stock_icons_init): * lib/ephy-stock-icons.h: * src/ephy-window.c: Kill EPHY_STOCK_DOWNLOAD and add STOCK_DOWNLOAD, using "emblem-download" named icon. Partially fix 450904. Note: you need latest svn version of gnome-icon-theme to have the download icon @ 16x16 pixels svn path=/trunk/; revision=7126
* Use GTK_STOCK_ABOUT icon i.s.o GNOME_STOCK_ABOUT Fixes bug #452769Jaap Haitsma2007-07-011-1/+1
| | | | | | | | | | 2007-07-01 Jaap Haitsma <jaap@haitsma.org> * src/ephy-history-window.c, src/bookmarks/ephy-bookmarks-editor.c, src/ephy-window.c: Use GTK_STOCK_ABOUT icon i.s.o GNOME_STOCK_ABOUT Fixes bug #452769 svn path=/trunk/; revision=7108
* Added GTK_STOCK_SELECT_ALL to SelectAll action.Diego Escalante Urrelo2007-06-061-1/+1
| | | | | | | | | | | 2007-06-05 Diego Escalante Urrelo <diegoe@gnome.org> * src/ephy-window.c: Added GTK_STOCK_SELECT_ALL to SelectAll action. svn path=/trunk/; revision=7071
* Correct FSF address. Bug #409075, patch by John Millikin.RELEASE_2_18_0GNOME_2_18_BRANCHPOINTChristian Persch2007-03-121-1/+1
| | | | | | | | | | 2007-03-11 Christian Persch <chpe@gnome.org> * *: Correct FSF address. Bug #409075, patch by John Millikin. svn path=/trunk/; revision=6952
* Changes "..." for the ellipsis character "…". Bug #324380. Patch byDiego Escalante Urrelo2007-01-091-15/+15
| | | | | | | | | | | | | | | | | | | 2007-01-09 Diego Escalante Urrelo <diegoe@svn.gnome.org> * src/ephy-history-window.c: * src/ephy-main.c: * src/bookmarks/ephy-bookmarks-editor.c: * src/ephy-tab.c: * src/ephy-encoding-menu.c: * src/ephy-window.c: * data/glade/form-signing-dialog.glade: * data/glade/prefs-dialog.glade: Changes "..." for the ellipsis character "…". Bug #324380. Patch by Diego Escalante Urrelo. svn path=/trunk/; revision=6810
* Use a define for the default window icon. Bug #385872.Christian Persch2006-12-151-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* Remove the proxy icon from View->Page Source menu entry.Luca Ferretti2006-12-141-1/+1
| | | | | | | | | | | | | 2006-12-14 Luca Ferretti <elle.uca@libero.it> * src/ephy-window.c: Remove the proxy icon from View->Page Source menu entry. * lib/ephy-stock-icons.h: Keep STOCK_VIEW_SOURCE by now, but use "text-html" instead deprecated "stock_view-html-source".
* Add some more F5 shortcuts to handle all the MSIE "refresh page" bindings.Wouter Bolsterlee2006-11-101-0/+5
| | | | | | | | 2006-11-10 Wouter Bolsterlee <wbolster@cvs.gnome.org> * src/ephy-window.c: Add some more F5 shortcuts to handle all the MSIE "refresh page" bindings. Fixes bug #372906.
* Get keyword search back by passing ALLOW_THIRD_PARTY_FIXUP flag to gecko.Jean-François Rameau2006-10-231-2/+18
| | | | | | | | | | | | | | | | | | | 2006-10-22 Jean-François Rameau <jframeau@cvs.gnome.org> * embed/ephy-embed.h: * embed/ephy-embed.c: * embed/mozilla/EphyBrowser.cpp: * embed/mozilla/EphyBrowser.h: * embed/mozilla/mozilla-embed.cpp: * src/ephy-link.h: * src/ephy-location-action.c: (action_activated_cb): * src/ephy-shell.c: (ephy_shell_new_tab_full): * src/ephy-shell.h: * src/ephy-window.c: (ephy_window_open_link): Get keyword search back by passing ALLOW_THIRD_PARTY_FIXUP flag to gecko. Add a new load method to EphyEmbed to custom load behaviour and pass (optional) referrer. Fix bug #350053.
* Add middle-click on New Tab/Window button to open URL on clipboard. FixJean-François Rameau2006-09-251-7/+3
| | | | | | | | | | | | | | 2006-09-24 Jean-François Rameau <jframeau@cvs.gnome.org> * src/ephy-window.c: (ephy_window_constructor): * src/ephy-lockdown.c: (update_window): * src/window-commands.c: (window_cmd_file_new_window), (window_cmd_file_new_tab): * src/window-commands.h: (window_cmd_file_new_window), (window_cmd_file_new_tab): * src/ephy-toolbar.c: (ephy_toolbar_set_window): * src/ephy-home-action.c: (ephy_home_action_activate): Add middle-click on New Tab/Window button to open URL on clipboard. Fix bug 149715. Both New Tab and New Window actions are now EphyHomeAction.
* Use UTF-8 copyright symbolChristian Persch2006-09-131-2/+2
|
* Remove some unnecessary static data.Christian Persch2006-09-071-2/+2
| | | | | | | | 2006-09-06 Christian Persch <chpe@cvs.gnome.org> * *.c *.cpp: Remove some unnecessary static data.
* === Release 2.15.92 ===RELEASE_2_15_92Christian Persch2006-08-221-1/+1
| | | | | | | | | | | | | | | | | | | 2006-08-21 Christian Persch <chpe@cvs.gnome.org> === Release 2.15.92 === * NEWS: * configure.ac: Updated for 2.15.92. * embed/mozilla/EphyAboutModule.cpp: Use escaped URL for about:recover. Fixes bug #351296. * src/ephy-window.c: Remove shortcut for SendPage.
* ephy_file_launch_desktop_file accepts now a parameter. Fix #343321.Jean-François Rameau2006-08-101-1/+0
| | | | | | | | | | | | | | 2006-08-09 Jean-François Rameau <jframeau@cvs.gnome.org> * src/popup-commands.c: (background_download_completed): * lib/ephy-file-helpers.h: (ephy_file_launch_desktop_file): * lib/ephy-file-helpers.c: (ephy_file_launch_desktop_file): ephy_file_launch_desktop_file accepts now a parameter. Fix #343321. * src/ephy-window.c: Remove CONF_DESKTOP_BG_PICTURE #define. No need.
* Don't allow closing the window if quit is locked down. Patch by DiegoChristian Persch2006-08-081-0/+4
| | | | | | | | | 2006-08-07 Christian Persch <chpe@cvs.gnome.org> * src/ephy-window.c: Don't allow closing the window if quit is locked down. Patch by Diego Escalante Urrelo, bug #320091.
* Avoid accels on thin characters. Patch by Crispin Flowerday, bug #331777.Christian Persch2006-08-081-2/+2
| | | | | | | | | | 2006-08-07 Christian Persch <chpe@cvs.gnome.org> * src/ephy-window.c: * src/ephy-history-window.c: Avoid accels on thin characters. Patch by Crispin Flowerday, bug #331777.
* Add "delete text" command.Christian Persch2006-08-081-0/+3
| | | | | | | | | | 2006-08-07 Christian Persch <chpe@cvs.gnome.org> * src/ephy-window.c: * src/window-commands.c: * src/window-commands.h: Add "delete text" command.
* Also recognise keypad keys for navigation. Bug #337089.Christian Persch2006-08-081-0/+19
| | | | | | | | 2006-08-07 Christian Persch <chpe@cvs.gnome.org> * src/ephy-window.c: Also recognise keypad keys for navigation. Bug #337089.
* Remove accel for ViewToolbar. Bug #328783.Christian Persch2006-08-061-1/+1
| | | | | | | | 2006-08-05 Christian Persch <chpe@cvs.gnome.org> * src/ephy-window.c: Remove accel for ViewToolbar. Bug #328783.
* Define STOCK_NEW_WINDOW with named icon "window-new" and use it in File ->Luca Ferretti2006-07-261-1/+1
| | | | | | | | | | | | | 2006-07-26 Luca Ferretti <elle.uca@libero.it> * lib/ephy-stock-icons.c: * lib/ephy-stock-icons.h: * src/ephy-window.c: Define STOCK_NEW_WINDOW with named icon "window-new" and use it in File -> New Window. Use "tab-new", "bookmark-new" and "mail-forward" named icons from Icon Naming Standard for related actions. A first step to fix bug # 348350
* Add page security info dialogue from Certificates extension.Christian Persch2006-07-251-10/+33
| | | | | | | | | | | | | | | 2006-07-24 Christian Persch <chpe@cvs.gnome.org> * data/ui/epiphany-ui.xml: * src/ephy-statusbar.c: (ephy_statusbar_class_init), (padlock_button_press_cb), (create_statusbar_security_icon): * src/ephy-statusbar.h: * src/ephy-window.c: (ephy_window_constructor): * src/window-commands.c: (window_cmd_view_page_security_info), (window_cmd_help_about): * src/window-commands.h: Add page security info dialogue from Certificates extension.
* Fix for empty menubar accel setting. Don't activate insensitive actions,Christian Persch2006-07-111-7/+25
| | | | | | | | | | 2006-07-10 Christian Persch <chpe@cvs.gnome.org> * src/ephy-window.c: (settings_change_notify), (ephy_window_key_press_event): Fix for empty menubar accel setting. Don't activate insensitive actions, bug #347022.
* Drop support for gecko 1.7.Christian Persch2006-05-111-3/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2006-05-10 Christian Persch <chpe@cvs.gnome.org> * configure.ac: * data/glade/prefs-dialog.glade: * embed/ephy-favicon-cache.c: (ephy_favicon_cache_get): * embed/mozilla/AutoJSContextStack.cpp: * embed/mozilla/ContentHandler.cpp: * embed/mozilla/ContentHandler.h: * embed/mozilla/EphyAboutModule.cpp: * embed/mozilla/EphyAboutModule.h: * embed/mozilla/EphyBrowser.cpp: * embed/mozilla/EphyBrowser.h: * embed/mozilla/EphyContentPolicy.cpp: * embed/mozilla/EphyContentPolicy.h: * embed/mozilla/EphyDirectoryProvider.cpp: * embed/mozilla/EphyFind.cpp: * embed/mozilla/EphyFind.h: * embed/mozilla/EphyHeaderSniffer.cpp: * embed/mozilla/EphyHeaderSniffer.h: * embed/mozilla/EphyHistoryListener.cpp: * embed/mozilla/EphyHistoryListener.h: * embed/mozilla/EphyPromptService.cpp: * embed/mozilla/EphySidebar.cpp: * embed/mozilla/EphySidebar.h: * embed/mozilla/EphySingle.cpp: * embed/mozilla/EphySingle.h: * embed/mozilla/EphyUtils.cpp: * embed/mozilla/EphyUtils.h: * embed/mozilla/EventContext.cpp: * embed/mozilla/EventContext.h: * embed/mozilla/FilePicker.cpp: * embed/mozilla/FilePicker.h: * embed/mozilla/GlobalHistory.cpp: * embed/mozilla/GlobalHistory.h: * embed/mozilla/GtkNSSClientAuthDialogs.cpp: * embed/mozilla/GtkNSSDialogs.cpp: * embed/mozilla/GtkNSSKeyPairDialogs.cpp: * embed/mozilla/GtkNSSSecurityWarningDialogs.cpp: * embed/mozilla/GtkNSSSecurityWarningDialogs.h: * embed/mozilla/Makefile.am: * embed/mozilla/MozDownload.cpp: * embed/mozilla/MozDownload.h: * embed/mozilla/MozRegisterComponents.cpp: * embed/mozilla/MozRegisterComponents.h: * embed/mozilla/MozillaPrivate.cpp: * embed/mozilla/MozillaPrivate.h: * embed/mozilla/PrintingPromptService.cpp: * embed/mozilla/PrintingPromptService.h: * embed/mozilla/mozilla-download.cpp: * embed/mozilla/mozilla-download.h: * embed/mozilla/mozilla-embed-event.cpp: * embed/mozilla/mozilla-embed-event.h: * embed/mozilla/mozilla-embed-find.cpp: * embed/mozilla/mozilla-embed-find.h: * embed/mozilla/mozilla-embed-persist.cpp: * embed/mozilla/mozilla-embed-persist.h: * embed/mozilla/mozilla-embed-single.cpp: * embed/mozilla/mozilla-embed.cpp: * embed/mozilla/mozilla-embed.h: * embed/mozilla/mozilla-notifiers.cpp: * embed/mozilla/mozilla-notifiers.h: * embed/mozilla/mozilla-x509-cert.cpp: * embed/mozilla/mozilla-x509-cert.h: * lib/ephy-gui.c: * lib/ephy-gui.h: * lib/ephy-langs.c: * m4/gecko.m4: * src/ephy-window.c: (sync_tab_security): * src/prefs-dialog.c: (prefs_dialog_init): Drop support for gecko 1.7.
* Port notebook DND to gtk+ 2.9.Christian Persch2006-03-241-91/+79
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 2006-03-23 Christian Persch <chpe@cvs.gnome.org> * configure.ac: * data/ui/epiphany-ui.xml: * src/ephy-lockdown.c: (update_window): * src/ephy-notebook.c: (ephy_notebook_class_init), (button_press_cb), (ephy_notebook_init), (tab_label_weak_notify_cb), (build_tab_label): * src/ephy-notebook.h: * src/ephy-session.c: (notebook_page_added_cb), (notebook_page_removed_cb), (notebook_page_reordered_cb), (impl_attach_window): * src/ephy-tabs-menu.c: (notebook_page_added_cb), (notebook_page_removed_cb), (notebook_page_reordered_cb), (ephy_tabs_menu_set_window): * src/ephy-window.c: (update_tabs_menu_sensitivity), (idle_tab_remove_cb), (notebook_page_added_cb), (notebook_page_removed_cb), (notebook_page_reordered_cb), (notebook_page_close_request_cb), (setup_notebook), (ephy_window_remove_tab), (notebook_switch_page_cb): * src/epiphany.defs: * src/window-commands.c: (window_cmd_tabs_move_left), (window_cmd_tabs_move_right): Port notebook DND to gtk+ 2.9.
* src/ephy-window.cPeter Harvey2006-03-031-6/+9
| | | | | | | | | 2006-03-02 Peter Harvey <peter.a.harvey@gmail.com> * src/ephy-window.c Fix a bug introduced in my last patch where statusbar visibility was inverted from what it should have been.
* data/ui/epiphany-fs-toolbar.xml lib/egg/egg-toolbars-model.cPeter Harvey2006-02-211-6/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2006-02-21 Peter Harvey <peter.a.harvey@gmail.com> * data/ui/epiphany-fs-toolbar.xml * lib/egg/egg-toolbars-model.c * lib/egg/egg-toolbars-model.h Added "editable" attribute for toolbars. * data/ui/epiphany-ui.xml * lib/egg/egg-editable-toolbar.c * lib/egg/egg-editable-toolbar.h * src/ephy-toolbar.c * src/ephy-window.c Many improvements to toolbar menus. Includes changes to show visibility toggles in multiple locations. * lib/ephy-stock-icons.c * lib/ephy-stock-icons.h Additional stock icon for drag and drop. * src/bookmarks/ephy-bookmarks-ui.c Make 'customize toolbar' invisible when editing. * src/ephy-shell.c Mark the full-screen toolbar as non-removable.
* Fix crash on switching to/from fullscreen mode. Bug #331462.Christian Persch2006-02-171-1/+1
| | | | | | | | 2006-02-16 Christian Persch <chpe@cvs.gnome.org> * src/ephy-window.c: (ephy_window_state_event): Fix crash on switching to/from fullscreen mode. Bug #331462.
* data/ui/epiphany-ui.xml src/ephy-lockdown.c src/ephy-toolbar.cPeter Harvey2006-01-311-4/+5
| | | | | | | | | | | | | 2006-01-30 Peter Harvey <peter.a.harvey@gmail.com> * data/ui/epiphany-ui.xml * src/ephy-lockdown.c * src/ephy-toolbar.c * src/ephy-window.c * lib/egg/egg-editable-toolbar.c * lib/egg/egg-editable-toolbar.h Add a Toolbars submenu with per-toolbar hide/show items.
* Change text for zoom in/out.Christian Persch2006-01-311-2/+2
| | | | | | | | 2006-01-30 Christian Persch <chpe@cvs.gnome.org> * src/ephy-window.c: Change text for zoom in/out.
* src/ephy-window.cPeter Harvey2006-01-221-4/+2
| | | | | | | | | | 2006-01-22 Peter Harvey <peter.a.harvey@gmail.com> * src/ephy-window.c Fixed the mouse cursor entry/exit code for the toolbar. I have a suspicion that a bug may have been fixed in Gtk+ because this solution was tried before. Bug #326817.
* Add caret mode indicator UI. Bug #145581.Christian Persch2006-01-181-2/+6
| | | | | | | | | | | | 2006-01-18 Christian Persch <chpe@cvs.gnome.org> * src/ephy-statusbar.c: (create_caret_indicator), (ephy_statusbar_init), (ephy_statusbar_new), (ephy_statusbar_set_caret_mode): * src/ephy-statusbar.h: * src/ephy-window.c: (browse_with_caret_notifier): Add caret mode indicator UI. Bug #145581.
* Change the 'ephy_embed_event_get_property' function return a GValue*Crispin Flowerday2006-01-181-4/+4
| | | | | | | | | | | | | | | | | | | | | | 2006-01-17 Crispin Flowerday <gnome@flowerday.cx> * embed/ephy-embed-event.c: (ephy_embed_event_get_property): * embed/ephy-embed-event.h: * embed/mozilla/mozilla-embed-event.cpp: * src/ephy-tab.c: (save_property_url), (ephy_tab_dom_mouse_click_cb): * src/ephy-window.c: (update_popups_tooltips), (show_embed_popup): * src/epiphany.defs: * src/epiphany.override: * src/popup-commands.c: (popup_cmd_link_in_new_window), (popup_cmd_link_in_new_tab), (popup_cmd_bookmark_link), (popup_cmd_copy_link_address), (save_property_url), (popup_cmd_open_link), (popup_cmd_set_image_as_background), (popup_cmd_copy_image_location), (popup_cmd_open_image): Change the 'ephy_embed_event_get_property' function return a GValue* rather than taking a pointer to it as an argument.
* Fix number of /'s in URI.Christian Persch2006-01-171-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2006-01-17 Christian Persch <chpe@cvs.gnome.org> * data/chrome/epiphany.manifest.in: Fix number of /'s in URI. * data/epiphany.schemas.in: Add new entries. * embed/mozilla/EphyAboutModule.cpp: Fix title. * data/glade/prefs-dialog.glade: * embed/ephy-embed-prefs.h: * embed/mozilla/mozilla-embed-single.cpp: * embed/mozilla/mozilla-notifiers.cpp: * embed/mozilla/mozilla-notifiers.h: * lib/eel-gconf-extensions.c: (eel_gconf_unset_key), (eel_gconf_notify): * lib/eel-gconf-extensions.h: * lib/egg/egg-editable-toolbar.c: (popup_context_menu_cb), (button_press_event_cb), (egg_editable_toolbar_set_ui_manager), (egg_editable_toolbar_set_selected): * lib/ephy-dialog.c: (set_value_from_pref), (set_pref_from_value), (set_value_from_togglebutton), (strcmp_with_null), (get_index_from_value), (compare_values), (set_togglebutton_from_value), (set_pref_from_info_and_emit), (spinbutton_changed_cb), (save_info): * lib/ephy-dialog.h: * lib/ephy-file-helpers.c: (ephy_file_monitor_timeout_cb), (ephy_file_monitor_cb), (ephy_file_monitor_add), (ephy_file_monitor_cancel): * lib/ephy-file-helpers.h: * src/ephy-extensions-manager.c: (ephy_extensions_manager_load_file): * src/ephy-window.c: * src/popup-commands.c: (popup_cmd_bookmark_link): * src/prefs-dialog.c: (prefs_dialog_finalize), (setup_font_combo), (fonts_language_changed_cb), (font_prefs_dialog_response_cb), (row_is_separator), (setup_fonts_dialog), (font_prefs_button_clicked_cb), (css_checkbox_toggled), (css_edit_button_clicked_cb), (prefs_dialog_init): Rework font prefs, and add user stylesheet setting. * src/bookmarks/ephy-bookmark-action-group.c: (node_added_cb): * src/bookmarks/ephy-bookmarks.c: (ephy_bookmarks_get_local): * src/window-commands.c: (window_cmd_file_bookmark_page): Some build fixes.
* Add translator commentsChristian Persch2006-01-131-0/+2
|
* Fix zoom buttons order on default toolbar. Set short-label property forChristian Persch2006-01-131-0/+4
| | | | | | | | | | 2006-01-13 Christian Persch <chpe@cvs.gnome.org> * data/ui/epiphany-toolbar.xml: * src/ephy-window.c: Fix zoom buttons order on default toolbar. Set short-label property for zoom actions.
* Exit ppv mode when clicking the window close button. Bug #326136.Christian Persch2006-01-081-1/+4
| | | | | | | | 2006-01-08 Christian Persch <chpe@cvs.gnome.org> * src/ephy-window.c: (ephy_window_delete_event): Exit ppv mode when clicking the window close button. Bug #326136.
* Fix warning when Ctrl-F while the find toolbar is already shown. FixChristian Persch2006-01-041-7/+9
| | | | | | | | | | | | | | | | 2006-01-04 Christian Persch <chpe@cvs.gnome.org> * src/ephy-find-toolbar.c: (entry_changed_cb), (set_focus_cb), (ephy_find_toolbar_grab_focus), (ephy_find_toolbar_find_next), (ephy_find_toolbar_find_previous), (ephy_find_toolbar_open), (ephy_find_toolbar_close): Fix warning when Ctrl-F while the find toolbar is already shown. Fix next/prev button sensitivity when find wrapped around. * src/ephy-window.c: Add more XF86XK key codes.
* Zoom on Ctrl-=, Ctrl-KP+, Ctrl-KP- too. Bug #105183.Christian Persch2005-12-311-0/+3
| | | | | | | | 2005-12-30 Christian Persch <chpe@cvs.gnome.org> * src/ephy-window.c: Zoom on Ctrl-=, Ctrl-KP+, Ctrl-KP- too. Bug #105183.
* Show warning on mixed content in the tooltip. Bug #321508.Christian Persch2005-12-211-0/+5
| | | | | | | | 2005-12-20 Christian Persch <chpe@cvs.gnome.org> * src/ephy-window.c: Show warning on mixed content in the tooltip. Bug #321508.
* A embed/ephy-certificate-manager.c: A embed/ephy-certificate-manager.h: AChristian Persch2005-12-111-0/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | 2005-12-11 Christian Persch <chpe@cvs.gnome.org> * configure.ac: * data/glade/Makefile.am: * data/glade/certs-manager.glade: * data/ui/epiphany-ui.xml: * embed/Makefile.am: A embed/ephy-certificate-manager.c: A embed/ephy-certificate-manager.h: A embed/ephy-x509-cert.c: A embed/ephy-x509-cert.h: * embed/mozilla/Makefile.am: * embed/mozilla/mozilla-embed-single.cpp: A embed/mozilla/mozilla-x509-cert.cpp: A embed/mozilla/mozilla-x509-cert.h: * src/Makefile.am: A src/ephy-certificate-manager.c: A src/ephy-certificate-manager.h: * src/ephy-window.c: * src/window-commands.c: * src/window-commands.h: Add certificate manager. Patch by Robert Marcano and Crispin Flowerday. Fixes bug #119090.
* Minor code cleanup.Christian Persch2005-12-081-3/+8
| | | | | | | | | | | | | | | | | 2005-12-07 Christian Persch <chpe@cvs.gnome.org> * embed/mozilla/EphyFind.cpp: Minor code cleanup. * src/ephy-find-toolbar.c: (entry_key_press_event_cb), (ephy_find_toolbar_close): Also check for GDK_ISO_Enter. * src/ephy-window.c: (sync_tab_address): Close the find toolbar when loading a new page.
* While in find mode, set the selection colour to "attention".Christian Persch2005-12-051-5/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 2005-12-04 Christian Persch <chpe@cvs.gnome.org> * embed/ephy-embed-find.c: (ephy_embed_find_set_selection): * embed/ephy-embed-find.h: * embed/mozilla/EphyFind.cpp: * embed/mozilla/EphyFind.h: * embed/mozilla/mozilla-embed-find.cpp: While in find mode, set the selection colour to "attention". * src/ephy-find-toolbar.c: (set_status), (clear_status), (tab_search_key_press_cb), (entry_key_press_event_cb), (entry_activate_cb), (set_focus_cb), (ephy_find_toolbar_set_window), (ephy_find_toolbar_init), (ephy_find_toolbar_class_init), (ephy_find_toolbar_set_embed), (ephy_find_toolbar_open), (ephy_find_toolbar_close), (ephy_find_toolbar_request_close): * src/ephy-find-toolbar.h: * src/ephy-window.c: (sync_tab_document_type), (find_toolbar_close_cb), (ephy_window_set_print_preview), (ephy_window_get_find_toolbar), (ephy_window_get_context_event): Refactor find toolbar closing not to crash with auto-closing popups. Unset the selection colour on close. Remove dead #ifdef FIND_WHILE_TYPING_IN_EMBED code.
* Add F5 as accel for reload.Christian Persch2005-11-181-5/+1
| | | | | | | | 2005-11-17 Christian Persch <chpe@cvs.gnome.org> * src/ephy-window.c: Add F5 as accel for reload.
* Remove accelerator actions for extra keybindings.Philip Langdale2005-11-131-70/+31
| | | | | | | | | | | | | | | | | | | | | | | | | | | 2005-11-12 Philip Langdale <philipl@mail.utexas.edu> * data/ui/epiphany-ui.xml: Remove accelerator actions for extra keybindings. * src/ephy-lockdown.c: (update_window): Don't manipulate removed "FileSave" action. * src/ephy-toolbar.c * src/ephy-toolbar.h: (ephy_toolbar_get_action_group): Add getter for the toolbar's action group. * src/ephy-window.c: (ephy_window_key_press_event): Transition over to the Galeon mechanism for handling extra keybindings. This maps the keybindings to actions so that no extra actions are required. The only subtlety is that some of the actions come from the toolbar, so access to its action group is required. * src/window-commands.c * src/window-commands.h: (window_cmd_go_back/forward/home): Remove the now unsued back/forward/home callbacks.
* Mark strings in param specs as static.Christian Persch2005-11-081-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 context menu code by removing the extra EphyDocument*FramePopupChristian Persch2005-11-031-11/+17
| | | | | | | | | | | | | 2005-11-02 Christian Persch <chpe@cvs.gnome.org> * data/ui/epiphany-ui.xml: * src/ephy-window.c: (update_popup_actions_visibility), (show_embed_popup): Simplify context menu code by removing the extra EphyDocument*FramePopup variants, and just setting the OpenFrame action's visibility accordingly; and fix its accelerator. Fixes bug #320520.
* Use a single connection to the settings object, andChristian Persch2005-11-021-40/+69
| | | | | | | | | | 2005-11-02 Christian Persch <chpe@cvs.gnome.org> * src/ephy-window.c: (settings_change_notify), (settings_changed_cb), (ephy_window_key_press_event), (ephy_window_constructor): Use a single connection to the settings object, and
* Revert change from H18 patch which shouldn't have been committed.Christian Persch2005-11-021-1/+1
| | | | | | | | 2005-11-02 Christian Persch <chpe@cvs.gnome.org> * src/ephy-window.c: Revert change from H18 patch which shouldn't have been committed.
* I accidentally committed my half-complete port of the Galeon key-pressPhilip Langdale2005-11-021-117/+46
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 2005-11-01 Philip Langdale <philipl@mail.utexas.edu> * src/ephy-window.c: (ephy_window_key_press_event), (gtk_key_theme_changed_cb), (ephy_window_constructor), (ephy_window_class_init): I accidentally committed my half-complete port of the Galeon key-press event handler that allows emacs keybindings to work when I made my last commit. Whoops. This change addresses post-facto comments made by chpe :-) Nothing terribly profound; just attaching the GktSettings listener on a per-window, rather than global, basis and detecting the other keycodes for Enter/Return. As the original change wasn't described, I will do it here: Gtk+ has optional support for emacs style keybindings in GtkEditable based widgets. But, these keybindings often conflict with toplevel accelerators. To make things work sanely, we'd like the emacs keybindings to take priority when the Editable is focused, and the toplevel accelerators take priority for other widgets. As gtk2 uses outside-in event propagation, we have to attach a topevel event handler to get the event and then pass it on to the focused widget if appropriate - and that is what this change does.
* Use curly quotes.Christian Persch2005-11-011-9/+9
| | | | | | | | 2005-11-01 Christian Persch <chpe@cvs.gnome.org> * src/ephy-window.c: (update_popups_tooltips): Use curly quotes.
* Move most of ephy_window_init code to constructor so properties areJean-François Rameau2005-10-301-56/+55
| | | | fully initialized before running that code.
* src/ephy-link-action.cPhilip Langdale2005-10-261-5/+151
| | | | | | | | | | | | | | | | | 2005-10-25 Philip Langdale <philipl@mail.utexas.edu> * src/ephy-link-action.c * src/ephy-link-action.h: (proxy_button_press_event_cb), (proxy_button_release_event_cb), (proxy_drag_begin_cb), (ephy_link_action_connect_proxy), (ephy_link_action_disconnect_proxy), (ephy_link_action_class_init), (ephy_link_action_init): Well, that didn't last long. Turns out this was a solved problem in EphyBookmarkAction but no one pointed it out until just now. Using gtk_button_pressed/released fixes everything.
* Point main menu UI at toolbar actions. Don't try and change the state ofPhilip Langdale2005-10-221-17/+0
| | | | | | | | | | | | | | | | | | | | | 2005-10-21 Philip Langdale <philipl@mail.utexas.edu> * data/ui/epiphany-ui.xml: Point main menu UI at toolbar actions. * src/ephy-lockdown.c: (update_window): Don't try and change the state of the now non-existent menu specific actions. * src/ephy-toolbar.c (ephy_toolbar_set_window): Sync up toolbar actions so that they will appear in menus to be identical to the old menu specific actions. This just means adding accelerators and shortcuts and adjusting tooltip text. * src/ephy-window.c (sync_tab_navigation): Remove the menu specific actions and consequently, don't try to manipulate them. * src/window-commands.c * src/window-commands.h: (window_cmd_go_up): Remove unused callback.
* Remove fullscreen and leave-fullscreen stock icons; they're available inChristian Persch2005-10-201-1/+1
| | | | | | | | | | | | | 2005-10-20 Christian Persch <chpe@cvs.gnome.org> * lib/ephy-stock-icons.c: (ephy_stock_icons_init): * lib/ephy-stock-icons.h: * src/ephy-fullscreen-popup.c: (ephy_fullscreen_popup_constructor): * src/ephy-toolbar.c: (ephy_toolbar_constructor): * src/ephy-window.c: Remove fullscreen and leave-fullscreen stock icons; they're available in gtk+ since 2.8.
* H18 patch, by Peter Harvey <pah06@uow.edu.au>.Peter Harvey2005-10-171-129/+139
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2005-10-16 Peter Harvey <pah06@uow.edu.au> H18 patch, by Peter Harvey <pah06@uow.edu.au>. * data/ui/epiphany-bookmark-editor-ui.xml: * data/ui/epiphany-ui.xml: * lib/egg/egg-editable-toolbar.c: (get_dock_position), (get_toolbar_position), (get_toolbar_nth), (find_action), (drag_data_delete_cb), (drag_begin_cb), (drag_end_cb), (drag_data_get_cb), (move_item_cb), (set_dock_visible), (remove_item_cb), (remove_toolbar_cb), (toggle_visibility_cb), (egg_editable_toolbar_add_visibility_items), (egg_editable_toolbar_add_popup_items), (popup_context_menu_cb), (button_press_event_cb), (configure_item_sensitivity), (configure_item_cursor), (connect_widget_signals), (action_sensitive_cb), (create_item_from_action), (create_item_from_position), (toolbar_drag_data_received_cb), (toolbar_drag_drop_cb), (toolbar_drag_motion_cb), (toolbar_drag_leave_cb), (configure_drag_dest), (create_dock), (toolbar_changed_cb), (unparent_fixed), (update_fixed), (toolbar_added_cb), (toolbar_removed_cb), (item_added_cb), (item_removed_cb), (egg_editable_toolbar_construct), (egg_editable_toolbar_set_ui_manager), (egg_editable_toolbar_set_property), (egg_editable_toolbar_get_property), (egg_editable_toolbar_init), (egg_editable_toolbar_finalize), (egg_editable_toolbar_get_edit_mode), (egg_editable_toolbar_set_edit_mode), (egg_editable_toolbar_set_fixed): * lib/egg/egg-editable-toolbar.h: * lib/egg/egg-toolbar-editor.c: (compare_items), (item_added_or_removed_cb), (toolbar_removed_cb), (egg_toolbar_editor_set_model), (egg_toolbar_editor_finalize), (drag_begin_cb), (drag_end_cb), (drag_data_get_cb), (editor_create_item), (editor_create_item_from_name), (append_table), (update_editor_sheet), (egg_toolbar_editor_init): * lib/egg/egg-toolbar-editor.h: * lib/egg/egg-toolbars-model.c: (egg_toolbars_model_to_xml), (egg_toolbars_model_save), (toolbar_node_new), (item_node_new), (item_node_free), (toolbar_node_free), (egg_toolbars_model_get_flags), (egg_toolbars_model_set_flags), (egg_toolbars_model_get_data), (egg_toolbars_model_get_name), (impl_add_item), (egg_toolbars_model_add_item), (egg_toolbars_model_add_toolbar), (parse_data_list), (parse_item_list), (parse_toolbars), (egg_toolbars_model_load), (egg_toolbars_model_class_init), (egg_toolbars_model_init), (egg_toolbars_model_finalize), (egg_toolbars_model_remove_toolbar), (egg_toolbars_model_remove_item), (egg_toolbars_model_move_item), (egg_toolbars_model_n_items), (egg_toolbars_model_item_nth), (egg_toolbars_model_n_toolbars), (egg_toolbars_model_toolbar_nth), (egg_toolbars_model_get_types), (egg_toolbars_model_set_types), (fill_avail_array), (egg_toolbars_model_get_avail), (egg_toolbars_model_get_n_avail), (egg_toolbars_model_set_n_avail): * lib/egg/egg-toolbars-model.h: * src/bookmarks/Makefile.am: * src/bookmarks/ephy-bookmark-action-group.c: (smart_added_cb), (smart_removed_cb), (node_changed_cb), (node_added_cb), (node_removed_cb), (ephy_bookmark_group_new): * src/bookmarks/ephy-bookmark-action-group.h: * src/bookmarks/ephy-bookmark-action.c: (create_tool_item), (ephy_bookmark_action_sync_icon), (show_context_menu), (popup_menu_cb), (button_press_cb), (button_release_cb), (connect_proxy), (ephy_bookmark_action_updated), (ephy_bookmark_action_get_bookmark), (ephy_bookmark_action_set_bookmark), (ephy_bookmark_action_set_property), (ephy_bookmark_action_get_property), (ephy_bookmark_action_finalize), (ephy_bookmark_action_class_init), (ephy_bookmark_action_init), (ephy_bookmark_action_name), (ephy_bookmark_action_new): * src/bookmarks/ephy-bookmark-action.h: * src/bookmarks/ephy-bookmark-factory-action.c: (ephy_bookmark_factory_action_get_type), (activate_item_cb), (build_menu_for_topic), (build_menu), (remove_placeholder_cb), (activate_placeholder_cb), (clicked_placeholder_cb), (realize_placeholder_cb), (create_tool_item), (connect_proxy), (ephy_bookmark_factory_action_class_init), (ephy_bookmark_factory_action_new): * src/bookmarks/ephy-bookmark-factory-action.h: * src/bookmarks/ephy-bookmark-properties.c: (ephy_bookmark_properties_set_property), (ephy_bookmark_properties_get_property), (bookmark_properties_response_cb), (update_entry), (location_entry_changed_cb), (build_ui): * src/bookmarks/ephy-bookmarks-editor.c: (add_entry_monitor), (cmd_add_topic), (delete_topic_dialog_construct), (cmd_bookmarks_import), (ephy_bookmarks_editor_finalize), (ephy_bookmarks_editor_node_activated_cb), (ephy_bookmarks_editor_update_menu), (view_focus_cb), (add_focus_monitor), (remove_focus_monitor), (bookmarks_filter), (search_entry_search_cb), (ephy_bookmarks_editor_construct), (ephy_bookmarks_editor_set_parent), (ephy_bookmarks_editor_set_property), (ephy_bookmarks_editor_get_property), (ephy_bookmarks_editor_init): * src/bookmarks/ephy-bookmarks-menu.c: (append_bookmarks), (append_menu), (ephy_bookmarks_menu_build): * src/bookmarks/ephy-bookmarks-menu.h: * src/bookmarks/ephy-bookmarks-ui.c: (find_action), (activate_bookmarks_menu), (activate_favorites_menu), (erase_bookmarks_menu), (erase_favorites_menu), (tree_changed_cb), (node_added_cb), (node_changed_cb), (node_removed_cb), (ephy_bookmarks_ui_attach_window), (ephy_bookmarks_ui_detach_window), (toolbar_node_removed_cb), (topic_has_data), (topic_get_data), (topic_get_name), (bookmark_has_data), (bookmark_get_data), (bookmark_get_name), (bookmark_new_name), (ephy_bookmarks_ui_attach_toolbar_model), (ephy_bookmarks_ui_detach_toolbar_model): * src/bookmarks/ephy-bookmarks-ui.h: * src/bookmarks/ephy-bookmarks.c: (ephy_bookmarks_get_type), (ephy_bookmarks_init_defaults), (ephy_bookmarks_class_init), (ephy_bookmarks_save_delayed), (add_to_favorites), (update_bookmark_keywords), (ephy_bookmarks_init), (ephy_bookmarks_finalize), (ephy_bookmarks_add), (ephy_bookmarks_set_address), (ephy_bookmarks_set_icon), (ephy_bookmarks_add_keyword), (ephy_bookmarks_show_bookmark_properties), (ephy_bookmarks_get_from_id), (ephy_bookmarks_compare_topics), (ephy_bookmarks_compare_topic_pointers), (ephy_bookmarks_compare_bookmarks), (ephy_bookmarks_compare_bookmark_pointers): * 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-favorites-menu.c: * src/bookmarks/ephy-favorites-menu.h: * src/bookmarks/ephy-new-bookmark.c: (ephy_new_bookmark_add), (build_editing_table), (ephy_new_bookmark_construct), (ephy_new_bookmark_set_property), (ephy_new_bookmark_get_property): * src/bookmarks/ephy-nodes-cover.c: (ephy_nodes_count_covered), (ephy_nodes_remove_covered), (ephy_nodes_remove_not_covered), (ephy_nodes_get_covered), (ephy_nodes_covered), (ephy_nodes_get_covering): * src/bookmarks/ephy-nodes-cover.h: * src/bookmarks/ephy-open-tabs-action.c: (activate_cb), (node_added_cb), (node_removed_cb), (ephy_open_tabs_group_new), (ephy_open_tabs_action_name): * src/bookmarks/ephy-open-tabs-action.h: * src/bookmarks/ephy-related-action.c: (node_changed), (node_destroyed), (open_link), (iface_init), (ephy_related_action_get_type), (ephy_related_action_new): * src/bookmarks/ephy-related-action.h: * src/bookmarks/ephy-topic-action-group.c: (node_changed_cb), (node_added_cb), (node_removed_cb), (ephy_topic_group_new): * src/bookmarks/ephy-topic-action-group.h: * src/bookmarks/ephy-topic-action.c: (ephy_topic_action_get_type), (create_tool_item), (ephy_topic_action_sync_label), (get_popup), (erase_popup), (child_added_cb), (child_changed_cb), (child_removed_cb), (menu_destroy_cb), (menu_init_cb), (button_deactivate_cb), (button_toggled_cb), (button_release_cb), (button_press_cb), (connect_proxy), (ephy_topic_action_updated), (ephy_topic_action_get_topic), (ephy_topic_action_set_topic), (ephy_topic_action_set_property), (ephy_topic_action_get_property), (ephy_topic_action_class_init), (ephy_topic_action_init), (ephy_topic_action_name), (ephy_topic_action_new): * src/bookmarks/ephy-topic-action.h: * src/bookmarks/ephy-topic-factory-action.c: (ephy_topic_factory_action_get_type), (sort_topics), (activate_item_cb), (build_menu), (remove_placeholder_cb), (activate_placeholder_cb), (clicked_placeholder_cb), (realize_placeholder_cb), (create_tool_item), (connect_proxy), (ephy_topic_factory_action_class_init), (ephy_topic_factory_action_new): * src/bookmarks/ephy-topic-factory-action.h: * src/ephy-link-action.c: (ephy_link_action_group_get_type), (ephy_link_action_group_new): * src/ephy-link-action.h: * src/ephy-lockdown.c: (find_name), (find_action_group), (update_window): * src/ephy-notebook.c: (move_tab_to_another_notebook), (ephy_notebook_switch_page_cb), (ephy_notebook_init), (tab_label_style_set_cb), (build_tab_label), (ephy_notebook_add_tab): * src/ephy-shell.c: (ephy_shell_get_toolbars_model): * src/ephy-toolbar-editor.c: (ephy_toolbar_editor_constructor), (ephy_toolbar_editor_finalize), (ephy_toolbar_editor_set_property), (ephy_toolbar_editor_class_init): * src/ephy-toolbar.c: (ephy_toolbar_realize), (ephy_toolbar_unrealize), (ephy_toolbar_finalize): * src/ephy-toolbars-model.c: (update_flags), (ephy_toolbars_model_load): * src/ephy-window.c: (ephy_window_get_type), (get_chromes_visibility), (sync_chromes_visibility), (ephy_window_key_press_event), (tool_item_enter_cb), (tool_item_leave_cb), (tool_item_drag_begin_cb), (connect_tool_item), (disconnect_tool_item), (disconnect_proxy_cb), (connect_proxy_cb), (update_chromes_actions), (show_embed_popup), (tab_added_cb), (tab_removed_cb), (ephy_window_set_chrome), (ephy_window_dispose), (ephy_window_class_init), (ephy_window_init), (ephy_window_finalize), (ephy_window_remove_tab), (ephy_window_set_zoom), (sync_prefs_with_chrome), (ephy_window_view_toolbar_cb): * src/ephy-window.h: Revision history: h18, released 2005/09/23, for Epiphany 1.8.0 * Just an update for 1.8.0. h17, released 2005/08/30, for Epiphany 1.7.6 or CVS HEAD * Mostly just an update for 1.7.6. * Topic menus on the toolbar now open without releasing the mouse button. * Topic menus on the toolbar are now also hierarchical (see if you like it. h16, released 2005/08/25, for Epiphany 1.7.5 or CVS HEAD * Just an update for 1.7.5. Sorry, I've been busy. :) h15, released 2005/07/19, for Epiphany 1.7.2 or CVS HEAD * Code cleanup h14, released 2005/07/9, for Epiphany 1.7.1 or CVS HEAD * Improved helpful tip when adding a bookmark * Improved toolbar context menu * Toolbar visibility state is now saved * Separated bookmark/topic action groups into separate files * Topics in the overflow menu now behave as submenus * Now importing old bookmarksbar, and saving to new filename * Incremented toolbar file format version number to 1.1 * Fixed the 'sticky' statusbar help * Fixed a crashing bug (dnd then open a topic on the toolbar) h13, released 2005/05/12, for CVS HEAD * Added middle-mouse drag-drop for the editable toolbar. * Fixed some warnings at compile and run time. * Added brief help for the user when adding a new bookmark. * Cleaned up the editable toolbar code a little. h12, released 2005/05/10, for CVS HEAD * Added new editing facilities for the editable toolbar. h11, released 2005/04/29, for CVS HEAD * Fixed bug in statusbar information for toolbar items. * Added an all-new 'Related' toolbar widget which changes to show the most related topic whenever a bookmark is activated. h10, released 2005/04/15, for Epiphany 1.6.2 or CVS HEAD * Added statusbar information for all toolbar items. * Empty toolbars are now only deleted when exiting edit mode. * Fixed regression of middle-click for bookmarks on toolbar. * Fixed regression of ellipsized bookmark names in menus. h9, released 2005/04/12, for Epiphany 1.6.1 * Updated patch for 1.6.1. Long time no see. * Now using EphyLink objects everywhere. h7, released 2004/10/21, for Epiphany 1.4.4 * Updated patch for 1.4.4. * Fixed bugs causing crashes when bookmarks were added (thanks Reinout). * Added "Open in Tabs" back into bookmark menus where suitable. h6, released 2004/09/20, for Epiphany 1.4.0 * Updated patch for 1.4.0. * Removed the bookmarks bar. * Generate shared XML string for bookmarks menu. * Slightly improve performance of node-cover code. * Delay adding bookmarks menu until it is first used. * Fixed bug(?) in ephy-node. h4, released 2004/08/08, for Epiphany 1.3.4 * Updated patch due to changes to topics selector. * Removed 'Most Visited' from the min-cover calculations. * Fixed Epiphany 1.3.4 bug where topics in selector aren't sorted. * Updated patch due to other changes in Epiphany 1.3.4 source. h3, released 2004/07/12, for Epiphany 1.3.2 * Simple update for Epiphany 1.3.2 h3, released 2004/05/24, for Epiphany 1.2.5 * Moved duplicated functions into a seperate file. * Improved topic selector. * Bookmarks toolbar topic menus now have subdivisions. * Topic names in menu now change if modified in the bookmarks editor. h2, released 2004/05/23, for Epiphany 1.2.5 * Significantly cleaned up the code. * 'Most Visited' no longer appears as a submenu. * Subtopics are selected much more intelligently, giving a better approximation to a true minimum cover. * Topic selector now shows suggestions with arrows, not bold font. h1, released 2004/05/19, for Epiphany 1.2.5 * Initial release.
* Remove the "network-status" signal from the embed single, and make it aChristian Persch2005-10-131-13/+14
| | | | | | | | | | | | | | | | | | | | 2005-10-12 Christian Persch <chpe@cvs.gnome.org> * embed/ephy-embed-single.c: (ephy_embed_single_iface_init), (ephy_embed_single_set_network_status), (ephy_embed_single_get_network_status): * embed/ephy-embed-single.h: * embed/mozilla/EphySingle.cpp: * embed/mozilla/EphySingle.h: * embed/mozilla/mozilla-embed-single.cpp: * src/ephy-window.c: (sync_tab_icon), (sync_network_status), (ephy_window_dispose), (ephy_window_init): * src/epiphany.defs: * src/window-commands.c: (window_cmd_file_work_offline): Remove the "network-status" signal from the embed single, and make it a property instead. Keep track of the network status in EphySingle, and emit property notification when it changes.
* Eliminate the *Popup/*ImagePopup popup variants. Add image context to allJean-François Rameau2005-10-101-15/+21
| | | | | | | | | | | | 2005-10-09 Jean-François Rameau <jframeau@cvs.gnome.org> * data/ui/epiphany-ui.xml: * src/ephy-window.c: (show_embed_popup), (update_image_actions_visibility): Eliminate the *Popup/*ImagePopup popup variants. Add image context to all popups it can show up. Display image context dynamically.
* Add style properties for 'secure-[bg|fg]-color', and apply them when theChristian Persch2005-10-071-4/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* Fix memory leak.Christian Persch2005-10-031-3/+8
| | | | | | | | | 2005-10-03 Christian Persch <chpe@cvs.gnome.org> * src/ephy-window.c: (setup_ui_manager), (ephy_window_dispose), (ephy_window_finalize): Fix memory leak.
* Schedule a GC in finalize of EphyTab and EphyWindow, to work around bugChristian Persch2005-10-031-0/+8
| | | | | | | | | | 2005-10-02 Christian Persch <chpe@cvs.gnome.org> * src/ephy-tab.c: (ephy_tab_finalize): * src/ephy-window.c: (ephy_window_finalize): Schedule a GC in finalize of EphyTab and EphyWindow, to work around bug #317242.
* Use nsIDOMWindowInternal::Close to close tabs. Delay tabs destruction toChristian Persch2005-10-031-22/+147
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2005-10-02 Christian Persch <chpe@cvs.gnome.org> * configure.ac: * embed/ephy-embed-shell.c: (ephy_embed_shell_dispose), (ephy_embed_shell_finalize), (ephy_embed_shell_class_init): * embed/ephy-embed.c: (ephy_embed_base_init), (ephy_embed_show_page_certificate), (ephy_embed_close): * embed/ephy-embed.h: * embed/mozilla/EphyBrowser.cpp: * embed/mozilla/EphyBrowser.h: * embed/mozilla/mozilla-embed.cpp: * src/ephy-notebook.c: (ephy_notebook_class_init), (close_button_clicked_cb): * src/ephy-notebook.h: * src/ephy-python.c: (ephy_python_init), (ephy_python_shutdown), (ephy_python_schedule_gc): * src/ephy-shell.c: (ephy_shell_class_init), (gnome_session_init), (ephy_shell_dispose), (ephy_shell_finalize): * src/ephy-tab.c: (ephy_tab_init): * src/ephy-window.c: (construct_confirm_close_dialog), (confirm_close_with_modified_forms), (embed_modal_alert_cb), (idle_tab_remove_cb), (schedule_tab_close), (embed_close_request_cb), (embed_destroy_browser_cb), (tab_added_cb), (tab_removed_cb), (tab_close_request_cb), (setup_notebook), (remove_true), (ephy_window_dispose), (cancel_handler), (ephy_window_init), (ephy_window_finalize): * src/window-commands.c: (event_with_shift), (window_cmd_view_reload), (window_cmd_file_close_window): Use nsIDOMWindowInternal::Close to close tabs. Delay tabs destruction to an idle handler, to avoid crashes when tabs are closed from signal handlers (blur, mousedown, keydown etc). Fixes bug #172878, bug #172879, bug #172882, bug #303254, bug #313425.
* Add a function to get the tab's real title, and use it where appropriate.Christian Persch2005-09-281-1/+2
| | | | | | | | | | | | | | | | 2005-09-28 Christian Persch <chpe@cvs.gnome.org> * src/ephy-notebook.c: (sync_label): * src/ephy-tab.c: (ephy_tab_get_title_composite), (ephy_tab_get_title): * src/ephy-tab.h: * src/ephy-tabs-menu.c: (sync_tab_title): * src/ephy-window.c: (sync_tab_title): * src/window-commands.c: (window_cmd_file_send_to), (window_cmd_file_bookmark_page): Add a function to get the tab's real title, and use it where appropriate. Fixes bug #317418.
* Unify background image and image code (contex menu, conext event). Fix bugJean-François Rameau2005-09-271-21/+1
| | | | | | | | | | | | | | 2005-09-26 Jean-François Rameau <jframeau@cvs.gnome.org> * src/ephy-lockdown.c: (update_window): * src/ephy-window.c: (update_popups_tooltips), (show_embed_popup): * src/popup-commands.c: * src/popup-commands.h: * embed/mozilla/EventContext.cpp: (GetEventContext): * data/ui/epiphany-ui.xml: Unify background image and image code (contex menu, conext event). Fix bug 154887.
* Make the methods to unset/release the context event semi-public.Christian Persch2005-09-191-15/+23
| | | | | | | | | | | 2005-09-19 Christian Persch <chpe@cvs.gnome.org> * src/ephy-window.c: (_ephy_window_set_context_event), (_ephy_window_unset_context_event), (embed_popup_deactivate_cb), (show_embed_popup), (ephy_window_dispose): * src/ephy-window.h: Make the methods to unset/release the context event semi-public.
* Fix compile warnings.Christian Persch2005-08-261-1/+1
| | | | | | | | 2005-08-26 Christian Persch <chpe@cvs.gnome.org> * src/ephy-window.c: (ephy_window_delete_event): Fix compile warnings.
* Use class closure for delete event instead of signal handler.Christian Persch2005-08-211-6/+11
| | | | | | | | | 2005-08-21 Christian Persch <chpe@cvs.gnome.org> * src/ephy-window.c: (ephy_window_delete_event), (ephy_window_class_init), (ephy_window_init): Use class closure for delete event instead of signal handler.
* Add switch to disable focus fix, and to disable PSM. Error out if PSMChristian Persch2005-08-081-1/+1
| | | | | | | | | | | | | | | | | | | 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.
* Fix stringChristian Persch2005-08-041-1/+1
|
* Add public function ephy_window_get_context_event() to get theChristian Persch2005-08-041-15/+83
| | | | | | | | | | | | | | | | | | | | | | | | 2005-08-03 Christian Persch <chpe@cvs.gnome.org> * src/ephy-window.c: (popup_menu_at_coords), (idle_unref_context_event), (set_context_event), (embed_popup_deactivate_cb), (get_name_from_address_value), (show_embed_popup), (ephy_window_dispose), (ephy_window_get_is_print_preview), (ephy_window_get_context_event): * src/ephy-window.h: * src/epiphany.defs: * src/popup-commands.c: (popup_cmd_link_in_new_window), (popup_cmd_link_in_new_tab), (popup_cmd_bookmark_link), (popup_cmd_copy_link_address), (save_property_url), (popup_cmd_open_link), (popup_cmd_set_image_as_background), (popup_cmd_copy_image_location), (popup_cmd_open_image): Add public function ephy_window_get_context_event() to get the EphyEmbedEvent for the current popup menu, instead of using an undocument g_object_get_data() call. Also fixes bug #310910. Don't printf NULL; fixes bug #309796.
* Now that the tab's address is always correct (isn't the typed addressChristian Persch2005-08-021-3/+2
| | | | | | | | | | | | | | | | | | 2005-08-01 Christian Persch <chpe@cvs.gnome.org> * src/ephy-location-action.c: (get_location_cb): * src/ephy-session.c: (write_tab): * src/ephy-tab.c: * src/ephy-window.c: (modal_alert_cb): * src/prefs-dialog.c: (set_homepage_entry), (prefs_homepage_current_button_clicked_cb): * src/window-commands.c: (window_cmd_file_send_to), (window_cmd_file_bookmark_page), (window_cmd_view_page_source): Now that the tab's address is always correct (isn't the typed address anymore), always use ephy_tab_get_address instead of ephy_embed_get_location, since the former also gets the right address when the page loading but still blank. Should fix bug #147840.
* Add a ::icon property to EphyTab, and use that everywhere instead ofChristian Persch2005-08-011-24/+9
| | | | | | | | | | | | | | | | | | | | | | 2005-08-01 Christian Persch <chpe@cvs.gnome.org> * src/ephy-location-action.c: (sync_icon), (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-notebook.c: (sync_icon): * src/ephy-tab.c: (ephy_tab_set_property), (ephy_tab_get_property), (ephy_tab_class_init), (ephy_tab_finalize), (ephy_tab_load_icon), (ephy_tab_icon_cache_changed_cb), (ephy_tab_set_icon_address), (ephy_tab_get_icon), (ephy_tab_init): * src/ephy-tab.h: * src/ephy-toolbar.c: (ephy_toolbar_set_favicon): * src/ephy-toolbar.h: * src/ephy-window.c: (sync_tab_icon): Add a ::icon property to EphyTab, and use that everywhere instead of querying the icon cache, thus saving memory.
* Tiny string fix. Fixes bug #167448.Christian Persch2005-08-011-1/+1
| | | | | | | | 2005-07-31 Christian Persch <chpe@cvs.gnome.org> * src/ephy-window.c: Tiny string fix. Fixes bug #167448.
* Replace ephy_embed_activate with gtk_widget_grab_focusCrispin Flowerday2005-07-301-2/+2
| | | | | | | | | | | | | | | | 2005-07-29 Crispin Flowerday <gnome@flowerday.cx> * src/ephy-find-toolbar.c: (ephy_find_toolbar_grab_focus), (ephy_find_toolbar_open), (ephy_find_toolbar_close): * src/ephy-shell.c: (ephy_shell_new_tab_full): * src/ephy-tab.c: (ephy_tab_grab_focus): * src/ephy-window.c: (ephy_window_key_press_event), (ephy_window_open_link): * src/window-commands.c: (window_cmd_go_back), (window_cmd_go_up), (window_cmd_go_forward), (window_cmd_view_stop), (window_cmd_view_reload): Replace ephy_embed_activate with gtk_widget_grab_focus
* For empty pages, put focus in address bar.Christian Persch2005-07-291-1/+9
| | | | | | | | 2005-07-28 Christian Persch <chpe@cvs.gnome.org> * src/ephy-window.c: (ephy_window_open_link): For empty pages, put focus in address bar.
* Fix ESC behaviour to always stop, and to reset the location entry whenChristian Persch2005-07-261-6/+38
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* Set title of loading page to the address, iff the page was blank before.Christian Persch2005-07-241-24/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2005-07-24 Christian Persch <chpe@cvs.gnome.org> * src/ephy-lockdown.c: (update_location_editable): * src/ephy-shell.c: (ephy_shell_new_tab_full): * src/ephy-tab.c: (ephy_tab_set_property), (ephy_tab_get_property), (ephy_tab_class_init), (get_title_from_address), (ephy_tab_set_loading_title), (ephy_tab_set_address), (ephy_tab_set_load_status), (ephy_tab_get_load_status), (ephy_tab_open_uri_cb), (ephy_tab_address_cb), (ephy_tab_content_change_cb), (ephy_tab_zoom_changed_cb), (ephy_tab_title_cb), (ensure_page_info), (ephy_tab_net_state_cb), (ephy_tab_init), (ephy_tab_set_title), (ephy_tab_get_title), (ephy_tab_get_address), (ephy_tab_get_typed_address), (ephy_tab_set_typed_address): * src/ephy-tab.h: * src/ephy-toolbar.c: (sync_user_input_cb): * src/ephy-window.c: (sync_tab_typed_address), (sync_tab_title), (ephy_window_set_active_tab): * src/epiphany.defs: Set title of loading page to the address, iff the page was blank before. Fixes bug #115337 and bug #171622. * src/ephy-session.c: (ephy_session_close): In ephy_session_close(), close open dialogues first.
* Better fix for bug #151037 to make session shutdown work again. Also fixChristian Persch2005-07-041-2/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | 2005-07-04 Christian Persch <chpe@cvs.gnome.org> * embed/downloader-view.c: (remove_download), (prepare_close_cb), (downloader_view_init), (downloader_view_finalize), (downloader_view_remove_download), (download_dialog_delete_cb): * embed/ephy-embed-shell.c: (ephy_embed_shell_prepare_close), (ephy_embed_shell_class_init): * embed/ephy-embed-shell.h: * embed/ephy-favicon-cache.c: (prepare_close_cb), (ephy_favicon_cache_init), (kill_download): * embed/mozilla/mozilla-embed-find.cpp: * embed/mozilla/mozilla-embed-single.cpp: * embed/mozilla/mozilla-embed.cpp: * embed/mozilla/mozilla-notifiers.cpp: * embed/mozilla/mozilla-notifiers.h: * src/ephy-session.c: (ephy_session_init), (ephy_session_dispose), (ephy_session_autoresume), (close_dialog), (ephy_session_close): * src/ephy-shell.c: (ephy_shell_startup), (toolwindow_hide_cb): * src/ephy-window.c: (ephy_window_finalize): Better fix for bug #151037 to make session shutdown work again. Also fix session shutdown while resuming, and preserve the session in this case.
* EphyCookie's expires field is now of time_t type (fixes gcc 4.0 warning).Jean-François Rameau2005-07-041-1/+3
| | | | | | | | | | | | | | | | | | | | | | | 2005-07-03 Jean-François Rameau <jframeau@cvs.gnome.org> * embed/ephy-cookie-manager.h: EphyCookie's expires field is now of time_t type (fixes gcc 4.0 warning). * embed/ephy-favicon-cache.c: * lib/ephy-file-helpers.c: * lib/ephy-langs.c: * lib/ephy-node-db.c: * lib/ephy-node.c: * lib/ephy-state.c: * lib/egg/eggtraymanager.c: * src/ephy-extensions-manager.c: * src/ephy-main.c: * src/ephy-notebook.c: * src/ephy-session.c: * src/ephy-window.c: Fixes more signed/unsigned problems with gcc 4.0.
* Shift-Ctrl+R now works (Force reload). Fixes #307831.Jean-François Rameau2005-06-201-0/+3
| | | | | | | | | 2005-06-19 Jean-François Rameau <jframeau@cvs.gnome.org> * data/ui/epiphany-ui.xml: * src/ephy-window.c: Shift-Ctrl+R now works (Force reload). Fixes #307831.
* Common helper function to unref a GObject from idle.Christian Persch2005-06-111-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | 2005-06-10 Christian Persch <chpe@cvs.gnome.org> * lib/Makefile.am: * lib/ephy-object-helpers.c: * lib/ephy-object-helpers.h: Common helper function to unref a GObject from idle. * embed/downloader-view.c: (downloader_view_finalize): * embed/mozilla/mozilla-embed-find.cpp: * embed/mozilla/mozilla-embed-persist.cpp: * embed/mozilla/mozilla-embed.cpp: * src/ephy-extensions-manager.c: (unload_extension): * src/ephy-main.c: (main): * src/ephy-shell.c: (toolwindow_hide_cb): * src/ephy-window.c: (ephy_window_finalize): Always unref the shell from idle, never directly. That's because in case we hold the last reference, we would end up terminating embedding/XPCOM from a mozilla callback. Fixes bug #151037, and moz#236688.
* Handle Ctrl-F like / to open the find bar without focusing it. Fixes linkChristian Persch2005-06-091-15/+0
| | | | | | | | | | | | | 2005-06-08 Christian Persch <chpe@cvs.gnome.org> * src/ephy-window.c: * src/ephy-window.h: * src/epiphany.defs: * src/window-commands.c: (window_cmd_edit_select_all), (window_cmd_edit_find): Handle Ctrl-F like / to open the find bar without focusing it. Fixes link activation while finding.
* Work around mozilla bugChristian Persch2005-05-311-0/+6
| | | | | | | | | | | | 2005-05-31 Christian Persch <chpe@cvs.gnome.org> * src/ephy-notebook.c: (ephy_notebook_move_tab), (move_tab_to_another_notebook), (button_release_cb): * src/ephy-window.c: (update_tabs_menu_sensitivity): Work around mozilla bug https://bugzilla.mozilla.org/show_bug.cgi?id=296002 by disallowing tabs moves to a different window. Bug #303922.
* Don't erase the search term when opening the find bar with Ctrl-F.Christian Persch2005-05-301-1/+1
| | | | | | | | | | | 2005-05-30 Christian Persch <chpe@cvs.gnome.org> * src/ephy-find-toolbar.c: (tab_dom_key_press_cb), (ephy_find_toolbar_open): * src/ephy-find-toolbar.h: * src/ephy-window.c: (ephy_window_find): Don't erase the search term when opening the find bar with Ctrl-F.
* Deactivate typeaheadfind in print preview mode.Christian Persch2005-05-301-10/+24
| | | | | | | | | | | | | | | | | 2005-05-29 Christian Persch <chpe@cvs.gnome.org> * src/ephy-find-toolbar.c: (tab_dom_key_press_cb), (entry_activate_cb), (sync_print_preview_mode), (ephy_find_toolbar_set_window), (ephy_find_toolbar_get_property), (ephy_find_toolbar_set_property), (ephy_find_toolbar_class_init), (ephy_find_toolbar_new): * src/ephy-find-toolbar.h: * src/ephy-window.c: (ephy_window_init), (ephy_window_set_print_preview), (ephy_window_get_is_popup), (ephy_window_get_is_print_preview): * src/ephy-window.h: Deactivate typeaheadfind in print preview mode.
* Allow ViewSource for XML documents too. Fixes bug #305788.Christian Persch2005-05-291-2/+3
| | | | | | | | 2005-05-29 Christian Persch <chpe@cvs.gnome.org> * src/ephy-window.c: (sync_tab_document_type): Allow ViewSource for XML documents too. Fixes bug #305788.
* Disable mozilla's typeaheadfind.Christian Persch2005-05-291-6/+9
| | | | | | | | | | | | | | | | | | | | | | | | 2005-05-29 Christian Persch <chpe@cvs.gnome.org> * data/default-prefs-common.js: * data/default-prefs-toolkit.js: Disable mozilla's typeaheadfind. * src/ephy-find-toolbar.c: (get_find), (send_focus_change), (tab_dom_key_press_cb), (entry_changed_cb), (entry_preedit_changed_cb), (entry_key_press_event_cb), (entry_activate_cb), (set_focus_cb), (ephy_find_toolbar_grab_focus), (ephy_find_toolbar_init), (ephy_find_toolbar_class_init), (ephy_find_toolbar_set_embed), (ephy_find_toolbar_find_previous), (ephy_find_toolbar_open), (ephy_find_toolbar_close): * src/ephy-find-toolbar.h: * src/ephy-window.c: (sync_tab_document_type), (ephy_window_init), (ephy_window_set_print_preview), (ephy_window_find): Forward key events from the embed to the find toolbar. That way we can typeaheadfind without losing focus.
* Check for toolkit nsITypeAheadFind.Christian Persch2005-05-291-74/+20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2005-05-28 Christian Persch <chpe@cvs.gnome.org> * configure.ac: Check for toolkit nsITypeAheadFind. * embed/Makefile.am: * embed/ephy-embed-factory.c: (ephy_embed_factory_new_object): * embed/ephy-embed-find.c: (ephy_embed_find_set_embed), (ephy_embed_find_set_properties), (ephy_embed_find_find), (ephy_embed_find_find_again), (ephy_embed_find_get_type): * embed/ephy-embed-find.h: * embed/ephy-embed.c: * embed/ephy-embed.h: * embed/mozilla/EphyBrowser.cpp: * embed/mozilla/EphyBrowser.h: * embed/mozilla/EphyFind.cpp: * embed/mozilla/EphyFind.h: * embed/mozilla/Makefile.am: * embed/mozilla/mozilla-embed-find.cpp: * embed/mozilla/mozilla-embed-find.h: * embed/mozilla/mozilla-embed.cpp: * src/bookmarks/ephy-bookmarks-import.c: (gul_general_read_line_from_file): * src/ephy-find-toolbar.c: (get_find), (set_controls), (tab_content_changed_cb), (entry_changed_cb), (ephy_find_toolbar_init), (ephy_find_toolbar_finalize), (ephy_find_toolbar_class_init), (ephy_find_toolbar_new), (ephy_find_toolbar_get_text), (ephy_find_toolbar_set_embed), (ephy_find_toolbar_find_next), (ephy_find_toolbar_find_previous): * src/ephy-find-toolbar.h: * src/ephy-window.c: (ephy_window_set_active_tab), (ephy_window_init), (ephy_window_get_find_toolbar), (ephy_window_notebook_switch_page_cb): * src/ephy-window.h: * src/window-commands.c: (window_cmd_edit_find_next), (window_cmd_edit_find_prev): Implement typeaheadfind for the find toolbar.
* A src/ephy-find-toolbar.c: A src/ephy-find-toolbar.h:Christian Persch2005-05-261-48/+107
| | | | | | | | | | | | | | | | | | | 2005-05-25 Christian Persch <chpe@cvs.gnome.org> * embed/Makefile.am: * embed/find-dialog.c: * embed/find-dialog.h: A src/ephy-find-toolbar.c: A src/ephy-find-toolbar.h: * src/ephy-window.c: (sync_tab_document_type), (tab_content_changed_cb), (ephy_window_set_active_tab), (ephy_window_dispose), (sync_find_toolbar_text_cb), (find_toolbar_find_next_cb), (find_toolbar_find_previous_cb), (find_toolbar_close_cb), (ephy_window_init), (ephy_window_notebook_switch_page_cb), (ephy_window_find): Replace the find dialogue with a find toolbar. Work in progress; no typeaheadfind yet.
* Use gtk_action_set_[sensitive|visible] instead of g_object_set.Christian Persch2005-04-191-20/+30
| | | | | | | | | | | | | | | | | 2005-04-19 Christian Persch <chpe@cvs.gnome.org> * src/bookmarks/ephy-bookmarks-editor.c: (ephy_bookmarks_editor_update_menu): * src/ephy-encoding-menu.c: (update_encoding_menu_cb): * src/ephy-history-window.c: (ephy_history_window_update_menu): * src/ephy-toolbar.c: (ephy_toolbar_set_zoom): * src/ephy-window.c: (update_edit_actions_sensitivity), (enable_edit_actions_sensitivity), (sync_tab_load_status), (sync_tab_zoom), (show_embed_popup), (update_tabs_menu_sensitivity): * src/ppview-toolbar.c: (toolbar_update_sensitivity): Use gtk_action_set_[sensitive|visible] instead of g_object_set.
* A src/ephy-action-helper.c: A src/ephy-action-helper.h: AChristian Persch2005-04-191-209/+58
| | | | | | | | | | | | | | | | | | | | | | | | | 2005-04-19 Christian Persch <chpe@cvs.gnome.org> * lib/ephy-prefs.h: * src/Makefile.am: A src/ephy-action-helper.c: A src/ephy-action-helper.h: A src/ephy-lockdown.c: A src/ephy-lockdown.h: * src/ephy-shell.c: (ephy_shell_finalize), (ephy_shell_get_lockdown), (ephy_shell_get_extensions_manager): * src/ephy-tab.c: (ephy_tab_set_location): * src/ephy-toolbar.c: (ephy_toolbar_set_window), (ephy_toolbar_set_navigation_actions), (ephy_toolbar_finalize): * src/ephy-window.c: (sync_tab_document_type), (sync_tab_navigation), (sync_tab_load_status), (show_embed_popup), (update_tabs_menu_sensitivity), (ephy_window_set_is_popup), (ephy_window_dispose), (ephy_window_state_event), (ephy_window_class_init), (ephy_window_init), (ephy_window_constructor): * src/popup-commands.c: Move lockdown from EphyWindow into an internal extension.
* Constify the action entries. Fixes bug #301065, patch by Paolo Borelli.Christian Persch2005-04-181-9/+6
| | | | | | | | | 2005-04-18 Christian Persch <chpe@cvs.gnome.org> * src/ephy-window.c: (setup_ui_manager): Constify the action entries. Fixes bug #301065, patch by Paolo Borelli.
* Hide the statusbar's resize grip when the window is maximised. Fixes bugChristian Persch2005-04-181-39/+57
| | | | | | | | | | 2005-04-18 Christian Persch <chpe@cvs.gnome.org> * src/ephy-window.c: (ephy_window_state_event), (ephy_window_class_init), (ephy_window_init): Hide the statusbar's resize grip when the window is maximised. Fixes bug #301048, patchy by Paolo Borelli.
* Also disallow opening a new tab from EphyLink iface in popup mode.Christian Persch2005-04-181-1/+3
| | | | | | | | 2005-04-18 Christian Persch <chpe@cvs.gnome.org> * src/ephy-window.c: (ephy_window_open_link): Also disallow opening a new tab from EphyLink iface in popup mode.
* Rework popup windows. Introduce "is-popup" property on EphyWindow toChristian Persch2005-04-181-73/+221
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2005-04-17 Christian Persch <chpe@cvs.gnome.org> * src/ephy-automation.c: (impl_ephy_automation_loadUrlWithStartupId): * src/ephy-notebook.c: (ephy_notebook_set_dnd_enabled), (ephy_notebook_get_property), (ephy_notebook_set_property), (ephy_notebook_class_init), (move_tab_to_another_notebook), (button_press_cb), (ephy_notebook_init): * src/ephy-notebook.h: * src/ephy-session.c: (ephy_session_get_active_window): * src/ephy-shell.c: (ephy_shell_new_window_cb), (ephy_shell_new_tab_full), (ephy_shell_new_tab): * src/ephy-shell.h: * src/ephy-tab.c: (ephy_tab_class_init), (popups_manager_new_window_info), (ephy_tab_dispose), (ephy_tab_finalize), (let_me_resize_hack), (ephy_tab_set_size), (ephy_tab_init): * src/ephy-tab.h: * src/ephy-window.c: (get_chromes_visibility), (sync_chromes_visibility), (update_chromes_actions), (update_actions_sensitivity), (sync_tab_visibility), (show_embed_popup), (let_me_resize_hack), (tab_size_to_cb), (ephy_window_set_active_tab), (ephy_window_set_chrome), (ephy_window_set_is_popup), (ephy_window_dispose), (ephy_window_set_property), (ephy_window_get_property), (ephy_window_class_init), (ephy_window_init), (ephy_window_constructor), (ephy_window_new_with_chrome), (ephy_window_set_print_preview), (ephy_window_add_tab), (ephy_window_show), (ephy_window_view_popup_windows_cb), (ephy_window_get_is_popup): * src/ephy-window.h: Rework popup windows. Introduce "is-popup" property on EphyWindow to indicate a window who will only have one tab, and can be resized by javascript calls. Fixes bug #136288 and #155395.
* Fix the build.Christian Persch2005-03-151-5/+5
| | | | | | | | 2005-03-14 Christian Persch <chpe@cvs.gnome.org> * src/ephy-window.c: (setup_multimedia_key_actions): Fix the build.
* Support "Multimedia" keys. Fixes bug #162748.Christian Persch2005-03-151-1/+63
| | | | | | | | | | | | 2005-03-14 Christian Persch <chpe@cvs.gnome.org> * data/ui/epiphany-ui.xml: * src/ephy-window.c: (ephy_window_key_press_event), (setup_multimedia_key_actions), (setup_ui_manager): * src/window-commands.c: (window_cmd_go_home): * src/window-commands.h: Support "Multimedia" keys. Fixes bug #162748.
* Revert patch from bug #169956, it's not correct.Christian Persch2005-03-121-0/+2
| | | | | | | | | | | | 2005-03-11 Christian Persch <chpe@cvs.gnome.org> * src/ephy-toolbar.c: (ephy_toolbar_activate_location): Revert patch from bug #169956, it's not correct. * src/ephy-window.c: (sync_chromes_visibility): Fix a crash on window close with active toolbar activation.
* Make the signal RUN_LAST.Christian Persch2005-02-241-1/+14
| | | | | | | | | | | | | | | | | | | | | | 2005-02-24 Christian Persch <chpe@cvs.gnome.org> * src/ephy-link.c: (ephy_link_base_init): Make the signal RUN_LAST. * src/ephy-tab.c: (ephy_tab_get_type), (open_link_in_new_tab), (clipboard_text_received_cb): Make EphyTab implement EphyLink interface. * src/ephy-window.c: (modal_alert_cb), (tab_added_cb), (tab_removed_cb), (ephy_window_open_link): Attach to link signal on EphyTab. Don't switch tabs to modal alerts in ppv mode; block the alerts instead. 2005-02-23 Carlos Garnacho Parro <carlos@gnome.org>
* Remove ephy_tab_get_action(). Adapts the tabs menu accordingly.Christian Persch2005-02-111-10/+3
| | | | | | | | | | | | | | | | | | | | 2005-02-10 Christian Persch <chpe@cvs.gnome.org> * src/ephy-tab.c: (ephy_tab_finalize), (ephy_tab_title_cb), (ensure_page_info), (ephy_tab_init), (ephy_tab_set_title), (ephy_tab_get_title), (ephy_tab_get_zoom): * src/ephy-tab.h: * src/ephy-tabs-menu.c: (ephy_tabs_menu_get_type), (tab_action_activate_cb), (sync_tab_title), (tab_added_cb), (tab_removed_cb), (tabs_reordered_cb), (sync_active_tab), (ephy_tabs_menu_set_window), (ephy_tabs_menu_set_property), (ephy_tabs_menu_get_property), (ephy_tabs_menu_class_init), (ephy_tabs_menu_clean), (tab_set_action_accelerator), (ephy_tabs_menu_update): * src/ephy-window.c: (ephy_window_set_active_tab), (ephy_window_get_active_embed): Remove ephy_tab_get_action(). Adapts the tabs menu accordingly.
* Move all the stuff from finalize to dispose, so that we finalise the UIChristian Persch2005-02-101-68/+79
| | | | | | | | | | | 2005-02-10 Christian Persch <chpe@cvs.gnome.org> * src/ephy-window.c: (ephy_window_dispose), (ephy_window_class_init), (ephy_window_finalize): Move all the stuff from finalize to dispose, so that we finalise the UI manager when disposing and not only when finalising. Fixes bug #165992.
* Revert the fix for bug #165550, it wasn't correct.Christian Persch2005-02-031-30/+16
| | | | | | | | | 2005-02-02 Christian Persch <chpe@cvs.gnome.org> * src/ephy-window.c: (sync_chromes_visibility), (setup_ui_manager), (ephy_window_set_print_preview): Revert the fix for bug #165550, it wasn't correct.
* Remove the accel group from the window when hiding the menubar in lockdownChristian Persch2005-02-021-16/+30
| | | | | | | | | | | 2005-02-01 Christian Persch <chpe@cvs.gnome.org> * data/epiphany-lockdown.schemas.in: * src/ephy-window.c: (sync_chromes_visibility), (setup_ui_manager), (ephy_window_set_print_preview): Remove the accel group from the window when hiding the menubar in lockdown mode. From bug #165550.
* Don't disable print preview if print setup is locked down. Fixes bugChristian Persch2005-02-021-1/+1
| | | | | | | | | 2005-02-01 Christian Persch <chpe@cvs.gnome.org> * src/ephy-window.c: (update_print_actions): Don't disable print preview if print setup is locked down. Fixes bug #165552.
* Don't show the menubar with F10 in lockdown mode. Make sure we alwaysChristian Persch2005-02-021-3/+3
| | | | | | | | | | 2005-02-01 Christian Persch <chpe@cvs.gnome.org> * src/ephy-window.c: (ephy_window_key_press_event): Don't show the menubar with F10 in lockdown mode. Make sure we always chain up to GtkWindow's keypress handler. Fixes bug #165550.
* Make EphyWindow implement EphyLink interface. Make ephy-link.h public.Christian Persch2005-01-311-24/+38
| | | | | | | | | | | | 2005-01-31 Christian Persch <chpe@cvs.gnome.org> * src/Makefile.am: * src/ephy-window.c: (ephy_window_get_type), (ephy_window_link_iface_init), (ephy_window_open_link), (ephy_window_init), (ephy_window_load_url): Make EphyWindow implement EphyLink interface. Make ephy-link.h public.
* Some sparse fixes.Christian Persch2005-01-311-5/+5
| | | | | | | | | | | | | | 2005-01-30 Christian Persch <chpe@cvs.gnome.org> * embed/ephy-history.c: (ephy_history_new): * lib/ephy-dialog.c: * src/bookmarks/ephy-bookmarks.c: (ephy_bookmarks_new): * src/ephy-link.c: (ephy_link_open): * src/ephy-statusbar.c: (create_statusbar_security_icon): * src/ephy-window.c: * src/prefs-dialog.c: (get_download_button_label): Some sparse fixes.
* Add ; to all LOG statements, and adapt ephy-debug.h for non-GNUC-varargsChristian Persch2005-01-291-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* Disable DownloadLinkAs and SetAsBackground if saving to disk is disabled.Christian Persch2005-01-291-1/+3
| | | | | | | | | 2005-01-28 Christian Persch <chpe@cvs.gnome.org> * src/ephy-window.c: (update_actions_sensitivity): Disable DownloadLinkAs and SetAsBackground if saving to disk is disabled.
* Don't show the Leave Fullscreen button in lockdown fullscreen mode. SwitchChristian Persch2005-01-261-14/+9
| | | | | | | | | | | | | | | | | | | 2005-01-26 Christian Persch <chpe@cvs.gnome.org> * src/ephy-fullscreen-popup.c: (ephy_fullscreen_popup_update_visibility), (ephy_fullscreen_popup_set_show_leave), (ephy_fullscreen_popup_init): * src/ephy-fullscreen-popup.h: * src/ephy-toolbar.c: (ephy_toolbar_update_fixed_visibility), (ephy_toolbar_set_show_leave_fullscreen): * src/ephy-toolbar.h: * src/ephy-window.c: (ephy_window_fullscreen), (ephy_window_unfullscreen): Don't show the Leave Fullscreen button in lockdown fullscreen mode. Switch to fullscreen toolbar also in lockdown fullscreen mode. Fixes bug #165256.
* Check for broken context event button.Christian Persch2005-01-231-10/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2005-01-23 Christian Persch <chpe@cvs.gnome.org> * configure.ac: Check for broken context event button. * embed/ephy-embed-event.c: (ephy_embed_event_get_context), (ephy_embed_event_get_button): * embed/ephy-embed-event.h: * embed/mozilla/mozilla-embed-event.cpp: * embed/mozilla/mozilla-embed-event.h: Change get_type to get_button, and don't store a nsCOMPtr in .priv. * src/ephy-tab.c: (ephy_tab_dom_mouse_click_cb): * src/ephy-window.c: (show_embed_popup), (tab_context_menu_cb), (ephy_window_set_active_tab): Adapted for above change. * embed/mozilla/EphyBrowser.cpp: * embed/mozilla/EphyBrowser.h: Attach listener to oncontextmenu event. * embed/mozilla/EventContext.cpp: * embed/mozilla/EventContext.h: Get event target coordinates also for 'mouse' context events. * embed/mozilla/mozilla-embed.cpp: Remove key-down handler, and context code from mouse-down handler.
* Rename "visible" property.Christian Persch2005-01-231-1/+1
| | | | | | | | | 2005-01-22 Christian Persch <chpe@cvs.gnome.org> * src/ephy-tab.c: (ephy_tab_class_init), (ephy_tab_visibility_cb): * src/ephy-window.c: (tab_added_cb): Rename "visible" property.
* Unify accels to Open in New _Window[s], and also change to Open Link inChristian Persch2005-01-161-1/+1
| | | | | | | | | | | | 2005-01-15 Christian Persch <chpe@cvs.gnome.org> * src/bookmarks/ephy-bookmarks-editor.c: (ephy_bookmarks_editor_update_menu): * src/ephy-history-window.c: (ephy_history_window_update_menu): * src/ephy-window.c: Unify accels to Open in New _Window[s], and also change to Open Link in New _Window. Fixes bug #164130.
* Don't use <tt> in the strings. Fixes bug #163378.Christian Persch2005-01-161-1/+1
| | | | | | | | | | | | | | | | | | | 2005-01-15 Christian Persch <chpe@cvs.gnome.org> * embed/mozilla/GtkNSSClientAuthDialogs.cpp: * embed/mozilla/GtkNSSDialogs.cpp: Don't use <tt> in the strings. Fixes bug #163378. * lib/ephy-gui.c: (ephy_gui_confirm_overwrite_file): * src/bookmarks/ephy-bookmarks.c: (redirect_cb): Fix button text and capitalisation in the confirm-redirect-update dialogue. Fixes bug #164131. * src/ephy-window.c: (confirm_close_with_modified_forms): Fix primary text of confirm-close command not to have a period.
* Add favicon and lock icon to the entry. Fixes bug #116482 and bug #149506.Christian Persch2005-01-141-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-131-116/+102
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* Don't show the description for no-secure and broken sites.Christian Persch2005-01-091-7/+12
| | | | | | | | 2005-01-09 Christian Persch <chpe@cvs.gnome.org> * src/ephy-window.c: (sync_tab_security): Don't show the description for no-secure and broken sites.
* Remove unused include from public header ephy-window.h.Christian Persch2005-01-091-0/+1
| | | | | | | | | | | | | | 2005-01-08 Christian Persch <chpe@cvs.gnome.org> * src/ephy-shell.c: * src/ephy-tabs-menu.c: * src/ephy-window.c: * src/ephy-window.h: * src/pdm-dialog.c: * src/prefs-dialog.c: * src/window-commands.c: Remove unused include from public header ephy-window.h.
* Unify the location and favicon actions.Christian Persch2005-01-081-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 glib-mkenums to generate the enum and flags get_type functions.Christian Persch2005-01-071-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2005-01-06 Christian Persch <chpe@cvs.gnome.org> * configure.ac: * embed/Makefile.am: * embed/ephy-embed-event.c: * embed/ephy-embed-event.h: * embed/ephy-embed-persist.c: * embed/ephy-embed-persist.h: * embed/ephy-embed.c: * embed/ephy-embed.h: * embed/ephy-permission-manager.c: * embed/ephy-permission-manager.h: * lib/egg/Makefile.am: * lib/egg/egg-toolbars-model.c: * lib/egg/egg-toolbars-model.h: * src/Makefile.am: * src/ephy-link.c: * src/ephy-link.h: * src/ephy-navigation-action.c: * src/ephy-shell.c: (ephy_shell_error_quark): * src/ephy-shell.h: * src/ephy-tab.c: * src/ephy-tab.h: * src/ephy-window.c: Use glib-mkenums to generate the enum and flags get_type functions.
* Add placeholder group for tabs move actions.Christian Persch2005-01-061-0/+8
| | | | | | | | | | | | | 2005-01-06 Christian Persch <chpe@cvs.gnome.org> * data/ui/epiphany-ui.xml: Add placeholder group for tabs move actions. * src/ephy-window.c: (show_notebook_popup_menu): Activate the action before showing the context menu, so extensions can sync their UI.
* Display open lock for low 'secure' sites too. Fixes bug #151709.Christian Persch2005-01-061-5/+2
| | | | | | | | 2005-01-06 Christian Persch <chpe@cvs.gnome.org> * src/ephy-window.c: (sync_tab_security): Display open lock for low 'secure' sites too. Fixes bug #151709.
* Add context menu on notebook. Fixes bug #132989.Christian Persch2005-01-061-2/+63
| | | | | | | | | | | | 2005-01-05 Christian Persch <chpe@cvs.gnome.org> * data/ui/epiphany-ui.xml: * src/ephy-notebook.c: (button_press_cb): * src/ephy-window.c: (show_notebook_popup_menu), (notebook_button_press_cb), (notebook_popup_menu_cb), (setup_notebook): Add context menu on notebook. Fixes bug #132989.
* Consistently start enum names with EPHY_*.Crispin Flowerday2005-01-061-23/+23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2005-01-05 Crispin Flowerday <gnome@flowerday.cx> * embed/ephy-embed-event.c: (ephy_embed_event_context_get_type): * embed/ephy-embed-event.h: * embed/ephy-embed-persist.c: (ephy_embed_persist_flags_get_type): * embed/ephy-embed-persist.h: * embed/ephy-embed.c: (ephy_embed_net_state_get_type), (ephy_embed_ppv_navigation_get_type), (ephy_embed_security_level_get_type), (ephy_embed_document_type_get_type): * embed/ephy-embed.h: * embed/ephy-favicon-cache.c: (ephy_favicon_cache_download): * embed/mozilla/EphyBrowser.cpp: * embed/mozilla/EphyHeaderSniffer.cpp: * embed/mozilla/EventContext.cpp: * embed/mozilla/MozDownload.cpp: * embed/mozilla/mozilla-embed-persist.cpp: * embed/mozilla/mozilla-embed.cpp: * src/ephy-shell.c: (ephy_shell_new_tab): * src/ephy-tab.c: (ephy_tab_address_expire_get_type), (ephy_tab_navigation_flags_get_type), (ephy_tab_set_property), (ephy_tab_class_init), (ephy_tab_get_document_type), (ephy_tab_address_cb), (update_net_state_message), (build_progress_from_requests), (ensure_page_info), (ephy_tab_net_state_cb), (ephy_tab_dom_mouse_click_cb), (ephy_tab_init), (ephy_tab_update_navigation_flags), (ephy_tab_set_location), (ephy_tab_get_security_level): * src/ephy-tab.h: * src/ephy-window.c: (sync_tab_document_type), (sync_tab_navigation), (sync_tab_security), (sync_tab_zoom), (update_popups_tooltips), (show_embed_popup): * src/popup-commands.c: (popup_cmd_copy_link_address), (save_property_url), (popup_cmd_set_image_as_background), (save_temp_source): * src/ppview-toolbar.c: (toolbar_cmd_ppv_goto_first), (toolbar_cmd_ppv_goto_last), (toolbar_cmd_ppv_go_back), (toolbar_cmd_ppv_go_forward): * src/toolbar.c: (sync_user_input_cb): * src/window-commands.c: (window_cmd_file_save_as), (save_temp_source): Consistently start enum names with EPHY_*.
* Ensure that flags and enums start with 'Ephy'Crispin Flowerday2005-01-041-7/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2005-01-03 Crispin Flowerday <gnome@flowerday.cx> * embed/ephy-embed-event.c: * embed/ephy-embed-event.h: * embed/ephy-embed-persist.c: (ephy_embed_persist_set_flags): * embed/ephy-embed-persist.h: * embed/ephy-embed.c: (ephy_embed_base_init), (ephy_embed_get_security_level), (ephy_embed_print_preview_navigate): * embed/ephy-embed.h: * embed/mozilla/EphyBrowser.cpp: * embed/mozilla/EphyBrowser.h: * embed/mozilla/EphyHeaderSniffer.cpp: * embed/mozilla/MozDownload.cpp: * embed/mozilla/mozilla-embed-event.cpp: * embed/mozilla/mozilla-embed-persist.cpp: * embed/mozilla/mozilla-embed.cpp: * src/ephy-tab.c: (ephy_tab_address_expire_get_type), (ephy_tab_navigation_flags_get_type), (ephy_tab_document_type_cb), (update_net_state_message), (build_progress_from_requests), (ephy_tab_net_state_cb), (ephy_tab_dom_mouse_click_cb), (ephy_tab_security_change_cb), (ephy_tab_update_navigation_flags), (ephy_tab_set_location), (ephy_tab_set_security_level): * src/ephy-tab.h: * src/ephy-window.c: (sync_tab_document_type), (sync_tab_navigation), (sync_tab_security), (sync_tab_zoom), (update_popups_tooltips), (show_embed_popup), (ephy_window_class_init): * src/popup-commands.c: (popup_cmd_copy_link_address): Ensure that flags and enums start with 'Ephy'
* Remove obsolete ephy_window_load_in_tabs() and use generic link openingChristian Persch2004-12-241-47/+17
| | | | | | | | | | | | | 2004-12-24 Christian Persch <chpe@cvs.gnome.org> * src/ephy-notebook.c: (ephy_notebook_get_type), (notebook_drag_data_received_cb): * src/ephy-window.c: (open_link_cb), (ephy_window_init), (ephy_window_set_zoom): * src/ephy-window.h: Remove obsolete ephy_window_load_in_tabs() and use generic link opening framework instead.
* A src/ephy-home-action.c: (ephy_home_action_activate),Christian Persch2004-12-241-30/+67
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2004-12-24 Christian Persch <chpe@cvs.gnome.org> * lib/ephy-marshal.list: * src/Makefile.am: * src/bookmarks/ephy-bookmark-action.c: (ephy_bookmark_action_get_type), (create_tool_item), (open_in_tab_activate_cb), (open_in_window_activate_cb), (activate_cb), (connect_proxy), (ephy_bookmark_action_class_init): * src/bookmarks/ephy-bookmark-action.h: * src/bookmarks/ephy-bookmarks-menu.c: (ephy_bookmarks_menu_get_type), (add_action_for_bookmark), (ephy_bookmarks_menu_class_init): * src/bookmarks/ephy-bookmarks-menu.h: * src/bookmarks/ephy-bookmarksbar.c: (ephy_bookmarksbar_get_type), (ephy_bookmarksbar_action_request): * src/bookmarks/ephy-favorites-menu.c: (ephy_favorites_menu_get_type), (ephy_favorites_menu_rebuild): * src/bookmarks/ephy-favorites-menu.h: * src/bookmarks/ephy-topic-action.c: (ephy_topic_action_get_type), (menu_activate_cb), (open_in_tabs_activate_cb), (ephy_topic_action_class_init): * src/bookmarks/ephy-topic-action.h: A src/ephy-home-action.c: (ephy_home_action_activate), (ephy_home_action_class_init), (ephy_home_action_get_type): A src/ephy-home-action.h: A src/ephy-link-action.c: (ephy_link_action_get_type): A src/ephy-link-action.h: A src/ephy-link.c: (ephy_link_flags_get_type), (ephy_link_base_init), (ephy_link_get_type), (ephy_link_open): A src/ephy-link.h: * src/ephy-location-action.c: (ephy_location_action_get_type), (action_activated_cb), (location_url_activate_cb), (connect_proxy), (disconnect_proxy), (ephy_location_action_class_init): * src/ephy-location-action.h: * src/ephy-navigation-action.c: (ephy_navigation_action_get_type), (activate_back_or_forward_menu_item_cb), (activate_up_menu_item_cb), (build_back_or_forward_menu), (build_up_menu): * src/ephy-navigation-action.h: * src/ephy-shell.c: (ephy_shell_new_tab): * src/ephy-window.c: (setup_ui_manager), (open_link_cb), (ephy_window_init): * src/toolbar.c: (toolbar_get_type), (toolbar_setup_actions): * src/window-commands.c: * src/window-commands.h: Consolidate link opening in one place by introducing an EphyLink interface which bookmarks, topics, navigation, location, home, toolbars, bookmarks menu and favourites menu implement, forwarding the link opening to the window.