aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui/dialogs/task-details-page.c
diff options
context:
space:
mode:
authorJP Rosevear <jpr@ximian.com>2002-02-09 01:33:14 +0800
committerJP Rosevear <jpr@src.gnome.org>2002-02-09 01:33:14 +0800
commit180d4e4ed0aaffc07bb9082dbcf754d5dd6aa042 (patch)
tree74771a844d17e3aaa032ebb3212f49b91da793e1 /calendar/gui/dialogs/task-details-page.c
parent1c663ab61d4ee59c5dabd403793cf989cd857f61 (diff)
downloadgsoc2013-evolution-180d4e4ed0aaffc07bb9082dbcf754d5dd6aa042.tar
gsoc2013-evolution-180d4e4ed0aaffc07bb9082dbcf754d5dd6aa042.tar.gz
gsoc2013-evolution-180d4e4ed0aaffc07bb9082dbcf754d5dd6aa042.tar.bz2
gsoc2013-evolution-180d4e4ed0aaffc07bb9082dbcf754d5dd6aa042.tar.lz
gsoc2013-evolution-180d4e4ed0aaffc07bb9082dbcf754d5dd6aa042.tar.xz
gsoc2013-evolution-180d4e4ed0aaffc07bb9082dbcf754d5dd6aa042.tar.zst
gsoc2013-evolution-180d4e4ed0aaffc07bb9082dbcf754d5dd6aa042.zip
add a custom widget created with e_url_button_new
2002-02-08 JP Rosevear <jpr@ximian.com> * gui/dialogs/task-details-page.glade: add a custom widget created with e_url_button_new * gui/dialogs/task-details-page.c (task_details_page_init): init url_button member to NULL (init_widgets): set the url button entry (get_widgets): get the url button * gui/calendar-commands.c (pixmaps): use new all day event icon svn path=/trunk/; revision=15610
Diffstat (limited to 'calendar/gui/dialogs/task-details-page.c')
-rw-r--r--calendar/gui/dialogs/task-details-page.c10
1 files changed, 9 insertions, 1 deletions
diff --git a/calendar/gui/dialogs/task-details-page.c b/calendar/gui/dialogs/task-details-page.c
index 47fbf3a945..adc0bdaf3c 100644
--- a/calendar/gui/dialogs/task-details-page.c
+++ b/calendar/gui/dialogs/task-details-page.c
@@ -30,6 +30,7 @@
#include <glade/glade.h>
#include <gal/widgets/e-unicode.h>
#include <widgets/misc/e-dateedit.h>
+#include <widgets/misc/e-url-button.h>
#include "e-util/e-dialog-widgets.h"
#include "../calendar-config.h"
#include "../e-timezone-entry.h"
@@ -53,6 +54,7 @@ struct _TaskDetailsPagePrivate {
GtkWidget *completed_date;
GtkWidget *url;
+ GtkWidget *url_button;
gboolean updating;
};
@@ -168,6 +170,7 @@ task_details_page_init (TaskDetailsPage *tdpage)
priv->completed_date = NULL;
priv->url = NULL;
+ priv->url_button = NULL;
priv->updating = FALSE;
}
@@ -477,7 +480,8 @@ get_widgets (TaskDetailsPage *tdpage)
priv->completed_date = GW ("completed-date");
priv->url = GW ("url");
-
+ priv->url_button = GW ("url_button");
+
#undef GW
return (priv->status
@@ -668,6 +672,9 @@ init_widgets (TaskDetailsPage *tdpage)
(EDateEditGetTimeCallback) comp_editor_get_current_time,
tdpage, NULL);
+ /* Connect the url button to the url entry */
+ e_url_button_set_entry (E_URL_BUTTON (priv->url_button), priv->url);
+
/* Connect signals. The Status, Percent Complete & Date Completed
properties are closely related so whenever one changes we may need
to update the other 2. */
@@ -764,3 +771,4 @@ task_details_page_create_date_edit (void)
return dedit;
}
+