| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
| |
See https://developer.gnome.org/hig/stable/typography.html
https://bugzilla.gnome.org/show_bug.cgi?id=774199
|
|
|
|
|
| |
We cannot use the window's allocation, because that will not take into
account client side decorations.
|
|
|
|
|
| |
We display the list of available dictionaries near the text entry, not
in the side bar.
|
|
|
|
|
| |
We can avoid building much of the window UI inside the code, and use the
XML template instead.
|
| |
|
|
|
|
| |
Also, right-align all labels in dialog.
|
| |
|
| |
|
|
|
|
|
|
|
|
|
| |
GdictDatabaseChooser has been reverted to its previous implementation
in which it simply displays a list of databases. The new
GdictDatabaseChooserButton wraps that widget in a GtkMenuButton and
loads the databases dynamically.
See https://bugzilla.gnome.org/show_bug.cgi?id=334866
|
|
|
|
|
|
| |
Instead of loading the application and the menu button popup ourselves
we should reuse the support in GTK+ for automatically loading menus.
This simplifies our code base.
|
| |
|
|
|
|
|
| |
We're using gdict_show_about_dialog(), so we need to include the header
that declares it.
|
|
|
|
|
| |
Create separate definition-lookup-start/end signals when searching
for definitions.
|
| |
|
|
|
|
|
|
|
|
|
|
| |
GdictDatabaseChooser now inherits from GtkMenuButton,
allowing users to attach it as a button. When clicked,
it loads all databases available in the given context.
In the application, the database chooser is now next
to the search entry.
See https://bugzilla.gnome.org/show_bug.cgi?id=334866
|
|
|
|
| |
See https://bugzilla.gnome.org/show_bug.cgi?id=745786
|
| |
|
|
|
|
| |
See https://bugzilla.gnome.org/show_bug.cgi?id=334866
|
|
|
|
|
|
| |
We rely on the window decorator for providing a close button.
See https://bugzilla.gnome.org/show_bug.cgi?id=334866
|
|
|
|
|
|
|
| |
Simplify window menu by removing Find Next and Find Previous
entries. Now only a Find top-level entry is available.
See https://bugzilla.gnome.org/show_bug.cgi?id=334866
|
|
|
|
|
|
|
|
| |
The widgets used for the search entry and for showing the definition
already handle text selection. There is no need for an entry
menu to do this, plus we are a step closer to get rid of the Edit menu.
See https://bugzilla.gnome.org/show_bug.cgi?id=334866
|
|
|
|
|
|
|
|
| |
The widgets used for the search entry and for showing the definition
already handle copying selected text. There is no need for an entry
menu to do this, plus we are a step closer to get rid of the Edit menu.
See https://bugzilla.gnome.org/show_bug.cgi?id=334866
|
|
|
|
| |
See https://bugzilla.gnome.org/show_bug.cgi?id=749131
|
|
|
|
| |
See https://bugzilla.gnome.org/show_bug.cgi?id=334866
|
|
|
|
|
| |
Use a stack to accomodate definition box and a spinner.
See https://bugzilla.gnome.org/show_bug.cgi?id=334866
|
|
|
|
| |
See https://bugzilla.gnome.org/show_bug.cgi?id=334866
|
|
|
|
|
|
| |
Migrate to current GNOME applications style: use a template widget
for GdictWindow, add a header bar and a menu button.
See https://bugzilla.gnome.org/show_bug.cgi?id=334866
|
|
|
|
|
| |
New Window action now opens a clean Dictionary window.
See https://bugzilla.gnome.org/show_bug.cgi?id=334866
|
|
|
|
| |
We don't need to set the application ourselves.
|
|
|
|
|
| |
We can drop a bunch of indirection just by making our GdictApp class a
subclass of GtkApplication.
|
|
|
|
| |
Same as we do for GdictSourceDialog.
|
|
|
|
|
| |
Use the same `gdict-` pattern, in preparation for the use of the widget
template API.
|
|
|
|
| |
Follow the `gdict-` naming scheme.
|
|
|
|
|
|
|
|
| |
Instead of building the UI from a custom GtkBuilder instance and doing
things like we used to in 2005, let's use modern API.
There is no functional change in this commit: just a reshuffle of the
way the UI is loaded.
|
|
|
|
|
|
| |
* Remove unused variables.
* Add appropriate castings.
* Include missing header.
|
|
|
|
|
|
|
| |
* src/gdict-window.c: Add select-all, find, find-next, and
find-previous actions to sensitivity list. Connect to
GdictDefbox::selection-changed to modify copy action
enable status according to gdict_defbox_get_has_selection().
|
|
|
|
|
|
|
|
| |
If we launch the Dictionary via DBus activation, we'll get an error
because we don't implement/override the activate signal.
There was a stub which tricked `git grep`, but gnome-continuous found
the issue.
|
|
|
|
|
|
|
| |
We still install the UI definitions on the file system, and then we load
them every time it's needed. The current best practice for this kind of
files is to use the GResource API inside GIO, and have them compiled
inside the binary. This helps with performance and relocatability.
|
|
|
|
|
| |
The UIDATADIR still referenced gnome-2.0, but it's not used anywhere in
the code base.
|
|
|
|
| |
The $(LIBM) variable is set by the LT_LIB_M macro.
|
|
|
|
| |
https://bugzilla.gnome.org/show_bug.cgi?id=745022
|
|
|
|
|
|
| |
It's useless anyway.
https://bugzilla.gnome.org/show_bug.cgi?id=745022
|
|
|
|
|
|
| |
We want proper labels, and we want to drop deprecation warnings.
https://bugzilla.gnome.org/show_bug.cgi?id=745022
|
|
|
|
|
|
|
| |
It's deprecated, and we can replace it with a target specific CPPFLAGS
stanza.
https://bugzilla.gnome.org/show_bug.cgi?id=745022
|
|
|
|
|
|
|
| |
* gdict-pref-dialog.c: handle GtkTreeView::cursor-changed signal
to update sensitivity of Remove and Edit buttons. Modify
GtkTreeView::row-activated to show VIEW dialog.
* See https://bugzilla.gnome.org/show_bug.cgi?id=528956
|
|
|
|
|
|
| |
* gdict-source-dialog.c: if ::filename property is set, use its
value to save the modified source.
* See https://bugzilla.gnome.org/show_bug.cgi?id=528956
|
|
|
|
|
|
|
| |
This avoids manual parsing of options, and adds support
for --gapplication-service.
https://bugzilla.gnome.org/show_bug.cgi?id=728302
|
|
|
|
|
|
| |
It needs to be expanded.
https://bugzilla.gnome.org/show_bug.cgi?id=737626
|
|
|
|
|
|
|
| |
Current GTK+ does not like this and will emit a warning in the best
case or block all events in the worst one.
https://bugzilla.gnome.org/show_bug.cgi?id=675704
|
|
|
|
|
|
|
|
| |
When Ctrl+A is pressed, all text in selected in the currently focused
entry
When Ctrl+C is pressed, the text is copied from the currently focused
entry
|