summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorlukefromdc <[email protected]>2015-11-02 20:12:42 -0500
committerWolfgang Ulbrich <[email protected]>2015-11-03 14:02:23 +0100
commit2c4ae4d781f5baf878c7bddd6e118ba34afd0ff5 (patch)
tree10961da031b35870e0be8668e4be18a941cd569d
parent65dabb3d598807c15fca65fd128a4d62e6b7995e (diff)
downloadmate-notification-daemon-2c4ae4d781f5baf878c7bddd6e118ba34afd0ff5.tar.bz2
mate-notification-daemon-2c4ae4d781f5baf878c7bddd6e118ba34afd0ff5.tar.xz
coco: fix gtk3 window height the right way
Coco:fix the height of the entire notification window in gtk3 builds, not just the visible area This gives consistant position no matter what the height of the notification window, and never overlaps the panel regardless of panel position. Top, bottom, left, right panels tested along with top left, top right, bottom left, and bottom right notification locations. None overlapped, consistant spacing from notification window to panel in all cases-just like slider. The previous "fix" has been reverted and is not present in this commit.
-rw-r--r--src/themes/coco/coco-theme.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/themes/coco/coco-theme.c b/src/themes/coco/coco-theme.c
index e7eb8a0..1a9c84f 100644
--- a/src/themes/coco/coco-theme.c
+++ b/src/themes/coco/coco-theme.c
@@ -478,6 +478,7 @@ create_notification(UrlClickedCb url_clicked)
windata->url_clicked = url_clicked;
win = gtk_window_new(GTK_WINDOW_POPUP);
+ gtk_window_set_resizable(GTK_WINDOW(win), FALSE);
windata->win = win;
windata->rtl = gtk_widget_get_default_direction();