summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--baobab/data/mate-disk-usage-analyzer.desktop.in.in1
-rw-r--r--gsearchtool/data/mate-search-tool.desktop.in1
-rw-r--r--gsearchtool/src/gsearchtool.c3
-rw-r--r--logview/data/mate-system-log.desktop.in.in3
-rw-r--r--logview/src/logview-window.c6
-rw-r--r--mate-dictionary/data/mate-dictionary.desktop.in.in1
-rw-r--r--mate-dictionary/src/gdict-window.c5
-rw-r--r--mate-disk-image-mounter/data/mate-disk-image-mounter.desktop.in2
8 files changed, 13 insertions, 9 deletions
diff --git a/baobab/data/mate-disk-usage-analyzer.desktop.in.in b/baobab/data/mate-disk-usage-analyzer.desktop.in.in
index 52912abf..a59993f9 100644
--- a/baobab/data/mate-disk-usage-analyzer.desktop.in.in
+++ b/baobab/data/mate-disk-usage-analyzer.desktop.in.in
@@ -11,6 +11,7 @@ StartupNotify=true
Categories=GTK;System;Filesystem;
# Translators: Search terms to find this application. Do NOT translate or localize the semicolons! The list MUST also end with a semicolon!
Keywords=MATE;check;disk;usage;analyze;size;space;
+OnlyShowIn=MATE;
X-MATE-Bugzilla-Bugzilla=MATE
X-MATE-Bugzilla-Product=mate-utils
X-MATE-Bugzilla-Component=mate-disk-usage-analyzer
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);
}
}
diff --git a/logview/data/mate-system-log.desktop.in.in b/logview/data/mate-system-log.desktop.in.in
index 95785ba6..a1c020bd 100644
--- a/logview/data/mate-system-log.desktop.in.in
+++ b/logview/data/mate-system-log.desktop.in.in
@@ -1,5 +1,5 @@
[Desktop Entry]
-Name=MATE System Log Viewer
+Name=Log File Viewer
Comment=View or monitor system log files
Exec=mate-system-log
# Translators: Do NOT translate or transliterate this text (this is an icon file name)!
@@ -10,6 +10,7 @@ StartupNotify=true
Categories=GTK;System;Monitor;
# Translators: Search terms to find this application. Do NOT translate or localize the semicolons! The list MUST also end with a semicolon!
Keywords=MATE;monitor;view;system;log;files;logviewer;
+OnlyShowIn=MATE;
X-MATE-DocPath=mate-system-log/mate-system-log.xml
X-MATE-Bugzilla-Bugzilla=MATE
X-MATE-Bugzilla-Product=mate-utils
diff --git a/logview/src/logview-window.c b/logview/src/logview-window.c
index 9be55f80..56641d56 100644
--- a/logview/src/logview-window.c
+++ b/logview/src/logview-window.c
@@ -916,9 +916,13 @@ window_size_changed_cb (GtkWidget *widget, GdkEventConfigure *event,
gpointer data)
{
LogviewWindow *window = data;
+ gint width;
+ gint height;
+
+ gtk_window_get_size (GTK_WINDOW (window), &width, &height);
logview_prefs_store_window_size (window->priv->prefs,
- event->width, event->height);
+ width, height);
return FALSE;
}
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,
diff --git a/mate-disk-image-mounter/data/mate-disk-image-mounter.desktop.in b/mate-disk-image-mounter/data/mate-disk-image-mounter.desktop.in
index aa1dc459..f70afd01 100644
--- a/mate-disk-image-mounter/data/mate-disk-image-mounter.desktop.in
+++ b/mate-disk-image-mounter/data/mate-disk-image-mounter.desktop.in
@@ -10,4 +10,4 @@ Terminal=false
StartupNotify=false
Type=Application
Categories=GTK;System;
-OnlyShowIn=MATE;
+NoDisplay=true