From kwin Tue Mar 27 17:58:55 2012 From: =?utf-8?q?Bellegarde_C=C3=A9dric?= Date: Tue, 27 Mar 2012 17:58:55 +0000 To: kwin Subject: Re: Review Request: Add appmenu support to kwin Message-Id: <20120327175855.28527.84057 () vidsolbach ! de> X-MARC-Message: https://marc.info/?l=kwin&m=133287122015392 MIME-Version: 1 Content-Type: multipart/mixed; boundary="--===============3551457103467380441==" --===============3551457103467380441== Content-Type: multipart/alternative; boundary="===============1190073307633951003==" --===============1190073307633951003== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable > On March 27, 2012, 2:03 p.m., Bellegarde C=C3=A9dric wrote: > > Diff r6 also add: > > - Kded module with renamed importer class > > - KDE_BUILD_KAPPMENU build option > = > Thomas L=C3=BCbking wrote: > did you give a ship it to yourself? > i doubt that's the point about review requests... > = > Martin Gr=C3=A4=C3=9Flin wrote: > concerning ship its... here we need two, one from KWin and one from O= xygen. No i wanted to add a comment to diff6... And i just understanded what "Ship= it" mean... - Bellegarde ----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: http://git.reviewboard.kde.org/r/104344/#review11908 ----------------------------------------------------------- On March 27, 2012, 2 p.m., Bellegarde C=C3=A9dric wrote: > = > ----------------------------------------------------------- > This is an automatically generated e-mail. To reply, visit: > http://git.reviewboard.kde.org/r/104344/ > ----------------------------------------------------------- > = > (Updated March 27, 2012, 2 p.m.) > = > = > Review request for kwin. > = > = > Description > ------- > = > Here a patch to add appmenu support to kwin: > - via a menu button in titlebar > - via a global shortcut > = > Works by Lionel Chauvin and me, original review request: https://git.revi= ewboard.kde.org/r/101162/ > = > It depends on: > http://quickgit.kde.org/index.php?p=3Dkded-appmenu.git > = > Kubuntu and ArchLinux packages (KDE 4.8.1 backport) availables here: > http://kde-look.org/content/show.php/kde-workspace-appmenu?content=3D1485= 83 > = > It looks like this: > http://www.youtube.com/watch?v=3Dj0o1sRLRc60&hd=3D1 > = > I remove ( http://kde-look.org/CONTENT/content-pre1/141254-1.png ) this w= ay to show menu button because: > - It conflicts with window menu button > - Using application name is impossible (we only have window class and som= etime it's quite ugly) > - Using just "Menu" really looks bad > = > = > Diffs > ----- > = > CMakeLists.txt c766fdf = > appmenu/CMakeLists.txt PRE-CREATION = > appmenu/lib/CMakeLists.txt PRE-CREATION = > appmenu/lib/com.canonical.AppMenu.Registrar.xml PRE-CREATION = > appmenu/lib/importer_interface.h PRE-CREATION = > appmenu/lib/importer_interface.cpp PRE-CREATION = > appmenu/lib/kappmenu_export.h PRE-CREATION = > appmenu/lib/kappmenuimporter.h PRE-CREATION = > appmenu/lib/kappmenuimporter.cpp PRE-CREATION = > appmenu/lib/menuinfo.h PRE-CREATION = > appmenu/module/CMakeLists.txt PRE-CREATION = > appmenu/module/appmenu.h PRE-CREATION = > appmenu/module/appmenu.cpp PRE-CREATION = > appmenu/module/appmenu.desktop PRE-CREATION = > appmenu/module/com.canonical.AppMenu.Registrar.xml PRE-CREATION = > appmenu/module/registrar.h PRE-CREATION = > appmenu/module/registrar.cpp PRE-CREATION = > kwin/CMakeLists.txt 463692d = > kwin/bridge.h 64108e5 = > kwin/bridge.cpp 897d432 = > kwin/client.h c35643f = > kwin/client.cpp 8ff98c6 = > kwin/clients/oxygen/oxygenbutton.h ea11717 = > kwin/clients/oxygen/oxygenbutton.cpp 28aa8b1 = > kwin/clients/oxygen/oxygenclient.h e1d1d0a = > kwin/clients/oxygen/oxygenclient.cpp 7a2b021 = > kwin/clients/oxygen/oxygenfactory.h b38b097 = > kwin/clients/oxygen/oxygenfactory.cpp 827aa59 = > kwin/config-kwin.h.cmake 8893fa4 = > kwin/kcmkwin/kwindecoration/CMakeLists.txt 4762bb9 = > kwin/kcmkwin/kwindecoration/buttons.cpp 2d12244 = > kwin/kcmkwin/kwindecoration/preview.h 20ee869 = > kwin/kcmkwin/kwindecoration/preview.cpp fe802c7 = > kwin/kcmkwin/kwinoptions/windows.h 3fadf2c = > kwin/kcmkwin/kwinoptions/windows.cpp 30c94c0 = > kwin/kwin.kcfg cf6537e = > kwin/kwinbindings.cpp 3284cf0 = > kwin/libkdecorations/kcommondecoration.h 3fe9fcf = > kwin/libkdecorations/kcommondecoration.cpp 02a33e9 = > kwin/libkdecorations/kdecoration.h 442d0a1 = > kwin/libkdecorations/kdecoration.cpp 71f4f8d = > kwin/libkdecorations/kdecorationbridge.h b7d0619 = > kwin/menubar.h PRE-CREATION = > kwin/menubar.cpp PRE-CREATION = > kwin/options.h 855ed78 = > kwin/options.cpp 717a82d = > kwin/scripting/workspace_wrapper.h c4ea8f6 = > kwin/scripting/workspace_wrapper.cpp c0de078 = > kwin/useractions.cpp 120481b = > kwin/workspace.h 1c6a831 = > kwin/workspace.cpp 5542a3d = > = > Diff: http://git.reviewboard.kde.org/r/104344/diff/ > = > = > Testing > ------- > = > = > Thanks, > = > Bellegarde C=C3=A9dric > = > --===============1190073307633951003== Content-Type: text/html; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable
This is an automatically generated e-mail. To reply, visit: http://git.revie= wboard.kde.org/r/104344/

On March 27th, 2012, 2:03 p.m., Bellegarde = C=C3=A9dric wrote:

Diff r6 a=
lso add:
- Kded module with renamed importer class
- KDE_BUILD_KAPPMENU build option

On March 27th, 2012, 5:22 p.m., Thomas L=C3=BCbking wrote:

did you g=
ive a ship it to yourself?
i doubt that's the point about review requests...

On March 27th, 2012, 5:28 p.m., Martin Gr=C3=A4=C3=9Flin wrote:<= /p>

concernin=
g ship its... here we need two, one from KWin and one from Oxygen.
No i wanted=
 to add a comment to diff6... And i just understanded what "Ship it&qu=
ot; mean...

- Bellegarde


On March 27th, 2012, 2 p.m., Bellegarde C=C3=A9dric wrote:

Review request for kwin.
By Bellegarde C=C3=A9dric.

Updated March 27, 2012, 2 p.m.

Descripti= on

Here a patch to add appmenu support to kwin:
- via a menu button in titlebar
- via a global shortcut

Works by Lionel Chauvin and me, original review request: https://git.review=
board.kde.org/r/101162/

It depends on:
http://quickgit.kde.org/index.php?p=3Dkded-appmenu.git

Kubuntu and ArchLinux packages (KDE 4.8.1 backport) availables here:
http://kde-look.org/content/show.php/kde-workspace-appmenu?content=3D148583

It looks like this:
http://www.youtube.com/watch?v=3Dj0o1sRLRc60&hd=3D1

I remove ( http://kde-look.org/CONTENT/content-pre1/141254-1.png ) this way=
 to show menu button because:
- It conflicts with window menu button
- Using application name is impossible (we only have window class and somet=
ime it's quite ugly)
- Using just "Menu" really looks bad

Diffs=

  • CMakeLists.txt (c766fdf)
  • appmenu/CMakeLists.txt (PRE-CREATION)
  • appmenu/lib/CMakeLists.txt (PRE-CREATION)<= /span>
  • appmenu/lib/com.canonical.AppMenu.Registrar.xml (PRE-CREATION)
  • appmenu/lib/importer_interface.h (PRE-CREA= TION)
  • appmenu/lib/importer_interface.cpp (PRE-CR= EATION)
  • appmenu/lib/kappmenu_export.h (PRE-CREATIO= N)
  • appmenu/lib/kappmenuimporter.h (PRE-CREATI= ON)
  • appmenu/lib/kappmenuimporter.cpp (PRE-CREA= TION)
  • appmenu/lib/menuinfo.h (PRE-CREATION)
  • appmenu/module/CMakeLists.txt (PRE-CREATIO= N)
  • appmenu/module/appmenu.h (PRE-CREATION)
  • appmenu/module/appmenu.cpp (PRE-CREATION)<= /span>
  • appmenu/module/appmenu.desktop (PRE-CREATI= ON)
  • appmenu/module/com.canonical.AppMenu.Registrar.xml (PRE-CREATION)
  • appmenu/module/registrar.h (PRE-CREATION)<= /span>
  • appmenu/module/registrar.cpp (PRE-CREATION= )
  • kwin/CMakeLists.txt (463692d)
  • kwin/bridge.h (64108e5)
  • kwin/bridge.cpp (897d432)
  • kwin/client.h (c35643f)
  • kwin/client.cpp (8ff98c6)
  • kwin/clients/oxygen/oxygenbutton.h (ea1171= 7)
  • kwin/clients/oxygen/oxygenbutton.cpp (28aa= 8b1)
  • kwin/clients/oxygen/oxygenclient.h (e1d1d0= a)
  • kwin/clients/oxygen/oxygenclient.cpp (7a2b= 021)
  • kwin/clients/oxygen/oxygenfactory.h (b38b0= 97)
  • kwin/clients/oxygen/oxygenfactory.cpp (827= aa59)
  • kwin/config-kwin.h.cmake (8893fa4)<= /li>
  • kwin/kcmkwin/kwindecoration/CMakeLists.txt (4762bb9)
  • kwin/kcmkwin/kwindecoration/buttons.cpp (2= d12244)
  • kwin/kcmkwin/kwindecoration/preview.h (20e= e869)
  • kwin/kcmkwin/kwindecoration/preview.cpp (f= e802c7)
  • kwin/kcmkwin/kwinoptions/windows.h (3fadf2= c)
  • kwin/kcmkwin/kwinoptions/windows.cpp (30c9= 4c0)
  • kwin/kwin.kcfg (cf6537e)
  • kwin/kwinbindings.cpp (3284cf0)
  • kwin/libkdecorations/kcommondecoration.h (= 3fe9fcf)
  • kwin/libkdecorations/kcommondecoration.cpp (02a33e9)
  • kwin/libkdecorations/kdecoration.h (442d0a= 1)
  • kwin/libkdecorations/kdecoration.cpp (71f4= f8d)
  • kwin/libkdecorations/kdecorationbridge.h (= b7d0619)
  • kwin/menubar.h (PRE-CREATION)
  • kwin/menubar.cpp (PRE-CREATION)
  • kwin/options.h (855ed78)
  • kwin/options.cpp (717a82d)
  • kwin/scripting/workspace_wrapper.h (c4ea8f= 6)
  • kwin/scripting/workspace_wrapper.cpp (c0de= 078)
  • kwin/useractions.cpp (120481b)
  • kwin/workspace.h (1c6a831)
  • kwin/workspace.cpp (5542a3d)

View Diff

--===============1190073307633951003==-- --===============3551457103467380441== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ kwin mailing list kwin@kde.org https://mail.kde.org/mailman/listinfo/kwin --===============3551457103467380441==--