diff options
Diffstat (limited to 'gsearchtool')
| -rw-r--r-- | gsearchtool/data/mate-search-tool.desktop.in | 1 | ||||
| -rw-r--r-- | gsearchtool/src/gsearchtool.c | 3 |
2 files changed, 2 insertions, 2 deletions
diff --git a/gsearchtool/data/mate-search-tool.desktop.in b/gsearchtool/data/mate-search-tool.desktop.in index 0f81bdf4..95e7c0fa 100644 --- a/gsearchtool/data/mate-search-tool.desktop.in +++ b/gsearchtool/data/mate-search-tool.desktop.in @@ -10,6 +10,7 @@ StartupNotify=true Categories=GTK;Utility;Core; # Translators: Search terms to find this application. Do NOT translate or localize the semicolons! The list MUST also end with a semicolon! Keywords=MATE;search;files;locate;documents;folders;computer;name;content;find;tool; +OnlyShowIn=MATE; X-MATE-DocPath=mate-search-tool/mate-search-tool.xml X-MATE-Bugzilla-Bugzilla=MATE X-MATE-Bugzilla-Product=mate-utils diff --git a/gsearchtool/src/gsearchtool.c b/gsearchtool/src/gsearchtool.c index 528f3783..d8305ad9 100644 --- a/gsearchtool/src/gsearchtool.c +++ b/gsearchtool/src/gsearchtool.c @@ -2703,8 +2703,7 @@ gsearch_window_size_allocate (GtkWidget * widget, GSearchWindow * gsearch) { if (gsearch->is_window_maximized == FALSE) { - gsearch->window_width = allocation->width; - gsearch->window_height = allocation->height; + gtk_window_get_size (GTK_WINDOW (gsearch->window), &gsearch->window_width, &gsearch->window_height); } } |
