summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Lauer <mickey@vanille-media.de>2008-01-13 19:37:08 +0000
committerMichael Lauer <mickey@vanille-media.de>2008-01-13 19:37:08 +0000
commitd81ced2aff13ef95ebf670c40d1f0768582264da (patch)
treea31b63e599e2091cc2528291fdd2fa5522eb8175
parentf01d81718cf3284e2757332a1b8eb3d5c60cf4f7 (diff)
edje-viewer cvs hack minimal pane size to make it work on small displays
patch by Thomas Gstaedtner
-rw-r--r--packages/e17/edje-viewer/.mtn2git_empty0
-rw-r--r--packages/e17/edje-viewer/no-minimal-size.patch11
-rw-r--r--packages/e17/edje-viewer_cvs.bb5
3 files changed, 14 insertions, 2 deletions
diff --git a/packages/e17/edje-viewer/.mtn2git_empty b/packages/e17/edje-viewer/.mtn2git_empty
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/packages/e17/edje-viewer/.mtn2git_empty
diff --git a/packages/e17/edje-viewer/no-minimal-size.patch b/packages/e17/edje-viewer/no-minimal-size.patch
new file mode 100644
index 0000000000..890884d5a6
--- /dev/null
+++ b/packages/e17/edje-viewer/no-minimal-size.patch
@@ -0,0 +1,11 @@
+--- edje_viewer/src/bin/etk_gui.c 2008-01-13 20:08:45.000000000 +0100
++++ edje_viewer/src/bin/etk_gui.c.patched 2008-01-13 20:09:18.000000000 +0100
+@@ -147,7 +147,7 @@
+ etk_tree_col_model_add(col2, etk_tree_model_checkbox_new());
+ etk_tree_build(ETK_TREE(gui->tree));
+ etk_tree_col_sort_set(col2, gui_visibility_col_sort_cb, NULL);
+- etk_widget_size_request_set(gui->tree, 300, 0);
++ etk_widget_size_request_set(gui->tree, 0, 0);
+ etk_signal_connect_by_code(ETK_WIDGET_KEY_DOWN_SIGNAL,
+ ETK_OBJECT(gui->tree),
+ ETK_CALLBACK(_gui_tree_key_down_cb), gui);
diff --git a/packages/e17/edje-viewer_cvs.bb b/packages/e17/edje-viewer_cvs.bb
index 8e15b782d5..7c3d7a16f7 100644
--- a/packages/e17/edje-viewer_cvs.bb
+++ b/packages/e17/edje-viewer_cvs.bb
@@ -2,11 +2,12 @@ DESCRIPTION = "Edje_Viewer is just that."
DEPENDS = "etk"
LICENSE = "MIT"
PV = "0.0.0+cvs${SRCDATE}"
-PR = "r1"
+PR = "r2"
inherit e
-SRC_URI = "${E_CVS};module=e17/apps/edje_viewer"
+SRC_URI = "${E_CVS};module=e17/apps/edje_viewer \
+ file://no-minimal-size.patch;patch=1"
S = "${WORKDIR}/edje_viewer"
FILES_${PN} = "${bindir}/* ${libdir}/* ${datadir} ${sysconfdir} ${sbindir}"