Implementing temporary file handling via TempFile.

Made ede-about and ede-bug-report resizeable
This commit is contained in:
Sanel Zukan
2009-07-09 12:04:19 +00:00
parent be2cb085b9
commit f137dc9f2d
7 changed files with 85 additions and 117 deletions

View File

@@ -10,7 +10,7 @@
* See COPYING for details.
*/
#ifndef HAVE_CONFIG_H
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
@@ -32,10 +32,9 @@
#include <edelib/Debug.h>
#ifdef HAVE_CURL
#include "BugzillaSender.h"
#include "BugImage.h"
#include "icons/bug.xpm"
# include "BugzillaSender.h"
# include "BugImage.h"
# include "icons/bug.xpm"
#endif
EDELIB_NS_USING(String)
@@ -181,12 +180,16 @@ int main(int argc, char** argv) {
E_WARNING(E_STRLOC ": Unable to read '%s' as debugger output. Continuing...\n");
}
/* resizable box */
Fl_Box *rbox = new Fl_Box(180, 273, 55, 37);
Fl_Button *send = new Fl_Button(285, 330, 90, 25, _("&Send"));
send->callback(send_cb, win);
Fl_Button *close = new Fl_Button(380, 330, 90, 25, _("&Close"));
close->callback(close_cb, win);
Fl_Group::current()->resizable(rbox);
win->window_icon(bug_xpm);
/* win->show(argc, argv); */
win->show();

View File

@@ -6,9 +6,9 @@ Function {} {open
} {
Fl_Window {} {
label {EDE Bug Reporting Tool} open
xywh {369 205 480 365} type Double visible
xywh {357 193 480 365} type Double resizable visible
} {
Fl_Box {} {selected
Fl_Box {} {
image {../icons/bug.png} xywh {10 10 60 59}
}
Fl_Box {} {
@@ -41,5 +41,9 @@ Note: valid email address is required, so developers could contact you for more
label {&Cancel}
xywh {380 330 90 25}
}
Fl_Box {} {selected
xywh {180 273 55 37} labelsize 14 resizable
code0 {/* resizable box */}
}
}
}