summaryrefslogtreecommitdiffstats
path: root/chrome/browser/gtk/gtk_chrome_link_button.h
diff options
context:
space:
mode:
authorestade@chromium.org <estade@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-07-06 18:49:49 +0000
committerestade@chromium.org <estade@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-07-06 18:49:49 +0000
commit87e7b0683a41dc46a579b1abf488bc3058333aec (patch)
tree8c54b2401a42cdce17d2951db5da38cf8695bcea /chrome/browser/gtk/gtk_chrome_link_button.h
parent16376a11fa3f4a99bf7ed6aa28c70f66041afe46 (diff)
downloadchromium_src-87e7b0683a41dc46a579b1abf488bc3058333aec.zip
chromium_src-87e7b0683a41dc46a579b1abf488bc3058333aec.tar.gz
chromium_src-87e7b0683a41dc46a579b1abf488bc3058333aec.tar.bz2
GTK: Give the aboot dialog a facelift.
BUG=http://crbug.com/15897 TEST=get Glen to look at it Review URL: http://codereview.chromium.org/155040 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@19966 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/gtk/gtk_chrome_link_button.h')
-rw-r--r--chrome/browser/gtk/gtk_chrome_link_button.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/chrome/browser/gtk/gtk_chrome_link_button.h b/chrome/browser/gtk/gtk_chrome_link_button.h
index 30f4d61..cac77e0 100644
--- a/chrome/browser/gtk/gtk_chrome_link_button.h
+++ b/chrome/browser/gtk/gtk_chrome_link_button.h
@@ -37,8 +37,8 @@ typedef struct _GtkChromeLinkButtonClass GtkChromeLinkButtonClass;
struct _GtkChromeLinkButton {
GtkButton button;
GtkWidget* label;
- char* blue_markup;
- char* red_markup;
+ gchar* blue_markup;
+ gchar* red_markup;
gboolean is_blue;
GdkCursor* hand_cursor;
GdkEventButton* click_button_event;
@@ -48,8 +48,12 @@ struct _GtkChromeLinkButtonClass {
GtkButtonClass parent_class;
};
+// Make a link button with display text |text|.
GtkWidget* gtk_chrome_link_button_new(const char* text);
+// As above, but don't escape markup in the text.
+GtkWidget* gtk_chrome_link_button_new_with_markup(const char* markup);
+
// Call this from within a "clicked" handler to get the release event that
// triggered the click. It will return NULL if the click was triggered by a
// keyboard event.