| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
Signed-off-by: Gonzalo Odiard <gonzalo@laptop.org>
|
|
|
|
|
|
|
|
|
|
|
|
| |
The table of contents, actually implemented in epub backend,
is displayed in a later panel, instead of in a combo,
to do easier the interaction with touch, and provide context.
The code is now more general to allow the implementation
in the pdf backend too.
The button used to display the table of contents, was moved
from the main toolbar to the view subtoolbar.
Signed-off-by: Gonzalo Odiard <gonzalo@laptop.org>
|
|
|
|
|
|
|
|
| |
Is not a sidebar anymore, and we will add a sidebar to show
the index, the to avoid problems in the future, renamed the object
and variables to have more consistent nomenclature.
Signed-off-by: Gonzalo Odiard <gonzalo@laptop.org>
|
|
|
|
|
|
|
|
|
| |
* Remove style in the number of pages label: is done in the theme now,
and the font is smaller.
* Set request_size in separators.
* remove unneded toolitem around highlight toogle button
Signed-off-by: Gonzalo Odiard <gonzalo@laptop.org>
|
|
|
|
|
|
| |
Is using a hack.
Signed-off-by: Gonzalo Odiard <gonzalo@laptop.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The sidebar where we displayed the bookmark was a thin area
at the left of the screen, was not very intuitive, and was dificult
to access with a finger.
With Gtk3 we can use overlays, then this patch move the sidebar
to the top/right of the screen, and display it with a shape similar
to other book readers, using the user colors.
I have tried to do the botom triangle transparent,
but without success, we can try it later.
Signed-off-by: Gonzalo Odiard <gonzalo@laptop.org>
|
|
|
|
|
|
| |
Signed-off-by: Gonzalo Odiard <gonzalo@laptop.org>
Signed-off-by: Manuel QuiƱones <manuq@laptop.org>
Signed-off-by: Simon Schampijer <erikos@laptop.org>
|
|
|
|
|
|
|
|
|
| |
Show the bookmark for the first page (if any) in the sidebar when the
file is resumed from the Journal.
Signed-off-by: Manuel Kaufmann <humitos@gmail.com>
Reviewed-by: Gonzalo Odiard <gonzalo@laptop.org>
Tested-by: Simon Schampijer <simon@laptop.org>
|
|
|
|
|
|
|
|
| |
Alert the user with a Confirmation Alert when he / she removes a bookmark
informing that the bookmark information will be lost.
Signed-off-by: Manuel Kaufmann <humitos@gmail.com>
Reviewed-by: Gonzalo Odiard <gonzalo@laptop.org>
|
|
|
|
| |
Signed-off-by: Gonzalo Odiard <gonzalo@laptop.org>
|
|
|
|
| |
Signed-off-by: Gonzalo Odiard <gonzalo@laptop.org>
|
|
|
|
| |
Signed-off-by: Gonzalo Odiard <gonzalo@latop.org>
|
|
|
|
| |
Signed-off-by: Gonzalo Odiard <gonzalo@laptop.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The bug have two sources.
First, the button used to add/remove the bookmark is a toggle,
and the gtk3 theme is not setting the right grey color, then is not obvious
to the user if the button is pressed or not.
(this problem will be addressed in sugar-artwork)
The second problem is, if the user cancel the dialog creating the bookmark,
the bookmark is not created but the button continue pressed until the page is changed.
This was solved sending a signal to uptade the button state.
Two other problems were found and solved:
* The page number in the bookmark description was wrong by one.
* If the page had more than one bookmark, the clear method only removed the last
then the sidebar accumulated bookmark icons.
Signed-off-by: Gonzalo Odiard <gonzalo@laptop.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
When the user closed and reopened the activity, reading a epub file,
the page was lost.
The problem had two sources:
The invisible webkit widget used to measure the document height,
can add a scrollbar (randomly) then the inner width change,
the text folw differently and the inner height change. This problem is solved
setting document.documentElement.style.overflow = hidden in the widget
when is used to measure.
The second problem was, after the document was loaded and positioned
the epubview tried to change the scroll position again.
This patch include a minor change in readactivity.py, only to avoid
call many times view.get_current_page.
Signed-off-by: Gonzalo Odiard <gonzalo@laptop.org>
|
|
|
|
| |
Signed-off-by: Gonzalo Odiard <gonzalo@laptop.org>
|
|
|
|
| |
Signed-off-by: Gonzalo Odiard <gonzalo@laptop.org>
|
|
|
|
| |
Signed-off-by: Gonzalo Odiard <gonzalo@laptop.org>
|
|
|
|
|
|
|
|
| |
The activity only open one tipe of file at time, but was importing
all the backends. Now import the needed backend after having the mimetype,
to have better startup times and lower memory use.
Signed-off-by: Gonzalo Odiard <gonzalo@laptop.org>
|
|
|
|
|
|
| |
Suggested by design team toolbars review.
Signed-off-by: Gonzalo Odiard <gonzalo@laptop.org>
|
|
|
|
|
|
| |
Pointed in toolbars review by design team
Signed-off-by: Gonzalo Odiard <gonzalo@laptop.org>
|
|
|
|
|
|
|
| |
Signed-off-by: Gonzalo Odiard <gonzalo@laptop.org>
The class SugarMenuItem is in the activity until we can add it
to sugar-toolkit-gtk3.
|
|
|
|
|
|
| |
ObjectChooser has removed deprecated parameters.
Signed-off-by: Gonzalo Odiard <gonzalo@laptop.org>
|
| |
|
|
|
|
| |
network.ChunkedGlibHTTPRequestHandler problem was resolved
|
|
|
|
|
| |
Signed-off-by: Manuel QuiƱones <manuq@laptop.org>
Acked-by: Gonzalo Odiard <gonzalo@laptop.org>
|