Репозиторий Sisyphus
Последнее обновление: 1 октября 2023 | Пакетов: 18631 | Посещений: 37713040
en ru br
Репозитории ALT
S:1.2.5-alt2
5.1: 1.2.3-alt1rc2
4.1: 1.2.2-alt2
4.0: 1.2.2-alt2
3.0: 1.1.9-alt0.8
www.altlinux.org/Changes

Другие репозитории
Upstream:1.2.1

Группа :: Архивирование/Создание CD
Пакет: cdrdao

 Главная   Изменения   Спек   Патчи   Sources   Загрузить   Gear   Bugs and FR  Repocop 

Патч: cdrdao-e2k.patch
Скачать


diff --git a/cdrdao/gcdmaster/MessageBox.h b/cdrdao/gcdmaster/MessageBox.h
index bdfd4e3..cef7b74 100644
--- a/cdrdao/gcdmaster/MessageBox.h
+++ b/cdrdao/gcdmaster/MessageBox.h
@@ -49,24 +49,47 @@ protected:
   void buttonAction(int);
 };
 
+#ifdef __EDG__
+#define EDG_FIX(name) \
+class name { \
+public: \
+  MessageBoxBase MessageBoxBase; \
+  void init(const char *type, const char *titel, int askDontShow, int nButtons, \
+	    int defaultButton, Gtk::BuiltinStockID buttons[], va_list args) { \
+    MessageBoxBase.init(type, titel, askDontShow, nButtons, \
+	    defaultButton, buttons, args); } \
+  int run() { return MessageBoxBase.run(); } \
+  int dontShowAgain() const { return MessageBoxBase.dontShowAgain(); };
+EDG_FIX(MessageBox)
+#else
 class MessageBox : public MessageBoxBase
 {
 public:
+#endif
   MessageBox(Gtk::Window *, const char *title, int askDontShow, ...);
   ~MessageBox();
 };
 
+#ifdef __EDG__
+EDG_FIX(Ask2Box)
+#else
 class Ask2Box : public MessageBoxBase
 {
 public:
+#endif
   Ask2Box(Gtk::Window *, const char *title, int askDontShow,
 	  int defaultButton, ...);
   ~Ask2Box();
 };
 
+#ifdef __EDG__
+EDG_FIX(Ask3Box)
+#undef EDG_FIX
+#else
 class Ask3Box : public MessageBoxBase
 {
 public:
+#endif
   Ask3Box(Gtk::Window *, const char *title, int askDontShow,
 	  int defaultButton, ...);
   ~Ask3Box();
 
дизайн и разработка: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
текущий майнтейнер: Michael Shigorin