2023-01-24 13:20:00 +00:00
|
|
|
Index: icewm-3.3.1/lib/menu.in
|
Accepting request 978628 from home:qkzhu:branches:X11:windowmanagers
- Rebase patches for version 2.9.7:
* icewm-susemenu.patch
* icewm-desktop-nodisplay.patch
* icewm-preferences.patch
- Update to 2.9.7:
* Fix for saving keyboard layouts in --rewrite-preferences.
* Faster and more reliable restart of icewmbg.
* Add themable preference ColorKeyboardLayoutText.
* Add KeySysKeyboardNext to switch to next keyboard layout.
* Document alternative keypad handling in icewm-keys(1).
* Handle right-to-left languages in icewm-menu-fdo.
* Add -g,--generic option to icewm-menu-fdo for GenericName in menus.
* Updated translations: Czech, Danish, Finnish, Turkish, German, French.
- from version 2.9.6:
* Lower a fullscreen window below the window which is to be activated.
* Start a new fullscreen client in the fullscreen layer for issue #85.
* Prioritize the thermal zones when showing CPU temperature.
* Let CPU graphs share a single timer and adjust to changes to TaskBarCPUSamples.
* Support workspace names "next" and "prev" in icesh for issue bbidulock/icewm#640.
* Updated translations: Spanish, German, Italian, Chinese, Portuguese (Brazil).
- from version 2.9.5:
* Set the window type of desktop icons and of the dockapps container.
* Make taskbar unhide more reliable.
* Fix OSS / APM confusion in some translations.
* Fix for taskbar on icewm restart when there is a fullscreen window.
* Fix for TaskBarAutoHide and for focusing address bar.
* Make TaskBarFullscreenAutoShow option more reliable.
* Remove all of the inefficient management of the fullscreen layer.
* Fixes to prevent a lockup where no keybinding works,
when activating a do-not-focus output-only window
OBS-URL: https://build.opensuse.org/request/show/978628
OBS-URL: https://build.opensuse.org/package/show/X11:windowmanagers/icewm?expand=0&rev=116
2022-05-23 07:40:50 +00:00
|
|
|
===================================================================
|
2023-01-24 13:20:00 +00:00
|
|
|
--- icewm-3.3.1.orig/lib/menu.in
|
|
|
|
+++ icewm-3.3.1/lib/menu.in
|
Accepting request 978628 from home:qkzhu:branches:X11:windowmanagers
- Rebase patches for version 2.9.7:
* icewm-susemenu.patch
* icewm-desktop-nodisplay.patch
* icewm-preferences.patch
- Update to 2.9.7:
* Fix for saving keyboard layouts in --rewrite-preferences.
* Faster and more reliable restart of icewmbg.
* Add themable preference ColorKeyboardLayoutText.
* Add KeySysKeyboardNext to switch to next keyboard layout.
* Document alternative keypad handling in icewm-keys(1).
* Handle right-to-left languages in icewm-menu-fdo.
* Add -g,--generic option to icewm-menu-fdo for GenericName in menus.
* Updated translations: Czech, Danish, Finnish, Turkish, German, French.
- from version 2.9.6:
* Lower a fullscreen window below the window which is to be activated.
* Start a new fullscreen client in the fullscreen layer for issue #85.
* Prioritize the thermal zones when showing CPU temperature.
* Let CPU graphs share a single timer and adjust to changes to TaskBarCPUSamples.
* Support workspace names "next" and "prev" in icesh for issue bbidulock/icewm#640.
* Updated translations: Spanish, German, Italian, Chinese, Portuguese (Brazil).
- from version 2.9.5:
* Set the window type of desktop icons and of the dockapps container.
* Make taskbar unhide more reliable.
* Fix OSS / APM confusion in some translations.
* Fix for taskbar on icewm restart when there is a fullscreen window.
* Fix for TaskBarAutoHide and for focusing address bar.
* Make TaskBarFullscreenAutoShow option more reliable.
* Remove all of the inefficient management of the fullscreen layer.
* Fixes to prevent a lockup where no keybinding works,
when activating a do-not-focus output-only window
OBS-URL: https://build.opensuse.org/request/show/978628
OBS-URL: https://build.opensuse.org/package/show/X11:windowmanagers/icewm?expand=0&rev=116
2022-05-23 07:40:50 +00:00
|
|
|
@@ -11,5 +11,6 @@ prog Firefox mozilla firefox
|
2019-04-11 05:49:16 +00:00
|
|
|
prog Hexchat xchat hexchat
|
2016-03-08 12:26:31 +00:00
|
|
|
prog Gimp gimp gimp
|
2019-04-11 05:49:16 +00:00
|
|
|
includeprog icewm-menu-fdo --sep-before --no-sep-others
|
2016-03-08 12:26:31 +00:00
|
|
|
-menufile Programs folder programs
|
|
|
|
+#menufile Programs folder programs
|
|
|
|
menufile Tool_bar folder toolbar
|
|
|
|
+menuprog SUSE folder xdg_menu --format icewm
|
2023-01-24 13:20:00 +00:00
|
|
|
Index: icewm-3.3.1/src/wmmenu.cc
|
Accepting request 978628 from home:qkzhu:branches:X11:windowmanagers
- Rebase patches for version 2.9.7:
* icewm-susemenu.patch
* icewm-desktop-nodisplay.patch
* icewm-preferences.patch
- Update to 2.9.7:
* Fix for saving keyboard layouts in --rewrite-preferences.
* Faster and more reliable restart of icewmbg.
* Add themable preference ColorKeyboardLayoutText.
* Add KeySysKeyboardNext to switch to next keyboard layout.
* Document alternative keypad handling in icewm-keys(1).
* Handle right-to-left languages in icewm-menu-fdo.
* Add -g,--generic option to icewm-menu-fdo for GenericName in menus.
* Updated translations: Czech, Danish, Finnish, Turkish, German, French.
- from version 2.9.6:
* Lower a fullscreen window below the window which is to be activated.
* Start a new fullscreen client in the fullscreen layer for issue #85.
* Prioritize the thermal zones when showing CPU temperature.
* Let CPU graphs share a single timer and adjust to changes to TaskBarCPUSamples.
* Support workspace names "next" and "prev" in icesh for issue bbidulock/icewm#640.
* Updated translations: Spanish, German, Italian, Chinese, Portuguese (Brazil).
- from version 2.9.5:
* Set the window type of desktop icons and of the dockapps container.
* Make taskbar unhide more reliable.
* Fix OSS / APM confusion in some translations.
* Fix for taskbar on icewm restart when there is a fullscreen window.
* Fix for TaskBarAutoHide and for focusing address bar.
* Make TaskBarFullscreenAutoShow option more reliable.
* Remove all of the inefficient management of the fullscreen layer.
* Fixes to prevent a lockup where no keybinding works,
when activating a do-not-focus output-only window
OBS-URL: https://build.opensuse.org/request/show/978628
OBS-URL: https://build.opensuse.org/package/show/X11:windowmanagers/icewm?expand=0&rev=116
2022-05-23 07:40:50 +00:00
|
|
|
===================================================================
|
2023-01-24 13:20:00 +00:00
|
|
|
--- icewm-3.3.1.orig/src/wmmenu.cc
|
|
|
|
+++ icewm-3.3.1/src/wmmenu.cc
|
Accepting request 978628 from home:qkzhu:branches:X11:windowmanagers
- Rebase patches for version 2.9.7:
* icewm-susemenu.patch
* icewm-desktop-nodisplay.patch
* icewm-preferences.patch
- Update to 2.9.7:
* Fix for saving keyboard layouts in --rewrite-preferences.
* Faster and more reliable restart of icewmbg.
* Add themable preference ColorKeyboardLayoutText.
* Add KeySysKeyboardNext to switch to next keyboard layout.
* Document alternative keypad handling in icewm-keys(1).
* Handle right-to-left languages in icewm-menu-fdo.
* Add -g,--generic option to icewm-menu-fdo for GenericName in menus.
* Updated translations: Czech, Danish, Finnish, Turkish, German, French.
- from version 2.9.6:
* Lower a fullscreen window below the window which is to be activated.
* Start a new fullscreen client in the fullscreen layer for issue #85.
* Prioritize the thermal zones when showing CPU temperature.
* Let CPU graphs share a single timer and adjust to changes to TaskBarCPUSamples.
* Support workspace names "next" and "prev" in icesh for issue bbidulock/icewm#640.
* Updated translations: Spanish, German, Italian, Chinese, Portuguese (Brazil).
- from version 2.9.5:
* Set the window type of desktop icons and of the dockapps container.
* Make taskbar unhide more reliable.
* Fix OSS / APM confusion in some translations.
* Fix for taskbar on icewm restart when there is a fullscreen window.
* Fix for TaskBarAutoHide and for focusing address bar.
* Make TaskBarFullscreenAutoShow option more reliable.
* Remove all of the inefficient management of the fullscreen layer.
* Fixes to prevent a lockup where no keybinding works,
when activating a do-not-focus output-only window
OBS-URL: https://build.opensuse.org/request/show/978628
OBS-URL: https://build.opensuse.org/package/show/X11:windowmanagers/icewm?expand=0&rev=116
2022-05-23 07:40:50 +00:00
|
|
|
@@ -294,6 +294,46 @@ char* MenuLoader::parseMenuProg(char *p,
|
2019-04-11 05:49:16 +00:00
|
|
|
return p;
|
|
|
|
}
|
|
|
|
|
|
|
|
+char* MenuLoader::parseSuseProg(char *p, ObjectContainer *container)
|
|
|
|
+{
|
|
|
|
+ Argument name;
|
|
|
|
+
|
|
|
|
+ p = YConfig::getArgument(&name, p);
|
2020-12-29 09:06:57 +00:00
|
|
|
+ if (p == nullptr) return p;
|
2019-04-11 05:49:16 +00:00
|
|
|
+
|
|
|
|
+ Argument icons;
|
|
|
|
+
|
|
|
|
+ p = YConfig::getArgument(&icons, p);
|
2020-12-29 09:06:57 +00:00
|
|
|
+ if (p == nullptr) return p;
|
2019-04-11 05:49:16 +00:00
|
|
|
+
|
|
|
|
+ Argument command;
|
|
|
|
+ YStringArray args;
|
|
|
|
+
|
|
|
|
+ p = getCommandArgs(p, &command, args);
|
2020-12-29 09:06:57 +00:00
|
|
|
+ if (p == nullptr) {
|
|
|
|
+ msg(_("Error at menuprog '%s'"), name.cstr());
|
2019-04-11 05:49:16 +00:00
|
|
|
+ return p;
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ ref<YIcon> icon;
|
2017-10-02 09:04:31 +00:00
|
|
|
+#ifndef LITE
|
2019-04-11 05:49:16 +00:00
|
|
|
+ if (icons[0] != '-')
|
|
|
|
+ icon = YIcon::getIcon(icons);
|
2017-10-02 09:04:31 +00:00
|
|
|
+#endif
|
2019-04-11 05:49:16 +00:00
|
|
|
+ MSG(("suseprog %s %s", name.cstr(), command.cstr()));
|
|
|
|
+
|
2020-12-29 09:06:57 +00:00
|
|
|
+ csmart path(path_lookup(command.cstr()));
|
|
|
|
+ if (path) {
|
2019-04-11 05:49:16 +00:00
|
|
|
+ ObjectMenu *progmenu = new MenuProgMenu(
|
|
|
|
+ app, smActionListener, wmActionListener,
|
2020-12-29 09:06:57 +00:00
|
|
|
+ name.cstr(), command.cstr(), args);
|
2019-04-11 05:49:16 +00:00
|
|
|
+ if (progmenu)
|
2020-12-29 09:06:57 +00:00
|
|
|
+ container->addContainer(name.cstr(), icon, progmenu);
|
|
|
|
+ }
|
|
|
|
+
|
2019-04-11 05:49:16 +00:00
|
|
|
+ return p;
|
|
|
|
+}
|
|
|
|
+
|
|
|
|
char* MenuLoader::parseMenuProgReload(char *p, ObjectContainer *container)
|
|
|
|
{
|
|
|
|
Argument name;
|
Accepting request 978628 from home:qkzhu:branches:X11:windowmanagers
- Rebase patches for version 2.9.7:
* icewm-susemenu.patch
* icewm-desktop-nodisplay.patch
* icewm-preferences.patch
- Update to 2.9.7:
* Fix for saving keyboard layouts in --rewrite-preferences.
* Faster and more reliable restart of icewmbg.
* Add themable preference ColorKeyboardLayoutText.
* Add KeySysKeyboardNext to switch to next keyboard layout.
* Document alternative keypad handling in icewm-keys(1).
* Handle right-to-left languages in icewm-menu-fdo.
* Add -g,--generic option to icewm-menu-fdo for GenericName in menus.
* Updated translations: Czech, Danish, Finnish, Turkish, German, French.
- from version 2.9.6:
* Lower a fullscreen window below the window which is to be activated.
* Start a new fullscreen client in the fullscreen layer for issue #85.
* Prioritize the thermal zones when showing CPU temperature.
* Let CPU graphs share a single timer and adjust to changes to TaskBarCPUSamples.
* Support workspace names "next" and "prev" in icesh for issue bbidulock/icewm#640.
* Updated translations: Spanish, German, Italian, Chinese, Portuguese (Brazil).
- from version 2.9.5:
* Set the window type of desktop icons and of the dockapps container.
* Make taskbar unhide more reliable.
* Fix OSS / APM confusion in some translations.
* Fix for taskbar on icewm restart when there is a fullscreen window.
* Fix for TaskBarAutoHide and for focusing address bar.
* Make TaskBarFullscreenAutoShow option more reliable.
* Remove all of the inefficient management of the fullscreen layer.
* Fixes to prevent a lockup where no keybinding works,
when activating a do-not-focus output-only window
OBS-URL: https://build.opensuse.org/request/show/978628
OBS-URL: https://build.opensuse.org/package/show/X11:windowmanagers/icewm?expand=0&rev=116
2022-05-23 07:40:50 +00:00
|
|
|
@@ -395,6 +435,9 @@ char* MenuLoader::parseWord(char *word,
|
2019-04-11 05:49:16 +00:00
|
|
|
else if (!strcmp(word, "menuprogreload")) {
|
|
|
|
p = parseMenuProgReload(p, container);
|
|
|
|
}
|
|
|
|
+ else if (!strcmp(word, "suseprog")) {
|
|
|
|
+ p = parseSuseProg(p, container);
|
|
|
|
+ }
|
|
|
|
else if (!strcmp(word, "include")) {
|
|
|
|
p = parseIncludeStatement(p, container);
|
|
|
|
}
|
2023-01-24 13:20:00 +00:00
|
|
|
Index: icewm-3.3.1/src/wmprog.h
|
Accepting request 978628 from home:qkzhu:branches:X11:windowmanagers
- Rebase patches for version 2.9.7:
* icewm-susemenu.patch
* icewm-desktop-nodisplay.patch
* icewm-preferences.patch
- Update to 2.9.7:
* Fix for saving keyboard layouts in --rewrite-preferences.
* Faster and more reliable restart of icewmbg.
* Add themable preference ColorKeyboardLayoutText.
* Add KeySysKeyboardNext to switch to next keyboard layout.
* Document alternative keypad handling in icewm-keys(1).
* Handle right-to-left languages in icewm-menu-fdo.
* Add -g,--generic option to icewm-menu-fdo for GenericName in menus.
* Updated translations: Czech, Danish, Finnish, Turkish, German, French.
- from version 2.9.6:
* Lower a fullscreen window below the window which is to be activated.
* Start a new fullscreen client in the fullscreen layer for issue #85.
* Prioritize the thermal zones when showing CPU temperature.
* Let CPU graphs share a single timer and adjust to changes to TaskBarCPUSamples.
* Support workspace names "next" and "prev" in icesh for issue bbidulock/icewm#640.
* Updated translations: Spanish, German, Italian, Chinese, Portuguese (Brazil).
- from version 2.9.5:
* Set the window type of desktop icons and of the dockapps container.
* Make taskbar unhide more reliable.
* Fix OSS / APM confusion in some translations.
* Fix for taskbar on icewm restart when there is a fullscreen window.
* Fix for TaskBarAutoHide and for focusing address bar.
* Make TaskBarFullscreenAutoShow option more reliable.
* Remove all of the inefficient management of the fullscreen layer.
* Fixes to prevent a lockup where no keybinding works,
when activating a do-not-focus output-only window
OBS-URL: https://build.opensuse.org/request/show/978628
OBS-URL: https://build.opensuse.org/package/show/X11:windowmanagers/icewm?expand=0&rev=116
2022-05-23 07:40:50 +00:00
|
|
|
===================================================================
|
2023-01-24 13:20:00 +00:00
|
|
|
--- icewm-3.3.1.orig/src/wmprog.h
|
|
|
|
+++ icewm-3.3.1/src/wmprog.h
|
Accepting request 978628 from home:qkzhu:branches:X11:windowmanagers
- Rebase patches for version 2.9.7:
* icewm-susemenu.patch
* icewm-desktop-nodisplay.patch
* icewm-preferences.patch
- Update to 2.9.7:
* Fix for saving keyboard layouts in --rewrite-preferences.
* Faster and more reliable restart of icewmbg.
* Add themable preference ColorKeyboardLayoutText.
* Add KeySysKeyboardNext to switch to next keyboard layout.
* Document alternative keypad handling in icewm-keys(1).
* Handle right-to-left languages in icewm-menu-fdo.
* Add -g,--generic option to icewm-menu-fdo for GenericName in menus.
* Updated translations: Czech, Danish, Finnish, Turkish, German, French.
- from version 2.9.6:
* Lower a fullscreen window below the window which is to be activated.
* Start a new fullscreen client in the fullscreen layer for issue #85.
* Prioritize the thermal zones when showing CPU temperature.
* Let CPU graphs share a single timer and adjust to changes to TaskBarCPUSamples.
* Support workspace names "next" and "prev" in icesh for issue bbidulock/icewm#640.
* Updated translations: Spanish, German, Italian, Chinese, Portuguese (Brazil).
- from version 2.9.5:
* Set the window type of desktop icons and of the dockapps container.
* Make taskbar unhide more reliable.
* Fix OSS / APM confusion in some translations.
* Fix for taskbar on icewm restart when there is a fullscreen window.
* Fix for TaskBarAutoHide and for focusing address bar.
* Make TaskBarFullscreenAutoShow option more reliable.
* Remove all of the inefficient management of the fullscreen layer.
* Fixes to prevent a lockup where no keybinding works,
when activating a do-not-focus output-only window
OBS-URL: https://build.opensuse.org/request/show/978628
OBS-URL: https://build.opensuse.org/package/show/X11:windowmanagers/icewm?expand=0&rev=116
2022-05-23 07:40:50 +00:00
|
|
|
@@ -30,6 +30,7 @@ private:
|
2020-12-29 09:06:57 +00:00
|
|
|
char* parseAMenu(char *data, ObjectContainer *container);
|
2019-04-11 05:49:16 +00:00
|
|
|
char* parseMenuFile(char *data, ObjectContainer *container);
|
|
|
|
char* parseMenuProg(char *data, ObjectContainer *container);
|
|
|
|
+ char* parseSuseProg(char *p, ObjectContainer *container);
|
2020-12-29 09:06:57 +00:00
|
|
|
char* parseMenuProgReload(char *data, ObjectContainer *container);
|
2019-04-11 05:49:16 +00:00
|
|
|
char* parseKey(char *word, char *p);
|
|
|
|
char* parseProgram(char *word, char *p, ObjectContainer *container);
|