mirror of
https://gitlab.gnome.org/GNOME/nautilus
synced 2024-08-25 10:45:41 +00:00
Updated.
* TODO: Updated. * libnautilus-private/nautilus-icon-canvas-item.c: (create_label_layout): Use eel_pango_layout_set_underline. * components/music/nautilus-music-view.c: Don't include EelList.
This commit is contained in:
parent
33a7797c26
commit
baa6401268
11
ChangeLog
11
ChangeLog
|
@ -1,3 +1,14 @@
|
|||
2002-01-03 Darin Adler <darin@bentspoon.com>
|
||||
|
||||
* TODO: Updated.
|
||||
|
||||
* libnautilus-private/nautilus-icon-canvas-item.c:
|
||||
(create_label_layout): Use eel_pango_layout_set_underline.
|
||||
|
||||
* components/music/nautilus-music-view.c:
|
||||
Don't include EelList.
|
||||
|
||||
|
||||
2002-01-03 Darin Adler <darin@bentspoon.com>
|
||||
|
||||
* libnautilus-private/nautilus-icon-container.c:
|
||||
|
|
19
TODO
19
TODO
|
@ -1,15 +1,20 @@
|
|||
For tasks outside the porting effort, we track them as bugs in
|
||||
http://bugzilla.gnome.org.
|
||||
http://bugzilla.gnome.org. For the porting effort, please let
|
||||
darin@bentspoon.com know what you are working on.
|
||||
|
||||
- Make closing a window work (Bonobo fixes needed?).
|
||||
- Port list view to GtkTreeView and then go to eel and remove
|
||||
EelCList, EelList, and EelListColumnTitle.
|
||||
- Port tree sidebar panel to GtkTreeView and then go to eel and
|
||||
remove EelCTree.
|
||||
|
||||
- Visit all the GNOME2_CONVERSION_COMPLETE and fix each issue
|
||||
(details forthcoming)
|
||||
|
||||
- Make closing a window work (Bonobo fix needed).
|
||||
- Get list view working.
|
||||
- Visit all the destroy and move things into finalize or dispose
|
||||
and make them callable twice as appropriate.
|
||||
- Change things that use destroy handlers to use weak references
|
||||
instead.
|
||||
|
||||
- Figure out why we get NULL font problems in Pango when the progress
|
||||
dialog comes up.
|
||||
|
||||
- Get EelLabel working and switch back to it on the sidebar.
|
||||
- Get rid of the direct freetype use and switch to using
|
||||
Pango instead.
|
||||
|
|
|
@ -38,7 +38,6 @@
|
|||
#include <eel/eel-gtk-extensions.h>
|
||||
#include <eel/eel-gtk-macros.h>
|
||||
#include <eel/eel-image.h>
|
||||
#include <eel/eel-list.h>
|
||||
#include <eel/eel-preferences.h>
|
||||
#include <eel/eel-stock-dialogs.h>
|
||||
#include <eel/eel-string.h>
|
||||
|
|
|
@ -38,6 +38,7 @@
|
|||
#include <eel/eel-gnome-extensions.h>
|
||||
#include <eel/eel-graphic-effects.h>
|
||||
#include <eel/eel-gtk-macros.h>
|
||||
#include <eel/eel-pango-extensions.h>
|
||||
#include <eel/eel-string.h>
|
||||
#include <gdk-pixbuf/gdk-pixbuf.h>
|
||||
#include <gtk/gtksignal.h>
|
||||
|
@ -1273,8 +1274,6 @@ create_label_layout (NautilusIconCanvasItem *item,
|
|||
const char *text)
|
||||
{
|
||||
PangoLayout *layout;
|
||||
PangoAttrList *attr_list;
|
||||
PangoAttribute *attr;
|
||||
|
||||
layout = pango_layout_new (eel_gnome_canvas_get_pango_context (GNOME_CANVAS_ITEM (item)->canvas));
|
||||
|
||||
|
@ -1285,13 +1284,7 @@ create_label_layout (NautilusIconCanvasItem *item,
|
|||
|
||||
/* if it's prelit, and we're in click-to-activate mode, underline the text */
|
||||
if (item->details->is_prelit && in_single_click_mode ()) {
|
||||
attr_list = pango_attr_list_new ();
|
||||
attr = pango_attr_underline_new (PANGO_UNDERLINE_SINGLE);
|
||||
attr->start_index = 0;
|
||||
attr->end_index = strlen (text);
|
||||
pango_attr_list_insert (attr_list, attr);
|
||||
pango_layout_set_attributes (layout, attr_list);
|
||||
pango_attr_list_unref (attr_list);
|
||||
eel_pango_layout_set_underline (layout, PANGO_UNDERLINE_SINGLE);
|
||||
}
|
||||
|
||||
return layout;
|
||||
|
|
Loading…
Reference in a new issue