diff options
Diffstat (limited to 'mate-dictionary')
| -rw-r--r-- | mate-dictionary/data/mate-dictionary.desktop.in.in | 1 | ||||
| -rw-r--r-- | mate-dictionary/src/gdict-window.c | 5 |
2 files changed, 2 insertions, 4 deletions
diff --git a/mate-dictionary/data/mate-dictionary.desktop.in.in b/mate-dictionary/data/mate-dictionary.desktop.in.in index 87a9d612..5179bab3 100644 --- a/mate-dictionary/data/mate-dictionary.desktop.in.in +++ b/mate-dictionary/data/mate-dictionary.desktop.in.in @@ -10,6 +10,7 @@ StartupNotify=true Categories=GTK;Office;Dictionary; # Translators: Search terms to find this application. Do NOT translate or localize the semicolons! The list MUST also end with a semicolon! Keywords=MATE;dictionary;applet;thesaurus;spelling;definitions;online; +OnlyShowIn=MATE; X-MATE-DocPath=mate-dictionary/mate-dictionary.xml X-MATE-Bugzilla-Bugzilla=MATE X-MATE-Bugzilla-Product=mate-utils diff --git a/mate-dictionary/src/gdict-window.c b/mate-dictionary/src/gdict-window.c index 7d6a6bb2..1f2f235d 100644 --- a/mate-dictionary/src/gdict-window.c +++ b/mate-dictionary/src/gdict-window.c @@ -1640,10 +1640,7 @@ gdict_window_size_allocate (GtkWidget *widget, GdictWindow *window = GDICT_WINDOW (widget); if (!window->is_maximized) - { - window->current_width = allocation->width; - window->current_height = allocation->height; - } + gtk_window_get_size (GTK_WINDOW (window), &window->current_width, &window->current_height); if (GTK_WIDGET_CLASS (gdict_window_parent_class)->size_allocate) GTK_WIDGET_CLASS (gdict_window_parent_class)->size_allocate (widget, |
