Hello community, here is the log from the commit of package brisk-menu for openSUSE:Factory checked in at 2017-04-11 09:35:25 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/brisk-menu (Old) and /work/SRC/openSUSE:Factory/.brisk-menu.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "brisk-menu" Tue Apr 11 09:35:25 2017 rev:2 rq:483428 version:0.3.5 Changes: -------- --- /work/SRC/openSUSE:Factory/brisk-menu/brisk-menu.changes 2017-03-24 02:21:39.320058047 +0100 +++ /work/SRC/openSUSE:Factory/.brisk-menu.new/brisk-menu.changes 2017-04-11 09:35:28.123249222 +0200 @@ -1,0 +2,11 @@ +Wed Mar 29 17:26:14 UTC 2017 - sor.ale...@meowr.ru + +- Update to version 0.3.5: + * Fix bitwise operators on search bar placement (inverse logic). + * Standardise the CSS usage, fix broken assets. + * Add rollover behaviour (a gsettings option). + * Add a context menu for editing menus. + * Style fixes (new CSS classes). + * Update translations. + +------------------------------------------------------------------- Old: ---- brisk-menu-0.3.0.tar.xz New: ---- brisk-menu-0.3.5.tar.xz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ brisk-menu.spec ++++++ --- /var/tmp/diff_new_pack.MmnzPS/_old 2017-04-11 09:35:29.395069561 +0200 +++ /var/tmp/diff_new_pack.MmnzPS/_new 2017-04-11 09:35:29.399068996 +0200 @@ -17,7 +17,7 @@ Name: brisk-menu -Version: 0.3.0 +Version: 0.3.5 Release: 0 Summary: Modern, efficient menu for MATE License: GPL-2.0+ and CC-BY-SA-4.0 ++++++ brisk-menu-0.3.0.tar.xz -> brisk-menu-0.3.5.tar.xz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/brisk-menu-0.3.0/brisk-resources.c new/brisk-menu-0.3.5/brisk-resources.c --- old/brisk-menu-0.3.0/brisk-resources.c 2017-01-24 06:17:27.000000000 +0100 +++ new/brisk-menu-0.3.5/brisk-resources.c 2017-03-29 19:21:55.000000000 +0200 @@ -6,7 +6,7 @@ # define SECTION #endif -static const SECTION union { const guint8 data[420]; const double alignment; void * const ptr;} brisk_resources_resource_data = { { +static const SECTION union { const guint8 data[416]; const double alignment; void * const ptr;} brisk_resources_resource_data = { { 0x47, 0x56, 0x61, 0x72, 0x69, 0x61, 0x6e, 0x74, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x18, 0x00, 0x00, 0x00, 0xc8, 0x00, 0x00, 0x00, @@ -25,13 +25,13 @@ 0xec, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x00, 0x00, 0x1a, 0x8a, 0x84, 0x9e, 0x05, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x00, 0x00, 0x0b, 0x00, 0x76, 0x00, - 0x00, 0x01, 0x00, 0x00, 0x8d, 0x01, 0x00, 0x00, + 0x00, 0x01, 0x00, 0x00, 0x8c, 0x01, 0x00, 0x00, 0xc2, 0xaf, 0x89, 0x0b, 0x01, 0x00, 0x00, 0x00, - 0x8d, 0x01, 0x00, 0x00, 0x04, 0x00, 0x4c, 0x00, - 0x94, 0x01, 0x00, 0x00, 0x98, 0x01, 0x00, 0x00, + 0x8c, 0x01, 0x00, 0x00, 0x04, 0x00, 0x4c, 0x00, + 0x90, 0x01, 0x00, 0x00, 0x94, 0x01, 0x00, 0x00, 0x19, 0x1a, 0x41, 0xb7, 0x00, 0x00, 0x00, 0x00, - 0x98, 0x01, 0x00, 0x00, 0x05, 0x00, 0x4c, 0x00, - 0xa0, 0x01, 0x00, 0x00, 0xa4, 0x01, 0x00, 0x00, + 0x94, 0x01, 0x00, 0x00, 0x05, 0x00, 0x4c, 0x00, + 0x9c, 0x01, 0x00, 0x00, 0xa0, 0x01, 0x00, 0x00, 0x62, 0x72, 0x69, 0x73, 0x6b, 0x2f, 0x00, 0x00, 0x05, 0x00, 0x00, 0x00, 0x2f, 0x00, 0x00, 0x00, 0x04, 0x00, 0x00, 0x00, 0x73, 0x6f, 0x6c, 0x75, @@ -39,27 +39,26 @@ 0x74, 0x2f, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x73, 0x74, 0x79, 0x6c, 0x69, 0x6e, 0x67, 0x2e, 0x63, 0x73, 0x73, 0x00, 0x00, 0x00, 0x00, 0x00, - 0x7d, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, + 0x7c, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x2e, 0x62, 0x72, 0x69, 0x73, 0x6b, 0x2d, 0x6d, 0x65, 0x6e, 0x75, 0x20, 0x2e, 0x61, 0x70, 0x70, 0x73, 0x2d, 0x6c, 0x69, 0x73, 0x74, 0x20, 0x72, 0x6f, 0x77, 0x2c, 0x20, 0x2e, 0x62, 0x72, 0x69, 0x73, 0x6b, 0x2d, 0x6d, 0x65, 0x6e, 0x75, 0x20, 0x2e, 0x61, 0x70, 0x70, 0x73, 0x2d, 0x6c, 0x69, - 0x73, 0x74, 0x20, 0x2e, 0x72, 0x6f, 0x77, 0x2c, - 0x20, 0x20, 0x7b, 0x0a, 0x20, 0x20, 0x20, 0x20, - 0x62, 0x61, 0x63, 0x6b, 0x67, 0x72, 0x6f, 0x75, - 0x6e, 0x64, 0x2d, 0x63, 0x6f, 0x6c, 0x6f, 0x72, - 0x3a, 0x20, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x70, - 0x61, 0x72, 0x65, 0x6e, 0x74, 0x3b, 0x0a, 0x20, - 0x20, 0x20, 0x20, 0x62, 0x61, 0x63, 0x6b, 0x67, - 0x72, 0x6f, 0x75, 0x6e, 0x64, 0x2d, 0x69, 0x6d, - 0x61, 0x67, 0x65, 0x3a, 0x20, 0x6e, 0x6f, 0x6e, - 0x65, 0x3b, 0x0a, 0x7d, 0x0a, 0x00, 0x00, 0x28, - 0x75, 0x75, 0x61, 0x79, 0x29, 0x63, 0x6f, 0x6d, - 0x2f, 0x00, 0x00, 0x00, 0x02, 0x00, 0x00, 0x00, - 0x6d, 0x65, 0x6e, 0x75, 0x2f, 0x00, 0x00, 0x00, - 0x03, 0x00, 0x00, 0x00 + 0x73, 0x74, 0x20, 0x2e, 0x72, 0x6f, 0x77, 0x20, + 0x20, 0x7b, 0x0a, 0x20, 0x20, 0x20, 0x20, 0x62, + 0x61, 0x63, 0x6b, 0x67, 0x72, 0x6f, 0x75, 0x6e, + 0x64, 0x2d, 0x63, 0x6f, 0x6c, 0x6f, 0x72, 0x3a, + 0x20, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x70, 0x61, + 0x72, 0x65, 0x6e, 0x74, 0x3b, 0x0a, 0x20, 0x20, + 0x20, 0x20, 0x62, 0x61, 0x63, 0x6b, 0x67, 0x72, + 0x6f, 0x75, 0x6e, 0x64, 0x2d, 0x69, 0x6d, 0x61, + 0x67, 0x65, 0x3a, 0x20, 0x6e, 0x6f, 0x6e, 0x65, + 0x3b, 0x0a, 0x7d, 0x0a, 0x00, 0x00, 0x28, 0x75, + 0x75, 0x61, 0x79, 0x29, 0x63, 0x6f, 0x6d, 0x2f, + 0x02, 0x00, 0x00, 0x00, 0x6d, 0x65, 0x6e, 0x75, + 0x2f, 0x00, 0x00, 0x00, 0x03, 0x00, 0x00, 0x00 } }; static GStaticResource static_resource = { brisk_resources_resource_data.data, sizeof (brisk_resources_resource_data.data), NULL, NULL, NULL }; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/brisk-menu-0.3.0/configure new/brisk-menu-0.3.5/configure --- old/brisk-menu-0.3.0/configure 2017-01-24 06:17:24.000000000 +0100 +++ new/brisk-menu-0.3.5/configure 2017-03-29 19:21:53.000000000 +0200 @@ -1,6 +1,6 @@ #! /bin/sh # Guess values for system-dependent variables and create Makefiles. -# Generated by GNU Autoconf 2.69 for Brisk Menu 0.3.0. +# Generated by GNU Autoconf 2.69 for Brisk Menu 0.3.5. # # Report bugs to <i...@solus-project.com>. # @@ -590,8 +590,8 @@ # Identity of this package. PACKAGE_NAME='Brisk Menu' PACKAGE_TARNAME='brisk-menu' -PACKAGE_VERSION='0.3.0' -PACKAGE_STRING='Brisk Menu 0.3.0' +PACKAGE_VERSION='0.3.5' +PACKAGE_STRING='Brisk Menu 0.3.5' PACKAGE_BUGREPORT='i...@solus-project.com' PACKAGE_URL='https://solus-project.com/' @@ -1391,7 +1391,7 @@ # Omit some internal or obsolete options to make the list less imposing. # This message is too long to be a string in the A/UX 3.1 sh. cat <<_ACEOF -\`configure' configures Brisk Menu 0.3.0 to adapt to many kinds of systems. +\`configure' configures Brisk Menu 0.3.5 to adapt to many kinds of systems. Usage: $0 [OPTION]... [VAR=VALUE]... @@ -1461,7 +1461,7 @@ if test -n "$ac_init_help"; then case $ac_init_help in - short | recursive ) echo "Configuration of Brisk Menu 0.3.0:";; + short | recursive ) echo "Configuration of Brisk Menu 0.3.5:";; esac cat <<\_ACEOF @@ -1586,7 +1586,7 @@ test -n "$ac_init_help" && exit $ac_status if $ac_init_version; then cat <<\_ACEOF -Brisk Menu configure 0.3.0 +Brisk Menu configure 0.3.5 generated by GNU Autoconf 2.69 Copyright (C) 2012 Free Software Foundation, Inc. @@ -1955,7 +1955,7 @@ This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. -It was created by Brisk Menu $as_me 0.3.0, which was +It was created by Brisk Menu $as_me 0.3.5, which was generated by GNU Autoconf 2.69. Invocation command line was $ $0 $@ @@ -2818,7 +2818,7 @@ # Define the identity of the package. PACKAGE='brisk-menu' - VERSION='0.3.0' + VERSION='0.3.5' cat >>confdefs.h <<_ACEOF @@ -13951,7 +13951,7 @@ # report actual input values of CONFIG_FILES etc. instead of their # values after options handling. ac_log=" -This file was extended by Brisk Menu $as_me 0.3.0, which was +This file was extended by Brisk Menu $as_me 0.3.5, which was generated by GNU Autoconf 2.69. Invocation command line was CONFIG_FILES = $CONFIG_FILES @@ -14018,7 +14018,7 @@ cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" ac_cs_version="\\ -Brisk Menu config.status 0.3.0 +Brisk Menu config.status 0.3.5 configured by $0, generated by GNU Autoconf 2.69, with options \\"\$ac_cs_config\\" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/brisk-menu-0.3.0/configure.ac new/brisk-menu-0.3.5/configure.ac --- old/brisk-menu-0.3.0/configure.ac 2017-01-24 06:16:42.000000000 +0100 +++ new/brisk-menu-0.3.5/configure.ac 2017-03-29 19:20:17.000000000 +0200 @@ -1,4 +1,4 @@ -AC_INIT([Brisk Menu], 0.3.0, [i...@solus-project.com], [brisk-menu], [https://solus-project.com/]) +AC_INIT([Brisk Menu], 0.3.5, [i...@solus-project.com], [brisk-menu], [https://solus-project.com/]) AM_INIT_AUTOMAKE([-Wno-portability no-dist-gzip dist-xz foreign subdir-objects 1.9 tar-ustar]) AC_PROG_CC AC_PROG_CC_STDC diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/brisk-menu-0.3.0/data/com.solus-project.brisk-menu.gschema.xml new/brisk-menu-0.3.5/data/com.solus-project.brisk-menu.gschema.xml --- old/brisk-menu-0.3.0/data/com.solus-project.brisk-menu.gschema.xml 2017-01-24 06:01:37.000000000 +0100 +++ new/brisk-menu-0.3.5/data/com.solus-project.brisk-menu.gschema.xml 2017-03-20 16:47:20.000000000 +0100 @@ -16,6 +16,11 @@ <summary>Use dark theme variant for Brisk Menu</summary> <description>Use the dark theme for Brisk Menu aka night mode</description> </key> + <key type="b" name="rollover-activate"> + <default>false</default> + <summary>Activate categories with mouse rollover</summary> + <description>Categories will be activated by hovering with the mouse</description> + </key> <key enum="com.solus-project.brisk-menu.SearchPosition" name="search-position"> <default>'top'</default> <summary>Search bar position</summary> diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/brisk-menu-0.3.0/data/styling.css new/brisk-menu-0.3.5/data/styling.css --- old/brisk-menu-0.3.0/data/styling.css 2016-12-30 17:44:29.000000000 +0100 +++ new/brisk-menu-0.3.5/data/styling.css 2017-03-20 16:29:54.000000000 +0100 @@ -1,4 +1,4 @@ -.brisk-menu .apps-list row, .brisk-menu .apps-list .row, { +.brisk-menu .apps-list row, .brisk-menu .apps-list .row { background-color: transparent; background-image: none; } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/brisk-menu-0.3.0/po/LINGUAS new/brisk-menu-0.3.5/po/LINGUAS --- old/brisk-menu-0.3.0/po/LINGUAS 2017-01-24 05:01:07.000000000 +0100 +++ new/brisk-menu-0.3.5/po/LINGUAS 2017-03-29 19:19:48.000000000 +0200 @@ -1,17 +1,25 @@ +ca +da_DK de el en_GB es_AR +es fi fr_FR he +hr_HR hu id_ID +it_IT ja +lt +ne_NP nl_BE nl_NL pl pt_BR +pt_PT ro_RO ru si @@ -21,3 +29,4 @@ sv_SE tr uk +zh_TW diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/brisk-menu-0.3.0/po/ca.po new/brisk-menu-0.3.5/po/ca.po --- old/brisk-menu-0.3.0/po/ca.po 1970-01-01 01:00:00.000000000 +0100 +++ new/brisk-menu-0.3.5/po/ca.po 2017-03-29 19:19:47.000000000 +0200 @@ -0,0 +1,44 @@ +# SOME DESCRIPTIVE TITLE. +# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER +# This file is distributed under the same license as the PACKAGE package. +# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR. +# +#, fuzzy +msgid "" +msgstr "" +"Project-Id-Version: PACKAGE VERSION\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2017-01-21 04:56+0000\n" +"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" +"Last-Translator: Davidmp <medi...@gmail.com>, 2017\n" +"Language-Team: Catalan (https://www.transifex.com/solus-project/teams/68407/ca/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Language: ca\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" + +#. Now add the label +#: ../src/applet.c:177 +msgid "Menu" +msgstr "Menú" + +#: ../src/applet.c:265 +msgid "Brisk Menu Launcher" +msgstr "Llançador del menú Brisk" + +#: ../src/category-button.c:130 +msgid "All" +msgstr "Tot" + +#: ../src/menu-session.c:144 +msgid "End the current session" +msgstr "Acaba la sessió actual" + +#: ../src/menu-session.c:155 +msgid "Lock the screen" +msgstr "Bloqueja la pantalla" + +#: ../src/menu-session.c:166 +msgid "Turn off the device" +msgstr "Atura el dispositiu" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/brisk-menu-0.3.0/po/da_DK.po new/brisk-menu-0.3.5/po/da_DK.po --- old/brisk-menu-0.3.0/po/da_DK.po 1970-01-01 01:00:00.000000000 +0100 +++ new/brisk-menu-0.3.5/po/da_DK.po 2017-03-29 19:19:47.000000000 +0200 @@ -0,0 +1,44 @@ +# SOME DESCRIPTIVE TITLE. +# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER +# This file is distributed under the same license as the PACKAGE package. +# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR. +# +#, fuzzy +msgid "" +msgstr "" +"Project-Id-Version: PACKAGE VERSION\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2017-01-21 04:56+0000\n" +"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" +"Last-Translator: Silas Wulff <silaswu...@gmail.com>, 2017\n" +"Language-Team: Danish (Denmark) (https://www.transifex.com/solus-project/teams/68407/da_DK/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Language: da_DK\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" + +#. Now add the label +#: ../src/applet.c:177 +msgid "Menu" +msgstr "Menu" + +#: ../src/applet.c:265 +msgid "Brisk Menu Launcher" +msgstr "Brisk start menu" + +#: ../src/category-button.c:130 +msgid "All" +msgstr "Alle" + +#: ../src/menu-session.c:144 +msgid "End the current session" +msgstr "Afslut nuværende session" + +#: ../src/menu-session.c:155 +msgid "Lock the screen" +msgstr "Lås skærmen" + +#: ../src/menu-session.c:166 +msgid "Turn off the device" +msgstr "Sluk maskinen" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/brisk-menu-0.3.0/po/es.po new/brisk-menu-0.3.5/po/es.po --- old/brisk-menu-0.3.0/po/es.po 1970-01-01 01:00:00.000000000 +0100 +++ new/brisk-menu-0.3.5/po/es.po 2017-03-29 19:19:48.000000000 +0200 @@ -0,0 +1,44 @@ +# SOME DESCRIPTIVE TITLE. +# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER +# This file is distributed under the same license as the PACKAGE package. +# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR. +# +#, fuzzy +msgid "" +msgstr "" +"Project-Id-Version: PACKAGE VERSION\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2017-01-21 04:56+0000\n" +"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" +"Last-Translator: Alfonso Rodríguez <eu.caste...@gmail.com>, 2017\n" +"Language-Team: Spanish (https://www.transifex.com/solus-project/teams/68407/es/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Language: es\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" + +#. Now add the label +#: ../src/applet.c:177 +msgid "Menu" +msgstr "Menú" + +#: ../src/applet.c:265 +msgid "Brisk Menu Launcher" +msgstr "Lanzador de Menú Brisk" + +#: ../src/category-button.c:130 +msgid "All" +msgstr "Todo" + +#: ../src/menu-session.c:144 +msgid "End the current session" +msgstr "Finalizar la sesión actual" + +#: ../src/menu-session.c:155 +msgid "Lock the screen" +msgstr "Bloquear la pantalla" + +#: ../src/menu-session.c:166 +msgid "Turn off the device" +msgstr "Apagar el dispositivo" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/brisk-menu-0.3.0/po/fr_FR.po new/brisk-menu-0.3.5/po/fr_FR.po --- old/brisk-menu-0.3.0/po/fr_FR.po 2017-01-24 05:01:07.000000000 +0100 +++ new/brisk-menu-0.3.5/po/fr_FR.po 2017-03-29 19:19:46.000000000 +0200 @@ -10,7 +10,7 @@ "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2017-01-21 04:56+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" -"Last-Translator: utybo <ut...@users.noreply.github.com>, 2017\n" +"Last-Translator: thauti <thom0...@gmail.com>, 2017\n" "Language-Team: French (France) (https://www.transifex.com/solus-project/teams/68407/fr_FR/)\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" @@ -37,7 +37,7 @@ #: ../src/menu-session.c:155 msgid "Lock the screen" -msgstr "Vérouiller l'écran" +msgstr "Verrouiller l'écran" #: ../src/menu-session.c:166 msgid "Turn off the device" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/brisk-menu-0.3.0/po/hr_HR.po new/brisk-menu-0.3.5/po/hr_HR.po --- old/brisk-menu-0.3.0/po/hr_HR.po 1970-01-01 01:00:00.000000000 +0100 +++ new/brisk-menu-0.3.5/po/hr_HR.po 2017-03-29 19:19:48.000000000 +0200 @@ -0,0 +1,44 @@ +# SOME DESCRIPTIVE TITLE. +# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER +# This file is distributed under the same license as the PACKAGE package. +# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR. +# +#, fuzzy +msgid "" +msgstr "" +"Project-Id-Version: PACKAGE VERSION\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2017-01-21 04:56+0000\n" +"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" +"Last-Translator: Ivica Kolić <ik...@yahoo.com>, 2017\n" +"Language-Team: Croatian (Croatia) (https://www.transifex.com/solus-project/teams/68407/hr_HR/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Language: hr_HR\n" +"Plural-Forms: nplurals=3; plural=n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2;\n" + +#. Now add the label +#: ../src/applet.c:177 +msgid "Menu" +msgstr "Izbornik" + +#: ../src/applet.c:265 +msgid "Brisk Menu Launcher" +msgstr "Pokretač Brisk izbornika" + +#: ../src/category-button.c:130 +msgid "All" +msgstr "Sve" + +#: ../src/menu-session.c:144 +msgid "End the current session" +msgstr "Završi trenutnu sesiju" + +#: ../src/menu-session.c:155 +msgid "Lock the screen" +msgstr "Zaključaj zaslon" + +#: ../src/menu-session.c:166 +msgid "Turn off the device" +msgstr "Isključi uređaj" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/brisk-menu-0.3.0/po/it_IT.po new/brisk-menu-0.3.5/po/it_IT.po --- old/brisk-menu-0.3.0/po/it_IT.po 1970-01-01 01:00:00.000000000 +0100 +++ new/brisk-menu-0.3.5/po/it_IT.po 2017-03-29 19:19:47.000000000 +0200 @@ -0,0 +1,44 @@ +# SOME DESCRIPTIVE TITLE. +# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER +# This file is distributed under the same license as the PACKAGE package. +# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR. +# +#, fuzzy +msgid "" +msgstr "" +"Project-Id-Version: PACKAGE VERSION\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2017-01-21 04:56+0000\n" +"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" +"Last-Translator: Michele Vizzani <michelevizz...@tiscali.it>, 2017\n" +"Language-Team: Italian (Italy) (https://www.transifex.com/solus-project/teams/68407/it_IT/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Language: it_IT\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" + +#. Now add the label +#: ../src/applet.c:177 +msgid "Menu" +msgstr "Menu" + +#: ../src/applet.c:265 +msgid "Brisk Menu Launcher" +msgstr "Brisk Menu" + +#: ../src/category-button.c:130 +msgid "All" +msgstr "Tutto" + +#: ../src/menu-session.c:144 +msgid "End the current session" +msgstr "Fine della sessione corrente" + +#: ../src/menu-session.c:155 +msgid "Lock the screen" +msgstr "Blocca lo schermo" + +#: ../src/menu-session.c:166 +msgid "Turn off the device" +msgstr "Spegni il computer" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/brisk-menu-0.3.0/po/lt.po new/brisk-menu-0.3.5/po/lt.po --- old/brisk-menu-0.3.0/po/lt.po 1970-01-01 01:00:00.000000000 +0100 +++ new/brisk-menu-0.3.5/po/lt.po 2017-03-29 19:19:48.000000000 +0200 @@ -0,0 +1,44 @@ +# SOME DESCRIPTIVE TITLE. +# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER +# This file is distributed under the same license as the PACKAGE package. +# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR. +# +#, fuzzy +msgid "" +msgstr "" +"Project-Id-Version: PACKAGE VERSION\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2017-01-21 04:56+0000\n" +"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" +"Last-Translator: Moo <mo...@mail.ru>, 2017\n" +"Language-Team: Lithuanian (https://www.transifex.com/solus-project/teams/68407/lt/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Language: lt\n" +"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && (n%100<10 || n%100>=20) ? 1 : 2);\n" + +#. Now add the label +#: ../src/applet.c:177 +msgid "Menu" +msgstr "Meniu" + +#: ../src/applet.c:265 +msgid "Brisk Menu Launcher" +msgstr "Brisk meniu leistukas" + +#: ../src/category-button.c:130 +msgid "All" +msgstr "Visos" + +#: ../src/menu-session.c:144 +msgid "End the current session" +msgstr "Užbaigti esamą seansą" + +#: ../src/menu-session.c:155 +msgid "Lock the screen" +msgstr "Užrakinti ekraną" + +#: ../src/menu-session.c:166 +msgid "Turn off the device" +msgstr "Išjungti įrenginį" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/brisk-menu-0.3.0/po/ne_NP.po new/brisk-menu-0.3.5/po/ne_NP.po --- old/brisk-menu-0.3.0/po/ne_NP.po 1970-01-01 01:00:00.000000000 +0100 +++ new/brisk-menu-0.3.5/po/ne_NP.po 2017-03-29 19:19:48.000000000 +0200 @@ -0,0 +1,44 @@ +# SOME DESCRIPTIVE TITLE. +# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER +# This file is distributed under the same license as the PACKAGE package. +# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR. +# +#, fuzzy +msgid "" +msgstr "" +"Project-Id-Version: PACKAGE VERSION\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2017-01-21 04:56+0000\n" +"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" +"Last-Translator: Diwaker Ghimire <idwa...@gmail.com>, 2017\n" +"Language-Team: Nepali (Nepal) (https://www.transifex.com/solus-project/teams/68407/ne_NP/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Language: ne_NP\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" + +#. Now add the label +#: ../src/applet.c:177 +msgid "Menu" +msgstr "मेनु" + +#: ../src/applet.c:265 +msgid "Brisk Menu Launcher" +msgstr "बि्स्क मेनु लन्चर" + +#: ../src/category-button.c:130 +msgid "All" +msgstr "सबै" + +#: ../src/menu-session.c:144 +msgid "End the current session" +msgstr "वर्तमान सत्र अन्त गर्नुहोस्" + +#: ../src/menu-session.c:155 +msgid "Lock the screen" +msgstr "स्क्रिन लक गर्नुहोस्" + +#: ../src/menu-session.c:166 +msgid "Turn off the device" +msgstr "डिभाइस अफ गर्नुहोस्" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/brisk-menu-0.3.0/po/pt_PT.po new/brisk-menu-0.3.5/po/pt_PT.po --- old/brisk-menu-0.3.0/po/pt_PT.po 1970-01-01 01:00:00.000000000 +0100 +++ new/brisk-menu-0.3.5/po/pt_PT.po 2017-03-29 19:19:48.000000000 +0200 @@ -0,0 +1,44 @@ +# SOME DESCRIPTIVE TITLE. +# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER +# This file is distributed under the same license as the PACKAGE package. +# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR. +# +#, fuzzy +msgid "" +msgstr "" +"Project-Id-Version: PACKAGE VERSION\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2017-01-21 04:56+0000\n" +"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" +"Last-Translator: Vasco Antunes <vasco.antu...@sapo.pt>, 2017\n" +"Language-Team: Portuguese (Portugal) (https://www.transifex.com/solus-project/teams/68407/pt_PT/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Language: pt_PT\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" + +#. Now add the label +#: ../src/applet.c:177 +msgid "Menu" +msgstr "Menu" + +#: ../src/applet.c:265 +msgid "Brisk Menu Launcher" +msgstr "Lançandor de menu Brisk" + +#: ../src/category-button.c:130 +msgid "All" +msgstr "Tudo" + +#: ../src/menu-session.c:144 +msgid "End the current session" +msgstr "Fechar a sessão atual" + +#: ../src/menu-session.c:155 +msgid "Lock the screen" +msgstr "Bloquear o ecrã" + +#: ../src/menu-session.c:166 +msgid "Turn off the device" +msgstr "Desligar o dispositivo" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/brisk-menu-0.3.0/po/zh_TW.po new/brisk-menu-0.3.5/po/zh_TW.po --- old/brisk-menu-0.3.0/po/zh_TW.po 1970-01-01 01:00:00.000000000 +0100 +++ new/brisk-menu-0.3.5/po/zh_TW.po 2017-03-29 19:19:47.000000000 +0200 @@ -0,0 +1,44 @@ +# SOME DESCRIPTIVE TITLE. +# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER +# This file is distributed under the same license as the PACKAGE package. +# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR. +# +#, fuzzy +msgid "" +msgstr "" +"Project-Id-Version: PACKAGE VERSION\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2017-01-21 04:56+0000\n" +"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" +"Last-Translator: Cheng-Chia Tseng <pswo10...@gmail.com>, 2017\n" +"Language-Team: Chinese (Taiwan) (https://www.transifex.com/solus-project/teams/68407/zh_TW/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Language: zh_TW\n" +"Plural-Forms: nplurals=1; plural=0;\n" + +#. Now add the label +#: ../src/applet.c:177 +msgid "Menu" +msgstr "選單" + +#: ../src/applet.c:265 +msgid "Brisk Menu Launcher" +msgstr "Brisk 選單啟動器" + +#: ../src/category-button.c:130 +msgid "All" +msgstr "全部" + +#: ../src/menu-session.c:144 +msgid "End the current session" +msgstr "結束目前作業階段" + +#: ../src/menu-session.c:155 +msgid "Lock the screen" +msgstr "鎖定螢幕" + +#: ../src/menu-session.c:166 +msgid "Turn off the device" +msgstr "關閉裝置" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/brisk-menu-0.3.0/src/applet.c new/brisk-menu-0.3.5/src/applet.c --- old/brisk-menu-0.3.0/src/applet.c 2017-01-24 06:15:08.000000000 +0100 +++ new/brisk-menu-0.3.5/src/applet.c 2017-03-29 19:14:42.000000000 +0200 @@ -20,11 +20,17 @@ #include "key-binder.h" #include "menu-private.h" #include "menu-window.h" +#include <gio/gdesktopappinfo.h> #include <glib/gi18n.h> #include <gtk/gtk.h> #include <mate-panel-applet.h> BRISK_END_PEDANTIC +/** + * UI definition for our right click menu + */ +#define BRISK_MENU_XML "<menuitem name=\"Edit Menus\" action=\"EditMenus\" />" + struct _BriskMenuAppletClass { MatePanelAppletClass parent_class; }; @@ -57,6 +63,22 @@ } /** + * GtkAction callbacks + */ +static void brisk_menu_applet_edit_menus(GtkAction *action, BriskMenuApplet *applet); + +G_GNUC_BEGIN_IGNORE_DEPRECATIONS +static const GtkActionEntry brisk_actions[] = { { + "EditMenus", + GTK_STOCK_EDIT, + N_("_Edit Menus"), + NULL, + NULL, + G_CALLBACK(brisk_menu_applet_edit_menus), +} }; +G_GNUC_END_IGNORE_DEPRECATIONS + +/** * Handle showing of the menu */ static gboolean button_press_cb(BriskMenuApplet *self, GdkEvent *event, gpointer v); @@ -157,6 +179,7 @@ static void brisk_menu_applet_init(BriskMenuApplet *self) { GtkWidget *toggle, *layout, *image, *label, *menu = NULL; + GtkStyleContext *style = NULL; self->binder = brisk_key_binder_new(); @@ -167,6 +190,8 @@ gtk_container_add(GTK_CONTAINER(self), toggle); g_signal_connect_swapped(toggle, "button-press-event", G_CALLBACK(button_press_cb), self); gtk_button_set_relief(GTK_BUTTON(toggle), GTK_RELIEF_NONE); + style = gtk_widget_get_style_context(toggle); + gtk_style_context_add_class(style, BRISK_STYLE_BUTTON); /* Layout will contain icon + label */ layout = gtk_box_new(GTK_ORIENTATION_HORIZONTAL, 0); @@ -271,6 +296,44 @@ brisk_menu_window_set_orient(BRISK_MENU_WINDOW(self->menu), orient); } +static void brisk_menu_applet_edit_menus(__brisk_unused__ GtkAction *action, BriskMenuApplet *self) +{ + static const char *editors[] = { + "menulibre.desktop", "mozo.desktop", + }; + static const char *binaries[] = { + "menulibre", "mozo", + }; + for (size_t i = 0; i < G_N_ELEMENTS(editors); i++) { + autofree(gchar) *p = NULL; + autofree(GAppInfo) *app = NULL; + BriskMenuLauncher *launcher = ((BRISK_MENU_WINDOW(self->menu))->launcher); + GDesktopAppInfo *info = NULL; + + p = g_find_program_in_path(binaries[i]); + if (!p) { + continue; + } + + info = g_desktop_app_info_new(editors[i]); + if (!info) { + app = g_app_info_create_from_commandline(p, + NULL, + G_APP_INFO_CREATE_NONE, + NULL); + } else { + app = G_APP_INFO(info); + } + if (!app) { + continue; + } + info = G_DESKTOP_APP_INFO(app); + brisk_menu_launcher_start(launcher, GTK_WIDGET(self), app); + return; + } + g_message("Failed to launch menu editor"); +} + static gboolean brisk_menu_applet_factory(MatePanelApplet *applet, const gchar *id, __brisk_unused__ gpointer v) { @@ -279,12 +342,21 @@ } const char *home = NULL; __attribute__((unused)) int ret = 0; + autofree(GtkActionGroup) *group = NULL; home = g_get_home_dir(); if (home) { ret = chdir(home); } + /* Setup the action group and hand it to the mate panel */ + G_GNUC_BEGIN_IGNORE_DEPRECATIONS + group = gtk_action_group_new("Brisk Menu Actions"); + gtk_action_group_set_translation_domain(group, GETTEXT_PACKAGE); + gtk_action_group_add_actions(group, brisk_actions, G_N_ELEMENTS(brisk_actions), applet); + mate_panel_applet_setup_menu(applet, BRISK_MENU_XML, group); + G_GNUC_END_IGNORE_DEPRECATIONS + g_set_application_name(_("Brisk Menu Launcher")); gtk_widget_show(GTK_WIDGET(applet)); return TRUE; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/brisk-menu-0.3.0/src/category-button.c new/brisk-menu-0.3.5/src/category-button.c --- old/brisk-menu-0.3.0/src/category-button.c 2017-01-24 06:15:08.000000000 +0100 +++ new/brisk-menu-0.3.5/src/category-button.c 2017-03-20 15:57:53.000000000 +0100 @@ -217,7 +217,7 @@ /* Flatten the button */ style = gtk_widget_get_style_context(GTK_WIDGET(self)); - gtk_style_context_add_class(style, "flat"); + gtk_style_context_add_class(style, GTK_STYLE_CLASS_FLAT); } /* diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/brisk-menu-0.3.0/src/desktop-button.c new/brisk-menu-0.3.5/src/desktop-button.c --- old/brisk-menu-0.3.0/src/desktop-button.c 2017-01-24 06:15:08.000000000 +0100 +++ new/brisk-menu-0.3.5/src/desktop-button.c 2017-03-20 15:57:41.000000000 +0100 @@ -197,7 +197,7 @@ /* Flatten the button */ style = gtk_widget_get_style_context(GTK_WIDGET(self)); - gtk_style_context_add_class(style, "flat"); + gtk_style_context_add_class(style, GTK_STYLE_CLASS_FLAT); } static void brisk_menu_desktop_button_clicked(GtkButton *button) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/brisk-menu-0.3.0/src/entry-button.c new/brisk-menu-0.3.5/src/entry-button.c --- old/brisk-menu-0.3.0/src/entry-button.c 2017-01-24 06:15:08.000000000 +0100 +++ new/brisk-menu-0.3.5/src/entry-button.c 2017-03-20 15:57:23.000000000 +0100 @@ -249,7 +249,7 @@ /* Flatten the button */ style = gtk_widget_get_style_context(GTK_WIDGET(self)); - gtk_style_context_add_class(style, "flat"); + gtk_style_context_add_class(style, GTK_STYLE_CLASS_FLAT); /* Hook up drag so users can drag .desktop from here elsewhere */ gtk_drag_source_set(GTK_WIDGET(self), GDK_BUTTON1_MASK, drag_targets, 2, GDK_ACTION_COPY); diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/brisk-menu-0.3.0/src/launcher.c new/brisk-menu-0.3.5/src/launcher.c --- old/brisk-menu-0.3.0/src/launcher.c 2017-01-24 06:15:08.000000000 +0100 +++ new/brisk-menu-0.3.5/src/launcher.c 2017-03-21 15:58:41.000000000 +0100 @@ -122,7 +122,9 @@ /* Hide the menu before kicking off the launch */ toplevel = gtk_widget_get_toplevel(parent); - gtk_widget_hide(toplevel); + if (!PANEL_IS_APPLET(parent)) { + gtk_widget_hide(toplevel); + } /* We may support DnD URIs onto the icons at some point, not for now. */ g_app_info_launch(app_info, NULL, G_APP_LAUNCH_CONTEXT(self->context), NULL); diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/brisk-menu-0.3.0/src/menu-private.h new/brisk-menu-0.3.5/src/menu-private.h --- old/brisk-menu-0.3.0/src/menu-private.h 2017-01-24 06:15:08.000000000 +0100 +++ new/brisk-menu-0.3.5/src/menu-private.h 2017-03-29 19:17:03.000000000 +0200 @@ -22,9 +22,9 @@ typedef enum { SEARCH_POS_MIN = 0, - SEARCH_POS_AUTOMATIC = 1 << 0, + SEARCH_POS_BOTTOM = 1 << 0, SEARCH_POS_TOP = 1 << 1, - SEARCH_POS_BOTTOM = 1 << 2, + SEARCH_POS_AUTOMATIC = 1 << 2, SEARCH_POS_MAX, } SearchPosition; @@ -33,6 +33,26 @@ }; /** + * Style for the main window itself + */ +#define BRISK_STYLE_MAIN "brisk-menu" + +/** + * Right hand side application list + */ +#define BRISK_STYLE_APPS_LIST "apps-list" + +/** + * Left hand side category list + */ +#define BRISK_STYLE_SIDEBAR "categories-list" + +/** + * Main toggle button + */ +#define BRISK_STYLE_BUTTON "brisk-button" + +/** * BriskMenuWindow is the toplevel window type used within the applet. */ struct _BriskMenuWindow { @@ -78,6 +98,9 @@ /* Whether we have a grab or not */ gboolean grabbed; + /* Whether we're in rollover mode or not */ + gboolean rollover; + /* Session management */ GnomeSessionManager *session; MateScreenSaver *saver; @@ -138,6 +161,8 @@ DEF_AUTOFREE(gchar, g_free) DEF_AUTOFREE(GdkAppLaunchContext, g_object_unref) DEF_AUTOFREE(GError, g_error_free) +DEF_AUTOFREE(GtkActionGroup, g_object_unref) +DEF_AUTOFREE(GAppInfo, g_object_unref) /* Helper for gsettings */ typedef gchar *gstrv; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/brisk-menu-0.3.0/src/menu-settings.c new/brisk-menu-0.3.5/src/menu-settings.c --- old/brisk-menu-0.3.0/src/menu-settings.c 2017-01-24 06:15:08.000000000 +0100 +++ new/brisk-menu-0.3.5/src/menu-settings.c 2017-03-20 16:49:02.000000000 +0100 @@ -44,6 +44,7 @@ void brisk_menu_window_pump_settings(BriskMenuWindow *self) { brisk_menu_window_settings_changed(self->settings, "search-position", self); + brisk_menu_window_settings_changed(self->settings, "rollover-activate", self); } static void brisk_menu_window_settings_changed(GSettings *settings, const gchar *key, gpointer v) @@ -53,6 +54,8 @@ if (g_str_equal(key, "search-position")) { brisk_menu_window_update_search(self, g_settings_get_enum(settings, key)); return; + } else if (g_str_equal(key, "rollover-activate")) { + self->rollover = g_settings_get_boolean(settings, key); } } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/brisk-menu-0.3.0/src/menu-window.c new/brisk-menu-0.3.5/src/menu-window.c --- old/brisk-menu-0.3.0/src/menu-window.c 2017-01-24 06:15:08.000000000 +0100 +++ new/brisk-menu-0.3.5/src/menu-window.c 2017-03-20 16:45:00.000000000 +0100 @@ -106,7 +106,7 @@ gtk_window_set_skip_pager_hint(GTK_WINDOW(self), TRUE); gtk_window_set_skip_taskbar_hint(GTK_WINDOW(self), TRUE); style = gtk_widget_get_style_context(GTK_WIDGET(self)); - gtk_style_context_add_class(style, "brisk-menu"); + gtk_style_context_add_class(style, BRISK_STYLE_MAIN); /* Hook up grabs */ brisk_menu_window_configure_grabs(self); @@ -146,6 +146,8 @@ GTK_POLICY_AUTOMATIC); gtk_scrolled_window_set_overlay_scrolling(GTK_SCROLLED_WINDOW(scroll), FALSE); self->sidebar = widget; + style = gtk_widget_get_style_context(self->sidebar); + gtk_style_context_add_class(style, BRISK_STYLE_SIDEBAR); self->sidebar_scroll = scroll; gtk_container_add(GTK_CONTAINER(scroll), widget); @@ -178,7 +180,7 @@ /* Style up the app box */ style = gtk_widget_get_style_context(widget); - gtk_style_context_add_class(style, "apps-list"); + gtk_style_context_add_class(style, BRISK_STYLE_APPS_LIST); gtk_style_context_add_class(style, "view"); gtk_style_context_add_class(style, "content-view"); gtk_style_context_remove_class(style, "background"); @@ -238,6 +240,30 @@ } /** + * Fired by entering into the category button with a roll over + */ +static gboolean brisk_menu_window_on_enter(BriskMenuWindow *self, + __brisk_unused__ GdkEventCrossing *event, + GtkWidget *button) +{ + GtkToggleButton *but = GTK_TOGGLE_BUTTON(button); + + /* Whether we're in rollover mode */ + if (!self->rollover) { + return GDK_EVENT_PROPAGATE; + } + + if (gtk_toggle_button_get_active(but) || !gtk_widget_get_visible(button)) { + return GDK_EVENT_PROPAGATE; + } + + /* Force activation through rollover */ + gtk_toggle_button_set_active(but, TRUE); + + return GDK_EVENT_PROPAGATE; +} + +/** * brisk_menu_window_associate_category: * * This will hook up the category button for events to enable us to filter the @@ -246,6 +272,10 @@ void brisk_menu_window_associate_category(BriskMenuWindow *self, GtkWidget *button) { g_signal_connect_swapped(button, "toggled", G_CALLBACK(brisk_menu_window_on_toggled), self); + g_signal_connect_swapped(button, + "enter-notify-event", + G_CALLBACK(brisk_menu_window_on_enter), + self); } /**