Compare commits

...

6 Commits

Author SHA1 Message Date
Florian Müllner
c0920301b4 Bump version to 3.18.3
Update NEWS.
2016-01-09 10:35:23 +01:00
Florian Müllner
5a46645948 apps-menu: Fix .desktop entries in subdirectories
GMenu's TreeEntries return an AppInfo that is created from the
.desktop filename, not from a desktop ID as expected by the
AppSystem. As a result, g_app_info_get_id() will simply return
the file's basename, which only matches the desktop ID if no
prefix-to-subdirectory mapping as described in the menu spec
is involved.
Fix this by basing the app lookup on the entry's desktop ID instead
of the AppInfo.

https://bugzilla.gnome.org/show_bug.cgi?id=759004
2016-01-09 10:29:57 +01:00
Florian Müllner
7c247e6b84 apps-menu: Remove unused variable
https://bugzilla.gnome.org/show_bug.cgi?id=759004
2016-01-09 10:29:54 +01:00
Florian Müllner
fc15dfa3d7 Bump version to 3.18.2
Update NEWS.
2015-11-12 13:25:32 +01:00
Jakub Steiner
adadc96146 window-list button colors
- not sure I win the override game

https://bugzilla.gnome.org/show_bug.cgi?id=756807
2015-10-30 19:53:28 +01:00
Jakub Steiner
8b0263cf83 make spinner 60fps & 16x16px
https://bugzilla.gnome.org/show_bug.cgi?id=756888
2015-10-21 14:18:19 +02:00
5 changed files with 2431 additions and 108 deletions

8
NEWS
View File

@@ -1,3 +1,11 @@
3.18.3
======
* apps-menu: Fix .desktop entries in subdirectories
3.18.2
======
* Fix classic style issues
3.18.1 3.18.1
====== ======
* window-list: Fix accessibility of window buttons * window-list: Fix accessibility of window buttons

View File

@@ -1,5 +1,5 @@
AC_PREREQ(2.63) AC_PREREQ(2.63)
AC_INIT([gnome-shell-extensions],[3.18.1],[https://bugzilla.gnome.org/enter_bug.cgi?product=gnome-shell&component=extensions]) AC_INIT([gnome-shell-extensions],[3.18.3],[https://bugzilla.gnome.org/enter_bug.cgi?product=gnome-shell&component=extensions])
AC_CONFIG_MACRO_DIR([m4]) AC_CONFIG_MACRO_DIR([m4])
AC_CONFIG_AUX_DIR([config]) AC_CONFIG_AUX_DIR([config])

File diff suppressed because it is too large Load Diff

Before

Width:  |  Height:  |  Size: 27 KiB

After

Width:  |  Height:  |  Size: 100 KiB

View File

@@ -397,18 +397,15 @@ const ApplicationsButton = new Lang.Class({
while ((nextType = iter.next()) != GMenu.TreeItemType.INVALID) { while ((nextType = iter.next()) != GMenu.TreeItemType.INVALID) {
if (nextType == GMenu.TreeItemType.ENTRY) { if (nextType == GMenu.TreeItemType.ENTRY) {
let entry = iter.get_entry(); let entry = iter.get_entry();
let appInfo = entry.get_app_info();
let id; let id;
try { try {
id = appInfo.get_id(); // catch non-UTF8 filenames id = entry.get_desktop_file_id(); // catch non-UTF8 filenames
} catch(e) { } catch(e) {
continue; continue;
} }
let app = appSys.lookup_app(id); let app = appSys.lookup_app(id);
if (appInfo.should_show()) { if (app.get_app_info().should_show())
let menu_id = dir.get_menu_id();
this.applicationsByCategory[categoryId].push(app); this.applicationsByCategory[categoryId].push(app);
}
} else if (nextType == GMenu.TreeItemType.DIRECTORY) { } else if (nextType == GMenu.TreeItemType.DIRECTORY) {
let subdir = iter.get_directory(); let subdir = iter.get_directory();
if (!subdir.get_is_nodisplay()) if (!subdir.get_is_nodisplay())

View File

@@ -3,42 +3,49 @@
#panel.bottom-panel { #panel.bottom-panel {
border-top-width: 1px; border-top-width: 1px;
border-bottom-width: 0px; border-bottom-width: 0px;
height: 2.25em !important; height: 2.25em ;
} }
.bottom-panel .window-button > StWidget { .bottom-panel .window-button > StWidget {
background-color: #e9e9e9 !important; background-gradient-drection: vertical;
background-gradient-direction: vertical; background-color: #fff;
background-gradient-end: #d0d0d0; background-gradient-start: #fff;
color: #555 !important; background-gradient-end: #eee;
border-radius: 2px !important; color: #000;
padding: 4px 6px 2px !important; border-radius: 2px;
padding: 4px 6px 2px;
text-shadow: 0 0 transparent; text-shadow: 0 0 transparent;
box-shadow: inset -1px -1px 1px rgba(0,0,0,0.5) !important; box-shadow: inset -1px -1px 1px rgba(0,0,0,0.5);
} }
.bottom-panel .window-button:hover > StWidget { .bottom-panel .window-button:hover > StWidget {
background-color: #f9f9f9 !important; background-color: #fff;
background-gradient-end: #e0e0e0; background-gradient-start: #fff;
background-gradient-end: #fefefe;
} }
.bottom-panel .window-button:active > StWidget { .bottom-panel .window-button:active > StWidget {
box-shadow: inset 1px 1px 2px rgba(0,0,0,0.5) !important; box-shadow: inset 1px 1px 2px rgba(0,0,0,0.5);
background-color: #ededed;
background-gradient-start: #ededed;
background-gradient-end: #ededed;
} }
.bottom-panel .window-button.focused > StWidget { .bottom-panel .window-button.focused > StWidget {
background-color: #a9a9a9 !important; background-color: #ddd;
background-gradient-end: #b0b0b0; background-color: #ddd;
box-shadow: inset 1px 1px 2px rgba(0,0,0,0.5) !important; background-gradient-end: #dedede;
color: white;
box-shadow: inset 1px 1px 2px rgba(0,0,0,0.5);
} }
.bottom-panel .window-button.focused:hover > StWidget { .bottom-panel .window-button.focused:hover > StWidget {
background-color: #b9b9b9 !important; background-color: #b9b9b9;
background-gradient-end: #c0c0c0; background-gradient-end: #c0c0c0;
} }
.bottom-panel .window-button.minimized > StWidget { .bottom-panel .window-button.minimized > StWidget {
color: #888 !important; color: #000;
box-shadow: inset -1px -1px 1px rgba(0,0,0,0.4) !important; box-shadow: inset -1px -1px 1px rgba(0,0,0,0.4);
} }